Kernel panic, need help

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Kernel panic, need help

Postby gookank » Mon Apr 01, 2013 6:22 am

I updated uboot so that it can boot from usb drive. I prepared an ext3 flash disk using gparted on my laptop. I extracted Arch linux and tried to boot it. I successfully booted once and when I tried it for the second time I got this:

$this->bbcode_second_pass_code('', 'U-Boot 2011.12 (Feb 20 2012 - 21:21:59)
Pogoplug E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2869736 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.10-16-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2869672 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 8.402599] rtc-mv rtc-mv: internal RTC not ticking
[ 8.410938] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 9.300683] sd 0:0:0:0: [sda] No Caching mode page present
[ 9.306223] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.314808] sd 0:0:0:0: [sda] No Caching mode page present
[ 9.320320] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.330058] sd 0:0:0:0: [sda] No Caching mode page present
[ 9.335756] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 18.423577] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibs
[ 18.442709] Unable to handle kernel paging request at virtual address 0030300
[ 18.449967] pgd = c0004000
[ 18.452705] [00303030] *pgd=00000000
[ 18.456309] Internal error: Oops: 5 [#1] PREEMPT
[ 18.460945] Modules linked in:
[ 18.464017] CPU: 0 Not tainted (3.1.10-16-ARCH #1)
[ 18.469184] PC is at mount_block_root+0x200/0x280
[ 18.473905] LR is at mount_block_root+0x1e0/0x280
[ 18.478633] pc : [<c052fbfc>] lr : [<c052fbdc>] psr: 40000013
[ 18.478638] sp : cf82bf80 ip : 00000000 fp : 00000000
[ 18.490175] r10: c049f470 r9 : 00000000 r8 : 00008000
[ 18.495425] r7 : c08618fc r6 : c0551e7c r5 : cf812005 r4 : 00303030
[ 18.501983] r3 : cf82beb0 r2 : cf82bf74 r1 : c049f448 r0 : 00000039
[ 18.508541] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kerl
[ 18.515883] Control: 0005397f Table: 00004000 DAC: 00000017
[ 18.521655] Process swapper (pid: 1, stack limit = 0xcf82a270)
[ 18.527515] Stack: (0xcf82bf80 to 0xcf82c000)
[ 18.531899] bf80: 00000000 00000000 00006180 cf4a2a00 00006000 c00d3508 cf810
[ 18.540121] bfa0: c049f470 00000001 c0593380 c0551e91 c000945c 00000013 00000
[ 18.548344] bfc0: 00000000 c052ff3c fffffffe 00000002 00000000 c0558ee4 c0558
[ 18.556566] bfe0: 00000000 00000000 00000000 00000000 c052f7ac c000945c fffff
[ 18.564797] [<c052fbfc>] (mount_block_root+0x200/0x280) from [<c052ff3c>] (p)
[ 18.574418] [<c052ff3c>] (prepare_namespace+0x160/0x1c0) from [<c052f8c8>] ()
[ 18.583603] [<c052f8c8>] (kernel_init+0x11c/0x14c) from [<c000945c>] (kernel)
[ 18.592520] Code: e1a00004 ebf3b5e7 e2800001 e0844000 (e5d43000)
[ 18.598783] ---[ end trace 939d06a956198746 ]---
[ 18.603532] Kernel panic - not syncing: Attempted to kill init!
[ 18.609508] [<c000d290>] (unwind_backtrace+0x0/0xe0) from [<c03cc914>] (pani)
[ 18.617762] [<c03cc914>] (panic+0x58/0x198) from [<c0021a48>] (do_exit+0x88/)
[ 18.625392] [<c0021a48>] (do_exit+0x88/0x7a0) from [<c000b8e0>] (die+0x1d4/0)
[ 18.632932] [<c000b8e0>] (die+0x1d4/0x200) from [<c03cc7ec>] (__do_kernel_fa)
[ 18.641861] [<c03cc7ec>] (__do_kernel_fault.part.2+0x54/0x74) from [<c03d3f9)
[ 18.652322] [<c03d3f98>] (do_page_fault.part.3+0x274/0x2b0) from [<c03d4000>)
[ 18.661783] [<c03d4000>] (do_page_fault+0x2c/0x94) from [<c00083cc>] (do_Dat)
[ 18.670370] [<c00083cc>] (do_DataAbort+0x34/0x98) from [<c03d27b8>] (__dabt_)
[ 18.678690] Exception stack(0xcf82bf38 to 0xcf82bf80)
[ 18.683774] bf20: 00008
[ 18.691998] bf40: cf82bf74 cf82beb0 00303030 cf812005 c0551e7c c08618fc 00000
[ 18.700233] bf60: c049f470 00000000 00000000 cf82bf80 c052fbdc c052fbfc 4000f
[ 18.708469] [<c03d27b8>] (__dabt_svc+0x38/0x60) from [<c052fbfc>] (mount_blo)
[ 18.717318] [<c052fbfc>] (mount_block_root+0x200/0x280) from [<c052ff3c>] (p)
[ 18.726954] [<c052ff3c>] (prepare_namespace+0x160/0x1c0) from [<c052f8c8>] ()
[ 18.736154] [<c052f8c8>] (kernel_init+0x11c/0x14c) from [<c000945c>] (kernel)

')

Can anyone tell me what is going on here? I am using ext3 not ext2. Should I use ext2 instead? I also tried booting from harddrive and the result is the same.

Edit:
Here is another log. This time, something related with usb messed up.
$this->bbcode_second_pass_code('', 'U-Boot 2011.12 (Feb 20 2012 - 21:21:59)
Pogoplug E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2869736 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.10-16-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2869672 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 8.384670] hub 1-1:1.0: hub_port_status failed (err = -71)
[ 8.394293] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.403668] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.413043] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.422418] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.427755] hub 1-1:1.0: Cannot enable port 4. Maybe the USB cable is bad?
[ 8.438794] hub 1-1:1.0: cannot disable port 4 (err = -71)
[ 8.448294] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.457668] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.467044] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.476418] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.485793] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.491149] hub 1-1:1.0: Cannot enable port 4. Maybe the USB cable is bad?
[ 8.502169] hub 1-1:1.0: cannot disable port 4 (err = -71)
[ 8.511668] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.521043] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.530418] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.539793] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.549168] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.554519] hub 1-1:1.0: Cannot enable port 4. Maybe the USB cable is bad?
[ 8.565543] hub 1-1:1.0: cannot disable port 4 (err = -71)
[ 8.575043] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.584418] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.593793] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.603168] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.612543] hub 1-1:1.0: cannot reset port 4 (err = -71)
[ 8.617878] hub 1-1:1.0: Cannot enable port 4. Maybe the USB cable is bad?
[ 8.628918] hub 1-1:1.0: cannot disable port 4 (err = -71)
[ 8.634450] hub 1-1:1.0: unable to enumerate USB device on port 4
[ 8.644543] hub 1-1:1.0: cannot disable port 4 (err = -71)
[ 8.700602] rtc-mv rtc-mv: internal RTC not ticking
[ 8.708890] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 11.218796] hub 1-1:1.0: hub_port_status failed (err = -71)
[ 11.228418] hub 1-1:1.0: hub_port_status failed (err = -71)
[ 11.238044] hub 1-1:1.0: hub_port_status failed (err = -71)
[ 11.247668] hub 1-1:1.0: hub_port_status failed (err = -71)
[ 18.720867] Kernel panic - not syncing: VFS: Unable to mount root fs on unkn)
[ 18.729203] [<c000d290>] (unwind_backtrace+0x0/0xe0) from [<c03cc914>] (pani)
[ 18.737459] [<c03cc914>] (panic+0x58/0x198) from [<c052fc2c>] (mount_block_r)
[ 18.745969] [<c052fc2c>] (mount_block_root+0x230/0x280) from [<c052ff3c>] (p)
[ 18.755608] [<c052ff3c>] (prepare_namespace+0x160/0x1c0) from [<c052f8c8>] ()
[ 18.764806] [<c052f8c8>] (kernel_init+0x11c/0x14c) from [<c000945c>] (kernel)

')
gookank
 
Posts: 7
Joined: Sun Mar 31, 2013 7:13 am

Re: Kernel panic, need help

Postby moonman » Mon Apr 01, 2013 8:51 pm

What's the output of this command:

fw_printenv | grep usb_rootfstype

or

just post "printenv" if you can't boot using netconsole or serial. Likely you need to change usb_rootfstype to ext3
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Kernel panic, need help

Postby gookank » Tue Apr 02, 2013 6:51 am

Thanks alot. Changing usb_rootfstype to ext3 solved my problem.
gookank
 
Posts: 7
Joined: Sun Mar 31, 2013 7:13 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 382 guests