Kernal Panic with Angstrom on BBxM

Hello everyone. I was curious if anyone could provide some help
here. The microSD card that was provided with my BeagleBoard xM was
blank(gparted listed free space on disk)... I was using the following
tutorial to attempt to put Angstrom back on an sd card.

http://treyweaver.blogspot.com/2010/10/installing-angstrom-on-beagleboard-xm.html

I received a kernal panic(posted at end of message), which I am not
able to identify. I was curious if anyone had a solution for this
interrupt issue(terminal screen cuts off horizontally), or if anyone
has copy of the factory prepared sd card or any other pre-built
extremely light weight linux distro's for the BBxM? Im trying to gain
access via SSH and use make/gcc/g++ to compile code on the device
itself. Im not even sure if the factory provided distro contains the
toolset to do that(or access to apt-get?).

Any help is greatly appreciated, and I cant wait to get started with
development on this amazing device!

Thanks,
Scott

(console log of kernal panic)
Welcome to minicom 2.3

OPTIONS: I18n
Compiled on Oct 24 2008, 06:37:44.
Port /dev/ttyS0

               Press CTRL-A Z for help on special keys

Texas Instruments X-Loader 1.4.4ss (Jan 4 2011 - 12:38:07)
Beagle xM Rev A
Reading boot sector
Loading u-boot.bin from mmc

U-Boot 2010.03 (Jan 24 2011 - 17:28:53)

OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz,
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MB
NAND: 0 MiB
*** Warning - bad CRC or NAND, using default environment

In: serial
Out: serial
Err: serial

Probing for expansion boards, if none are connected you'll see a
harmless I2C e.

No EEPROM on expansion board
Beagle xM Rev A
Die ID #48d400011ff00000015739eb0901b007
Hit any key to stop autoboot: 0
mmc1 is available
The user button is currently NOT pressed.
reading boot.scr

** Unable to read "boot.scr" from mmc 1:1 **
reading uImage

3195988 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
   Image Name: Angstrom/2.6.32/beagleboard
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3195924 Bytes = 3 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux.............................................................

Texas Instruments X-Loader 1.4.4ss (Jan 4 2011 - 12:38:07)
Beagle xM Rev A
Reading boot sector
Loading u-boot.bin from mmc

U-Boot 2010.03 (Jan 24 2011 - 17:28:53)

OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz,
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MB
NAND: 0 MiB
*** Warning - bad CRC or NAND, using default environment

In: serial
Out: serial
Err: serial

Probing for expansion boards, if none are connected you'll see a
harmless I2C e.

No EEPROM on expansion board
Beagle xM Rev A
Die ID #48d400011ff00000015739eb0901b007
Hit any key to stop autoboot: 0
mmc1 is available
The user button is currently NOT pressed.
reading boot.scr

** Unable to read "boot.scr" from mmc 1:1 **
reading uImage

