Community discussions

MikroTik App
 
thenoob
just joined
Topic Author
Posts: 22
Joined: Wed Mar 27, 2013 2:23 am

Stuck at loading kernel

Wed Mar 27, 2013 2:34 am

well had to happen :(

i was fidling to configure vlan and interfaces and flushed the config and now im stuck at loading kernel

tried shorting the litle "reset hole" didnt work ( it did initially but now im stuck)
i dont have a console cable to make matters whorse ( i tried a few cables at work and they dont work either)

router is routerboard RB2011UAS-2HnD-IN model

loading kerlnel apears in the small LCD screen otherwise nothing else shows anything ( besides blue power light)

oh and vlans are a pain int the nicktah to configure. :?
 
thenoob
just joined
Topic Author
Posts: 22
Joined: Wed Mar 27, 2013 2:23 am

Re: Stuck at loading kernel

Fri Mar 29, 2013 9:45 pm

no awnser yet hum :?
well here is an update 1st i was able to mcGyver a console cable ( took the opportunity to make it fully null modem with hardware flow control support that way just need to shut down the flow control software wise) for those who wonder : pinout for RJ45 looking from top ( LCD side) pin #1 is on the right . then the rest goes to DB9 . if your cable is tia-368/ A or B (orange on the side) it will look like this

RJ =>db9
w/or,w/br =>1,6 => 4
or => 2 =>3
w/gr =>3 =>2
bl =>4 =>1,6
w/bl =>5 =>5
gr =>7 =>8
br =>l8 =>7

now for the matter at hand : with console calbe i was able to get the output witch basicaly tells me the device ends in a terrible kernel panic and halts i was able to see that it does try to go into bootp but somhow fails ( with netinstall program running and all) not only that i noticed the eth1 is up from the get-go ( i tought that all the ports where dead . )
now i went and looked at the manual(wiki) and it says that there should be opportunity in the boot sequence to go into the bios . on mine with putty it dosent seam to work .
now i opened a ticket by sending an email to mikrotik but so far only thing i received as a reply was a automated email with the ticket number hope i will get a reply this week because so far not impressed if you ask me ...

here is the output from the device
===============================================================
RouterBOOT booter 3.0

RouterBoard 2011UAS-2HnD

CPU frequency: 600 MHz
Memory speed: 225 MHz
Memory size: 128 MB

Press any key within 2 seconds to enter setup..
trying bootp protocol......... failed
kernel loading failed
loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
Oops[#1]:
Cpu 0
$ 0 : 00000000 00000001 c7d2e284 00000000
$ 4 : c03790fc 00000cc9 ffffffff c03c1bac
$ 8 : c03c5c7f c03c5c7f 00000008 2d646972
$12 : 6e672074 c0312401 000000a6 6f206164
$16 : c7d2e264 c7d28364 c7d2e284 00000001
$20 : c7c21c40 00000004 ffffffff c0345ebc
$24 : 00000018 00000056
$28 : c7c20000 c7c21c10 c0380000 c01e1c80
Hi : 00000009
Lo : 00000009
epc : c01e1d08 yaffs_AddObjectToDirectory+0x114/0x188
Not tainted
ra : c01e1c80 yaffs_AddObjectToDirectory+0x8c/0x188
Status: 1000c203 KERNEL EXL IE
Cause : 0080000c
BadVA : 00000004
PrId : 0001974c (MIPS 74Kc)
Process init (pid: 1, threadinfo=c7c20000, task=c7c1c000, tls=00000000)
Stack : c7c0d000 c7d2e264 00000003 00000000 c7c0d000 00000000 00000000 c01e4980
c7d01efc 00000000 00000000 00000000 ffffffff 0000001c 00000919 00000909
00006180 21800014 00000000 00000000 00000000 0000122b 00000000 c7c0d000
c7d2e250 c7d2e264 c7c0d000 c7c0d000 0000000a 0000001c c7d01efc 00000000
00000000 00000000 7fe7a870 c01e7dbc c7c21d60 c0216fa4 c0338cbd c020bd2c
...
Call Trace:
[<c01e1d08>] yaffs_AddObjectToDirectory+0x114/0x188
[<c01e4980>] yaffs_CheckpointRestore+0x1f4/0x42c
[<c01e7dbc>] yaffs_GutsInitialise+0x4f4/0x1e94
[<c01e10b8>] yaffs_internal_read_super+0x6e8/0x828
[<c01e1238>] yaffs_internal_read_super_mtd+0x14/0x2c
[<c018d9d4>] get_sb_bdev+0x138/0x1b0
[<c01de724>] yaffs_read_super+0x20/0x2c
[<c018ca34>] vfs_kern_mount+0x68/0x11c
[<c018cb40>] do_kern_mount+0x48/0x100
[<c01a5214>] do_mount+0x620/0x694
[<c01a55c4>] sys_mount+0x8c/0xf0
[<c010d524>] stack_done+0x20/0x3c


Code: ae00001c 8e230068 26020020 <ac620004> ae030020 26230068 ae030024 ae220068 8e020008
---[ end trace 5217b01dc2c4aeda ]---
Kernel panic - not syncing: Attempted to kill init!
======================================================
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: Stuck at loading kernel

Fri Mar 29, 2013 9:50 pm

 
thenoob
just joined
Topic Author
Posts: 22
Joined: Wed Mar 27, 2013 2:23 am

Re: Stuck at loading kernel

Fri Mar 29, 2013 10:44 pm

well there must be somthing i am doing wrong then :-( because netinstall isnt working either
i loaded the npk packages ( that went well)
clicked the netboot button + checkmarked boot server enabled and entered 192.168.88.2
then i seted my local ( laptop interface) to 192.168.88.5
unplugged the power and reconected it
got the result that i posted above : bootp failed...

like i said above : i dont have access to bios either it seams but bootp should be working ..
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: Stuck at loading kernel

Fri Mar 29, 2013 11:51 pm

Connect patchcable to RB's Ether1 port.
Unplug power, press reset button and hold it.
Power up device and release reset button when green LED stops blinking,
or your RB will be visible on Netinstall's routers list.
This procedure is described in Quick Setup Guide:
http://routerboard.com/pdf/423/rb2011U-qg.pdf

HTH,
 
thenoob
just joined
Topic Author
Posts: 22
Joined: Wed Mar 27, 2013 2:23 am

Re: Stuck at loading kernel

Wed Apr 03, 2013 10:08 pm

already tried did not work either
 
thenoob
just joined
Topic Author
Posts: 22
Joined: Wed Mar 27, 2013 2:23 am

Re: Stuck at loading kernel

Fri Apr 05, 2013 4:18 pm

so i finally received an email from support . the db9 pinout isn't the same as the rj45 ( not the same order )

Correct pin-out for RJ45 and cable,

RJ45 DB9
RTS 1 8 CTS
DTR 2 6 DSR
TXD 3 2 RXD
GND 4 5 GND
GND 5 5 GND
RXD 6 3 TXD
DSR 7 4 DTR
CTS 8 7 RTS

pin # 1 is towards the iner of the router ( if you are looking at the back it will be towards the left with the lcd up )

i had to introduce more delay so that the interface had the time to go up before it tried bootp .
i also had to force it to go into ethernet booting .

"somehow" that worked and i was able to see it in netinstall and repush the image /packages

[solved]

Who is online

Users browsing this forum: agpol07, chuflo and 36 guests