Kernel fails on Dreamcast - results of bisection

Adrian McMenamin
2009-03-21T22:37:25Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 21557 bytes --]

I bisected the kernel in your (Paul's) git as I knew that it was not
working well on the Dreamcast - this is from the HEAD:

[ 0.000000] Linux version 2.6.29-rc7-00245-geaeed5d (adrian@bossclass) (gcc version 4.2.2) #35 PREEMPT Sat Mar 21 22:29:30 GMT 2009
[ 0.000000] Boot params:
[ 0.000000] ... MOUNT_ROOT_RDONLY - 91f0c75f
[ 0.000000] ... RAMDISK_FLAGS - e1ff3018
[ 0.000000] ... ORIG_ROOT_DEV - 89093610
[ 0.000000] ... LOADER_TYPE - 3612e108
[ 0.000000] ... INITRD_START - 46088904
[ 0.000000] ... INITRD_SIZE - 6002306c
[ 0.000000] console [sercon0] enabled
[ 0.000000] Booting machvec: Sega Dreamcast
[ 0.000000] Node 0: start_pfn = 0xc000, low = 0xd000
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x0000c000 -> 0x0000d000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0x0000c000 -> 0x0000d000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 4064
[ 0.000000] Kernel command line: root=/dev/nfs rw nfsroot\x192.168.61.50:/home/adrian/debdist ip=dhcp earlyprintk=serial video=pvr2fb:640x480-32@60 console=ttySC1 panic=7
[ 0.000000] PID hash table entries: 64 (order: 6, 256 bytes)
[ 0.000000] Using tmu for system timer
[ 0.004352] Console: colour dummy device 80x25
[ 0.009368] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.016995] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.026942] Memory: 12524k/16384k available (2242k kernel code, 740k data, 104k init)
[ 0.035579] PVR\x040205c1 CVR\0000000 PRR\0000000
[ 0.040931] I-cache : n_ways=1 n_sets%6 way_incr92
[ 0.046668] I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
[ 0.054516] D-cache : n_ways=1 n_setsQ2 way_incr\x16384
[ 0.060339] D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
[ 0.068772] SLUB: Genslabs\x10, HWalign2, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.077442] Calibrating delay loop (skipped)... 199.50 BogoMIPS PRESET (lpj99012)
[ 0.087421] Mount-cache hash table entries: 512
[ 0.098078] CPU: SH7750
[ 0.131025] net_namespace: 324 bytes
[ 0.137077] NET: Registered protocol family 16
[ 0.254490] bio: create slab <bio-0> at 0
[ 0.277211] Autoconfig PCI channel 0x8c2e64f0
[ 0.282127] Scanning bus 00, I/O 0x01001600:0x01003600, Mem 0x01840000:0x01848000
[ 0.290873] 00:00.0 Class 0200: 11db:1234 (rev 10)
[ 0.296365] I/O at 0x01001600 [size=0x100]
[ 0.301649] Mem at 0x01840000 [size=0x100]
[ 0.310439] PCI: Fixing up device 0000:00:00.0
[ 0.368242] maple: bus core now registered
[ 0.374019] NET: Registered protocol family 2
[ 0.379541] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.389736] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.397842] TCP bind hash table entries: 512 (order: 1, 10240 bytes)
[ 0.405219] TCP: Hash tables configured (established 512 bind 512)
[ 0.412087] TCP reno registered
[ 0.417336] NET: Registered protocol family 1
[ 0.425073] maple : detected Dreamcast Controller: function 0x1: at (0, 0)
[ 0.432528] maple : no driver found
[ 0.440916] maple : detected Dreamcast Controller: function 0x1: at (1, 0)
[ 0.448592] maple : no driver found
[ 0.455129] maple : detected Keyboard: function 0x40: at (2, 0)
[ 0.461675] maple : no driver found
[ 0.468597] maple : detected Dreamcast Mouse: function 0x200: at (3, 0)
[ 0.476421] maple : no driver found
[ 0.485726] sq: Registering store queue API.
[ 0.498796] cpufreq: SuperH CPU frequency driver.
[ 0.504400] cpufreq: clock framework rate rounding not supported on this CPU.
[ 0.527102] HugeTLB registered 64 KB page size, pre-allocated 0 pages
[ 0.838645] msgmni has been set to 24
[ 0.853779] alg: No test for stdrng (krng)
[ 0.858624] io scheduler noop registered
[ 0.863392] io scheduler anticipatory registered (default)
[ 2.936697] SuperH SCI(F) driver initialized
[ 2.942463] sh-sci: ttySC0 at MMIO 0xffe00000 (irq = 23) is a sci
[ 2.953101] sh-sci: ttySC1 at MMIO 0xffe80000 (irq = 40) is a scif
ï¿½+dï¿½È 2.960365] console handover: boot [sercon0] -> real [ttySC1]
[ 2.973212] 8139too Fast Ethernet driver 0.9.28
[ 2.985053] eth0: RealTek RTL8139 at 0xa1001700, 00:d0:f1:03:12:b9, IRQ 83
[ 2.995575] TCP cubic registered
[ 2.999128] NET: Registered protocol family 17
[ 3.018810] RPC: Registered udp transport module.
[ 3.024050] RPC: Registered tcp transport module.
[ 3.549106] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 4.556303] Sending DHCP requests ., OK
[ 4.568793] IP-Config: Got DHCP answer from 192.168.61.50, my address is 192.168.61.55
[ 4.582096] IP-Config: Complete:
[ 4.585389] device=eth0, addr\x192.168.61.55, mask%5.255.255.224, gw\x192.168.61.50,
[ 4.594048] host\x192.168.61.55, domain=, nis-domain=(none),
[ 4.600351] bootserver\x192.168.61.50, rootserver\x192.168.61.50, rootpath[ 4.609188] Looking up port of RPC 100003/2 on 192.168.61.50
[ 4.622930] Looking up port of RPC 100005/1 on 192.168.61.50
[ 4.655640] VFS: Mounted root (nfs filesystem) on device 0:14.
[ 4.663341] Freeing unused kernel memory: 104k freed
INIT: ï¿½version 2.86 bootingï¿½
ï¿½Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...udevd-event[862]: rename_netif: error changing netif name eth0 to eth1: Device or resource busy
[ 20.973358] udevd invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=-17
[ 20.980885] Stack: (0x8c8c3d98 to 0x8c8c4000)
[ 20.985808] 3d80: 8c00706e 8c8c3da8
[ 20.994485] 3da0: 00000000 000002e0 8c04eb5e 8c8c3db0 00000041 8cd49a40 8c04f0e0 8c8c3de0
[ 21.003690] 3dc0: 000000bc 8cd49a40 00000041 00000124 8c2ca1c8 8c2ca1c8 00000000 8c2917d8
[ 21.012596] 3de0: 00000000 001200d2 00000014 37609d13 8c04f1a8 8c8c3e10 001200d2 00000000
[ 21.021607] 3e00: 8cd483c0 00000000 001200d2 8c30eae0 00000000 8c05252a 8c8c3e28 00000000
[ 21.030258] 3e20: 8c22bd60 00000000 00000000 00000080 8cd486bc 001200d2 00000000 00000000
[ 21.039203] 3e40: 8c2eadcc 00000010 00000001 00000000 00000042 00000000 00000000 00000000
[ 21.048384] 3e60: 8c063be0 8c8c3e80 00000000 8c8aba00 8c8e0180 8c8cba68 8c3bd440 00000000
[ 21.057380] 3e80: 2969a07c 00000001 8c064694 8c8c3eb4 8c8e0180 2969a07c 8c86d294 0ce2255c
[ 21.066308] 3ea0: 00000a68 8c8cba68 8c86d294 8c8aba50 0ce2255c 8c22ec5c 00000001 8c8aba00
[ 21.074980] 3ec0: 8c8c3ec4 8c8aba50 8c22ec0c 8c8c3ed0 8c144676 8c22d36a 8c010c64 8c8c3ef8
[ 21.084167] 3ee0: 8c8c3fe4 8c8c3fa4 8cd483c0 8c8e0180 8c8aba00 2969a07c 8c8aba34 8c22bb2e
[ 21.093157] 3f00: 00000001 000003d0 00000000 8c014d60 8c22b520 8c22bb32 8c8c3f1c 8c22ec26
[ 21.102102] 3f20: 8c8c3f34 00000000 00000000 8c30665c 00000000 8c0163ac 8c8c3f40 8c9b6b40
[ 21.110753] 3f40: 00000000 8c0185bc 8c8c3f54 01200011 8c9b6b40 00000000 8c8cc480 8cc1e324
[ 21.119957] 3f60: 8cc1e300 00000000 8c8cc480 8c07ee56 8c8c3f74 8c0039be 8c8c3f7c 8c010ae8
[ 21.128613] 3f80: 8c8c3f90 8c0080e4 7bd762b8 000003d0 29698acc 0000034f 8c0080e4 2969a07c
[ 21.137884] 3fa0: 00000001 29614110 7bd762ac 00000000 2969a07c 29699828 00000000 fffe1f7e
[ 21.146799] 3fc0: ffffffff 29708040 7bd762ac 0000034f 0000034f 29698acc 000003d0 7bd762b8
[ 21.155491] 3fe0: 7bd762ac 29614108 296140fc 00008001 29708440 00000002 00000000 ffffffff
[ 21.164657]
[ 21.164673] Call trace:
[ 21.168626] [<8c00706e>] dump_stack+0xe/0x20
[ 21.173433] [<8c04eb5e>] oom_kill_process+0x13e/0x260
[ 21.178789] [<8c04f0e0>] __out_of_memory+0x120/0x1a0
[ 21.183824] [<8c04f1a8>] out_of_memory+0x48/0x100
[ 21.189107] [<8c05252a>] __alloc_pages_internal+0x40a/0x4a0
[ 21.195011] [<8c22bd60>] _cond_resched+0x0/0x60
[ 21.199602] [<8c063be0>] do_wp_page+0x1a0/0x860
[ 21.204704] [<8c064694>] handle_mm_fault+0x3f4/0x700
[ 21.209730] [<8c22ec5c>] _spin_unlock_irq+0x1c/0x60
[ 21.215177] [<8c22ec0c>] _spin_unlock_irqrestore+0x2c/0x60
[ 21.221054] [<8c144676>] __up_read+0x36/0xe0
[ 21.225342] [<8c22d36a>] down_read+0xa/0x20
[ 21.230053] [<8c010c64>] do_page_fault+0x124/0x400
[ 21.235178] [<8c22bb2e>] preempt_schedule+0x2e/0x60
[ 21.240105] [<8c014d60>] add_preempt_count+0x0/0xc0
[ 21.245539] [<8c22b520>] schedule+0x0/0x560
[ 21.250012] [<8c22bb32>] preempt_schedule+0x32/0x60
[ 21.254955] [<8c22ec26>] _spin_unlock_irqrestore+0x46/0x60
[ 21.261079] [<8c0163ac>] wake_up_new_task+0x6c/0xe0
[ 21.266279] [<8c0185bc>] do_fork+0xbc/0x380
[ 21.270496] [<8c07ee56>] filp_close+0x36/0xc0
[ 21.275388] [<8c0039be>] sys_clone+0x1e/0x40
[ 21.279928] [<8c010ae8>] __do_page_fault+0xe8/0x140
[ 21.284876] [<8c0080e4>] ret_from_exception+0x0/0x8
[ 21.290316] [<8c0080e4>] ret_from_exception+0x0/0x8
[ 21.295490]
[ 21.297121] Mem-Info:
[ 21.299524] Normal per-cpu:
[ 21.302270] CPU 0: hi: 0, btch: 1 usd: 0
[ 21.307356] Active_anon:739 active_file:10 inactive_anon:767
[ 21.307383] inactive_file:28 unevictable:0 dirty:0 writeback:0 unstable:0
[ 21.307411] free:147 slab:894 mapped:25 pagetables:210 bounce:0
[ 21.327264] Normal free:588kB min:508kB low:632kB high:760kB active_anon:2956kB inactive_anon:3068kB active_file:40kB inactive_file:112kB unevictable:0kB present:16256kB pages_scanned:964 all_uo
[ 21.346160] lowmem_reserve[]: 0 0
[ 21.349505] Normal: 23*4kB 12*8kB 1*16kB 0*32kB 0*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 588kB
[ 21.361196] 60 total pagecache pages
[ 21.364928] 0 pages in swap cache
[ 21.368481] Swap cache stats: add 0, delete 0, find 0/0
[ 21.373989] Free swap = 0kB
[ 21.377062] Total swap = 0kB
[ 21.380934] 4096 pages RAM
[ 21.383597] 939 pages reserved
[ 21.386868] 4219 pages shared
[ 21.390295] 2745 pages non-shared
[ 21.393819] 0 pages in pagetable cache
[ 21.397545] Out of memory: kill process 773 (rc) score 65 or a child
[ 21.404547] Killed process 816 (S03udev)
[ 26.829511] udevd invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=-17
[ 26.836972] Stack: (0x8c9a1d98 to 0x8c9a2000)
[ 26.841612] 1d80: 8c00706e 8c9a1da8
[ 26.850861] 1da0: 00000000 000002e0 8c04eb5e 8c9a1db0 00000033 8cd492c0 8c04f0e0 8c9a1de0
[ 26.859491] 1dc0: 000000bc 8cd492c0 00000033 00000124 8c2ca1c8 8c2ca1c8 00000000 8c2917d8
[ 26.868742] 1de0: 00000000 001200d2 0000001a 2ecd7804 8c04f1a8 8c9a1e10 001200d2 00000000
[ 26.877791] 1e00: 8c9b6000 00000000 001200d2 8c30eae0 00000000 8c05252a 8c9a1e28 00000000
[ 26.886709] 1e20: 8c22bd60 00000000 00000000 00000080 8c9b62fc 001200d2 00000000 00000000
[ 26.895667] 1e40: 8c2eadcc 00000010 00000001 00000000 00000042 00000000 00000000 00000000
[ 26.904284] 1e60: 8c063be0 8c9a1e80 00000000 8cef5400 8c9ba880 8cbd0a70 8c3b2be0 00000000
[ 26.913664] 1e80: 2969c200 8c3bc3a0 8c064694 8c9a1eb4 8c9ba880 2969c200 8c9a2294 0c8df55c
[ 26.922604] 1ea0: 00000a70 8cbd0a70 8c9a2294 8cef5450 0c8df55c 8c22ec5c 00000001 8cef5400
[ 26.931546] 1ec0: 8c9a1ec4 8cef5450 8c22ec0c 8c9a1ed0 8c144676 8c22d36a 8c010c64 8c9a1ef8
[ 26.940156] 1ee0: 8c9a1fe4 8c9a1fa4 8c9b6000 8c9ba880 8cef5400 2969c200 8cef5434 ffffff0f
[ 26.949489] 1f00: 00000001 8cc05368 8c22eaca 8c22ead0 8c9a1f14 8c13eaac 8c9a1f1c 8c09b92a
[ 26.958103] 1f20: 8c9a1f2c 8cc05340 8cc05300 8c02e044 8c02e04c 8c9a1f38 8c02e0b0 8c9a1f48
[ 26.967375] 1f40: 00000000 8c22e756 8c9a1f64 8c9a1f50 8c012000 8c9a1f5c 005f6910 8c22eaca
[ 26.976334] 1f60: 8c22ead0 8c9a1f68 8c0487de 8c9a1f70 8c003862 8c9a1f90 8c0203a6 8c010ae8
[ 26.985322] 1f80: 8c9a1f90 8c0080e4 7bd762b8 00000000 2957a000 00000003 8c0080e4 2969c200
[ 26.993957] 1fa0: 00000001 00000200 2969c000 2969c17c 2969c000 2957a000 00000001 7bd76298
[ 27.003205] 1fc0: 0000000a 2957a048 00000000 00441120 00000003 2957a000 00000000 7bd762b8
[ 27.011827] 1fe0: 7bd7628c 29560d66 29560cc0 00008000 29708440 00000002 00000000 ffffffff
[ 27.021092]
[ 27.021108] Call trace:
[ 27.025291] [<8c00706e>] dump_stack+0xe/0x20
[ 27.029528] [<8c04eb5e>] oom_kill_process+0x13e/0x260
[ 27.034886] [<8c04f0e0>] __out_of_memory+0x120/0x1a0
[ 27.040510] [<8c04f1a8>] out_of_memory+0x48/0x100
[ 27.045534] [<8c05252a>] __alloc_pages_internal+0x40a/0x4a0
[ 27.051442] [<8c22bd60>] _cond_resched+0x0/0x60
[ 27.055964] [<8c063be0>] do_wp_page+0x1a0/0x860
[ 27.061138] [<8c064694>] handle_mm_fault+0x3f4/0x700
[ 27.066423] [<8c22ec5c>] _spin_unlock_irq+0x1c/0x60
[ 27.071627] [<8c22ec0c>] _spin_unlock_irqrestore+0x2c/0x60
[ 27.077122] [<8c144676>] __up_read+0x36/0xe0
[ 27.081669] [<8c22d36a>] down_read+0xa/0x20
[ 27.086452] [<8c010c64>] do_page_fault+0x124/0x400
[ 27.091570] [<8c22eaca>] _spin_unlock+0xa/0x60
[ 27.096317] [<8c22ead0>] _spin_unlock+0x10/0x60
[ 27.100814] [<8c13eaac>] _atomic_dec_and_lock+0x4c/0x80
[ 27.106699] [<8c09b92a>] mntput_no_expire+0x2a/0x1a0
[ 27.111989] [<8c02e044>] queue_work+0x24/0x80
[ 27.116298] [<8c02e04c>] queue_work+0x2c/0x80
[ 27.121329] [<8c02e0b0>] schedule_work+0x10/0x20
[ 27.126261] [<8c22e756>] _spin_lock+0x16/0x40
[ 27.130572] [<8c012000>] enable_systemasic_irq+0x40/0x60
[ 27.136537] [<8c22eaca>] _spin_unlock+0xa/0x60
[ 27.141328] [<8c22ead0>] _spin_unlock+0x10/0x60
[ 27.145842] [<8c0487de>] handle_level_irq+0x9e/0x100
[ 27.151438] [<8c003862>] do_IRQ+0x42/0xa0
[ 27.155729] [<8c0203a6>] irq_exit+0x46/0x80
[ 27.160198] [<8c010ae8>] __do_page_fault+0xe8/0x140
[ 27.165048] [<8c0080e4>] ret_from_exception+0x0/0x8
[ 27.170229] [<8c0080e4>] ret_from_exception+0x0/0x8
[ 27.175766]
[ 27.177400] Mem-Info:
[ 27.179785] Normal per-cpu:
[ 27.182775] CPU 0: hi: 0, btch: 1 usd: 0
[ 27.187877] Active_anon:532 active_file:6 inactive_anon:310
[ 27.187904] inactive_file:38 unevictable:0 dirty:0 writeback:0 unstable:0
[ 27.187931] free:174 slab:875 mapped:22 pagetables:207 bounce:0
[ 27.206842] Normal free:696kB min:508kB low:632kB high:760kB active_anon:2128kB inactive_anon:1240kB active_file:24kB inactive_file:152kB unevictable:0kB present:16256kB pages_scanned:10263 allo
[ 27.226768] lowmem_reserve[]: 0 0
[ 27.230690] Normal: 52*4kB 13*8kB 2*16kB 1*32kB 1*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 696kB
[ 27.241545] 88 total pagecache pages
[ 27.245356] 0 pages in swap cache
[ 27.248823] Swap cache stats: add 0, delete 0, find 0/0
[ 27.253997] Free swap = 0kB
[ 27.257086] Total swap = 0kB
[ 27.261449] 4096 pages RAM
[ 27.264285] 939 pages reserved
[ 27.267546] 4883 pages shared
[ 27.270381] 2097 pages non-shared
[ 27.273927] 4 pages in pagetable cache
[ 27.278265] Out of memory: kill process 772 (init) score 51 or a child
[ 27.285157] Killed process 773 (rc)
[ 28.471093] udevd invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=-17
[ 28.479289] Stack: (0x8c4f1cc8 to 0x8c4f2000)
[ 28.484248] 1cc0: 8c00706e 8c4f1cd8 00000000 000002e0 8c04eb5e 8c4f1ce0
[ 28.492856] 1ce0: 0000001d 8cd492c0 8c04f0e0 8c4f1d10 000000bc 8cd492c0 0000001d 00000124
[ 28.501860] 1d00: 8c2ca1c8 8c2ca1c8 00000000 8c2917d8 00000000 001201d2 0000001c 1975c295
[ 28.510827] 1d20: 8c04f1a8 8c4f1d40 001201d2 00000000 8cf72000 00000000 001201d2 8c30eae0
[ 28.519404] 1d40: 00000000 8c05252a 8c4f1d58 00000000 8c22bd60 00000000 00000000 00000080
[ 28.528708] 1d60: 8cf722fc 001201d2 00000000 00000000 8c2eadcc 00000010 00000001 00000000
[ 28.537691] 1d80: 00000042 00000000 00000000 00000000 8c055594 8c4f1db0 8c812790 00000000
[ 28.546297] 1da0: 0000000f 00000003 00000003 00000000 8c4f1dd0 0000000f 8c8127cc 8c84fe40
[ 28.555563] 1dc0: 8c81278c 00000003 000000e6 00000003 8c3ba9f8 8c3be038 8c055c3e 8c4f1dfc
[ 28.564520] 1de0: 8c84fe40 8c055ae0 0000000f 00000000 8c84fe40 8c81278c 00000000 8c04dea4
[ 28.573173] 1e00: 8c4f1e14 00008000 00000000 8c30ed4c ffffff0f 8c8126f8 8c84febc 8c4f1e78
[ 28.582461] 1e20: 8cf86a00 8c81278c 8c84fe8c 00000000 00000004 00000000 8c063088 8c4f1e58
[ 28.591394] 1e40: 8cf86a00 8c4f1e78 8cf86a00 8c4c9294 00000694 00000000 8cf87a50 8cf86a40
[ 28.600333] 1e60: 295a5640 8cf87a00 00000000 00000000 00000200 00000000 00000000 00000001
[ 28.608919] 1e80: 295a5000 00000000 8c06436e 8c4f1eb4 8cf86a00 295a5640 8c4c9294 00000000
[ 28.618269] 1ea0: 00000694 8cfc1694 00000001 00000000 00000000 8c22ec5c 00000000 8cf87a00
[ 28.626874] 1ec0: 8c4f1ec4 8c22ebee 8c22ec0c 8c4f1ed0 8c144676 8c22d36a 8c010c64 8c4f1ef8
[ 28.636144] 1ee0: 8c4f1fe4 8c4f1fa4 8cf72000 8cf86a00 8cf87a00 295a5640 8cf87a34 fffffffe
[ 28.644756] 1f00: 00000000 8c085dd8 8c4f1f24 0040a024 29698acc 00000000 00000071 8c4f1f48
[ 28.654090] 1f20: 7bd751c4 33123950 00000029 8c085eb0 8c4f1f40 00000071 0000007f 7bd751c4
[ 28.663052] 1f40: 8c085ed4 8c4f1f48 8c4f1f64 8c4f1f50 8c012000 8c4f1f5c 005f6910 8c22eaca
[ 28.671627] 1f60: 8c22ead0 8c4f1f68 8c0487de 8c4f1f70 8c003862 8c4f1f90 8c4f1f7c 8c010ae8
[ 28.680929] 1f80: 8c4f1f90 8c0080e4 7bd74bfc 00400d21 2957a000 0000012a 8c0080e4 295a5640
[ 28.689934] 1fa0: 00000000 000004a8 295a5198 000004a8 00000001 295b0d24 00400d22 00400844
[ 28.698872] 1fc0: 7bd74ca8 295a836c 2956bc00 2957a518 0000012a 2957a000 00400d21 7bd74bfc
[ 28.707810] 1fe0: 7bd74bfc 2955dd58 2955dc4a 00008000 29708440 00000002 0b8ca01f ffffffff
[ 28.716399]
[ 28.716416] Call trace:
[ 28.720948] [<8c00706e>] dump_stack+0xe/0x20
[ 28.725513] [<8c04eb5e>] oom_kill_process+0x13e/0x260
[ 28.730888] [<8c04f0e0>] __out_of_memory+0x120/0x1a0
[ 28.735818] [<8c04f1a8>] out_of_memory+0x48/0x100
[ 28.741193] [<8c05252a>] __alloc_pages_internal+0x40a/0x4a0
[ 28.747116] [<8c22bd60>] _cond_resched+0x0/0x60
[ 28.751607] [<8c055594>] __do_page_cache_readahead+0x134/0x2c0
[ 28.758167] [<8c055c3e>] do_page_cache_readahead+0x3e/0x80
[ 28.763998] [<8c055ae0>] page_cache_async_readahead+0x0/0xc0
[ 28.769641] [<8c04dea4>] filemap_fault+0x384/0x5c0
[ 28.774758] [<8c063088>] __do_fault+0x48/0x4a0
[ 28.779873] [<8c06436e>] handle_mm_fault+0xce/0x700
[ 28.785070] [<8c22ec5c>] _spin_unlock_irq+0x1c/0x60
[ 28.790273] [<8c22ebee>] _spin_unlock_irqrestore+0xe/0x60
[ 28.795665] [<8c22ec0c>] _spin_unlock_irqrestore+0x2c/0x60
[ 28.801825] [<8c144676>] __up_read+0x36/0xe0
[ 28.806389] [<8c22d36a>] down_read+0xa/0x20
[ 28.810859] [<8c010c64>] do_page_fault+0x124/0x400
[ 28.815610] [<8c085dd8>] vfs_lstat_fd+0x18/0x60
[ 28.820789] [<8c085eb0>] vfs_lstat+0x10/0x20
[ 28.825050] [<8c085ed4>] sys_lstat64+0x14/0x40
[ 28.830148] [<8c012000>] enable_systemasic_irq+0x40/0x60
[ 28.835783] [<8c22eaca>] _spin_unlock+0xa/0x60
[ 28.840179] [<8c22ead0>] _spin_unlock+0x10/0x60
[ 28.845420] [<8c0487de>] handle_level_irq+0x9e/0x100
[ 28.850683] [<8c003862>] do_IRQ+0x42/0xa0
[ 28.854606] [<8c010ae8>] __do_page_fault+0xe8/0x140
[ 28.859800] [<8c0080e4>] ret_from_exception+0x0/0x8
[ 28.865747] [<8c0080e4>] ret_from_exception+0x0/0x8
[ 28.870574]
[ 28.872144] Mem-Info:
[ 28.874251] Normal per-cpu:
[ 28.877262] CPU 0: hi: 0, btch: 1 usd: 0
[ 28.882702] Active_anon:638 active_file:4 inactive_anon:658
[ 28.882730] inactive_file:70 unevictable:0 dirty:0 writeback:0 unstable:0
[ 28.882758] free:183 slab:884 mapped:21 pagetables:204 bounce:0
[ 28.901649] Normal free:732kB min:508kB low:632kB high:760kB active_anon:2552kB inactive_anon:2632kB active_file:16kB inactive_file:280kB unevictable:0kB present:16256kB pages_scanned:64 all_uno
[ 28.921725] lowmem_reserve[]: 0 0
[ 28.925267] Normal: 33*4kB 23*8kB 6*16kB 0*32kB 1*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 732kB
[ 28.935746] 119 total pagecache pages
[ 28.939646] 0 pages in swap cache
[ 28.943530] Swap cache stats: add 0, delete 0, find 0/0
[ 28.949055] Free swap = 0kB
[ 28.952129] Total swap = 0kB
[ 28.955735] 4096 pages RAM
[ 28.958660] 939 pages reserved
[ 28.962287] 4266 pages shared
[ 28.965455] 2532 pages non-shared
[ 28.968919] 8 pages in pagetable cache
[ 28.972566] Out of memory: kill process 772 (init) score 29 or a child
[ 28.979828] Killed process 772 (init)
[ 35.381440] Kernel panic - not syncing: Out of memory and no killable processes...
[ 35.381478]
[ 35.391388] Rebooting in 7 seconds..

This is the result of the bisection. I cannot see what bit of this patch
is causing the difficulties but I'm pretty sure that this is where it
is. The actual problem is a race condition, as it does not happen on
every boot...

adrian@bossclass:~/lethal-repo$ git bisect good
955c0778723501cc16fec40501cd54b7e72d3e74 is first bad commit
commit 955c0778723501cc16fec40501cd54b7e72d3e74
Author: Magnus Damm <damm@igel.co.jp>
Date: Thu Jan 22 09:55:31 2009 +0000

sh: rework clocksource and sched_clock

Rework and simplify the sched_clock and clocksource code. Instead
of registering the clocksource in a shared file we move it into the
tmu driver. Also, add code to handle sched_clock in the case of no
clocksource.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html