Bug 18732 - MSI don't work on AsRock 4coredual-Sata2 R2.0
Summary: MSI don't work on AsRock 4coredual-Sata2 R2.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_pci@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-18 12:06 UTC by Rafael Gandolfi
Modified: 2012-08-13 16:37 UTC (History)
7 users (show)

See Also:
Kernel Version: 2.6.36
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg without pci=nomsi (74.70 KB, text/plain)
2010-09-18 12:06 UTC, Rafael Gandolfi
Details
lspci -vnn without pci=nomsi (7.51 KB, application/octet-stream)
2010-09-18 12:07 UTC, Rafael Gandolfi
Details
proc/interrupts without pci=nomsi (1.62 KB, text/plain)
2010-09-18 12:08 UTC, Rafael Gandolfi
Details
Xorg log without pci=nomsi (54.05 KB, text/x-log)
2010-09-18 12:08 UTC, Rafael Gandolfi
Details
dmesg without pci=nomsi (49.24 KB, application/octet-stream)
2010-09-18 12:09 UTC, Rafael Gandolfi
Details
dmesg with pci=nomsi (49.24 KB, application/octet-stream)
2010-09-18 12:09 UTC, Rafael Gandolfi
Details
lspci -vnn with pci=nomsi (7.51 KB, application/octet-stream)
2010-09-18 12:10 UTC, Rafael Gandolfi
Details
proc/interrupts with pci=nomsi (1.56 KB, application/octet-stream)
2010-09-18 12:11 UTC, Rafael Gandolfi
Details
Xorg.0.log with pci=nomsi (60.44 KB, application/octet-stream)
2010-09-18 12:11 UTC, Rafael Gandolfi
Details

Description Rafael Gandolfi 2010-09-18 12:06:46 UTC
Created attachment 30512 [details]
dmesg without pci=nomsi

1/ Without compiz X starts correctly, but trying to activate compiz give windows lags every 3 seconds and it is not usable.

2/ Using the latest git code for radeon make glxgears a black screen and compiz activation give nothing but blackscreen and cursor with kernel 2.6.35 and 2.6.36. Workaround is using 2.6.34 kernel or passing the vblank_mode=0 environnement parameter.
This not appends with ubuntu 10.04 stocks package.

If I disable Radeon KMS in the kernel, everything works
fine. 
With KMS everythings works normally with pci=nomsi parameter: I was tell need of pci=nomsi is significant of a kernel bug, I was thinking it as a bios or chipset issue.

From git drm-radeon-testing, compiled the 17 Sept.2010
kernel-2.6.36-rc3
From ppa xorg-edgers:ddx,mesa,libdrm (but same issue with compiled from git 17 Sept. 2010)

Graphic card: ATI HD4700, rv740
Motherboard: 4coredual-sata2-R2.0
Comment 1 Rafael Gandolfi 2010-09-18 12:07:51 UTC
Created attachment 30522 [details]
lspci -vnn without pci=nomsi
Comment 2 Rafael Gandolfi 2010-09-18 12:08:24 UTC
Created attachment 30532 [details]
proc/interrupts without pci=nomsi
Comment 3 Rafael Gandolfi 2010-09-18 12:08:48 UTC
Created attachment 30542 [details]
Xorg log without pci=nomsi
Comment 4 Rafael Gandolfi 2010-09-18 12:09:12 UTC
Created attachment 30552 [details]
dmesg without pci=nomsi
Comment 5 Rafael Gandolfi 2010-09-18 12:09:53 UTC
Created attachment 30562 [details]
dmesg with pci=nomsi
Comment 6 Rafael Gandolfi 2010-09-18 12:10:48 UTC
Created attachment 30572 [details]
lspci -vnn with pci=nomsi
Comment 7 Rafael Gandolfi 2010-09-18 12:11:23 UTC
Created attachment 30582 [details]
proc/interrupts with pci=nomsi
Comment 8 Rafael Gandolfi 2010-09-18 12:11:58 UTC
Created attachment 30592 [details]
Xorg.0.log with pci=nomsi
Comment 9 Jérôme Glisse 2010-09-20 17:53:54 UTC
Can you post dmesg without pci=nomsi option please
Comment 10 Jérôme Glisse 2010-09-20 17:56:26 UTC
Nevermind
Comment 11 Rafael Gandolfi 2010-09-24 02:43:39 UTC
Re-reading me I see it's a little ambigious, the workaround vblank_mode=0 doesn't solve the problem 1/
And with pci=nomsi, vblank_mode=0 is no more needed even with 2.6.35 and 2.6.36.
Rafael.
Comment 12 Rafael J. Wysocki 2010-09-24 19:51:38 UTC
What's your motherboard chipset?  Is it NVidia by chance?
Comment 13 Rafael Gandolfi 2010-09-24 20:13:35 UTC
The motherboard chipset is VIA.

Motherboard: 4coredual-Sata2 R2.0
Northbridge: VIA PT880 / PT880 Ultra
Southbridge: VIA VT8237S
Comment 14 Alex Deucher 2010-09-27 15:22:21 UTC
Seems like your motherboard chipset doesn't support MSIs properly.  Do any other devices on your system have problems with MSIs?  I notice a lot of hda-intel spam for example.
Comment 15 Alex Deucher 2010-09-27 15:26:19 UTC
Is this actually a regression?  If so what was the last working version?  Note that UMS and KMS are different drivers and UMS does not support interrupts at all on your asic and KMS supported MSIs before your asic got interrupt support at all.
Comment 16 Rafael Gandolfi 2010-09-27 15:53:36 UTC
Yes, there is a sound problem, since forever with this card: but I 'kind' of solve it through the "single_command" mode in  ( mode use only in debug normally), so no more spurious response. This is this bug:
https://bugzilla.kernel.org/show_bug.cgi?id=18512
I don't think it is related to MSI, cause using pci=nomsi or the module option enable_msi=0 with snd-hda-intel do nothing.

The fact that vblank_mode make the desktop appear since 2.6.35 (but not solving the real problem -lagging window, intermittent screen freeze-) ... I thought it was wise to indicate it but  I feel more like it is a side effect of the real problem which occurs with all kernel I've tested since 2.6.32.
Comment 17 Rafael J. Wysocki 2010-09-27 19:31:29 UTC
Dropping from the list of recent regressions.

It's possible that the motherboard requires a PCI quirk for MSI to work correctly.
Please use the pci=nomsi workaround for now, unless you still have problems with it.
Comment 18 Rafael Gandolfi 2010-10-03 06:59:38 UTC
Ok stuck with pci=nomsi, no problem so far.

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