← Back to team overview

registry team mailing list archive

[Bug 56427] Re: Fatal crash on X startup on Ultra 10

 

Launchpad has imported 6 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=8020.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2006-08-26T22:21:41+00:00 DaveM wrote:

The code in hw/xfree86/os-support/bus/sparcPci.c:simbaCheckBus()
is trying to mimmick VGA routing by disabling I/O space responses
behind the Simba PCI-PCI controller.

Unfortunately, doing this also happens to disable access to the
IDE controller I/O space registers, thus crashing the system.  The
granularity of the I/O disabling in the Simba controller is not
fine enough to disable VGA without also disabling the IDE controller
registers.

What usually happens is that the SIMBA code disables the I/O range,
and the first module to get loaded afterwards which isn't already in
system ram goes out to disk which hangs.  We get no console
messages because the console has been put into framebuffer mode
by the X server already.

This took a painfully long time to track down and debug.

In my opinion this Simba code should be just removed outright.
It cannot work properly without also disabling access to critical
system devices, such as the IDE controller.

The code tries to disable I/O space by clearing the lowest
bit of the APB_IO_ADDRESS_MAP register.  The effect of this
is to disable the first 2MB of I/O space behind that bridge,
and it's extremely likely that other critical devices will be
sitting in that region, and thus be disabled too.

Bit 0 of this register controls I/O space in the range
0 --> ((1 << 21) - 1), bit 1 controls I/O space in the
range (1 << 21) --> ((2 << 21) - 1), etc.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/56427/comments/1

------------------------------------------------------------------------
On 2006-10-11T05:07:01+00:00 Frans Pop wrote:

I can confirm this bug.   
   
I have also experienced severe data loss from this bug as on two separate   
occasions the partition table on a IDE harddisk (first time hda, second time   
hdc) had disappeared!   
   
After the first time I reinstalled the system on hda and the disk showed no   
problems during or after the install. I have yet to resurrect hdc.   
   
It would be great if this issue could be given a bit more attention than it  
seems to have been given so far.  
  
I have checked and my system (a Sparc Ultra 10) does have the SIMBA Advanced  
PCI Bridge.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/56427/comments/2

------------------------------------------------------------------------
On 2006-11-07T23:38:19+00:00 Jurij Smakov wrote:

As David pointed out, the code in question is very problematic with practically
no added benefit, and can occasionally lead to serious data loss. We have
disabled this code in Debian's X.org packages by applying the patch which I will
attach to the report; nobody has complained so far. I'm taking the liberty to
bump the severity of this bug a notch, in the hope that somebody will care
enough to apply it (or propose an alternative solution). 

--
Jurij Smakov
Debian SPARC port maintainer

Reply at: https://bugs.launchpad.net/xorg-server/+bug/56427/comments/3

------------------------------------------------------------------------
On 2006-11-07T23:39:43+00:00 Jurij Smakov wrote:

Created an attachment (id=7701)
Patch to disable Simba PCI bridge routing code

Reply at: https://bugs.launchpad.net/xorg-server/+bug/56427/comments/4

------------------------------------------------------------------------
On 2007-02-27T01:33:21+00:00 Daniel Stone wrote:

Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA
contact so bugs don't get lost in future.

Reply at: https://bugs.launchpad.net/xorg-server/+bug/56427/comments/7

------------------------------------------------------------------------
On 2007-05-10T06:26:42+00:00 Mhopf-suse wrote:

Committed. git ebaa6c920c82401952a0ccc991b94574306449bd

Reply at: https://bugs.launchpad.net/xorg-server/+bug/56427/comments/10


** Changed in: xorg-server
   Importance: Unknown => High

-- 
Fatal crash on X startup on Ultra 10
https://bugs.launchpad.net/bugs/56427
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.