[Bug 887] U-Boot initialization race condition: Hangs on boot

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Tue Oct 30 16:41:06 CET 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=887





------- Additional Comments From laforge at openmoko.org  2007-10-30 16:41 -------
interestingly, the oops backtrace is different every time I boot the device:

Linux version 2.6.22.5-moko11 (oe at mahavidya.openmoko.org) (gcc version 4.1.2) #1
PREEMPT Thu Oct 25 13:17:24 UTC 2007
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: GTA01
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
  DMA zone: 256 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 32512 pages, LIFO batch:7
  Normal zone: 0 pages used for memmap
CPU S3C2410A (id 0x32410002)
S3C2410: core 266.000 MHz, memory 133.000 MHz, peripheral 66.500 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists.  Total pages: 32512
Kernel command line: rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC0,115200
console=tty0 loglevel=8 regular_boot
mtdparts=neo1973-nand:0x00040000(u-boot),0x00004000(u-boot_env),0x00200000(kernel),0x000a0000(splash),0x03d1c000(rootfs)
irq: clearing pending ext status 000002a0
irq: clearing pending ext status 00000280
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 2048 bytes)
timer tcon=00500000, tcnt d877, tcfg 00000200,00000000, usec 00001719
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126464KB available (3008K code, 260K data, 120K init)
Calibrating delay loop... 132.71 BogoMIPS (lpj=331776)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
modem wakeup interrupt
wake enabled for irq 17
S3C2410: Initialising architecture
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c8800000, irq 33
DMA channel 1 at c8800040, irq 34
DMA channel 2 at c8800080, irq 35
DMA channel 3 at c88000c0, irq 36
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
kernel BUG at mm/slab.c:2980!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT
Modules linked in:
CPU: 0    Not tainted  (2.6.22.5-moko11 #1)
PC is at __bug+0x20/0x2c
LR is at vprintk+0x354/0x404
pc : [<c002b56c>]    lr : [<c00419b0>]    psr: 40000093
sp : c048fe48  ip : c048fdb0  fp : c048fe54
r10: 00000008  r9 : 000000d0  r8 : c04b2ea0
r7 : 00000000  r6 : c04cf03c  r5 : c04cb080  r4 : c0476260
r3 : 00000000  r2 : c048e000  r1 : 00000001  r0 : 00000021
Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  Segment kernel
Control: c000717f  Table: 30004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc048e260)
Stack: (0xc048fe48 to 0xc0490000)
fe40:                   c048fe94 c048fe58 c0088768 c002b55c c03629c0 c048e000 
fe60: 00000010 00000020 c0478c80 000000d0 c04b2ea0 a0000013 00000001 00000002 
fe80: 00000000 00000000 c048feb4 c048fe98 c0088618 c0088640 c01ea844 00000000 
fea0: c0334234 c04b2ea0 c048fedc c048feb8 c01edf40 c00885d0 00008124 00000000 
fec0: c0334234 00000006 c0498740 00000001 c048ff04 c048fee0 c023f8c4 c01edf20 
fee0: 00000000 c0334d2c c034ec6c c0498740 00000006 c0350ea4 c048ff2c c048ff08 
ff00: c01ebeb0 c023f740 c0350ea4 00000000 c0021894 00000000 c048e000 00000000 
ff20: c048ff44 c048ff30 c01ebfc0 c01ebd58 00000001 00000000 c048ff5c c048ff48 
ff40: c021ea10 c01ebfb4 c0334df8 00000000 c048ff6c c048ff60 c001f794 c021e9fc 
ff60: c048ff84 c048ff70 c001fbc4 c001f784 c0022404 00000000 c048fff4 c048ff88 
ff80: c0008938 c001fad4 c048ffac 00000001 c003d67c c003c310 00000000 00000000 
ffa0: 00000000 c048ffb0 c0026fa4 c003d600 00000000 00000000 c000887c c0044234 
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
ffe0: 00000000 00000000 00000000 c048fff8 c0044234 c000888c 25207325 2520756c 
Backtrace: 
[<c002b54c>] (__bug+0x0/0x2c) from [<c0088768>] (cache_alloc_refill+0x138/0x5d8)
[<c0088630>] (cache_alloc_refill+0x0/0x5d8) from [<c0088618>]
(kmem_cache_alloc+0x58/0x70)
[<c00885c0>] (kmem_cache_alloc+0x0/0x70) from [<c01edf40>] (sk_alloc+0x30/0x11c)
 r6:c04b2ea0 r5:c0334234 r4:00000000
[<c01edf10>] (sk_alloc+0x0/0x11c) from [<c023f8c4>] (inet_create+0x194/0x324)
 r8:00000001 r7:c0498740 r6:00000006 r5:c0334234 r4:00000000
[<c023f730>] (inet_create+0x0/0x324) from [<c01ebeb0>] (__sock_create+0x168/0x25c)
[<c01ebd48>] (__sock_create+0x0/0x25c) from [<c01ebfc0>]
(sock_create_kern+0x1c/0x24)
[<c01ebfa4>] (sock_create_kern+0x0/0x24) from [<c021ea10>]
(inet_csk_ctl_sock_create+0x24/0x70)
[<c021e9ec>] (inet_csk_ctl_sock_create+0x0/0x70) from [<c001f794>]
(tcp_v4_init+0x20/0x38)
 r5:00000000 r4:c0334df8
[<c001f774>] (tcp_v4_init+0x0/0x38) from [<c001fbc4>] (inet_init+0x100/0x300)
[<c001fac4>] (inet_init+0x0/0x300) from [<c0008938>] (kernel_init+0xbc/0x284)
 r5:00000000 r4:c0022404
[<c000887c>] (kernel_init+0x0/0x284) from [<c0044234>] (do_exit+0x0/0x898)
Code: e1a01000 e59f000c eb00593d e3a03000 (e5833000) 
Kernel panic - not syncing: Attempted to kill init!




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list