Bug 440644 - X fails to start "Emulator asked to make a suspect word access to port 0 (0x0000); terminating. "
Summary: X fails to start "Emulator asked to make a suspect word access to port 0 (0x0...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 8
Hardware: i686
OS: Linux
low
high
Target Milestone: ---
Assignee: Dave Airlie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-04 11:47 UTC by Bill Crawford
Modified: 2009-01-09 07:46 UTC (History)
2 users (show)

Fixed In Version: 2.6.25.4-30.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-09 07:46:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
output of lspci -v (6.27 KB, text/plain)
2008-04-04 11:47 UTC, Bill Crawford
no flags Details
Log of failed attempt to start X (2.05 KB, text/plain)
2008-04-04 11:49 UTC, Bill Crawford
no flags Details
Log of successful attempt to start X (plus noise :o)) (6.32 KB, text/plain)
2008-04-04 11:49 UTC, Bill Crawford
no flags Details
/var/log/messages output from failed session (33.62 KB, text/plain)
2008-04-04 11:54 UTC, Bill Crawford
no flags Details
/var/log/messages output from successful session (33.91 KB, text/plain)
2008-04-04 11:54 UTC, Bill Crawford
no flags Details
lspci -v from kernel 2.6.24.4-64.fc8 (6.32 KB, text/plain)
2008-04-08 16:05 UTC, Bill Crawford
no flags Details
lspci -vv from kernel 2.6.24.4-64.fc8 (11.96 KB, text/plain)
2008-04-08 16:06 UTC, Bill Crawford
no flags Details
lspci -x from kernel 2.6.24.4-64.fc8 (4.96 KB, text/plain)
2008-04-08 16:06 UTC, Bill Crawford
no flags Details
lspci -v from kernel 2.6.24.3-50.fc8 (6.48 KB, text/plain)
2008-04-08 17:52 UTC, Bill Crawford
no flags Details
lspci -vv from kernel 2.6.24.3-50.fc8 (12.15 KB, text/plain)
2008-04-08 17:53 UTC, Bill Crawford
no flags Details
lspci -x from kernel 2.6.24.3-50.fc8 (4.96 KB, text/plain)
2008-04-08 17:53 UTC, Bill Crawford
no flags Details

Description Bill Crawford 2008-04-04 11:47:46 UTC
Description of problem:
X fails to start, apparently while POSTing the two PCI video cards (radeon).

Version-Release number of selected component (if applicable):
2.6.24.4-64.fc8

How reproducible:
Boot recent kernel update. Try to start X.

Steps to Reproduce:
1. Boot
2. Log in at console
3. mv X.log X.log.old ; exec startx -- -config xorg.conf.xaa -dpi 86 >X.log 
2>&1
  
Actual results:
Emulator asked to make a suspect word access to port 0 (0x0000); terminating.

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x81) [0x80c2f91]
1: [0x11e420]
2: [0x11e402]
3: /lib/libc.so.6(kill+0x16) [0xbf5ac6]
4: /usr/lib/xorg/modules//libint10.so [0x2b4441]
5: /usr/lib/xorg/modules//libint10.so(x_inw+0x8d) [0x2b486d]
6: /usr/lib/xorg/modules//libint10.so [0x2bb51e]
7: /usr/lib/xorg/modules//libint10.so(X86EMU_exec+0xa3) [0x2c9de3]
8: /usr/lib/xorg/modules//libint10.so(xf86ExecX86int10+0x55) [0x2b6315]
9: /usr/lib/xorg/modules//libint10.so(xf86ExtendedInitInt10+0x3d4) [0x2b7004]
10: /usr/lib/xorg/modules//libint10.so(xf86InitInt10+0x25) [0x2b4145]
11: /usr/lib/xorg/modules/drivers//radeon_drv.so(RADEONPreInit+0x9f1) 
[0x244fc1]
12: /usr/bin/X(InitOutput+0x9a8) [0x80a3348]
13: /usr/bin/X(main+0x27b) [0x807032b]
14: /lib/libc.so.6(__libc_start_main+0xe0) [0xbe2390]
15: /usr/bin/X(FontFileCompleteXLFD+0x1f1) [0x806f831]

