La Fibre
Datacenter et équipements réseaux => Routeurs => Ubiquiti => Discussion démarrée par: tivoli le 01 juin 2015 à 07:50:20
-
Hier soir pendant mes tests VOIP j'ai voulu redemarrer l'ERL et il n'est jamais revenu a la vie.
J'ai tente un reset "live" sans succes
J'ai tente un reset a l'allumage sans succes
J'ai ouvert un ticket a ubnt qui m'a repondu dans la demi heure (a 23h un dimanche) avec une procedure a base de tftp mais qui necessite le cable console
Je vais chercher au boulot si on en a un qui traine mais comme on a plus de datacenter local ... :-(
J'ai bien sur regarde a amazon (je suis premium) mais je n'ai rien trouve a un prix acceptable (10€ max)
Sur DX.com c'est 3.52€ donc ca me tente bien mais le temps de livraison ne me va pas
Je me tate pour acheter un ERL de plus qui pourrait me servir de spare / terrain de jeu mais il faudrait en trouver un en livraison rapide
La recherche continue ...
-
Adaptateur trouve
voila le message d'erreur, j'ai peur que le reset par tftp ne fonctionne pas tel quel
Looking for valid bootloader image....
Jumping to start of image at address 0xbfc80000
U-Boot 1.1.1 (UBNT Build ID: 4493936-g009d77b) (Build time: Sep 20 2012 - 15:48:
51)
BIST check passed.
UBNT_E100 r1:2, r2:17, serial #: DC9FDB80C4D2
Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate)
DRAM: 512 MB
Clearing DRAM....... done
Flash: 4 MB
Net: octeth0, octeth1, octeth2
USB: (port 0) scanning bus for devices... 1 USB Devices found
scanning bus for storage devices...
Device 0: Vendor: Prod.: USB DISK 2.0 Rev: PMAP
Type: Removable Hard Disk
Capacity: 3700.6 MB = 3.6 GB (7579008 x 512)
0
reading vmlinux.64
.....................
.............
6865800 bytes read
argv[2]: coremask=0x3
argv[3]: root=/dev/sda2
argv[4]: rootdelay=15
argv[5]: rw
argv[6]: rootsqimg=squashfs.img
argv[7]: rootsqwdir=w
argv[8]: mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@3072k(eeprom)
ELF file is 64 bit
Allocating memory for mapped kernel segment, alignment: 0x400000
Allocated memory for ELF segment: addr: 0x400000, size 0x7de180
Processing PHDR 0
Loading 68ad80 bytes at 400000
Clearing 153400 bytes at a8ad80
## Loading Linux kernel with entry point: 0x008e76f0 ...
Bootloader: Done loading app on coremask: 0x3
Linux version 3.10.20-UBNT (root@ubnt-builder2) (gcc version 4.7.0 (Cavium Inc.
Version: SDK_3_1_0_p2 build 34) ) #1 SMP Tue May 19 15:56:53 PDT 2015
CVMSEG size: 2 cache lines (256 bytes)
Cavium Inc. SDK-3.1
bootconsole [early0] enabled
CPU revision is: 000d0601 (Cavium Octeon+)
Checking for the multiply/shift bug... no.
Checking for the daddiu bug... no.
Determined physical RAM map:
memory: 0000000007400000 @ 0000000000c00000 (usable)
memory: 0000000007c00000 @ 0000000008200000 (usable)
memory: 000000000fc00000 @ 0000000410000000 (usable)
memory: 0000000000648000 @ 0000000000400000 (usable)
memory: 0000000000048000 @ 0000000000a48000 (usable after init)
Wasting 57344 bytes for tracking 1024 unused pages
software IO TLB [mem 0x01707000-0x01747000] (0MB) mapped at [8000000001707000-80
00000001746fff]
Zone ranges:
DMA32 [mem 0x00400000-0xefffffff]
Normal [mem 0xf0000000-0x41fbfffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x00400000-0x00a8ffff]
node 0: [mem 0x00c00000-0x07ffffff]
node 0: [mem 0x08200000-0x0fdfffff]
node 0: [mem 0x410000000-0x41fbfffff]
Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 b
ytes.
Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
Secondary unified cache 128kB, 8-way, 128 sets, linesize 128 bytes.
PERCPU: Embedded 10 pages/cpu @8000000001784000 s11648 r8192 d21120 u40960
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125887
Kernel command line: bootoctlinux $loadaddr coremask=0x3 root=/dev/sda2 rootdel
ay=15 rw rootsqimg=squashfs.img rootsqwdir=w mtdparts=phys_mapped_flash:512k(boo
t0),512k(boot1),64k@3072k(eeprom) console=ttyS0,115200
PID hash table entries: 2048 (order: 2, 16384 bytes)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 495244k/510528k available (5072k kernel code, 15284k reserved, 1356k dat
a, 288k init, 0k highmem)
Hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
NR_IRQS:255
Calibrating delay loop (skipped) preset value.. 1000.00 BogoMIPS (lpj=5000000)
pid_max: default: 32768 minimum: 501
Security Framework initialized
Mount-cache hash table entries: 256
Checking for the daddi bug... no.
SMP: Booting CPU01 (CoreId 1)...
CPU revision is: 000d0601 (Cavium Octeon+)
Brought up 2 CPUs
CPU 0 Unable to handle kernel paging request at virtual address 0000000000000050
, epc == ffffffffc0448fc8, ra == ffffffffc0406bf0
Oops[#1]:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.20-UBNT #1
task: 800000041c069280 ti: 800000041c06c000 task.ti: 800000041c06c000
$ 0 : 0000000000000000 0000000010008ce1 0000000000000000 800000041c069280
$ 4 : ffffffffc0d80000 0000000000000000 ffffffffc063e7c0 ffffffffc0448fa8
$ 8 : ffffffffc0600000 ffffffffc05fba98 ffffffffc0640000 ffffffffc063d590
$12 : 000000000000000b 000000000000003f 0000000000000002 000000000000003e
$16 : ffffffffc063d580 0000000000000000 0000000000000000 ffffffffc063d580
$20 : 0000000000000000 ffffffffc063e780 ffffffffc05d79d8 ffffffffc0690000
$24 : 0000000000000001 ffffffffc0280880
$28 : 800000041c06c000 800000041c06fca0 000000000000005c ffffffffc0406bf0
Hi : 0000000000000002
Lo : aaaaaaaaaaaaaaad
epc : ffffffffc0448fc8 inet_bind_bucket_create+32x/0x78
Not tainted
ra : ffffffffc0406bf0 dev_get_stats+176x/0x138
Status: 10008ce3 KX SX UX KERNEL EXL IE
Cause : 00800008
BadVA : 0000000000000050
PrId : 000d0601 (Cavium Octeon+)
Modulus!li~ked in:
Process swapper/0 (pid: 1, threadinfo=800000041c06c000, task=800000041c069280, t
ls=0000000000000000)
Stack : 800000041a002740 ffffffffc0448fa8 ffffffffc0280880 ffffffffc0406bf0
800000041c0fa400 ffffffffc0640000 ffffffffc0640500 0000000000000000
ffffffffc063d580 ffffffffc0673540 ffffffffc063e780 ffffffffc0406e68
800000041c06fd00 800000041c06fd00 0000000000000000 ffffffffc0640000
ffffffffc0640500 0000000000000000 ffffffffc0690000 ffffffffc0673540
0000000000000060 ffffffffc0407098 ffffffffc05ac5b0 ffffffffc01a372c
0000000000000000 0000000000000000 ffffffffc0640000 ffffffffc0663394
ffffffffc0673540 ffffffffc066235c ffffffffc0673540 ffffffffc06622c4
0000000000000002 ffffffffc0000508 ffffffffc0673540 ffffffffc0686b10
0000000000000002 ffffffffc06734f8 ffffffffc0690000 ffffffffc06489f0
...
Call Trace:
[<ffffffffc0448fc8>] inet_bind_bucket_create+32x/0x78
[<ffffffffc0406bf0>] dev_get_stats+176x/0x138
[<ffffffffc0406e68>] unregister_netdevice_queue+288x/0x280
[<ffffffffc0407098>] netdev_notify_peers+48x/0x58
[<ffffffffc0663394>] netfilter_init+80x/0x84
[<ffffffffc066235c>] sock_init+152x/0xb0
[<ffffffffc0000508>] do_one_initcall+264x/0x120
Code: 0080802d ffbf0018 3c04c0d8 <de860050> 64847160 0c07c874 0200392d 1040
0007 fe020800
---[ end trace 5a048203d0a200ae ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
-
As tu un image non corompue localement ? si c'est le cas tu devrais arriver a la charger par TFTP.
-
C'est ce que je vais tester
-
C'etait la cle USB interne, j'en ai mis une neuve, installe un serveur tftp pour pousser une image et ca refonctionne
Je vais refaire une conf propre maintenant ;-)
-
Linux version 3.10.20-UBNT (root@ubnt-builder2) (gcc version 4.7.0 (Cavium Inc.
Version: SDK_3_1_0_p2 build 34) ) #1 SMP Tue May 19 15:56:53 PDT 2015
CVMSEG size: 2 cache lines (256 bytes)
Cavium Inc. SDK-3.1
bootconsole [early0] enabled
CPU revision is: 000d0601 (Cavium Octeon+)
C'est un CPU très proche de celui de la NeufBox v5 (qui date de 2008)
=> NeufBox v5 : séquence de Boot + analyse CPU + photos de l'intérieur (https://lafibre.info/sfr-tutoriels/neufbox-v5-sequence-de-boot-analyse-cpu-photos-de-linterieur/)
Diagramme de l'OCTEON Plus :
(https://lafibre.info/images/altice/sfr_nb5_CN5020_BlockDiagram.jpg)
Plus d'infos sur le processeur dans ce PDF :
(https://lafibre.info/images/doc/200710_Cavium_Networks_Octeon_Plus_CN5000F.jpg) (https://lafibre.info/images/doc/200710_Cavium_Networks_Octeon_Plus_CN5000F.pdf)
Voici ce que donne un cat /proc/cpuinfo sous linux ; (on voit 2 CPU, c'est normal car il y à 2 cœurs)
processor : 0
cpu model : Cavium Networks Octeon V0.1
BogoMIPS : 801.11
wait instruction : yes
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : no
hardware watchpoint : yes
ASEs implemented :
VCED exceptions : not available
VCEI exceptions : not available
processor : 1
cpu model : Cavium Networks Octeon V0.1
BogoMIPS : 801.11
wait instruction : yes
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : no
hardware watchpoint : yes
ASEs implemented :
VCED exceptions : not available
VCEI exceptions : not available
Les BogoMIPS ne sont plus un bon comparatif de performances de CPU actuel, mais a default, cela donne une idée.
Voici ce que donne un Intel Pentium III 550 Mhz (donc 32 bits en mono-coeur) :
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 547.635
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse up
bogomips : 1096.32
clflush size : 32
On est donc quasi-certain que l'Octeon utilisé est plus rapide qu'un bi-pentium III 450 Mhz même si en processeur généraliste il se révélera peut-être un peu petit peu plus lent qu'un bi-pentium III 450 Mhz car le Octeon est optimisé pour ce qu'il fait (traiter des E/S et pas pour les calculs a virgule flottante).
BENEFITS
Market-leading performance
• Up to 2.8 Billion instructions per second
• 500 Mbps to 2+ Gbps application performance - Up to 1+ Gbps 64B IP forwarding
Support for voice, video and data with integrated hardware
• Queuing, scheduling
• Very low latency for real-time traffic
Reduced BOM cost with essential interfaces for next-generation networking equipment
• Glueless support for switching, WLAN, voice and video
• High-speed USB 2.0 enables printer, storage connectivity
Flexible architecture allows host and coprocessor implementations
Industry-standard programming model without any need for proprietary tools or micro-coding
Fully software compatible with OCTEON CN5XXX, CN3XXX to deliver 1-16 CPU scalability
FEATURES
Custom CPU core optimized for networking
• 1-2 cnMIPSTM CPU cores (MIPS64/32 compatible) with MMU
• Available in 300 MHz to 700 MHz versions
• OCTEON Plus enhanced MIPS64 integer (Release2) instruction set
• Dual-issue, five-stage pipeline, optimized latencies
• Auto instruction pre-fetching and advanced data pre-fetching features to minimize memory stalls
High-performance coherent memory subsystem
• 128KB ECC protected L2 cache with locking, partitioning features for optimal performance
• Integrated mainstream 16 - 32-bit DDR2 memory controller with ECC, up to DDR2-667
Integrated coprocessors for application acceleration
• Packet I/O processing, QoS, TCP acceleration
• Support for IPsec, SSL, DH, SRTP, WLAN security, DES, 3DES, AES (up to 256-bit including GCM), SHA1, SHA-2 up to SHA-512, RSA, ECC, KASUMI, and Data-at-rest security (AES-XTS)
Integrated high-performance networking interfaces
• Up to 3 configurable Ethernet I/Os - 3x 10/100/1000 Ethernet MACs (RGMII; GMII or MII)
• Integrated 32-bit, 66 MHz PCI host or slave
• TDM/PCM interface for glueless VoIP support
• USB 2.0, high-speed (480 Mbps), host with integrated PHY
Small footprint package:
• 564 HSBGA package - compatible with OCTEON CN30XX single core processors
-
C'est possible de briquer un ERL :o
-
En fait visiblement ca arrive souvent on trouve plein d'exemples sur le web, l'os est stocke sur une bete cle usb , problablement sans un systeme de fichier qui limite les ecritures sur les memes cellules...
Le mien est mort apres 13 mois donc hors garantie depuis 1 mois :-(
Ce point la est vraiment negatif mais heureusement il est possible de changer la cle usb et reinstaller, de plus ce router est vraiment top pour son prix (meme si il a bien augmente).