Kernel Panic from cold boot using Ubuntu

I'm running Ubuntu on my beagleboard and often (but not 100% of the
time) I get a kernel panic from the first cold boot after powering on.
If I reset it quickly, using the RESET button, it then proceeds to
boot OK and doesn't appear to have any further issues.

I'm not sure how to attach a file, so I've included the output from
the boot process below - the first boot sequence is where it kernel
panics, the second is a successful boot.

I've written up the procedure I've used here:
http://automatica.com.au/blog/2009/10/howto-ubuntu-on-the-beagleboard/

Here's the output from the boot process:

Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Error: reading boot sector
Loading u-boot.bin from nand

U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31)

I2C: ready
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
MUSB: using high speed
In: serial usbtty
Out: serial usbtty
Err: serial usbtty
Board revision C
Serial #2658000300000000040323091000a003
Hit any key to stop autoboot: 10 9 8 7 6 5 4
3 2 1 0
reading uImage

3006100 bytes read
## Booting kernel from Legacy Image at 80300000 ...
   Image Name: Linux
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3006036 Bytes = 2.9 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux..................................................................................................................................................................................................
done, booting the kernel.
[ 0.000000] Linux version 2.6.29-oer44.1 (root@debian-sm-beagle)
(gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #1 PREEMPT Thu Sep 3
15:45:34 UTC 2009
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7),
cr=10c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430 ES3.0
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xd7000000 size:
0x100000
[ 0.000000] Reserving 14680064 bytes SDRAM for VRAM
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS2,115200n8
console=tty0 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro
omapfb.mode=dvi:1280x720MR-16@60
[ 0.000000] Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz
[ 0.000000] GPMC revision 5.0
[ 0.000000] IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96
interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP34xx GPIO hardware version 2.5
[ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5,
131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
[ 0.000000] Memory: 128MB 128MB = 256MB total
[ 0.000000] Memory: 238848KB available (5636K code, 576K data, 212K
init)
[ 0.000000] Calibrating delay loop... 491.57 BogoMIPS (lpj=1921024)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] net_namespace: 1036 bytes
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 21.612274] OMAP DMA hardware revision 4.0
[ 21.659027] bio: create slab <bio-0> at 0
[ 21.717254] OMAP DSS rev 2.0
[ 21.717407] OMAP DISPC rev 3.0
[ 21.717437] OMAP VENC rev 2
[ 21.717620] OMAP DSI rev 1.0
[ 21.720733] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
[ 21.724822] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 21.724945] twl4030: power (irq 373) chaining IRQs 376..383
[ 21.725585] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 21.728729] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[ 21.729736] regulator: VDAC: 1800 mV normal standby
[ 21.730712] regulator: VUSB1V5: 1500 <--> 0 mV normal standby
[ 21.731689] regulator: VUSB1V8: 1800 <--> 0 mV normal standby
[ 21.732696] regulator: VUSB3V1: 3100 <--> 0 mV normal standby
[ 21.733673] regulator: VPLL2: 1800 mV normal standby
[ 21.734649] regulator: VMMC2: 2800 <--> 3150 mV normal standby
[ 21.735656] regulator: VSIM: 1800 <--> 3000 mV normal standby
[ 21.748046] i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
[ 21.763397] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
[ 21.765625] SCSI subsystem initialized
[ 21.771575] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 21.773193] usbcore: registered new interface driver usbfs
[ 21.773834] usbcore: registered new interface driver hub
[ 21.774322] usbcore: registered new device driver usb
[ 21.777709] Bluetooth: Core ver 2.14
[ 21.778320] NET: Registered protocol family 31
[ 21.778350] Bluetooth: HCI device and connection manager
initialized
[ 21.778411] Bluetooth: HCI socket layer initialized
[ 21.779296] cfg80211: Using static regulatory domain info
[ 21.779357] cfg80211: Regulatory domain: US
[ 21.779388] (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[ 21.779449] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi,
2700 mBm)
[ 21.779479] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi,
2300 mBm)
[ 21.779541] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi,
2300 mBm)
[ 21.779602] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi,
2300 mBm)
[ 21.779632] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi,
2300 mBm)
[ 21.779693] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi,
3000 mBm)
[ 21.779754] cfg80211: Calling CRDA for country: US
[ 21.783538] musb_hdrc: version 6.0, musb-dma, otg (peripheral
+host), debug=0
[ 21.784301] musb_hdrc: USB OTG mode controller at d80ab000 using
DMA, IRQ 92
[ 21.785644] NET: Registered protocol family 2
[ 21.785919] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 21.786895] TCP established hash table entries: 8192 (order: 4,
65536 bytes)
[ 21.787200] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
[ 21.787384] TCP: Hash tables configured (established 8192 bind
8192)
[ 21.787414] TCP reno registered
[ 21.787719] NET: Registered protocol family 1
[ 21.792236] VFS: Disk quotas dquot_6.5.2
[ 21.792388] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 21.793060] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 21.793914] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red
Hat, Inc.
[ 21.795043] msgmni has been set to 466
[ 21.800018] alg: No test for stdrng (krng)
[ 21.800170] io scheduler noop registered
[ 21.800201] io scheduler anticipatory registered
[ 21.800262] io scheduler deadline registered
[ 21.800506] io scheduler cfq registered (default)
[ 21.826873] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 21.849548] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a
ST16654
[ 21.871337] serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a
ST16654
[ 21.892120] serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a
ST16654
[ 21.892211] console [ttyS2] enabled
[ 22.422912] brd: module loaded
[ 22.432617] loop: module loaded
[ 22.436706] enc28j60 spi4.0: enc28j60 Ethernet driver 1.01 loaded
[ 22.445312] enc28j60 spi4.0: enc28j60 chip not found
[ 22.450378] enc28j60: probe of spi4.0 failed with error -5
[ 22.457214] usbcore: registered new interface driver catc
[ 22.462768] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 22.469146] usbcore: registered new interface driver kaweth
[ 22.474853] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB
Ethernet driver
[ 22.482788] usbcore: registered new interface driver pegasus
[ 22.488525] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet
driver
[ 22.495819] usbcore: registered new interface driver rtl8150
[ 22.501892] usbcore: registered new interface driver asix
[ 22.507690] usbcore: registered new interface driver cdc_ether
[ 22.513946] usbcore: registered new interface driver dm9601
[ 22.519927] usbcore: registered new interface driver smsc95xx
[ 22.526092] usbcore: registered new interface driver gl620a
[ 22.532104] usbcore: registered new interface driver net1080
[ 22.538177] usbcore: registered new interface driver plusb
[ 22.544036] usbcore: registered new interface driver rndis_host
[ 22.550415] usbcore: registered new interface driver cdc_subset
[ 22.556732] usbcore: registered new interface driver zaurus
[ 22.562744] usbcore: registered new interface driver MOSCHIP usb-
ethernet driver
[ 22.570617] Broadcom 43xx driver loaded [ Features: L, Firmware-ID:
FW13 ]
[ 22.578094] usbcore: registered new interface driver zd1211rw
[ 22.584289] usbcore: registered new interface driver rtl8187
[ 22.590332] usbcore: registered new interface driver rndis_wlan
[ 22.596710] usbcore: registered new interface driver zd1201
[ 22.602752] usbcore: registered new interface driver usb8xxx
[ 22.608886] usbcore: registered new interface driver rt2500usb
[ 22.615173] usbcore: registered new interface driver rt73usb
[ 22.621215] usbcore: registered new interface driver p54usb
[ 22.626953] i2c /dev entries driver
[ 22.632598] Driver 'sd' needs updating - please use bus_type
methods
[ 22.639373] Driver 'sr' needs updating - please use bus_type
methods
[ 22.647033] omap2-nand driver initializing
[ 22.651458] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba
(Micron NAND 256MiB 1,8V 16-bit)
[ 22.660614] cmdlinepart partition parsing not available
[ 22.666046] Creating 5 MTD partitions on "omap2-nand":
[ 22.671295] 0x000000000000-0x000000080000 : "X-Loader"
[ 22.678741] 0x000000080000-0x000000260000 : "U-Boot"
[ 22.686004] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 22.692932] 0x000000280000-0x000000680000 : "Kernel"
[ 22.701080] 0x000000680000-0x000010000000 : "File System"
[ 22.770385] Unable to handle kernel NULL pointer dereference at
virtual address 00000014
[ 22.778594] pgd = c0004000
[ 22.781311] [00000014] *pgd=00000000
[ 22.784942] Internal error: Oops: 5 [#1] PREEMPT
[ 22.789611] Modules linked in:
[ 22.792724] CPU: 0 Not tainted (2.6.29-oer44.1 #1)
[ 22.797943] PC is at musb_interrupt+0xa80/0xc2c
[ 22.802520] LR is at musb_interrupt+0xa6c/0xc2c
[ 22.807098] pc : [<c031ccd4>] lr : [<c031ccc0>] psr: 60000193
[ 22.807128] sp : cf821c70 ip : cf821c70 fp : cf821cb4
[ 22.818725] r10: d80ab000 r9 : 00000099 r8 : 0000000d
[ 22.824005] r7 : 00000001 r6 : cf98e0f0 r5 : 00000001 r4 :
00000000
[ 22.830596] r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 :
cf98e0f0
[ 22.837188] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM
Segment kernel
[ 22.844665] Control: 10c5387d Table: 80004019 DAC: 00000017
[ 22.850463] Process swapper (pid: 1, stack limit = 0xcf8202e8)
[ 22.856353] Stack: (0xcf821c70 to 0xcf822000)
[ 22.860778] 1c60: c006bf84
c0470d78 c0063860 00000001
[ 22.869201] 1c80: 15e2d65a 00000070 15e2d65a cf98e0f0 60000113
00000000 0000005c 00000001
[ 22.877655] 1ca0: cf820000 00000001 cf821ccc cf821cb8 c031cee8
c031c260 cfae8600 00000000
[ 22.886108] 1cc0: cf821cec cf821cd0 c00904e4 c031ce8c c05cf5cc
0000005c cfae8600 00000002
[ 22.894561] 1ce0: cf821d0c cf821cf0 c0091c08 c00904b4 c00677bc
0000005c 00000000 cfb5c8e8
[ 22.902984] 1d00: cf821d24 cf821d10 c003d058 c0091b48 ffffffff
d8200000 cf821d94 cf821d28
[ 22.911437] 1d20: c003da84 c003d00c 00000d2f ffffffff 00000754
00000000 00000000 00000400
[ 22.919891] 1d40: cfb5c8e8 cfb5c810 00013fc0 00000000 00000001
cf821d94 cf821d70 cf821d70
[ 22.928314] 1d60: c02e7590 c01e59c0 20000013 ffffffff 00000000
00000000 cfb5c8e8 cfb5c810
[ 22.936767] 1d80: 00013fc0 00000001 cf821dbc cf821d98 c02e53d4
c02e7358 00020000 00000000
[ 22.945220] 1da0: cfb61a80 cfb5c810 09960000 c05c9cb8 cf821dd4
cf821dc0 c02e50a0 c02e5340
[ 22.953674] 1dc0: 00000001 c0470c1c cf821e2c cf821dd8 c02dfb9c
c02e5050 10000000 00000000
[ 22.962097] 1de0: c054486e cf821e00 c02df524 00000005 00680000
00000000 00000000 00000004
[ 22.970550] 1e00: cf821e2c cfb5c800 00000001 cfb5c810 c05c96f4
c05c9720 00000000 c05c9790
[ 22.979003] 1e20: cf821e5c cf821e30 c046fc08 c02df630 00000000
cf821e40 c05c9728 c05c9728
[ 22.987426] 1e40: c05ec764 c05ec764 c05e4e48 00000000 cf821e6c
cf821e60 c02483b0 c046f9ac
[ 22.995880] 1e60: cf821e8c cf821e70 c0247588 c024839c c05c9728
c05c97b0 c05ec764 cf821eb0
[ 23.004333] 1e80: cf821eac cf821e90 c02476c0 c02474c0 00000000
00000000 c0247654 c05ec764
[ 23.012786] 1ea0: cf821ed4 cf821eb0 c0246dd4 c0247660 cf803af8
c05c9758 00000000 c002f120
[ 23.021209] 1ec0: c05ec764 cfb79e40 cf821ee4 cf821ed8 c02473c8
c0246d8c cf821f14 cf821ee8
[ 23.029663] 1ee0: c0246698 c02473b4 c05446cc cf821ef8 c01e8b78
c002ef44 c002f120 c05ec764
[ 23.038116] 1f00: c0021674 00000001 cf821f3c cf821f18 c024790c
c02465fc 00000000 c002ef44
[ 23.046569] 1f20: c002f120 00000000 c0021674 00000001 cf821f4c
cf821f40 c0248834 c0247864
[ 23.054992] 1f40: cf821f5c cf821f50 c0021694 c02487d4 cf821fd4
cf821f60 c003d2d8 c0021680
[ 23.063446] 1f60: cf821f8c cf821f70 c010dfc4 c010dca8 cf821f00
cf9aedc0 c010e0c4 cf821f96
[ 23.071899] 1f80: cf821fbc cf821f90 c0092684 c010df50 c024606c
35335668 00000031 00000000
[ 23.080352] 1fa0: 00000192 c05ce038 00000000 00000000 cf821fd4
c002ef44 c002f120 00000000
[ 23.088775] 1fc0: 00000000 00000000 cf821ff4 cf821fd8 c00083fc
c003d28c 00000000 00000001
[ 23.097229] 1fe0: 00000000 00000000 00000000 cf821ff8 c0065748
c0008384 8079cf64 007fdf70
[ 23.105682] Backtrace:
[ 23.108154] [<c031c254>] (musb_interrupt+0x0/0xc2c) from
[<c031cee8>] (generic_interrupt+0x68/0x98)
[ 23.117340] [<c031ce80>] (generic_interrupt+0x0/0x98) from
[<c00904e4>] (handle_IRQ_event+0x3c/0x74)
[ 23.126617] r5:00000000 r4:cfae8600
[ 23.130249] [<c00904a8>] (handle_IRQ_event+0x0/0x74) from
[<c0091c08>] (handle_level_irq+0xcc/0x14c)
[ 23.139526] r7:00000002 r6:cfae8600 r5:0000005c r4:c05cf5cc
[ 23.145294] [<c0091b3c>] (handle_level_irq+0x0/0x14c) from
[<c003d058>] (__exception_text_start+0x58/0x70)
[ 23.155090] r6:cfb5c8e8 r5:00000000 r4:0000005c
[ 23.159790] [<c003d000>] (__exception_text_start+0x0/0x70) from
[<c003da84>] (__irq_svc+0x44/0xa4)
[ 23.168914] Exception stack(0xcf821d28 to 0xcf821d70)
[ 23.174011] 1d20: 00000d2f ffffffff 00000754
00000000 00000000 00000400
[ 23.182464] 1d40: cfb5c8e8 cfb5c810 00013fc0 00000000 00000001
cf821d94 cf821d70 cf821d70
[ 23.190887] 1d60: c02e7590 c01e59c0 20000013
ffffffff
[ 23.199340] r5:d8200000 r4:ffffffff
[ 23.202972] [<c02e734c>] (nand_command_lp+0x0/0x260) from
[<c02e53d4>] (nand_block_bad+0xa0/0x10c)
[ 23.212066] [<c02e5334>] (nand_block_bad+0x0/0x10c) from
[<c02e50a0>] (nand_block_isbad+0x5c/0x78)
[ 23.221191] [<c02e5044>] (nand_block_isbad+0x0/0x78) from
[<c02dfb9c>] (add_mtd_partitions+0x578/0x6a0)
[ 23.230712] [<c02df624>] (add_mtd_partitions+0x0/0x6a0) from
[<c046fc08>] (omap_nand_probe+0x268/0x2dc)
[ 23.240264] [<c046f9a0>] (omap_nand_probe+0x0/0x2dc) from
[<c02483b0>] (platform_drv_probe+0x20/0x24)
[ 23.249633] [<c0248390>] (platform_drv_probe+0x0/0x24) from
[<c0247588>] (driver_probe_device+0xd4/0x1a0)
[ 23.259338] [<c02474b4>] (driver_probe_device+0x0/0x1a0) from
[<c02476c0>] (__driver_attach+0x6c/0x90)
[ 23.268768] r7:cf821eb0 r6:c05ec764 r5:c05c97b0 r4:c05c9728
[ 23.274536] [<c0247654>] (__driver_attach+0x0/0x90) from
[<c0246dd4>] (bus_for_each_dev+0x54/0x90)
[ 23.283630] r6:c05ec764 r5:c0247654 r4:00000000
[ 23.288330] [<c0246d80>] (bus_for_each_dev+0x0/0x90) from
[<c02473c8>] (driver_attach+0x20/0x28)
[ 23.297241] r7:cfb79e40 r6:c05ec764 r5:c002f120 r4:00000000
[ 23.303009] [<c02473a8>] (driver_attach+0x0/0x28) from [<c0246698>]
(bus_add_driver+0xa8/0x20c)
[ 23.311828] [<c02465f0>] (bus_add_driver+0x0/0x20c) from
[<c024790c>] (driver_register+0xb4/0x13c)
[ 23.320922] r8:00000001 r7:c0021674 r6:c05ec764 r5:c002f120
r4:c002ef44
[ 23.327758] [<c0247858>] (driver_register+0x0/0x13c) from
[<c0248834>] (platform_driver_register+0x6c/0x88)
[ 23.337646] r8:00000001 r7:c0021674 r6:00000000 r5:c002f120
r4:c002ef44
[ 23.344482] [<c02487c8>] (platform_driver_register+0x0/0x88) from
[<c0021694>] (omap_nand_init+0x20/0x30)
[ 23.354187] [<c0021674>] (omap_nand_init+0x0/0x30) from
[<c003d2d8>] (do_one_initcall+0x58/0x198)
[ 23.363189] [<c003d280>] (do_one_initcall+0x0/0x198) from
[<c00083fc>] (kernel_init+0x84/0xf4)
[ 23.371948] r8:00000000 r7:00000000 r6:00000000 r5:c002f120
r4:c002ef44
[ 23.378753] [<c0008378>] (kernel_init+0x0/0xf4) from [<c0065748>]
(do_exit+0x0/0x7a4)
[ 23.386718] r5:00000000 r4:00000000
[ 23.390350] Code: e3530003 13a02000 0596308c 05933014 (05d33014)
[ 23.396636] Kernel panic - not syncing: Fatal exception in
interrupt

<<* HIT RESET BUTTON *>>

Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Error: reading boot sector
Loading u-boot.bin from nand

U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31)

I2C: ready
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
MUSB: using high speed
In: serial usbtty
Out: serial usbtty
Err: serial usbtty
Board revision C
Serial #2658000300000000040323091000a003
Hit any key to stop autoboot: 10 9 8 7 6 5 4
3 2 1 0
reading uImage

3006100 bytes read
## Booting kernel from Legacy Image at 80300000 ...
   Image Name: Linux
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3006036 Bytes = 2.9 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux..................................................................................................................................................................................................
done, booting the kernel.
[ 0.000000] Linux version 2.6.29-oer44.1 (root@debian-sm-beagle)
(gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #1 PREEMPT Thu Sep 3
15:45:34 UTC 2009
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7),
cr=10c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430 ES3.0
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xd7000000 size:
0x100000
[ 0.000000] Reserving 14680064 bytes SDRAM for VRAM
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS2,115200n8
console=tty0 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro
omapfb.mode=dvi:1280x720MR-16@60
[ 0.000000] Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz
[ 0.000000] GPMC revision 5.0
[ 0.000000] IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96
interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP34xx GPIO hardware version 2.5
[ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5,
131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
[ 0.000000] Memory: 128MB 128MB = 256MB total
[ 0.000000] Memory: 238848KB available (5636K code, 576K data, 212K
init)
[ 0.000000] Calibrating delay loop... 491.57 BogoMIPS (lpj=1921024)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] net_namespace: 1036 bytes
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 21.613250] OMAP DMA hardware revision 4.0
[ 21.660003] bio: create slab <bio-0> at 0
[ 21.718353] OMAP DSS rev 2.0
[ 21.718505] OMAP DISPC rev 3.0
[ 21.718566] OMAP VENC rev 2
[ 21.718750] OMAP DSI rev 1.0
[ 21.721862] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
[ 21.725921] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 21.726043] twl4030: power (irq 373) chaining IRQs 376..383
[ 21.726684] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 21.729858] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[ 21.730834] regulator: VDAC: 1800 mV normal standby
[ 21.731811] regulator: VUSB1V5: 1500 <--> 0 mV normal standby
[ 21.732788] regulator: VUSB1V8: 1800 <--> 0 mV normal standby
[ 21.733795] regulator: VUSB3V1: 3100 <--> 0 mV normal standby
[ 21.734771] regulator: VPLL2: 1800 mV normal standby
[ 21.735778] regulator: VMMC2: 2800 <--> 3150 mV normal standby
[ 21.736755] regulator: VSIM: 1800 <--> 3000 mV normal standby
[ 21.749176] i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
[ 21.750061] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
[ 21.752227] SCSI subsystem initialized
[ 21.758270] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 21.759887] usbcore: registered new interface driver usbfs
[ 21.760559] usbcore: registered new interface driver hub
[ 21.761077] usbcore: registered new device driver usb
[ 21.764434] Bluetooth: Core ver 2.14
[ 21.765106] NET: Registered protocol family 31
[ 21.765136] Bluetooth: HCI device and connection manager
initialized
[ 21.765197] Bluetooth: HCI socket layer initialized
[ 21.765991] cfg80211: Using static regulatory domain info
[ 21.766052] cfg80211: Regulatory domain: US
[ 21.766113] (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[ 21.766143] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi,
2700 mBm)
[ 21.766204] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi,
2300 mBm)
[ 21.766265] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi,
2300 mBm)
[ 21.766326] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi,
2300 mBm)
[ 21.766357] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi,
2300 mBm)
[ 21.766418] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi,
3000 mBm)
[ 21.766479] cfg80211: Calling CRDA for country: US
[ 21.770263] musb_hdrc: version 6.0, musb-dma, otg (peripheral
+host), debug=0
[ 21.771057] musb_hdrc: USB OTG mode controller at d80ab000 using
DMA, IRQ 92
[ 21.772705] NET: Registered protocol family 2
[ 21.773010] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 21.773681] TCP established hash table entries: 8192 (order: 4,
65536 bytes)
[ 21.773986] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
[ 21.774139] TCP: Hash tables configured (established 8192 bind
8192)
[ 21.774200] TCP reno registered
[ 21.774505] NET: Registered protocol family 1
[ 21.778930] VFS: Disk quotas dquot_6.5.2
[ 21.779113] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 21.779785] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 21.780731] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red
Hat, Inc.
[ 21.781768] msgmni has been set to 466
[ 21.786773] alg: No test for stdrng (krng)
[ 21.786926] io scheduler noop registered
[ 21.786956] io scheduler anticipatory registered
[ 21.786987] io scheduler deadline registered
[ 21.787231] io scheduler cfq registered (default)
[ 21.813781] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 21.836456] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a
ST16654
[ 21.858276] serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a
ST16654
[ 21.879089] serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a
ST16654
[ 21.879180] console [ttyS2] enabled
[ 22.409912] brd: module loaded
[ 22.419586] loop: module loaded
[ 22.423675] enc28j60 spi4.0: enc28j60 Ethernet driver 1.01 loaded
[ 22.429901] musb_hdrc: peripheral reset irq lost!
[ 22.437957] enc28j60 spi4.0: enc28j60 chip not found
[ 22.443023] enc28j60: probe of spi4.0 failed with error -5
[ 22.449279] usbcore: registered new interface driver catc
[ 22.454895] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 22.461212] usbcore: registered new interface driver kaweth
[ 22.466888] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB
Ethernet driver
[ 22.474822] usbcore: registered new interface driver pegasus
[ 22.480621] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet
driver
[ 22.487915] usbcore: registered new interface driver rtl8150
[ 22.493988] usbcore: registered new interface driver asix
[ 22.499816] usbcore: registered new interface driver cdc_ether
[ 22.506011] usbcore: registered new interface driver dm9601
[ 22.512023] usbcore: registered new interface driver smsc95xx
[ 22.518218] usbcore: registered new interface driver gl620a
[ 22.524200] usbcore: registered new interface driver net1080
[ 22.530303] usbcore: registered new interface driver plusb
[ 22.536163] usbcore: registered new interface driver rndis_host
[ 22.542480] usbcore: registered new interface driver cdc_subset
[ 22.548828] usbcore: registered new interface driver zaurus
[ 22.554840] usbcore: registered new interface driver MOSCHIP usb-
ethernet driver
[ 22.562744] Broadcom 43xx driver loaded [ Features: L, Firmware-ID:
FW13 ]
[ 22.570190] usbcore: registered new interface driver zd1211rw
[ 22.576324] usbcore: registered new interface driver rtl8187
[ 22.582458] usbcore: registered new interface driver rndis_wlan
[ 22.588806] usbcore: registered new interface driver zd1201
[ 22.594909] usbcore: registered new interface driver usb8xxx
[ 22.601013] usbcore: registered new interface driver rt2500usb
[ 22.607238] usbcore: registered new interface driver rt73usb
[ 22.613372] usbcore: registered new interface driver p54usb
[ 22.619079] i2c /dev entries driver
[ 22.624725] Driver 'sd' needs updating - please use bus_type
methods
[ 22.631439] Driver 'sr' needs updating - please use bus_type
methods
[ 22.639099] omap2-nand driver initializing
[ 22.643646] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba
(Micron NAND 256MiB 1,8V 16-bit)
[ 22.652770] cmdlinepart partition parsing not available
[ 22.658111] Creating 5 MTD partitions on "omap2-nand":
[ 22.663421] 0x000000000000-0x000000080000 : "X-Loader"
[ 22.670898] 0x000000080000-0x000000260000 : "U-Boot"
[ 22.678100] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 22.685028] 0x000000280000-0x000000680000 : "Kernel"
[ 22.693115] 0x000000680000-0x000010000000 : "File System"
[ 22.806945] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[ 22.814056] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 22.820831] ehci-omap ehci-omap.0: new USB bus registered, assigned
bus number 1
[ 22.828735] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 22.842590] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 22.849212] usb usb1: configuration #1 chosen from 1 choice
[ 22.855590] hub 1-0:1.0: USB hub found
[ 22.859527] hub 1-0:1.0: 3 ports detected
[ 22.865936] Initializing USB Mass Storage driver...
[ 22.871429] usbcore: registered new interface driver usb-storage
[ 22.877593] USB Mass Storage support registered.
[ 22.882385] g_cdc gadget: using random self ethernet address
[ 22.888122] g_cdc gadget: using random host ethernet address
[ 22.894683] usb0: MAC d6:41:31:eb:48:33
[ 22.898651] usb0: HOST MAC 86:64:5d:dc:cf:34
[ 22.903564] g_cdc gadget: CDC Composite Gadget, version: King
Kamehameha Day 2008
[ 22.911285] g_cdc gadget: g_cdc ready
[ 22.915039] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 22.921234] musb_hdrc musb_hdrc: new USB bus registered, assigned
bus number 2
[ 22.929412] usb usb2: configuration #1 chosen from 1 choice
[ 22.935546] hub 2-0:1.0: USB hub found
[ 22.939483] hub 2-0:1.0: 1 port detected
[ 22.945800] mice: PS/2 mouse device common for all mice
[ 22.951812] input: gpio-keys as /devices/platform/gpio-keys/input/
input0
[ 22.961700] input: twl4030_pwrbutton as /devices/platform/i2c_omap.
1/i2c-adapter/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 23.967651] i2c_omap i2c_omap.2: controller timed out
[ 23.983398] rtc-ds1307: probe of 2-0068 failed with error -5
[ 23.991210] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 23.997589] Bluetooth: HCI UART driver ver 2.2
[ 24.002136] Bluetooth: HCI H4 protocol initialized
[ 24.007049] Bluetooth: HCI BCSP protocol initialized
[ 24.012084] Bluetooth: HCILL protocol initialized
[ 24.016876] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
[ 24.023437] usbcore: registered new interface driver bcm203x
[ 24.029205] Bluetooth: Digianswer Bluetooth USB driver ver 0.10
[ 24.035644] usbcore: registered new interface driver bpa10x
[ 24.041381] Bluetooth: BlueFRITZ! USB driver ver 1.2
[ 24.046875] usbcore: registered new interface driver bfusb
[ 24.052459] Bluetooth: Generic Bluetooth USB driver ver 0.4
[ 24.058502] usbcore: registered new interface driver btusb
[ 24.064178] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[ 24.071166] mmci-omap-hs mmci-omap-hs.0: Failed to get debounce
clock
[ 24.186462] mmci-omap-hs mmci-omap-hs.1: Failed to get debounce
clock
[ 24.193084] regulator: Unable to get requested regulator: vmmc_aux
[ 24.201721] Registered led device: beagleboard::usr0
[ 24.207183] Registered led device: beagleboard::usr1
[ 24.219696] usbcore: registered new interface driver usbhid
[ 24.225402] usbhid: v2.6:USB HID core driver
[ 24.231048] Advanced Linux Sound Architecture Driver Version
1.0.18a.
[ 24.238647] usbcore: registered new interface driver snd-usb-audio
[ 24.245361] No device for DAI twl4030
[ 24.249298] No device for DAI omap-mcbsp-dai-0
[ 24.253784] No device for DAI omap-mcbsp-dai-1
[ 24.258422] No device for DAI omap-mcbsp-dai-2
[ 24.262939] No device for DAI omap-mcbsp-dai-3
[ 24.267486] No device for DAI omap-mcbsp-dai-4
[ 24.271972] OMAP3 Beagle SoC init
[ 24.275848] TWL4030 Audio Codec init
[ 24.281219] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[ 24.297454] ALSA device list:
[ 24.300506] #0: omap3beagle (twl4030)
[ 24.312744] oprofile: using arm/armv7
[ 24.316741] TCP cubic registered
[ 24.320159] NET: Registered protocol family 17
[ 24.324737] NET: Registered protocol family 15
[ 24.329376] Bluetooth: L2CAP ver 2.11
[ 24.333099] Bluetooth: L2CAP socket layer initialized
[ 24.338256] Bluetooth: SCO (Voice Link) ver 0.6
[ 24.342895] Bluetooth: SCO socket layer initialized
[ 24.348022] Bluetooth: RFCOMM socket layer initialized
[ 24.353332] Bluetooth: RFCOMM TTY layer initialized
[ 24.358337] Bluetooth: RFCOMM ver 1.10
[ 24.362121] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 24.367523] Bluetooth: BNEP filters: protocol multicast
[ 24.372833] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 24.381378] RPC: Registered udp transport module.
[ 24.386199] RPC: Registered tcp transport module.
[ 24.391113] lib80211: common routines for IEEE802.11 drivers
[ 24.396911] ThumbEE CPU extension supported.
[ 24.401275] Power Management for TI OMAP3.
[ 24.414520] Disabling unused clock "sr2_fck"
[ 24.418884] Disabling unused clock "sr1_fck"
[ 24.423278] Disabling unused clock "mcbsp_fck"
[ 24.427795] Disabling unused clock "mcbsp_fck"
[ 24.432342] Disabling unused clock "mcbsp_fck"
[ 24.436859] Disabling unused clock "mcbsp_ick"
[ 24.441375] Disabling unused clock "mcbsp_ick"
[ 24.445892] Disabling unused clock "mcbsp_ick"
[ 24.450408] Disabling unused clock "gpt2_ick"
[ 24.454833] Disabling unused clock "gpt3_ick"
[ 24.459259] Disabling unused clock "gpt4_ick"
[ 24.463684] Disabling unused clock "gpt5_ick"
[ 24.468139] Disabling unused clock "gpt6_ick"
[ 24.472564] Disabling unused clock "gpt7_ick"
[ 24.476989] Disabling unused clock "gpt8_ick"
[ 24.481414] Disabling unused clock "gpt9_ick"
[ 24.485839] Disabling unused clock "wdt3_ick"
[ 24.490264] Disabling unused clock "wdt3_fck"
[ 24.494689] Disabling unused clock "gpio2_dbck"
[ 24.499328] Disabling unused clock "gpio3_dbck"
[ 24.503906] Disabling unused clock "gpio4_dbck"
[ 24.508544] Disabling unused clock "gpio5_dbck"
[ 24.513122] Disabling unused clock "gpio6_dbck"
[ 24.517730] Disabling unused clock "gpt9_fck"
[ 24.522155] Disabling unused clock "gpt8_fck"
[ 24.526611] Disabling unused clock "gpt7_fck"
[ 24.531036] Disabling unused clock "gpt6_fck"
[ 24.535461] Disabling unused clock "gpt5_fck"
[ 24.539886] Disabling unused clock "gpt4_fck"
[ 24.544311] Disabling unused clock "gpt3_fck"
[ 24.548767] Disabling unused clock "gpt2_fck"
[ 24.553161] Disabling unused clock "gpt1_ick"
[ 24.557617] Disabling unused clock "wdt1_ick"
[ 24.562042] Disabling unused clock "wdt2_ick"
[ 24.566467] Disabling unused clock "wdt2_fck"
[ 24.570922] g_cdc gadget: high speed config #1: CDC Composite (ECM
+ ACM)
[ 24.577911] Disabling unused clock "gpio1_dbck"
[ 24.582519] Disabling unused clock "gpt1_fck"
[ 24.586975] Disabling unused clock "cam_ick"
[ 24.591369] Disabling unused clock "cam_mclk"
[ 24.595855] Disabling unused clock "des1_ick"
[ 24.600280] Disabling unused clock "sha11_ick"
[ 24.604827] Disabling unused clock "rng_ick"
[ 24.609191] Disabling unused clock "aes1_ick"
[ 24.613616] Disabling unused clock "ssi_ick"
[ 24.617980] Disabling unused clock "mailboxes_ick"
[ 24.622833] Disabling unused clock "mcbsp_ick"
[ 24.627380] Disabling unused clock "mcbsp_ick"
[ 24.631896] Disabling unused clock "gpt10_ick"
[ 24.636383] Disabling unused clock "gpt11_ick"
[ 24.640930] Disabling unused clock "hdq_ick"
[ 24.645263] Disabling unused clock "mspro_ick"
[ 24.649780] Disabling unused clock "des2_ick"
[ 24.654205] Disabling unused clock "sha12_ick"
[ 24.658721] Disabling unused clock "aes2_ick"
[ 24.663177] Disabling unused clock "icr_ick"
[ 24.667510] Disabling unused clock "pka_ick"
[ 24.671844] Disabling unused clock "ssi_ssr_fck"
[ 24.676544] Disabling unused clock "hdq_fck"
[ 24.680877] Disabling unused clock "mcbsp_fck"
[ 24.685394] Disabling unused clock "mcbsp_fck"
[ 24.689941] Disabling unused clock "mspro_fck"
[ 24.694458] Disabling unused clock "gpt11_fck"
[ 24.698974] Disabling unused clock "gpt10_fck"
[ 24.703491] Disabling unused clock "dpll4_m6x2_ck"
[ 24.708374] Disabling unused clock "dpll3_m3x2_ck"
[ 24.713256] Disabling unused clock "sys_clkout1"
[ 24.717987] VFP support v0.3: implementor 41 architecture 3 part 30
variant c rev 1
[ 24.730285] registered taskstats version 1
[ 24.736022] fbcvt: 1280x720@60: CVT Name - .921M9-R
[ 24.771057] Console: switching to colour frame buffer device 160x45
[ 24.794006] clock: clksel_round_rate_div: dpll4_m4_ck target_rate
48000000
[ 24.801177] clock: new_div = 9, new_rate = 48000000
[ 24.808868] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 24.815826] Waiting for root device /dev/mmcblk0p2...
[ 24.983367] mmc0: new high speed SD card at address bd1b
[ 24.989715] mmcblk0: mmc0:bd1b SD01G 982 MiB
[ 24.994628] mmcblk0: p1 p2
[ 25.041412] EXT3-fs: mounted filesystem with ordered data mode.
[ 25.047729] VFS: Mounted root (ext3 filesystem) readonly on device
179:2.
[ 25.055023] Freeing init memory: 212K
[ 25.058868] kjournald starting. Commit interval 5 seconds
[ 34.132751] twl4030_rtc twl4030_rtc: rtc core: registered
twl4030_rtc as rtc0
[ 34.176147] twl4030_rtc twl4030_rtc: Power up reset detected.
[ 34.197662] twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.

