When booted, this kernel gracefully dies with the following message: [ 51.057605] kernel BUG at /usr/src/linux-2.6.29-gentoo-r1/arch/sparc/include/asm/tlb_64.h:48! [ 51.180131] \|/ ____ \|/ [ 51.180137] "@'/ .. \`@" [ 51.180141] /_| \__/ |_\ [ 51.180146] \__U_/ [ 51.414793] rc(455): Kernel bad sw trap 5 [#1] [ 51.483342] TSTATE: 0000004411001607 TPC: 00000000004b0514 TNPC: 00000000004b0518 Y: 00000000 Not tainted [ 51.623024] TPC: <unmap_region+0x44/0x140> [ 51.687070] g0: 0000000000038b5c g1: 0000000000000000 g2: 000000000081adf0 g3: 00000000008393b8 [ 51.811915] g4: fffff800cf1350a0 g5: fffff800cf63c000 g6: fffff800cd84c000 g7: 000001ff047ffc68 [ 51.936818] o0: 0000000000000064 o1: 00000000007b6b78 o2: 0000000000000030 o3: 00000000f7dfb26c [ 52.061802] o4: 0000000000000000 o5: fffff800ce003cc0 sp: fffff800cd84f451 ret_pc: 00000000004b050c [ 52.191537] RPC: <unmap_region+0x3c/0x140> [ 52.255930] l0: fffff800cfec63c8 l1: fffff800cd803760 l2: 0000000000821de8 l3: 0000000000851e40 [ 52.381193] l4: 0000000000100100 l5: fffff800ce03e868 l6: 0000000000026c00 l7: 0000000000023970 [ 52.506448] i0: fffff800cd824ae0 i1: fffff800cd81cc60 i2: fffff800cd803810 i3: 00000000f7f0c000 [ 52.631845] i4: 00000000f7f0e000 i5: fffffffc00000000 i6: fffff800cd84f521 i7: 00000000004b17fc [ 52.757152] I7: <do_munmap+0x26c/0x2e0> [ 52.818514] Caller[00000000004b17fc]: do_munmap+0x26c/0x2e0 [ 52.902638] Caller[00000000004b1894]: SyS_munmap+0x24/0x40 [ 52.985622] Caller[0000000000406214]: linux_sparc_syscall32+0x34/0x40 [ 53.081195] Caller[00000000f7d05608]: 0xf7d05608 [ 53.152536] Instruction DUMP: 92102030 7ffde531 90122378 <91d02005> f0708005 c2586048 d0584000 4004fbf4 900a2003 Reproducible: Always Steps to Reproduce: 1. Emerge gentoo-sources-2.6.29-r1 2. Configure, compile and install your kernel as usual 3. Reboot... et voilà ! ;-) Known problem: http://www.gossamer-threads.com/lists/linux/kernel/1058996?page=last Will try the suggested patch
Suggested modification works wonderfully !
Created attachment 187947 [details] Patch for arch/sparc/include/asm/tlb_64.h
I have a Sun Blade 100 (UltraSPARC IIe) with exactly the same problem. And the sparc64_tlb_crash.patch seems to fix the problem without any disadvantages so far. Is this patch going to make it into the gentoo git sources?
When you see the keyword InSVN, it means it will be in the next genpatches, but it actuality, this patch made it to 2.6.29.2. I plan on rolling and release gentoo-sources-2.6.29-r2 real soon(tm). This will have 2.6.29.2.
Released in linux 2.6.29.2 included in gentoo-sources-2.6.29-r2