mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Sparc: Kernel 2.6.13 to 2.6.15-rc2 bug when running X11
@ 2005-12-06  2:04 J.O. Aho
  2005-12-06  2:17 ` David S. Miller
  0 siblings, 1 reply; 28+ messages in thread
From: J.O. Aho @ 2005-12-06  2:04 UTC (permalink / raw)
  To: linux-kernel maillist


I have been struggling with getting Xorg (6.8.2 and 7.0.0rc1) to work on 
a Sun Ultra10 (Sparc IIi), the 6.8.2 works under kernel 2.4.

Tested kernels:
  2.6.13
  2.6.14.2 (patch to a patch or what?)
  2.6.15-rc1
  2.6.15-rc2

The dmesg entry comes from 2.6.15-rc2, but is kind of the same, expect not 
all versions has the ugly and annoying face.

--- dmesg ---
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: 
0000000
0    Not tainted
TPC: <io_remap_pfn_range+0x3b8/0x3e0>
g0: fffff800068ba200 g1: 0000000000668c00 g2: 0000000000000001 g3: 
0000000000001
f22
g4: fffff80004324360 g5: 0000000000000010 g6: fffff80000a90000 g7: 
0000000000000
000
o0: 000000000000002f o1: 000000000061e7c8 o2: 0000000000000044 o3: 
0000000012c12
000
o4: 800001fc00600f8a o5: 000001fc00610000 sp: fffff80000a9f271 ret_pc: 
000000000
0434d50
RPC: <io_remap_pfn_range+0x3b0/0x3e0>
l0: 0000000072c04000 l1: 000001fb8d9fe000 l2: 0000000072c04000 l3: 
000001fb8d9fe
000
l4: 000001fb8d9fe000 l5: e000000000000f8a l6: a000000000000f8a l7: 
c000000000000
f8a
i0: 0000000072c02000 i1: 0000000072c02000 i2: fffff80005630000 i3: 
0000000072c02
000
i4: 80000000000006b0 i5: fffff800019a000c i6: fffff80000a9f361 i7: 
000000000053b
7e4
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  81
cfe008  01000000  30680005
---- eof ----


-- 
      //Aho

  ------------------------------------------------------------------------
   E-Mail: trizt@iname.com            URL: http://www.kotiaho.net/~trizt/
      ICQ: 13696780
   System: Linux System                        (PPC7447/1000 AMD K7A/2000)
  ------------------------------------------------------------------------
             EU forbids you to send spam without my permission
  ------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Re: Sparc: Kernel 2.6.13 to 2.6.15-rc2 bug when running X11
@ 2005-12-12 10:13 Mark Fortescue
  2005-12-12 10:38 ` J.O. Aho
  0 siblings, 1 reply; 28+ messages in thread
From: Mark Fortescue @ 2005-12-12 10:13 UTC (permalink / raw)
  To: trizt, David S. Miller; +Cc: linux-kernel, sparclinux

Hi Aho and David,

I have been having a number of sparc-linux kernel build problems with both
gcc-3.4.x and gcc-4.0.x so I would be interested to know what versions of
gcc you are using.

I am cross compiling as my Sparc1's are not up to building large amounts of
code so I may have additional 'bugs' in gcc to muddy the issue.

My gcc-3.4.4 has an issue with '%llu' in printk statements. After changing
the offending printk '%llu' to '%lu' versions I end up with a system that
appears to boot OK.
Providing you are patient, I can compile/run simple programs but there is
something fishy in the memory handling code that results in intermittent
memory faults. This may be a Bash or libc issue but I have not looked into
this. (gcc-3.4.2 and gcc-3.4.3 have the same problem with the %llu printk
statements.)

My gcc-4.0.2 has a different issue. It appears to work find and the
unmodified kernel boots fine. If I try to compile a program on the Sparc1
using a canadian cross compiled gcc/binutils, the linker fails with a Kernel
BUG (see 22 Nov: sun4c problems in radix_tree_gang_lookup_tag in
sparclinux@vger.kernel.org) in the radix-tree code. The same gcc/binutils
works without any kernel BUGs if I use the gcc-3.4.4 compiled kernel but
with everything ell compiled using gcc-4.0.2/binutils 2.16.1.

The affected kernels that I have tested ate 2.6.13.4, 2.6.14.2, 2.6.14.3 and
2.6.15-rc4.

Note: I am using an NFS root as the UFS filing system code is not write safe
on SUNOS 4.1 BSD UFS 4.2 partitions. My efforts to investigate/fix the UFS
filing system issues on my x86 system locked the system up, requiring a
power-up reset so for the moment, I have to live with the NFS root.

Regards
	Mark Fortescue.



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2006-02-01 13:16 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-06  2:04 Sparc: Kernel 2.6.13 to 2.6.15-rc2 bug when running X11 J.O. Aho
2005-12-06  2:17 ` David S. Miller
2005-12-06 16:10   ` J.O. Aho
2005-12-06 23:23     ` David S. Miller
2005-12-07 11:05       ` J.O. Aho
2005-12-07 14:07         ` Ben Collins
2005-12-07 15:42           ` J.O. Aho
2005-12-07 20:34         ` David S. Miller
2005-12-07 21:22           ` J.O. Aho
2005-12-07 21:32             ` David S. Miller
2005-12-09 12:07               ` J.O. Aho
2005-12-10 22:25               ` J.O. Aho
2005-12-10 22:35                 ` David S. Miller
2005-12-10 22:52                   ` J.O. Aho
2005-12-10 23:00                     ` David S. Miller
2005-12-10 23:22                       ` J.O. Aho
2005-12-12  5:07                         ` David S. Miller
2005-12-12  8:26                           ` J.O. Aho
2005-12-12 16:28                           ` J.O. Aho
2006-02-01 13:15                           ` J.O. Aho
2005-12-12 10:13 Mark Fortescue
2005-12-12 10:38 ` J.O. Aho
2005-12-12 22:26   ` David S. Miller
2005-12-18 22:03     ` J.O. Aho
2005-12-18 23:10       ` David S. Miller
2006-01-03 14:01     ` J.O. Aho
2006-01-03 20:18       ` David S. Miller
2006-01-03 21:15         ` J.O. Aho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®