Talk:Misc Sparc
From Gentoo Linux Wiki
[edit] 2.6.x Kernel and Xorg
I have been trying to get Xorg to run on my Ultra10/Cerator3D with kernel 2.6.x (13,14.3,15rc), but this far I haven't managed due different reasons, the prebuilt one in the package CD didn't find any drivers for the keybord (even under 2.4), tried with the new modular one and this time I got problem with that Xorg didn't find the sunffb (had only built sunffb and vga driver) and reverted back to the monolitich Xorg (6.8.2-r4 with xaa patch), this lead to that the machine locked, still able to ssh to it (running 'ps' resulting in a hard crash). Xorg.0.log just stop in the middle, no error messages, did upgrade to 6.8.2-r6 still the same thing. Got the bright idea to run a dmesg and got the following:
program X is using MAP_PRIVATE, PROT_WRITE mmap of VM_RESERVED memory, which is deprecated. Please
report this to linux-kernel@vger.kernel.org kernel BUG at arch/sparc64/mm/generic.c:68!
\|/ ____ \|/
"@'/ .. \`@"
/_| \__/ |_\
\__U_/
X(6885): Kernel bad sw trap 5 [#1]
TSTATE: 0000000011009603 TPC: 0000000000434d58 TNPC: 0000000000434d5c Y: 00000000 Not tainted
TPC: <io_remap_pfn_range+0x3b8/0x3e0>
g0: fffff800068ba200 g1: 0000000000668c00 g2: 0000000000000001 g3: 0000000000001f22
g4: fffff80004324360 g5: 0000000000000010 g6: fffff80000a90000 g7: 0000000000000000
o0: 000000000000002f o1: 000000000061e7c8 o2: 0000000000000044 o3: 0000000012c12000
o4: 800001fc00600f8a o5: 000001fc00610000 sp: fffff80000a9f271 ret_pc: 0000000000434d50
RPC: <io_remap_pfn_range+0x3b0/0x3e0>
l0: 0000000072c04000 l1: 000001fb8d9fe000 l2: 0000000072c04000 l3: 000001fb8d9fe000
l4: 000001fb8d9fe000 l5: e000000000000f8a l6: a000000000000f8a l7: c000000000000f8a
i0: 0000000072c02000 i1: 0000000072c02000 i2: fffff80005630000 i3: 0000000072c02000
i4: 80000000000006b0 i5: fffff800019a000c i6: fffff80000a9f361 i7: 000000000053b7e4
I7: <sbusfb_mmap_helper+0x104/0x160>
Caller[000000000053b7e4]: sbusfb_mmap_helper+0x104/0x160
Caller[0000000000533b74]: fb_mmap+0x134/0x160
Caller[00000000004784a8]: do_mmap_pgoff+0x368/0x780
Caller[00000000004161d8]: sys_mmap+0xf8/0x160
Caller[0000000000406c94]: linux_sparc_syscall32+0x34/0x40
Caller[0000000000286378]: 0x286378
Instruction DUMP: 92102044 7fff6e14 901223c8 <91d02005> 7ffff781 b13e2000 81cfe008
01000000 30680005
This is the error message from kernel 2.6.15-rc1, but it's kind the same in 2.6.13-r5.
With the 6.8.2-r6 and kernel 2.4 I got the Creator3D to output, the glxgear test gives a bit less than what I get on a PegasosII with a ATI Radeon 7000.
