[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:35:58 CET 2007


laforge at openmoko.org changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED

------- Additional Comments From laforge at openmoko.org  2007-10-30 16:35 -------
This actually seems like it is a kernel problem.  If I enable the u-boot serial
console and boot, u-boot loads the kernel just fine but I get the following
kernel oops:

U-Boot 1.3.0-rc11.2.0+git20070917+svnr2943 (Sep 17 2007 - 23:42:04)

DRAM:  128 MB
NAND:  64 MiB
Found Environment offset in OOB..
Video: 640x480x8 31kHz 59Hz

NAND read: device 0 offset 0x244000, size 0x5000
 20480 bytes read: OK
USB:   S3C2410 USB Deviced
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x44000, size 0x200000
 2097152 bytes read: OK
## Booting image at 32000000 ...
   Image Name:   OpenMoko/
   Created:      2007-10-25  13:29:59 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1617948 Bytes =  1.5 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK

Starting kernel ...

done, b
ooting the kernel.
Linux version (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=neo19
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
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  ( #1)
PC is at __bug+0x20/0x2c
LR is at vprintk+0x354/0x404
pc : [<c002b56c>]    lr : [<c00419b0>]    psr: 40000093
sp : c04a9cc8  ip : c04a9c30  fp : c04a9cd4
r10: 0000001d  r9 : 000000d0  r8 : c04781a0
r7 : 00000000  r6 : c04ab0b8  r5 : c0477400  r4 : c0476da0
r3 : 00000000  r2 : c04a8000  r1 : 00000001  r0 : 00000021
Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  Segment kernel
Control: c000717f  Table: 30004000  DAC: 00000017
Process khelper (pid: 7, stack limit = 0xc04a8260)
Stack: (0xc04a9cc8 to 0xc04aa000)
9cc0:                   c04a9d14 c04a9cd8 c0088768 c002b55c c03147f0 c04a8000 
9ce0: 00000010 00000020 c0314818 000000d0 c04781a0 60000013 c04826e4 c0341fb0 
9d00: c04a9da4 c04a9db0 c04a9d34 c04a9d18 c0088618 c0088640 c0341fac 00000000 
9d20: c04a9da4 c0481be0 c04a9d5c c04a9d38 c009f524 c00885d0 00000000 c04826e4 
9d40: c0481be0 c0481c4c c04a9ee0 c04a9db0 c04a9d94 c04a9d60 c0094050 c009f510 
9d60: c031492c c04747a0 c03229c0 c04a9ee0 00000107 c0481be0 c04826e4 00000000 
9d80: c04a8000 c04a9f70 c04a9de4 c04a9d98 c0095acc c0093fc8 c0326632 00000101 
9da0: 00000000 01c000e1 00000004 c032662d 00000000 000000d0 c0322c3c c04a73c0 
9dc0: c04a9ee0 c04747a0 c04826e4 c032662c 00000000 c04a9f70 c04a9e5c c04a9de8 
9de0: c0096794 c0095700 c04826e4 c04747a0 c0314c7c c0263cc4 c0314c8c 00000101 
9e00: 00000001 00000000 c0314cac c0263ef8 c0314cc0 000000d0 40000013 c0358540 
9e20: c04a9f44 c04a9f28 c0088de8 00000011 00000000 c04aa9e0 c0478200 c04a73c0 
9e40: 00000001 c04a9ee0 c04a9ee0 c032662c c04a9e6c c04a9e60 c0096890 c0096718 
9e60: c04a9e9c c04a9e70 c0096cf4 c009687c c04a9e9c c04a9e80 c008d490 ffffff9c 
9e80: ffffffe9 00000001 c04a9ee0 c048fe94 c04a9ebc c04a9ea0 c00977f8 c0096a34 
9ea0: c04a9ee0 c032662c c047d3a0 c047d3a0 c04a9ed4 c04a9ec0 c00978c8 c00977b4 
9ec0: 00000011 00000000 c04a9f44 c04a9ed8 c0090708 c00978b4 00000011 c0263ca0 
9ee0: c04826e4 c04747a0 c0314c7c c0263cc4 c0314c8c 00000105 00000001 00000000 
9f00: c0314cac c0263ef8 c0314cc0 000000d0 40000013 c0358540 c04a9f44 c04a9f28 
9f20: c0088de8 00000011 00000000 c04aa9e0 c04a2600 c032662c c04a9f6c c04a9f48 
9f40: c0091cf8 c00906e8 c032662c c048fe94 c047d3a0 c04a9f70 00000000 00000000 
9f60: c04a9fd4 c04a9f70 c002a7ac c0091cc8 00000000 00000000 00000000 00000000 
9f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
9fa0: 00000000 00000000 00000000 00000000 00000000 00000000 c04a8000 c04a8000 
9fc0: c04768e0 00000000 c04a9ff4 c04a9fd8 c00523ec c002a77c 00000000 00000000 
9fe0: 00000000 00000000 00000000 c04a9ff8 c0044234 c00522e4 c0314f24 c027cb74 
[<c002b54c>] (__bug+0x0/0x2c) from [<c0088768>] (cache_alloc_refill+0x138/0x5d8)
[<c0088630>] (cache_alloc_refill+0x0/0x5d8) from [<c0088618>]
[<c00885c0>] (kmem_cache_alloc+0x0/0x70) from [<c009f524>] (d_alloc+0x24/0x1b4)
 r6:c0481be0 r5:c04a9da4 r4:00000000
[<c009f500>] (d_alloc+0x0/0x1b4) from [<c0094050>] (do_lookup+0x98/0x18c)
[<c0093fb8>] (do_lookup+0x0/0x18c) from [<c0095acc>] (__link_path_walk+0x3dc/0x1018)
[<c00956f0>] (__link_path_walk+0x0/0x1018) from [<c0096794>]
[<c0096708>] (link_path_walk+0x0/0x164) from [<c0096890>] (path_walk+0x24/0x28)
 r8:c032662c r7:c04a9ee0 r6:c04a9ee0 r5:00000001 r4:c04a73c0
[<c009686c>] (path_walk+0x0/0x28) from [<c0096cf4>] (do_path_lookup+0x2d0/0x2fc)
[<c0096a24>] (do_path_lookup+0x0/0x2fc) from [<c00977f8>]
 r8:c048fe94 r7:c04a9ee0 r6:00000001 r5:ffffffe9 r4:ffffff9c
[<c00977a4>] (__path_lookup_intent_open+0x0/0x90) from [<c00978c8>]
 r7:c047d3a0 r6:c047d3a0 r5:c032662c r4:c04a9ee0
[<c00978a4>] (path_lookup_open+0x0/0x2c) from [<c0090708>] (open_exec+0x30/0xd0)
[<c00906d8>] (open_exec+0x0/0xd0) from [<c0091cf8>] (do_execve+0x40/0x1d0)
 r5:c032662c r4:c04a2600
[<c0091cb8>] (do_execve+0x0/0x1d0) from [<c002a7ac>] (kernel_execve+0x40/0x88)
[<c002a76c>] (kernel_execve+0x0/0x88) from [<c00523ec>]
 r7:00000000 r6:c04768e0 r5:c04a8000 r4:c04a8000
[<c00522d4>] (____call_usermodehelper+0x0/0x124) from [<c0044234>]
 r7:00000000 r6:00000000 r5:00000000 r4:00000000
Code: e1a01000 e59f000c eb00593d e3a03000 (e5833000) 
note: khelper[7] exited with preempt_count 1

------- 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