3195988 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
   Image Name: Angstrom/2.6.32/beagleboard
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3195924 Bytes = 3 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux.............................................................
[ 0.000000] Linux version 2.6.32 (koen@dominion) (gcc version 4.3.3
(GCC) ) 1
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7),
cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction ce
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp
192mhz_clk )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size:
0x100000
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pa8
[ 0.000000] Kernel command line: console=ttyS2,115200n8
mpurate=1000 buddy=nt
[ 0.000000] Beagle expansionboard: none
[ 0.000000] Beagle cameraboard: lbcm3m1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6,
262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
bytes)
[ 0.000000] Memory: 256MB 256MB = 512MB total
[ 0.000000] Memory: 500352KB available (5900K code, 671K data, 204K
init, 0K)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] GPMC revision 5.0
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96
interrups
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop... 522.02 BogoMIPS (lpj=2039808)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] tmpfs: No value for mount option 'mode'
[ 0.000000] devtmpfs: initialized
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] Beagle cameraboard: registering i2c2 bus for lbcm3m1
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 0.000000] Unable to get DVI reset GPIO
[ 0.000000] omap_init_mbox: platform not supported
[ 0.000000] Target VDD1 OPP = 4, VDD2 OPP = 2
[ 13.934295] OMAP DMA hardware revision 5.0
[ 13.940460] bio: create slab <bio-0> at 0
[ 13.941711] SCSI subsystem initialized
[ 13.942993] usbcore: registered new interface driver usbfs
[ 13.943115] usbcore: registered new interface driver hub
[ 13.943298] usbcore: registered new device driver usb
[ 13.943634] i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
[ 13.946350] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 13.946380] twl4030: power (irq 373) chaining IRQs 376..383
[ 13.946655] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 13.948364] regulator: VUSB1V5: 1500 mV normal standby
[ 13.948577] regulator: VUSB1V8: 1800 mV normal standby
[ 13.948791] regulator: VUSB3V1: 3100 mV normal standby
[ 13.952392] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 13.952789] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[ 13.953033] regulator: VDAC: 1800 mV normal standby
[ 13.953277] regulator: VPLL2: 1800 mV normal standby
[ 13.953521] regulator: VSIM: 1800 <--> 3000 mV normal standby
[ 13.953826] regulator: VAUX3: 1800 mV normal standby
[ 13.954162] regulator: VAUX4: 1800 mV normal standby
[ 13.964660] i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
[ 13.978240] i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz
[ 13.979400] Switching to clocksource 32k_counter
[ 13.988342] musb_hdrc: version 6.0, musb-dma, otg (peripheral
+host), debug=0
[ 13.988616] musb_hdrc: USB OTG mode controller at fa0ab000 using
DMA, IRQ 92
[ 13.988647] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 13.988769] musb_hdrc musb_hdrc: new USB bus registered, assigned
bus number1
[ 13.988891] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002
[ 13.988922] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber1
[ 13.988922] usb usb1: Product: MUSB HDRC host driver
[ 13.988952] usb usb1: Manufacturer: Linux 2.6.32 musb-hcd
[ 13.988952] usb usb1: SerialNumber: musb_hdrc
[ 13.989593] hub 1-0:1.0: USB hub found
[ 13.989624] hub 1-0:1.0: 1 port detected
[ 13.990692] NET: Registered protocol family 2
[ 13.990905] IP route cache hash table entries: 4096 (order: 2,
16384 bytes)
[ 13.991424] TCP established hash table entries: 16384 (order: 5,
131072 byte)
[ 13.991821] TCP bind hash table entries: 16384 (order: 4, 65536
bytes)
[ 13.992034] TCP: Hash tables configured (established 16384 bind
16384)
[ 13.992065] TCP reno registered
[ 13.992065] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 13.992095] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 13.992340] NET: Registered protocol family 1
[ 13.992767] RPC: Registered udp transport module.
[ 13.992767] RPC: Registered tcp transport module.
[ 13.992797] RPC: Registered tcp NFSv4.1 backchannel transport
module.
[ 13.993652] omap-iommu omap-iommu.0: isp registered
[ 13.995483] VFS: Disk quotas dquot_6.5.2
[ 13.995574] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 13.996643] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 13.997436] JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red
Hat, Inc.
[ 13.998229] msgmni has been set to 977
[ 14.001861] alg: No test for stdrng (krng)
[ 14.002166] Block layer SCSI generic (bsg) driver version 0.4
loaded (major )
[ 14.002197] io scheduler noop registered
[ 14.002197] io scheduler deadline registered
[ 14.002349] io scheduler cfq registered (default)
[ 14.057830] OMAP DSS rev 2.0
[ 14.057891] OMAP DISPC rev 3.0
[ 14.057922] OMAP VENC rev 2
[ 14.058166] OMAP DSI rev 1.0
[ 14.394775] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 14.413391] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a
ST16654
[ 14.431396] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a
ST16654
[ 14.449310] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a
ST16654
[ 15.016540] console [ttyS2] enabled
[ 15.026733] brd: module loaded
[ 15.032958] loop: module loaded
[ 15.037353] omap2-nand driver initializing
[ 15.041748] No NAND device found!!!
[ 15.045471] No NAND device found!!!
[ 15.050079] usbcore: registered new interface driver catc
[ 15.055511] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 15.061584] usbcore: registered new interface driver kaweth
[ 15.067230] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB
Ethernet dr
[ 15.074829] usbcore: registered new interface driver pegasus
[ 15.080566] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet
driver
[ 15.087585] usbcore: registered new interface driver rtl8150
[ 15.093383] usbcore: registered new interface driver asix
[ 15.098907] usbcore: registered new interface driver cdc_ether
[ 15.104858] usbcore: registered new interface driver dm9601
[ 15.110565] usbcore: registered new interface driver smsc95xx
[ 15.116424] usbcore: registered new interface driver gl620a
[ 15.122070] Unable to handle kernel NULL pointer dereference at
virtual addr4
[ 15.130218] pgd = c0004000
[ 15.132934] [00000014] *pgd=00000000
[ 15.136535] Internal error: Oops: 5 [#1] PREEMPT
[ 15.141174] last sysfs file:
[ 15.144165] Modules linked in:
[ 15.147247] CPU: 0 Not tainted (2.6.32 #3)
[ 15.151733] PC is at musb_interrupt+0x9f8/0xbb8
[ 15.156280] LR is at musb_interrupt+0x9e4/0xbb8
[ 15.160827] pc : [<c034177c>] lr : [<c0341768>] psr: 60000193
[ 15.160858] sp : df825db0 ip : df825de8 fp : 000000f0
[ 15.172393] r10: 00000000 r9 : 00000099 r8 : 00000009
[ 15.177642] r7 : 00000000 r6 : df81f108 r5 : 00000001 r4 :
00000000
[ 15.184204] r3 : 00000000 r2 : 00000000 r1 : fa0ab000 r0 :
df81f108
[ 15.190765] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM
Segment kel
[ 15.198211] Control: 10c5387d Table: 80004019 DAC: 00000017
[ 15.203979] Process swapper (pid: 1, stack limit = 0xdf8242f0)
[ 15.209838] Stack: (0xdf825db0 to 0xdf826000)
[ 15.214233] 5da0: 16011aca
00000000 c0060
[ 15.222473] 5dc0: df825df8 df81f108 60000113 df892900 df824000
0000005c 00000
[ 15.230682] 5de0: c066dac0 c03419a0 c062c600 df892900 c063b148
c00a4328 16010
[ 15.238922] 5e00: c063b148 0000005c 00000105 00000104 df824000
00000202 df820
[ 15.247131] 5e20: 0000005c df825ed8 00000000 c003b074 c0638b88
ffffffff fa204
[ 15.255371] 5e40: 00000000 00000004 c0683e40 00000000 c0683e40
df824000 00003
[ 15.263610] 5e60: 00000002 0000000a 00000202 df825f36 df825e88
df825e88 c0070
[ 15.271820] 5e80: 20000113 ffffffff 0000000a c00a4328 c06c1ad0
00000000 c063f
[ 15.280059] 5ea0: 00000000 df825f45 00000003 00000002 df824000
df825f45 df82c
[ 15.288269] 5ec0: c003b074 c003b078 00002082 ffffffff fa200000
c003bb44 00003
[ 15.296508] 5ee0: c0636fac c0636fac 00000001 00000003 df825f45
c0683a23 00005
[ 15.304748] 5f00: df825f45 df825f36 df825ef8 df825f20 c006da40
c006e0f0 6000f
[ 15.312957] 5f20: c06557c8 00000036 00000000 80000013 df825f48
205b8cb8 3531e
[ 15.321197] 5f40: 5d343234 c0480020 df825f88 df825f88 00000000
df825f60 c0148
[ 15.329437] 5f60: c06594bc c0658cb8 c06594bc c0658cb8 00000000
c0658ce8 c05b0
[ 15.337646] 5f80: 00000000 00000000 00000000 c048804c 00000001
c03296d8 c05b2
[ 15.345886] 5fa0: c05b4326 c0659290 c05b35c6 c002f9bc c002fb80
c0022ad8 00004
[ 15.354095] 5fc0: 00000000 00000192 c0639484 00000000 00000000
c002f9bc c0020
[ 15.362335] 5fe0: 00000000 c0008414 00000000 00000000 00000000
c003c9fc 00101
[ 15.370574] [<c034177c>] (musb_interrupt+0x9f8/0xbb8) from
[<c03419a0>] (gen)
[ 15.379882] [<c03419a0>] (generic_interrupt+0x64/0xa8) from
[<c00a4328>] (ha)
[ 15.389251] [<c00a4328>] (handle_IRQ_event+0xac/0x1ec) from
[<c00a64f0>] (ha)
[ 15.398620] [<c00a64f0>] (handle_level_irq+0xbc/0x148) from
[<c003b074>] (as)
[ 15.407379] [<c003b074>] (asm_do_IRQ+0x74/0x98) from [<c003bb44>]
(__irq_svc)
[ 15.415405] Exception stack(0xdf825e40 to 0xdf825e88)
[ 15.420501] 5e40: 00000000 00000004 c0683e40 00000000 c0683e40
df824000 00003
[ 15.428741] 5e60: 00000002 0000000a 00000202 df825f36 df825e88
df825e88 c0070
[ 15.436950] 5e80: 20000113 ffffffff
[ 15.440460] [<c003bb44>] (__irq_svc+0x44/0xa8) from [<c00738c0>]
(__do_softi)
[ 15.448791] [<c00738c0>] (__do_softirq+0x48/0x1f0) from
[<c0073aac>] (irq_ex)
[ 15.457031] [<c0073aac>] (irq_exit+0x44/0x98) from [<c003b078>]
(asm_do_IRQ+)
[ 15.464996] [<c003b078>] (asm_do_IRQ+0x78/0x98) from [<c003bb44>]
(__irq_svc)
[ 15.473022] Exception stack(0xdf825ed8 to 0xdf825f20)
[ 15.478118]
5ec0: 00003
[ 15.486328] 5ee0: c0636fac c0636fac 00000001 00000003 df825f45
c0683a23 00005
[ 15.494567] 5f00: df825f45 df825f36 df825ef8 df825f20 c006da40
c006e0f0 6000f
[ 15.502807] [<c003bb44>] (__irq_svc+0x44/0xa8) from [<c006e0f0>]
(vprintk+0x)
[ 15.510803] [<c006e0f0>] (vprintk+0x394/0x428) from [<c048804c>]
(printk+0x1)
[ 15.518493] [<c048804c>] (printk+0x18/0x28) from [<c03296d8>]
(usb_register_)
[ 15.527191] [<c03296d8>] (usb_register_driver+0xd8/0x150) from
[<c003b384>] )
[ 15.536712] [<c003b384>] (do_one_initcall+0x5c/0x1bc) from
[<c0008414>] (ker)
[ 15.545562] [<c0008414>] (kernel_init+0xa4/0x128) from [<c003c9fc>]
(kernel_)
[ 15.554412] Code: e3530003 13a02000 05963078 05933018 (05d33014)
[ 15.560577] ---[ end trace a9efbc36fcde1f0f ]---
[ 15.565246] Kernel panic - not syncing: Fatal exception in
interrupt

Ignore those and use the instructions at http://www.angstrom-distribution.org/demo/beagleboard/ , those cover your kernel panic.

power up the board using 5v prescribed dc power supply. i think u r
using usb otg to power up the board which results in kernel panic

Thanks for the link, I found that shortly after making this post while
browsing the group. However Kiran was correct, I was powering it off
of usb, which apparently causes every Angstrom build Ive tried to
fail. Those demos seem bloated anyways... I decided to go with Ubuntu
Maverick 10.10 minimal install (http://elinux.org/
BeagleBoardUbuntu#Maverick_10.10) and all is up and running fine now.
Thanks for your help guys!

Thanks for the link, I found that shortly after making this post while
browsing the group. However Kiran was correct, I was powering it off
of usb, which apparently causes every Angstrom build Ive tried to
fail.

So install a cpuidle kernel as that doc tells you to do

Those demos seem bloated anyways... I decided to go with Ubuntu
Maverick 10.10 minimal install (http://elinux.org/
BeagleBoardUbuntu#Maverick_10.10) and all is up and running fine now.

Why not use narcissus? Ubuntu isn't suited for 'minimal' installations.