[mach64] xorg crashes on sparc64 with Rage XL

Bug #99221 reported by Sebastian Meisner
8
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: xorg

Hi!

I managed to install Ubuntu Feisty Fawn Beta on a Sun Blade 100. It has an UltraSparc IIe CPU (a 64 bit machine), 256 RAM and an on-board Ati Rage XL.

The base system is running fine, but Xorg does not function:

The X Server aborts with the following error, using the "ati" driver in xorg.conf

Fatal server error:
xf86MapPciMem: Could not mmap PCI memory [base=0x426000,hostbase=0x426000,size=2000] (inappropriate ioctl for device)

And dmesg outputs the following:
ioctl32(Xorg:4060): Unknown cmd fd(6) cmd(40584606){00} arg{ff93187c) on /dev/fb0
ioctl32(Xorg:4060): Unknown cmd fd(6) cmd(40184606){00} arg{ff931884) on /dev/fb0

Other drivers, like "vesa" or "vga" output other error messages, but don't work either.

My packages are all up-to-date:
Xorg 7.2-0ubuntu10
linux-image-2.6.20-13-sparc64
xserver-xorg-video-ati 6.6.3-2ubuntu4

Can someone help , please?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I'm not sure if that hardware should be supported or not, but please attach /var/log/Xorg.0.log and /etc/X11/xorg.conf

Changed in xorg:
status: Unconfirmed → Needs Info
Revision history for this message
Sebastian Meisner (the-b) wrote :
Download full text (27.4 KiB)

Hi!

Here is, what "startx" tells me an the command line:

##############################################################################
hostname: Unknown host
xauth: creating new authority file /root/.serverauth.4784

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux sunblade100 2.6.20-13-sparc64 #2 Sat Mar 24 23:46:44 UTC 2007 sparc64
Build Date: 04 April 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 17 19:02:15 2007
(==) Using config file: "/etc/X11/xorg.conf"

Fatal server error:
xf86MapPciMem: Could not mmap PCI memory [base=0x426000,hostbase=0x426000,size=2000] (Inappropriate ioctl for device)

XIO: fatal IO error 54 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
##############################################################################

Here are the last lines of my Xorg.0.log:
##############################################################################
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux sunblade100 2.6.20-13-sparc64 #2 Sat Mar 24 23:46:44 UTC 2007 sparc64
Build Date: 04 April 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 17 19:02:15 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "-e ATI Technologies 3D Rage Pro or similar (ATY,RageXL)"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "stylus"
(**) |-->Input Device "cursor"
(**) |-->Input Device "eraser"
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
        Entry deleted from font path.
(**) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
        /usr/share/fonts/X11/misc,
        /usr/X11R6/lib/X11/fonts/misc,
        /usr/share/fonts/X11/cyrillic,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/X11R6/lib/...

Revision history for this message
Chris Clonch (cacack) wrote :

Timo: Any update regarding support for Sunblades?

I have a Sunblade 150 (same base hardware as the 100's) and am having the same problem. I have Gentoo successfully running xorg-7.1.1 with ati drivers and 2.6.20 kernel. However on Gentoo, the ati framebuffer is know to cause heartburn with < 2.6.20-gentoo-r4 kernels and Xorg so the vga framebuffer is used instead. 2.6.20-gentoo-r4 is suppose to allow this again. Not sure if this is a gentoo patch to vanilla or not.

This might be related: http://www.skynet.ie/~ivan/install_ubuntu_on_ultra10.html#Running%20X%20on%20a%20Creator3D%20card. I will try it out and report back results.

-Chris

Revision history for this message
Chris Clonch (cacack) wrote :

Hmm, might have misspoke. No framebuffer is used on my boxes running gentoo. Not sure were I pulled up that atyfb interferes with xorg drivers but atyfb was known to cause problems for some (maybe unrelated to xorg).

However, there is a gentoo bug for this same mmap error with xorg-server 1.2.0: http://bugs.gentoo.org/show_bug.cgi?id=167052. My gentoo boxes are running xorg-server 1.1.1 and my ubuntu box is running 1.2.0.

In any event, adding "video=atyfb:off" caused the system to lock at "Booting Linux..." right after loading the initrd. The md5 of the current /usr/bin/Xorg binary is different from either of the two listed on the web page so I'm not replacing it with the debian one mentioned.

Revision history for this message
Nanley Chery (nanoman) wrote : Re: [rage xl] xorg crashes on sparc64 with ati driver

Does this still happen in Feisty final?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-ati (Ubuntu) because there has been no activity for 60 days.]

Revision history for this message
Chris Clonch (cacack) wrote :

Reopened as this bug still effects xorg in 7.04 on Sunblade 100/150's.

Changed in xserver-xorg-video-ati:
status: Invalid → Confirmed
Revision history for this message
Chris Clonch (cacack) wrote :

Nanley Chery: Yes. I downloaded a fresh copy of 7.04 from the mirrors. The installation reported it as 20070415 build.

I'll attach my Xorg.0.log, xorg.conf, and lspci output. The only modifications I've made to the default xorg.conf is to comment out the glx module and add the reference_clock adapter options. This is needed in my working 6.06 installations. The glx module causes xorg to crash when anything runs using gl, like screensavers (another bug probably but not critical to my business use).

Gentoo bug http://bugs.gentoo.org/show_bug.cgi?id=167052 has a patch, but I haven't tried it.

-Chris

Revision history for this message
Chris Clonch (cacack) wrote :
Revision history for this message
Chris Clonch (cacack) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I guess these issues should be fixed when pci-rework is done upstream. That should be in xorg-server 1.5, scheduled for March 2008.

Changed in xserver-xorg-video-ati:
importance: Undecided → Low
Revision history for this message
Chris Clonch (cacack) wrote :

So the bug appears to be caused by the use of sysfs on these boxes and _should_ be fixed in gutsy if I am reading everything correctly. The debian bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422077) has the patch applied to xorg-server 2:1.3.0.0.dfsg-5 and it appears that gutsy is using 2:1.3.0.0.dfsg-12ubuntu6. I take it as such given 12 is bigger than 5. If I can quickly figure out how to download source packages, apply the patch and recompile 1.2.0 then I can try out the patch for feisty.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in xserver-xorg-video-ati:
status: Confirmed → Incomplete
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in xserver-xorg-video-ati:
status: Incomplete → Invalid
Revision history for this message
Przemek K. (azrael) wrote :

I think I had the same bug on Debian Lenny.
I solved it by adding Option "ReferenceClock" "29.500MHz" to the device section in xorg.conf.
See link on UF: http://ubuntuforums.org/archive/index.php/t-430611.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.