Mon, 10/10/2016 - 9:03pm
#1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
Hi, everyone!
I compiled dd-wrt source code for a router which has same source design from Broadcom with Netgear r6300v2. After update this router's firmware, the router not boot. The serial com prints information as follows:
CFE version 6.37.14.62 (r436032) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Wed Nov 19 11:56:56 CST 2014 (liu@software)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
Found a AMD NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 1 (1-bit)
Device ID: 0x01 0xf1 0x00 0x1d 0x01 0xf1
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=800,*400*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.62 (r436032)
CPU type 0x0: 800MHz
Tot mem: 131072 KBytes
CFE mem: 0x00F00000 - 0x01791D5C (8985948)
Data: 0x00F4A3D0 - 0x00F4A890 (1216)
BSS: 0x00F4A8A0 - 0x00F8FD5C (283836)
Heap: 0x00F8FD5C - 0x0178FD5C (8388608)
Stack: 0x0178FD5C - 0x01791D5C (8192)
Text: 0x00F00000 - 0x00F416F8 (268024)
Device eth0: hwaddr 00-90-4C-0F-F4-6C, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .... 4680672 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0x18000400 (irq = 117) is a 16550
brd: module loaded
loop: module loaded
pflash: found no supported devices
Found a AMD NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 1-bit
Device ID: 0x 1 0xf1 0x 0 0x1d 0x 1
Creating 16 MTD partitions on "nflash":
0x000000000000-0x000008000000 : "boot"
0x000000000000-0x000008000000 : "nvram"
0x000000000000-0x000008000000 : "board_data"
0x000000000000-0x000008000000 : "POT1"
0x000000000000-0x000008000000 : "POT2"
0x000000000000-0x000008000000 : "T_Meter1"
0x000000000000-0x000008000000 : "T_Meter2"
0x000000000000-0x000008000000 : "ML1"
0x000000000000-0x000008000000 : "ML2"
0x000000000000-0x000008000000 : "ML3"
0x000000000000-0x000008000000 : "ML4"
0x000000000000-0x000008000000 : "ML5"
0x000000000000-0x000008000000 : "ML6"
0x000000000000-0x000008000000 : "ML7"
0x000000000000-0x000008000000 : "linux"
0x000000000000-0x000008000000 : "rootfs"
PPP generic driver version 2.4.2
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.17
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0b.1: irq 111, io mem 0x18021000
ehci_hcd 0000:00:0b.1: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0b.0: irq 111, io mem 0x18022000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
xhci_hcd 0000:00:0c.0: xHCI Host Controller
xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 3
xhci_hcd 0000:00:0c.0: irq 112, io mem 0x18023000
xhci_hcd 0000:00:0c.0: Failed to enable MSI-X
xhci_hcd 0000:00:0c.0: failed to allocate MSI entry
usb usb3: No SuperSpeed endpoint companion for config 1 interface 0 altsetting 0 ep 129: using minimum values
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
u32 classifier
Actions configured
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip6tnl0: Disabled Privacy Extensions
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2012
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
Spare area=64 eccbytes 8, ecc bytes located at:
14 15 30 31 46 47 62 63
Available 55 bytes at (off,len):
(1,13) (16,14) (32,14) (48,14) (0,0) (0,0) (0,0) (0,0)
Scanning device for bad blocks
Options: NO_AUTOINCR,NO_READRDY,BBT_SCAN2NDPAGE,
Creating 2 MTD partitions on "brcmnand":
0x000000000000-0x0000000e0000 : "ddwrt"
0x0000000e0000-0x000008000000 : "brcmnand"
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
List of all partitions:
1f00 131072 mtdblock0 (driver?)
1f01 131072 mtdblock1 (driver?)
1f02 131072 mtdblock2 (driver?)
1f03 131072 mtdblock3 (driver?)
1f04 131072 mtdblock4 (driver?)
1f05 131072 mtdblock5 (driver?)
1f06 131072 mtdblock6 (driver?)
1f07 131072 mtdblock7 (driver?)
1f08 131072 mtdblock8 (driver?)
1f09 131072 mtdblock9 (driver?)
1f0a 131072 mtdblock10 (driver?)
1f0b 131072 mtdblock11 (driver?)
1f0c 131072 mtdblock12 (driver?)
1f0d 131072 mtdblock13 (driver?)
1f0e 131072 mtdblock14 (driver?)
1f0f 131072 mtdblock15 (driver?)
1f10 896 mtdblock16 (driver?)
1f11 130176 mtdblock17 (driver?)
No filesystem could mount root, tried: ext3 ext2 ext4 squashfs vfat msdos hfsplus hfs fuseblk
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[<c0045158>] (unwind_backtrace+0x0/0xe4) from [<c0345434>] (panic+0x68/0x188)
[<c0345434>] (panic+0x68/0x188) from [<c0009218>] (mount_block_root+0x238/0x288)
[<c0009218>] (mount_block_root+0x238/0x288) from [<c0009514>] (prepare_namespace+0x160/0x1c0)
[<c0009514>] (prepare_namespace+0x160/0x1c0) from [<c0008e8c>] (kernel_init+0x1c8/0x218)
[<c0008e8c>] (kernel_init+0x1c8/0x218) from [<c003fb58>] (kernel_thread_exit+0x0/0x8)
CPU1: stopping
[<c0045158>] (unwind_backtrace+0x0/0xe4) from [<c003e2f0>] (do_IPI+0xfc/0x180)
[<c003e2f0>] (do_IPI+0xfc/0x180) from [<c0418128>] (__irq_svc+0x48/0xe8)
Exception stack(0xc7843f98 to 0xc7843fe0)
3f80: c04667bc 00000000
3fa0: c7843fe0 00000000 c7842000 c0462be8 c047f0a8 c047f220 00000000 413fc090
3fc0: 0000001f 00000000 c04b64b8 c7843fe0 c003fbb0 c003fbb4 60000013 ffffffff
[<c0418128>] (__irq_svc+0x48/0xe8) from [<c003fbb4>] (default_idle+0x24/0x28)
[<c003fbb4>] (default_idle+0x24/0x28) from [<c003fd1c>] (cpu_idle+0x40/0x94)
[<c003fd1c>] (cpu_idle+0x40/0x94) from [<00008084>] (0x8084)
Recent comments