Fatal server error:
Caught signal 11.  Server aborting

Expected results:
(II) Module already built-in
(II) Module already built-in
NTSC PAL 
finished output detect: 0
finished output detect: 1
finished output detect: 2
finished all detect
... etc

Additional info:
Have verified this is specific to new kernel by booting into previous kernel. 
Problem only occurs with 2.6.24.4-64.fc8. Not that this actually proves 
anything, I understand ...

Comment 1 Bill Crawford 2008-04-04 11:47:46 UTC
Created attachment 300410 [details]
output of lspci -v

Comment 2 Bill Crawford 2008-04-04 11:49:06 UTC
Created attachment 300411 [details]
Log of failed attempt to start X

Comment 3 Bill Crawford 2008-04-04 11:49:40 UTC
Created attachment 300412 [details]
Log of successful attempt to start X (plus noise :o))

Comment 4 Bill Crawford 2008-04-04 11:54:05 UTC
Created attachment 300413 [details]
/var/log/messages output from failed session

I've clipped out the part from the previous boot where X failed to start; I
can't actually see anything that might be relevant, but I'd rather include it
and have it be useful than vice versa ...

Comment 5 Bill Crawford 2008-04-04 11:54:53 UTC
Created attachment 300414 [details]
/var/log/messages output from successful session

Comment 6 Chuck Ebbert 2008-04-07 23:52:14 UTC
Can you post the output of lspci -v from the other kernel? (And which one was
that from in comment #1?)

Comment 7 Bill Crawford 2008-04-08 09:41:13 UTC
I believe the one in comment #1 is from the current kernel (because I had to
reboot to start X to log into Bugzilla, etc ... :o)).

I will try to remember to post the other later, but I have to use this machine
for work, alas.


Comment 8 Bill Crawford 2008-04-08 16:05:44 UTC
Created attachment 301651 [details]
lspci -v from kernel 2.6.24.4-64.fc8

Comment 9 Bill Crawford 2008-04-08 16:06:11 UTC
Created attachment 301652 [details]
lspci -vv from kernel 2.6.24.4-64.fc8

Comment 10 Bill Crawford 2008-04-08 16:06:37 UTC
Created attachment 301653 [details]
lspci -x from kernel 2.6.24.4-64.fc8

Comment 11 Bill Crawford 2008-04-08 16:13:13 UTC
The most useful piece of info might actually be this.

The working kernel + Xorg combination logs as follows:

        compiled for 1.3.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 1.2
(II) RADEON(0): initializing int10
(II) Attempted to read BIOS 128KB from /sys/bus/pci/devices/0000:00:0a.0/rom: 
got 52KB
(--) RADEON(0): Chipset: "ATI Radeon 9250 5960 (AGP)" (ChipID = 0x5960)
(--) RADEON(0): Linear framebuffer at 0x00000000d8000000
(II) RADEON(0): PCI card detected
(II) RADEON(0): Legacy BIOS detected
drmOpenDevice: node name is /dev/dri/card0
...

The failed one just goes straight to the traceback as noted in the bug:

        compiled for 1.3.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 1.2
(II) RADEON(0): initializing int10
Emulator asked to make a suspect word access to port 0 (0x0000); terminating.

Backtrace:
0: Xorg(xf86SigHandler+0x81) [0x80c2f91]
...

So it looks like the failure is even before attempting to read the VBIOS.


Comment 12 Bill Crawford 2008-04-08 17:52:32 UTC
Created attachment 301666 [details]
lspci -v from kernel 2.6.24.3-50.fc8

Comment 13 Bill Crawford 2008-04-08 17:53:06 UTC
Created attachment 301667 [details]
lspci -vv from kernel 2.6.24.3-50.fc8

Comment 14 Bill Crawford 2008-04-08 17:53:50 UTC
Created attachment 301668 [details]
lspci -x from kernel 2.6.24.3-50.fc8

Comment 15 Bill Crawford 2008-04-08 17:56:13 UTC
Last three are from a root xterm in the X session, so probably not too useful 
for comparison. Will try to capture after fresh reboot tomorrow or so if that 
would be more help.

