[beagleboard] Kernel panic

Hi,

I formated SD card with twp partion (LABEL1 and LABEL2), I copied mlo, u-boot.bin and uImage to LABEL1. In LABEL2 i untared Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-test-20090326-beagleboard.rootfs.tar.bz2 file and i booted with bootargs as

setenv bootargs 'console=ttyS0,115200n8 console=tty0 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omapfb.video_mode=1024x768MR-16@60’

and bootcmd as


<br>setenv bootcmd 'mmcinit; fatload mmc 0 0x80300000 uImage; bootm 0x80300000'<br><br>after booting i am getting kernel panic as shown below.<br>## Booting kernel from Legacy Image at 80300000 ...<br> Image Name: Linux-2.6.22.18-omap3<br> Image Type: ARM Linux Kernel Image (uncompressed)<br> Data Size: 1700728 Bytes = 1.6 MB<br> <br> Load Address: 80008000<br> Entry Point: 80008000<br> Verifying Checksum ... OK<br> Loading Kernel Image ... OK<br>OK<br><br>Starting kernel ...<br><br>Uncompressing Linux................................................................................................................ done, bootin<br>g the kernel.<br><5>Linux version 2.6.22.18-omap3 (root@INETFI-LINUX-MC4) (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #7 Fri Jun 26 17:13:55 I<br>ST 2009<br>CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=00c5387f<br>Machine: OMAP3 Beagle board<br>Memory policy: ECC disabled, Data cache writeback<br><7>On node 0 totalpages: 32768<br><7> DMA zone: 256 pages used for memmap<br><7> DMA zone: 0 pages reserved<br><7> DMA zone: 32512 pages, LIFO batch:7<br><7> Normal zone: 0 pages used for memmap<br><6>OMAP3430ES1<br><6>SRAM: Mapped pa 0x40200000 to va 0xd7000000 size:<br> 0x100000<br>CPU0: D VIPT write-through cache<br>CPU0: cache: 768 bytes, associativity 1, 8 byte lines, 64 sets<br>Built 1 zonelists. Total pages: 32512<br><5>Kernel command line: console=ttyS0,115200n8 console=tty0 rw rootfstype=ext3 rootwait<br><6>GPMC revision 5.0<br><6>IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts<br><6>Total of 96 interrupts on 1 active controller<br><6>OMAP34xx GPIO hardware version 2.5<br>PID hash table entries: 512 (order: 9, 2048 bytes)<br>Console: colour dummy device 80x30<br>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)<br>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)<br><6>Memory: 128MB 0MB = 128MB total<br><5>Memory: 126080KB available (3188K code, 411K data, 128K init)<br><7>Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)<br>Mount-cache hash table entries: 512<br><6>CPU: Testing write buffer coherency:<br> ok<br><6>NET: Registered protocol family 16<br><3>twl4030: I2C Client[3] is not initialized[515]<br><3>twl4030: I2C Client[3] is not initialized[464]<br><6>SmartReflex driver initialized<br><6>OMAP DMA hardware revision 4.0<br><6>OMAP Display hardware version 2.0<br><6>i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz<br><6>i2c_omap i2c_omap.2: bus 2 rev3.12 at 100 kHz<br><6>i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz<br><6>TWL4030: TRY attach Slave TWL4030-ID0 on Adapter OMAP I2C adapter [1]<br><6>TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter [1]<br><6>TWL4030: TRY attach Slave TWL4030-ID2 on Adapter OMAP I2C adapter [1]<br><6>TWL4030: TRY attach Slave TWL4030-ID3 on Adapter OMAP I2C adapter [1]<br><6>TWL4030 Power Companion Active<br><6><6>TWL4030: Driver registration complete.<br><6>TWL4030 GPIO Demux: IRQ Range 376 to 386,<br> Initialization Success<br><6>Initialized TWL4030 USB module<5>SCSI subsystem initialized<br><6>usbcore: registered new interface driver usbfs<br><6>usbcore: registered new interface driver hub<br><6>usbcore: registered new device driver usb<br><6>musb_hdrc: version 2.2a/db-0.5.2, pio, otg (peripheral+host), debug=0<br><7>musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)<br><7>musb_hdrc: MHDRC RTL version 1.400 <br><7>musb_hdrc: setup fifo_mode 4<br><7>musb_hdrc: 29/31 max ep, 15424/16384 memory<br><7>musb_hdrc: hw_ep 0shared, max 64<br><7>musb_hdrc: hw_ep 1tx, max 512<br><7>musb_hdrc: hw_ep 1rx, max 512<br><7>musb_hdrc: hw_ep 2tx, max 512<br><7>musb_hdrc: hw_ep 2rx, max 512<br><7>musb_hdrc: hw_ep 3tx, max 512<br><7>musb_hdrc: hw_ep 3rx, max 512<br><7>musb_hdrc: hw_ep 4tx, max<br> 512<br><7>musb_hdrc: hw_ep 4rx, max 512<br><7>musb_hdrc: hw_ep 5tx, max 512<br><7>musb_hdrc: hw_ep 5rx, max 512<br><7>musb_hdrc: hw_ep 6tx, max 512<br><7>musb_hdrc: hw_ep 6rx, max 512<br><7>musb_hdrc: hw_ep 7tx, max 512<br><7>musb_hdrc: hw_ep 7rx, max 512<br><7>musb_hdrc: hw_ep 8tx, max 512<br><7>musb_hdrc: hw_ep 8rx, max 512<br><7>musb_hdrc: hw_ep 9tx, max 512<br><7>musb_hdrc: hw_ep 9rx, max 512<br><7>musb_hdrc: hw_ep 10tx, max 512<br><7>musb_hdrc: hw_ep 10rx, max 512<br><7>musb_hdrc: hw_ep 11tx, max 512<br><7>musb_hdrc: hw_ep 11rx, max 512<br><7>musb_hdrc: hw_ep 12tx, max 512<br><7>musb_hdrc: hw_ep 12rx, max 512<br><7>musb_hdrc: hw_ep 13tx, max 512<br><7>musb_hdrc: hw_ep 13rx, max 512<br><7>musb_hdrc: hw_ep 14shared, max 1024<br><7>musb_hdrc: hw_ep 15shared, max 1024<br><6>musb_hdrc: USB OTG mode controller at c8800000<br> using PIO, IRQ 92<br><6>Time: 32k_counter clocksource has been installed.<br><6>Switched to high resolution mode on CPU 0<br><6>NET: Registered protocol family 2<br>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<br>TCP established hash table entries: 4096 (order: 3, 32768 bytes)<br>TCP bind hash table entries: 4096 (order: 2, 16384 bytes)<br><6>TCP: Hash tables configured (established 4096 bind 4096)<br><6>TCP reno registered<br><3>Power Management for TI OMAP.<br><6>cpuidle: using driver omap3_idle<br><3>create_proc_entry succeeded<br><3>create_proc_entry succeeded<br><4>NetWinder Floating Point Emulator V0.97 (double precision)<br><6>JFFS2 version 2.2. (NAND) �թ 2001-2006 Red Hat, Inc.<br><6>io scheduler noop registered<br><6>io scheduler anticipatory registered (default)<br><6>io scheduler deadline registered<br><6>io scheduler cfq<br> registered<br><7>omap2_disp_outLCD panel 1024x768<br><4>timeout waiting for frame-done interrupt<br><7>omap2_disp_outTV 640x480 interlaced<br><6>omap24xxfb: Options "<NULL>"<br>Console: switching to colour frame buffer device 128x48<br><6>omap24xxfb: fb0 frame buffer device <br><6>omap24xxfb: display mode 1024x768x16 hsync 22kHz vsync 28Hz<6>omap_rng omap_rng: OMAP Random Number Generator ver. 70<br><6>OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec<br><6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled<br><6>serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654<br>Linux version 2.6.22.18-omap3 (root@INETFI-LINUX-MC4) (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #7 Fri Jun 26 17:13:55 IST <br>2009<br>CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=00c5387f<br>Machine: OMAP3 Beagle board<br>Memory policy: ECC disabled, Data<br> cache writeback<br>OMAP3430ES1<br>SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000<br>CPU0: D VIPT write-through cache<br>CPU0: cache: 768 bytes, associativity 1, 8 byte lines, 64 sets<br>Built 1 zonelists. Total pages: 32512<br>Kernel command line: console=ttyS0,115200n8 console=tty0 rw rootfstype=ext3 rootwait<br>GPMC revision 5.0<br>IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts<br>Total of 96 interrupts on 1 active controller<br>OMAP34xx GPIO hardware version 2.5<br>PID hash table entries: 512 (order: 9, 2048 bytes)<br>Console: colour dummy device 80x30<br>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)<br>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)<br>Memory: 128MB 0MB = 128MB total<br>Memory: 126080KB available (3188K code, 411K data, 128K init)<br>Mount-cache hash table entries: 512<br>CPU: Testing write buffer coherency: ok<br>NET: Registered protocol family 16<br>twl4030: I2C<br> Client[3] is not initialized[515]<br>twl4030: I2C Client[3] is not initialized[464]<br>SmartReflex driver initialized<br>OMAP DMA hardware revision 4.0<br>OMAP Display hardware version 2.0<br>i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz<br>i2c_omap i2c_omap.2: bus 2 rev3.12 at 100 kHz<br>i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz<br>TWL4030: TRY attach Slave TWL4030-ID0 on Adapter OMAP I2C adapter [1]<br>TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter [1]<br>TWL4030: TRY attach Slave TWL4030-ID2 on Adapter OMAP I2C adapter [1]<br>TWL4030: TRY attach Slave TWL4030-ID3 on Adapter OMAP I2C adapter [1]<br>TWL4030 Power Companion Active<br><6>TWL4030: Driver registration complete.<br>TWL4030 GPIO Demux: IRQ Range 376 to 386, Initialization Success<br>Initialized TWL4030 USB module<5>SCSI subsystem initialized<br>usbcore: registered new interface driver usbfs<br>usbcore: registered new interface driver hub<br>usbcore:<br> registered new device driver usb<br>musb_hdrc: version 2.2a/db-0.5.2, pio, otg (peripheral+host), debug=0<br>musb_hdrc: USB OTG mode controller at c8800000 using PIO, IRQ 92<br>Time: 32k_counter clocksource has been installed.<br>Switched to high resolution mode on CPU 0<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<br>TCP established hash table entries: 4096 (order: 3, 32768 bytes)<br>TCP bind hash table entries: 4096 (order: 2, 16384 bytes)<br>TCP: Hash tables configured (established 4096 bind 4096)<br>TCP reno registered<br>Power Management for TI OMAP.<br>cpuidle: using driver omap3_idle<br>create_proc_entry succeeded<br>create_proc_entry succeeded<br>NetWinder Floating Point Emulator V0.97 (double precision)<br>JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.<br>io scheduler noop registered<br>io scheduler anticipatory registered (default)<br>io scheduler deadline registered<br>io<br> scheduler cfq registered<br>timeout waiting for frame-done interrupt<br>omap24xxfb: Options "<NULL>"<br>Console: switching to colour frame buffer device 128x48<br>omap24xxfb: fb0 frame buffer device <br>omap24xxfb: display mode 1024x768x16 hsync 22kHz vsync 28Hz<6>omap_rng omap_rng: OMAP Random Number Generator ver. 70<br>OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec<br>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled<br>serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654<br><6>serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654<br>serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654<br><6>serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654<br>serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654<br>RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize<br>RAMDISK driver initialized: 16 RAM disks of 16384K size 1024<br> blocksize<br><6>loop: module loaded<br>loop: module loaded<br><6>usbcore: registered new interface driver asix<br>usbcore: registered new interface driver asix<br><6>usbcore: registered new interface driver cdc_ether<br>usbcore: registered new interface driver cdc_ether<br><6>usbcore: registered new interface driver net1080<br>usbcore: registered new interface driver net1080<br><6>usbcore: registered new interface driver cdc_subset<br>usbcore: registered new interface driver cdc_subset<br><6>usbcore: registered new interface driver zaurus<br>usbcore: registered new interface driver zaurus<br><6>Linux video capture interface: v2.00<br>Linux video capture interface: v2.00<br><6>omap24xxvout: registered device video1 [v4l2]<br>omap24xxvout: registered device video1 [v4l2]<br><6>omap24xxvout: registered device video2 [v4l2]<br>omap24xxvout: registered device video2 [v4l2]<br><6>sn9c102: V4L2 driver<br> for SN9C1xx PC Camera Controllers v1:1.47pre49<br>sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49<br><6>usbcore: registered new interface driver sn9c102<br>usbcore: registered new interface driver sn9c102<br><6>i2c /dev entries driver<br>i2c /dev entries driver<br><6>omap2-nand driver initializing<br>omap2-nand driver initializing<br><6>NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)<br>NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)<br><5>Creating 5 MTD partitions on "omap2-nand.0":<br>Creating 5 MTD partitions on "omap2-nand.0":<br><5>0x00000000-0x00080000 : "X-Loader-NAND"<br>0x00000000-0x00080000 : "X-Loader-NAND"<br><5>0x00080000-0x00260000 : "U-Boot-NAND"<br>0x00080000-0x00260000 : "U-Boot-NAND"<br><5>0x00260000-0x00280000 : "Boot Env-NAND"<br>0x00260000-0x00280000 : "Boot<br> Env-NAND"<br><5>0x00280000-0x00780000 : "Kernel-NAND"<br>0x00280000-0x00780000 : "Kernel-NAND"<br><5>0x00780000-0x10000000 : "File System - NAND"<br>0x00780000-0x10000000 : "File System - NAND"<br><5>usbmon: debugfs is not available<br>usbmon: debugfs is not available<br><6>usbcore: registered new interface driver cdc_acm<br>usbcore: registered new interface driver cdc_acm<br><6>drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters<br>drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters<br><6>Initializing USB Mass Storage driver...<br>Initializing USB Mass Storage driver...<br><6>usbcore: registered new interface driver usb-storage<br>usbcore: registered new interface driver usb-storage<br><6>USB Mass Storage support registered.<br>USB Mass Storage support registered.<br><4>ether gadget: using random self<br> ethernet address<br>ether gadget: using random self ethernet address<br><4>ether gadget: using random host ethernet address<br>ether gadget: using random host ethernet address<br><6>usb0: Ethernet Gadget, version: May Day 2005<br>usb0: Ethernet Gadget, version: May Day 2005<br><6>usb0: using musb_hdrc, OUT ep1out IN ep1in STATUS ep2in<br>usb0: using musb_hdrc, OUT ep1out IN ep1in STATUS ep2in<br><6>usb0: MAC 16:6a:4d:5a:fb:dc<br>usb0: MAC 16:6a:4d:5a:fb:dc<br><6>usb0: HOST MAC 66:81:1d:94:3e:5a<br>usb0: HOST MAC 66:81:1d:94:3e:5a<br><6>usb0: RNDIS ready<br>usb0: RNDIS ready<br><6>musb_hdrc musb_hdrc.0: MUSB HDRC host driver<br>musb_hdrc musb_hdrc.0: MUSB HDRC host driver<br><6>musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1<br>musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1<br><6>usb usb1: configuration #1 chosen from 1 choice<br>usb usb1: configuration #1<br> chosen from 1 choice<br><6>hub 1-0:1.0: USB hub found<br>hub 1-0:1.0: USB hub found<br><6>hub 1-0:1.0: 1 port detected<br>hub 1-0:1.0: 1 port detected<br><6>mice: PS/2 mouse device common for all mice<br>mice: PS/2 mouse device common for all mice<br><6>usbcore: registered new interface driver usbhid<br>usbcore: registered new interface driver usbhid<br><6>drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver<br>drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver<br><6>Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).<br>Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).<br><6>OMAP3430 TWL4030 Audio Support: OMAP3430 TWL4030 Audio Support: Chip Rev[0x2f] Initialized<br>Chip Rev[0x2f] Initialized<br><6>audio support initialized<br>audio support initialized<br><6>usbcore: registered new interface driver<br> snd-usb-audio<br>usbcore: registered new interface driver snd-usb-audio<br><6>ALSA device list:<br>ALSA device list:<br><6> #0: TWL4030<br> #0: TWL4030<br><6>TCP cubic registered<br>TCP cubic registered<br><6>NET: Registered protocol family 1<br>NET: Registered protocol family 1<br><6>NET: Registered protocol family 17<br>NET: Registered protocol family 17<br><6>NET: Registered protocol family 15<br>NET: Registered protocol family 15<br><6>VFP support v0.3: VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1<br>implementor 41 architecture 3 part 30 variant c rev 1<br><6>cpuidle: using governor menu<br>cpuidle: using governor menu<br><4>mmc0: host does not support reading read-only switch. assuming write-enable.<br>mmc0: host does not support reading read-only switch. assuming write-enable.<br>VFS: Cannot open root device "<NULL>" or unknown-block(0,0)<br>VFS: Cannot open<br> root device "<NULL>" or unknown-block(0,0)<br>Please append a correct "root=" boot option; here are the available partitions:<br>Please append a correct "root=" boot option; here are the available partitions:<br>1f00 512 mtdblock01f00 512 mtdblock0 (driver?)<br> (driver?)<br>1f01 1920 mtdblock11f01 1920 mtdblock1 (driver?)<br> (driver?)<br>1f02 128 mtdblock21f02 128 mtdblock2 (driver?)<br> (driver?)<br>1f03 5120 mtdblock31f03 5120 mtdblock3 (driver?)<br> (driver?)<br>1f04 254464 mtdblock41f04 254464 mtdblock4 (driver?)<br> (driver?)<br><0>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)<br>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)<br><br><br><br>Please help to resolve this issue.<br><br>--Sanjeev<br><br>

|

What do you see with the ESC demo image?

See:
http://beagleboard.org/esc

Download the following image and use it to program your SD card
utilizing the utility ' dd '
( zcat esc2009sj.v12.img.gz | dd of= /path/to/drive bs=8388608 ).

- dan