Ubuntu 9.04 beagleboard ttyS2

beagleboard login: ubuntu
Password:
Last login: Thu Jan 1 10:01:13 EST 1970 on ttyS2
Linux beagleboard 2.6.29-oer44.1 #1 PREEMPT Thu Sep 3 15:45:34 UTC
2009 armv7l

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
unamubuntu@beagleboard:~$ uname -a
Linux beagleboard 2.6.29-oer44.1 #1 PREEMPT Thu Sep 3 15:45:34 UTC
2009 armv7l GNU/Linux
ubuntu@beagleboard:~$ cat /proc/cpuainfo
Processor : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 491.57
Features : swp half thumb fastmult vfp edsp thumbee neon
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc08
CPU revision : 3

Hardware : OMAP3 Beagle Board
Revision : 0020
Serial : 0000000000000000
ubuntu@beagleboard:~$ sudo halt
[sudo] password for ubuntu:
a

Broadcast message from ubuntu@beagleboard

  (/dev/ttyS2) at 10:00 ...

The system is going down for halt NOW!

ubuntu@beagleboard:~$ [ 95.481323] Power down.

I'm running Ubuntu on my beagleboard and often (but not 100% of the
time) I get a kernel panic from the first cold boot after powering on.
If I reset it quickly, using the RESET button, it then proceeds to
boot OK and doesn't appear to have any further issues.

Very strange, i don't see that issue when i cold start any of my
beagle farm nodes...

U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31)

I'd really try upgrading that u-boot, (rev c validation version has
been trouble for me..)

http://elinux.org/BeagleBoardUbuntu#Upgrade_U-Boot

Regards,

At the risk of speaking too soon, I think that's solved the issue.
I've done four cold boots in a row and they've all worked.
Thank you very much for your help.

I did notice after upgrading the u-boot image that the boot messages
went from:

Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Error: reading boot sector
Loading u-boot.bin from nand

U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31)

to:
Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Loading u-boot.bin from nand

U-Boot 2009.06-rc2 (Jul 01 2009 - 16:26:48)

...
etc...