Comment 16 Bill Crawford 2008-04-09 00:13:37 UTC
Silly question, but is there anything else I can do to help debug this?

Comment 17 Chuck Ebbert 2008-04-10 18:56:01 UTC
Ajax, could this be caused by not mapping the ROM of non-boot adapters? That
change was backported from the 2.6.25 kernel:

commit 9f8daccaa05c14e5643bdd4faf5aed9cc8e6f11e
PCI: remove default PCI expansion ROM memory allocation 

2.6.24.4-50:
00:0a.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200
PRO] 	Region 2: Memory at eb110000 (32-bit, non-prefetchable) [size=64K]

2.6.24.4-64:
00:0a.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO]
(rev 01) (prog-if 00 [VGA controller])
	Region 2: Memory at eb110000 (32-bit, non-prefetchable) [disabled] [size=64K]


Comment 18 Chuck Ebbert 2008-04-10 18:57:17 UTC
Adding "pci=rom" to the kernel boot options should enable the ROM.

Comment 19 Bill Crawford 2008-04-10 20:26:03 UTC
Can pciaccess be made to enable the rom before trying to read it? Or is the
disabling "permanent"?

Comment 20 Bill Crawford 2008-04-18 09:06:20 UTC
Finally rebooted yesterday; yes the pci=rom workaround fixes things for me. Is 
this likely to remain necessary? One of my colleagues has been bitten by this 
this morning (on Debian Etch) ... granted we're on cheap hardware, but it's 
not exactly uncommon (Acer Aspire, various models).


Comment 21 Chuck Ebbert 2008-04-18 18:39:14 UTC
We can revert the backport for Fedora 8, but Fedora 9 gets this change directly
from kernel 2.6.25. Is this going to cause a problem in Fedora 9 too?

Comment 22 Bill Crawford 2008-04-18 21:04:51 UTC
Honestly, I can't tell without testing rawhide on my system at work, which I
don't dare do at the moment ... rawhide is working pretty well here at home,
but that only has one card, and it's therefore the "primary" anyway.

I suppose I'm just surprised this change was made defaulting to "on" ...

If I get a chance I'll try installing the rawhide X server. It might behave
differently. Can the roms be enabled by the X server when needed? ISTR at one
point there was actually code to enable rom mapping via sysfs before reading
them?

Comment 23 Bill Crawford 2008-04-18 21:14:39 UTC
I'll rephrase that: this is definitely a problem in F8, please ask the X team
if it's likely to be an issue for F9 onwards.

Comment 24 Chuck Ebbert 2008-05-20 07:14:13 UTC
This change was reverted in 2.6.26, so reverting in the F9 2.6.25 kernel. F8
will get this kernel very soon...

Comment 25 Bill Crawford 2008-05-20 09:50:01 UTC
OK, please close as CURRENTRELEASE when we do ;o) in the meantime the workaround
is in my grub.conf (and I don't reboot that often anyway).


Comment 26 Fedora Update System 2008-05-22 15:33:11 UTC
kernel-2.6.25.4-30.fc9 has been submitted as an update for Fedora 9

Comment 27 Fedora Update System 2008-05-29 02:51:11 UTC
kernel-2.6.25.4-30.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update kernel'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-4630

Comment 28 Bill Crawford 2008-05-29 14:31:45 UTC
Hi, there's a f9 update in bodhi which mentions this bug 
(https://admin.fedoraproject.org/updates/F9/FEDORA-2008-4630) but the latest 
f8 update (https://admin.fedoraproject.org/updates/F8/FEDORA-2008-4484) 
doesn't mention it. Is this an oversight (i.e. should I go ahead and grab it 
and try it)?


Comment 29 Fedora Update System 2008-06-06 07:44:11 UTC
kernel-2.6.25.4-30.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 30 Bill Crawford 2008-06-06 23:31:49 UTC
Erm, guys? This was reported against F8 ;o)

Comment 31 Bug Zapper 2008-11-26 10:24:09 UTC
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 32 Bug Zapper 2009-01-09 07:46:08 UTC
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.