BeagleBoard-xM Kernel Panic


I am using a beagleboard-XM. I have compiled a kernel with default configurations.

Now I during kernel booting phase I am getting following kernel panic.

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

Can any body tell if this is due to some option in the .config file or I am missing something else.

Following is the system dump during booting process.


Texas Instruments X-Loader 1.5.0 (Mar 27 2011 - 17:37:56)

Beagle xM

Reading boot sector

Loading u-boot.bin from mmc

U-Boot 2011.03-rc1-00000-g9a3cc57-dirty (Apr 01 2011 - 17:41:42)

OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz

OMAP3 Beagle board + LPDDR/NAND

I2C: ready

DRAM: 512 MiB



*** Warning - readenv() failed, using default environment

In: serial

Out: serial

Err: serial

Beagle xM Rev C

No EEPROM on expansion board

Die ID #0b2800029ff800000163810c1402100f

Hit any key to stop autoboot: 0

The user button is currently NOT pressed.

SD/MMC found on device 0

reading uEnv.txt

134 bytes read

Loaded environment from uEnv.txt

Importing environment from mmc …

Loading file “/boot/uImage” from mmc device 0:2 (xxa2)

2125380 bytes read

Booting from mmc …

Booting kernel from Legacy Image at 80200000 …

Image Name: Linux-

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 2125316 Bytes = 2 MiB

Load Address: 80008000

Entry Point: 80008000

Verifying Checksum … OK

Loading Kernel Image … OK


Starting kernel …

Uncompressing Linux… done, booting the kernel.

Linux version (root@asusfer) (gcc version 4.5.3 20110223 (prerelea se) (GCC) ) #1 PREEMPT RT Wed Feb 1 17:03:57 CET 2012

CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f

CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache

Machine: OMAP3 Beagle Board

Memory policy: ECC disabled, Data cache writeback

OMAP3630 ES1.0 (l2cache iva sgx neon isp )

SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048

omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait

Booting kernel: 0:8M' invalid for parameter omapfb.vram’

PID hash table entries: 2048 (order: 1, 8192 bytes)

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Memory: 256MB 256MB = 512MB total

Memory: 514944KB available (3724K code, 642K data, 144K init, 0K highmem)

Real-Time Preemption Support © 2004-2007 Ingo Molnar

Experimental preemptable hierarchical RCU implementation.

RCU-based detection of stalled CPUs is enabled.


Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz

Reprogramming SDRC clock to 332000000 Hz

GPMC revision 5.0

IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts

Total of 96 interrupts on 1 active controller

OMAP GPIO hardware version 2.5

OMAP clockevent source: GPTIMER12 at 32768 Hz

Console: colour dummy device 80x30

console [tty0] enabled

Calibrating delay loop… 512.57 BogoMIPS (lpj=2002944)

Security Framework initialized

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

regulator: core version 0.5

NET: Registered protocol family 16

Found NAND on CS0

Registering NAND on CS0

*** Unable to set MPU rate

Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz

OMAP DMA hardware revision 5.0

bio: create slab at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz

twl4030: PIH (irq 7) chaining IRQs 368…375

twl4030: power (irq 373) chaining IRQs 376…383

twl4030: gpio (irq 368) chaining IRQs 384…401

regulator: VUSB1V5: 1500 mV normal standby

regulator: VUSB1V8: 1800 mV normal standby

regulator: VUSB3V1: 3100 mV normal standby

twl4030_usb twl4030_usb: Initialized TWL4030 USB module

regulator: VMMC1: 1850 <–> 3150 mV at 3000 mV normal standby

regulator: VDAC: 1800 mV normal standby

regulator: VDVI: 1800 mV normal standby

regulator: VSIM: 1800 <–> 3000 mV at 1800 mV normal standby

i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz

Switching to clocksource 32k_counter

musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0

musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92

NET: Registered protocol family 2

IP route cache hash table entries: 4096 (order: 2, 16384 bytes)

TCP established hash table entries: 16384 (order: 5, 131072 bytes)

TCP bind hash table entries: 16384 (order: 6, 458752 bytes)

TCP: Hash tables configured (established 16384 bind 16384)

TCP reno registered

UDP hash table entries: 256 (order: 2, 16384 bytes)

UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)

NET: Registered protocol family 1

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

NetWinder Floating Point Emulator V0.97 (double precision)

VFS: Disk quotas dquot_6.5.2

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

msgmni has been set to 1006

alg: No test for stdrng (krng)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

omapfb: configured for panel omap3beagle

omapfb: DISPC version 3.0 initialized

Console: switching to colour frame buffer device 128x48

omapfb: Framebuffer initialized. Total vram 1572864 planes 1

omapfb: Pixclock 64000 kHz hfreq 59.0 kHz vfreq 76.9 Hz

Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

sched: RT throttling activated

serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654

serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654

serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654

console [ttyS2] enabled

brd: module loaded

loop: module loaded

ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver

ehci-omap ehci-omap.0: OMAP-EHCI Host Controller

ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1

ehci-omap ehci-omap.0: irq 77, io mem 0x48064800

ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 3 ports detected

g_cdc gadget: using random self ethernet address

g_cdc gadget: using random host ethernet address

usb0: MAC 72:a4:36:9a:fa:39

usb0: HOST MAC 92:e9:3a:48:1e:1b

g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008

g_cdc gadget: g_cdc ready

musb_hdrc musb_hdrc: MUSB HDRC host driver

musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

i2c /dev entries driver

TCP cubic registered

NET: Registered protocol family 17

NET: Registered protocol family 15

Power Management for TI OMAP3.

VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

regulator_init_complete: incomplete constraints, leaving VDVI on

regulator_init_complete: incomplete constraints, leaving VDAC on

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

Root-NFS: No NFS server available, giving up.

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device “(null)” or unknown-block(2,0)

Please append a correct “root=” boot option; here are the available partitions:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


I am using a beagleboard-XM. I have compiled a kernel with default

Now I during kernel booting phase I am getting following kernel panic.

Kernel panic - not syncing: VFS: Unable to mount root fs on

Based on your boot log, it looks as thou you haven't built the mmc
driver or power for it...

you should see soemthign like:

[ 2.733551] mmc0: host does not support reading read-only switch.
assuming write-enable.
[ 2.801788] mmc0: new SD card at address aaaa
[ 2.894439] mmcblk0: mmc0:aaaa SU02G 1.84 GiB
[ 2.945404] mmcblk0: p1 p2

Take a look at one of my old configs for reference, (yes lots of extra
stuff that you don't need is enabled :wink: )

But when comparing defintelly look at twl4030/gpio/mmc config options...