Page 1 of 1

RB2011 failing to start up - please help!

Posted: Tue Jun 03, 2014 9:24 pm
by neftronics
My RB2011 failed to start up properly after a power failure today. The LCD is stopping on the "starting services" screen. I booted again with the RS232 terminal and get some messages (attached, inline below) which indicate that the USB hub is failing to enumerate. After this, I can log in but none of the settings seem to be stored.
Can anyone suggest what I might do to get this board working again? I have teenage children suffering internet-withdrawal symptoms! They are too young to remember life before the internet!!!!

RouterBOOT booter 3.04

RouterBoard 2011UAS-2HnD

CPU frequency: 600 MHz
 Memory speed: 225 MHz
  Memory size: 128 MiB
    NAND size: 128 MiB

Press any key within 2 seconds to enter setup..

loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
Starting services...

MikroTik 6.1
MikroTik Login: Oops[#1]:
Cpu 0
$ 0   : 00000000 7fc50578 000000b1 ea2c8000
$ 4   : c7dfb380 000002e9 00000004 00000007
$ 8   : 00000020 c0239dd0 00000000 00000000
$12   : 7fc50570 00000200 00000002 00000000
$16   : 00000001 00000000 00000042 00100000
$20   : 00000001 c7dbeb80 00000000 20010000
$24   : 00000000 c6e81040                  
$28   : c7610000 c7611d08 00000001 c6e7bca8
Hi    : 00000004
Lo    : 92de8000
epc   : c6e7bca8 ath8327_flush_hosts+0x9c/0x320 [ath8327@0xc6e78000]
    Not tainted
ra    : c6e7bca8 ath8327_flush_hosts+0x9c/0x320 [ath8327@0xc6e78000]
Status: 1000fe02    KERNEL EXL 
Cause : 00800008
BadVA : 0000022c
PrId  : 0001974c (MIPS 74Kc)
Process net (pid: 205, threadinfo=c7610000, task=c7456280, tls=778d5770)
Stack : 40808000 c6e78618 7fc50570 00000001 080003f5 c7dfb380 00000001 00000042
        00000000 00000001 c7dbeb80 c6e7be48 00000000 20010000 00000000 c6e81040
        00000000 00000000 c7dfb380 00000042 c7dbeb80 00000002 00000001 c7dbeb80
        0045f370 00000000 20010000 c6e500b8 c7611e28 00000000 7fc50568 0045f370
        c7dbe380 00000001 c7611e28 00000000 7fc50568 c6e52438 c03bfc88 00000000
Call Trace:
[<c6e7bca8>] ath8327_flush_hosts+0x9c/0x320 [ath8327@0xc6e78000]

Code: 000000c0  0db9ef03  3c130010 <8e22022c> 3c140020  8c520000  2444fff8  2635022c  2652fff8 
---[ end trace 434f265c4e411b73 ]---
usb 1-1: device descriptor read/64, error -71
flash: writing cfg id = 23, size = 4
flash_ioctl: programming injected settings
usb 1-1: new full-speed USB device number 4 using rb400-ehci
rb400_beep 5000
rb400_beep 0
rb400_beep 5000
rb400_beep 0
rb400_beep 0
usb 1-1: device not accepting address 4, error -71
usb 1-1: new full-speed USB device number 5 using rb400-ehci
usb 1-1: device not accepting address 5, error -71
hub 1-0:1.0: unable to enumerate USB device on port 1

Re: RB2011 failing to start up - please help!

Posted: Tue Jun 03, 2014 9:52 pm
by dohmniq
If you just want a quick fix to get back online then I'd suggest using netinstall to reformat and reinstall. Maybe bump firmware up to 6.13 while you're there. You might even be able to keep the config depending on state of filesystem!

I don't have a 2011UAS but firmware v6.13 might come with a newer RouterBOOT version which could have a fix for the issue you're seeing...

Re: RB2011 failing to start up - please help!

Posted: Tue Jun 03, 2014 11:04 pm
by neftronics
Hi there, thanks for your help. I don't really want to start trying to reflash firmware yet until I can find out what the USB enumeration error actually is.
I need to know if this is an actual hardware failure or not. If this is the case, reflashing can't help. What is the USB hub for? I don't have any USB peripherals attached, so are some built-in parts of the chipset on a USB hub? does the configuration flash reside in a USB peripheral on the PCB?
Can anybody suggest some terminal commands I might run to help diagnose?


Fixed: Re: RB2011 failing to start up - please help!

Posted: Wed Jun 04, 2014 6:22 pm
by neftronics
With guidance from my supplier, I successfully managed to use netinstall and also kept the previous settings.
All back up and running now! I guess it might have been writing to flash or updating when the power failed, resulting in corruption.
Next step.... transient protection and a 24V UPS :lol: