Bug 7589

Summary: MSI broken on ASUS A8V-VM
Product: Platform Specific/Hardware Reporter: Fabio Erculiani (lxnay)
Component: i386Assignee: platform_i386
Status: RESOLVED INSUFFICIENT_DATA    
Severity: blocking CC: a.f.8, akpm, alan, andi-bz, bunk, cw, ebiederm, htejun, protasnb, simon, svtdragon, tj, webkid
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.24 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: dmesg
kernel configuration
don't power down on deinit.
new dmesg after applying deinit patch
much more complete dmesg w/ patch applied.
CLO-before-hardreset
dmesg from 2.6.18.3 (working kernel)
debug patch
lspci -vxxx executed on gentoo-sources-2.6.18-r4 (2.6.18.3)
dmesg from 2.6.19 w/pci=nomsi
My git bisect log
Asus A8V-XE System hwinfo --all
Asus A8V-XE System boot.msg

Description Fabio Erculiani 2006-11-28 16:30:58 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.18.3
Distribution: Gentoo Linux
Hardware Environment:
- ASUS A8V-VM

00:00.0 Host bridge: VIA Technologies, Inc. Unknown device 0336
        Flags: bus master, medium devsel, latency 8
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [80] AGP version 3.0
        Capabilities: [50] Power Management version 2
        Capabilities: [60] HyperTransport: Slave or Primary Interface
        Capabilities: [58] #00 [0000]

00:00.1 Host bridge: VIA Technologies, Inc. Unknown device 1336
        Flags: bus master, medium devsel, latency 0

00:00.2 Host bridge: VIA Technologies, Inc. Unknown device 2336
        Flags: bus master, medium devsel, latency 0

00:00.3 Host bridge: VIA Technologies, Inc. Unknown device 3336
        Flags: bus master, medium devsel, latency 0

00:00.4 Host bridge: VIA Technologies, Inc. Unknown device 4336
        Flags: bus master, medium devsel, latency 0

00:00.5 PIC: VIA Technologies, Inc. Unknown device 5336 (prog-if 20 
[IO(X)-APIC])
        Flags: bus master, fast devsel, latency 0

00:00.6 Host bridge: VIA Technologies, Inc. Unknown device 6290
        Subsystem: Unknown device 0008:0000
        Flags: bus master, medium devsel, latency 0

00:00.7 Host bridge: VIA Technologies, Inc. Unknown device 7336
        Flags: bus master, medium devsel, latency 0

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 
South] (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Capabilities: [70] Power Management version 2

00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller 
(prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: daf00000-dfffffff
        Prefetchable memory behind bridge: 00000000c0000000-00000000cff00000
        Capabilities: [40] Express Root Port (Slot+) IRQ 0
        Capabilities: [68] Power Management version 2
        Capabilities: [70] Message Signalled Interrupts: 64bit+ Queue=0/0 
Enable-
        Capabilities: [dc] HyperTransport: MSI Mapping

00:0f.0 IDE interface: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port 
Controller (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: bus master, medium devsel, latency 192, IRQ 17
        I/O ports at d800 [size=8]
        I/O ports at d400 [size=4]
        I/O ports at d000 [size=8]
        I/O ports at c800 [size=4]
        I/O ports at c400 [size=16]
        Memory at daeffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [c0] Power Management version 2
        Capabilities: [e0] Message Signalled Interrupts: 64bit- Queue=0/0 
Enable-

00:0f.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07) (prog-if 8a 
[Master SecP PriP])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: bus master, medium devsel, latency 32
        I/O ports at fc00 [size=16]
        Capabilities: [c0] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 90) (prog-if 00 [UHCI])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: bus master, medium devsel, latency 192, IRQ 19
        I/O ports at c000 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 90) (prog-if 00 [UHCI])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: bus master, medium devsel, latency 192, IRQ 18
        I/O ports at b800 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 90) (prog-if 00 [UHCI])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: bus master, medium devsel, latency 192, IRQ 17
        I/O ports at b400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 90) (prog-if 00 [UHCI])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: bus master, medium devsel, latency 192, IRQ 20
        I/O ports at b000 [size=32]
        Capabilities: [80] Power Management version 2

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90) (prog-if 20 
[EHCI])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: bus master, medium devsel, latency 192, IRQ 18
        Memory at daeff800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
        Capabilities: [88] Debug port

00:11.0 ISA bridge: VIA Technologies, Inc. VT8251 PCI to ISA Bridge
        Subsystem: ASUSTeK Computer Inc. Unknown device 81b5
        Flags: medium devsel
        Capabilities: [c0] Power Management version 2

00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
        Subsystem: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
        Flags: bus master, medium devsel, latency 128
        Capabilities: [58] HyperTransport: Interrupt Discovery and 
Configuration

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
        Subsystem: ASUSTeK Computer Inc. Unknown device 80ed
        Flags: bus master, medium devsel, latency 192, IRQ 20
        I/O ports at a800 [size=256]
        Memory at daeff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2

00:13.0 PCI bridge: VIA Technologies, Inc. VT8251 PCI to PCIE Bridge (prog-if 
00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0

00:13.1 PCI bridge: VIA Technologies, Inc. VT8251 PCI to PCI Bridge (prog-if 01 
[Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 0000e000-0000efff

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
        Flags: fast devsel
        Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address 
Map
        Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM 
Controller
        Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
        Flags: fast devsel

02:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 PCIe] 
(rev a2) (prog-if 00 [VGA])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81dc
        Flags: bus master, fast devsel, latency 0, IRQ 21
        Memory at dc000000 (32-bit, non-prefetchable) [size=64M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at db000000 (64-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at dafe0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 
Enable-
        Capabilities: [78] Express Endpoint IRQ 0

05:09.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value
        Subsystem: Creative Labs Unknown device 1021
        Flags: bus master, medium devsel, latency 192, IRQ 22
        I/O ports at e800 [size=64]
        Capabilities: [dc] Power Management version 2


Software Environment:

Problem Description: see dmesg & kernel config attached.

My SATA drives are not detected and the system does not boot.
I have two drives that compose a software RAID1 array.
Drives are attached to SATA1 and SATA2 connectors while SATA3 and SATA4 are 
free.
No IDE devices connected apart from a DVD-RW.

I'd like to have this fixed within 2.6.19 stable.
Comment 1 Fabio Erculiani 2006-11-28 16:31:29 UTC
Created attachment 9647 [details]
dmesg
Comment 2 Fabio Erculiani 2006-11-28 16:32:12 UTC
Created attachment 9648 [details]
kernel configuration
Comment 3 Fabio Erculiani 2006-11-28 16:32:48 UTC
system info:
phobos fabio # uname -a
Linux phobos 2.6.18-gentoo-r2 #1 PREEMPT Fri Nov 17 22:14:30 CET 2006 x86_64 
AMD Athlon(tm) 64 Processor 3800+ AuthenticAMD GNU/Linux

(this on a working 2.6.18 kernel)
Comment 4 Tejun Heo 2006-11-28 17:42:17 UTC
dmesg doesn't contain ahci/libata related part.  please post full dmesg.  if you
can't get the rootfs mounted and have access to another machine, the easiest way
would be using netconsole (Documentation/networking/netconsole.txt).
Comment 5 Adrian Bunk 2006-11-28 19:27:08 UTC
It might be enough to use "dmesg -s 1000000" and/or increase
CONFIG_LOG_BUF_SHIFT  instead of using netconsole.
Comment 6 Fabio Erculiani 2006-11-28 23:25:37 UTC
Ok, will do.

But JFYI. it hangs here (for about 5 minutes):

[  324.502125] ata1: port is slow to respond, please be patient (Status 0x80)
[  347.464504] ata1: port failed to respond (30 secs, Status 0x80)
[  347.464506] ata1: softreset failed (device not ready)
[  347.464508] ata1: softreset failed, retrying in 5 secs
[  352.457113] ata1: hard resetting port
[  360.208116] ata1: port is slow to respond, please be patient (Status 0x80)
[  383.170493] ata1: port failed to respond (30 secs, Status 0x80)
[  383.170494] ata1: COMRESET failed (device not ready)
[  383.170498] ata1: hardreset failed, retrying in 5 secs
[  388.163105] ata1: hard resetting port
[  395.914103] ata1: port is slow to respond, please be patient (Status 0x80)
[  418.876495] ata1: port failed to respond (30 secs, Status 0x80)
[  418.876498] ata1: COMRESET failed (device not ready)
[  418.876502] ata1: reset failed, giving up
[  418.876507] ata1: EH complete

and then, devices don't come up.
Comment 7 Tejun Heo 2006-11-28 23:34:17 UTC
Created attachment 9649 [details]
don't power down on deinit.
Comment 8 Tejun Heo 2006-11-28 23:34:43 UTC
Please test the attached patch.
Comment 9 Fabio Erculiani 2006-11-28 23:40:04 UTC
ok will do ASAP during today.
Comment 10 Fabio Erculiani 2006-11-29 08:58:55 UTC
ok, so, I'm attaching the dmesg with the patch "don't power down on deinit" 
applied. No luck. Same behavior.
Devices are not initialized, though there aren't /dev/sda nor /dev/sdb in /dev.

If the dmesg output is not enough, I could try to enable debug and/or change 
CONFIG_LOG_BUF_SHIFT, since I can't use netconsole ATM.
Comment 11 Fabio Erculiani 2006-11-29 09:01:07 UTC
Created attachment 9665 [details]
new dmesg after applying deinit patch
Comment 12 Fabio Erculiani 2006-11-29 09:06:09 UTC
Oh, JFYI, using genkernel and without the root device available (/dev/md0), I 
can use busybox to do common tasks, like saving dmesg output.
Comment 13 Fabio Erculiani 2006-11-29 11:10:59 UTC
Created attachment 9666 [details]
much more complete dmesg w/ patch applied.
Comment 14 Tejun Heo 2006-11-30 05:25:57 UTC
Please try the attached patch.
Comment 15 Tejun Heo 2006-11-30 05:26:45 UTC
Created attachment 9674 [details]
CLO-before-hardreset
Comment 16 Fabio Erculiani 2006-11-30 05:51:16 UTC
I tried 2.6.19 (final). The problem is still there.
Tejun, your patch does not apply against it. I'm trying to find the right piece 
of code where I can copy/paste those lines btw.
Comment 17 Fabio Erculiani 2006-11-30 05:54:36 UTC
I am now trying to recompile the kernel injecting the patch here:

static int ahci_hardreset(struct ata_port *ap, unsigned int *class)
{
        struct ahci_port_priv *pp = ap->private_data;
        u8 *d2h_fis = pp->rx_fis + RX_FIS_D2H_REG;
        struct ata_taskfile tf;
        void __iomem *mmio = ap->host->mmio_base;
        void __iomem *port_mmio = ahci_port_base(mmio, ap->port_no);
        int rc;

        DPRINTK("ENTER\n");

        ahci_stop_engine(port_mmio);

        /* vt8251 needs CLO even before hardreset */
        if (ahci_check_status(ap) & (ATA_BUSY | ATA_DRQ)) {
                rc = ahci_clo(ap);
                /* If CLO fails, whine but continue.  Hardreset is our
                 * final line of defense anyway.
                 */
                if (rc)
                        ata_port_printk(ap, KERN_WARNING, "vt8251_hardreset: "
                                        "CLO failed (%d)\n", rc);
        }


        /* clear D2H reception area to properly wait for D2H FIS */
        ata_tf_init(ap->device, &tf);
        tf.command = 0xff;
        ata_tf_to_fis(&tf, d2h_fis, 0);
[...]
Comment 18 Fabio Erculiani 2006-11-30 06:04:45 UTC
Created attachment 9683 [details]
dmesg from 2.6.18.3 (working kernel)

This is the dmesg output from 2.6.18.3, where all is working fine.
Comment 19 Tejun Heo 2006-11-30 07:10:18 UTC
Ah.. I thought you were testing -mm.  Sorry.  Can you please test
2.6.19-rc6-mm2?  Please test whether the above patch makes any difference.  You
can easily get -mm using ketchup.  (www.selenic.com/ketchup/wiki/)  Just do
'ketchup -G 2.6.19-rc6-mm2.
Comment 20 Fabio Erculiani 2006-11-30 09:45:02 UTC
I'm a gentoo hardcore user, don't worry... installing mm-sources 
2.6.19_rc6-mm2 :)

Will there be any chance to see this (possible) fix "backported" to 2.6.19 
vanilla? maybe 2.6.19.1 ?

I'm going to report the results here in a hour or two.
Comment 21 Fabio Erculiani 2006-11-30 11:40:39 UTC
no, no luck with 2.6.19-rc6-mm2 nor with the patch "CLO-before-hardreset". Same 
dmesg, same behavior.
Could you tell me which debug option I should enable?
Comment 22 Tejun Heo 2006-11-30 22:38:39 UTC
Please try the followings.

* I'm attaching a patch against v2.6.19.  Apply it and see what happens.  Please
report full dmesg whether it works or not.

* If that doesn't work, try usual IRQ options - noapic, pci=noacpi

Thanks.
Comment 23 Tejun Heo 2006-11-30 22:39:12 UTC
Created attachment 9701 [details]
debug patch
Comment 24 Fabio Erculiani 2006-12-03 14:43:54 UTC
Ok here I am,
I applied the patch, but I didn't see any new debug info on dmesg (??).
With the patched kernel, I was able to boot by adding "irqpoll".
I tried to enable/disable APIC from BIOS, same behavior, it boots with irqpoll. 
BUT!: I get dmesg spammed by this error:
[...]
[  149.742116] APIC error on CPU0: 08(08)
[  149.752146] APIC error on CPU0: 08(08)
[  149.760798] APIC error on CPU0: 08(08)
[  149.766876] APIC error on CPU0: 08(08)
[  149.773820] APIC error on CPU0: 08(08)
[  149.774283] APIC error on CPU0: 08(08)
[  149.779399] APIC error on CPU0: 08(08)
[  149.787739] APIC error on CPU0: 08(08)
[  149.792716] APIC error on CPU0: 08(08)
[  149.796779] APIC error on CPU0: 08(08)
[  149.799556] APIC error on CPU0: 08(08)
[  149.799977] APIC error on CPU0: 08(08)
[  149.806430] APIC error on CPU0: 08(08)
[  149.816113] APIC error on CPU0: 08(08)
[  149.819837] APIC error on CPU0: 08(08)
[  149.830782] APIC error on CPU0: 08(08)
[  149.831184] APIC error on CPU0: 08(08)
[  149.831612] APIC error on CPU0: 08(08)
[  149.841141] APIC error on CPU0: 08(08)
[...]

So, as usual, I came back to 2.6.18, that boots fine without any fancy boot 
parameter, without any particular error (see dmesg attached) BUT, if I disable 
APIC from BIOS (never done before), even 2.6.18 does not boot.

So:
2.6.19 without parameters (APIC on/off) = NO BOOT
2.6.19 with irqpoll (APIC on/off) = BOOT, libata works without any problem BUT 
a lot of APIC errors 
2.6.18 without parameters (APIC on) = BOOT
2.6.18 without parameters (APIC off) = NO BOOT 
Comment 25 Tejun Heo 2006-12-03 17:01:12 UTC
If you specify irqpoll, does unpatched 2.6.19 boot properly?
Comment 26 Fabio Erculiani 2006-12-03 22:29:17 UTC
yes, it does. But then, dmesg gets spammed with the APIC errors above and nvidia
driver complains about interrupts:

(EE) NVIDIA(0): The interrupt for NVIDIA graphics device PCI:2:0:0 appears to
(EE) NVIDIA(0):     be edge-triggered.  Please see Chapter 5: Common Problems
(EE) NVIDIA(0):     in the README for additional information.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0):  *** Aborting ***

I know that's not your problem, but I write this JFYI :)

I've got any problem at all with 2.6.18.3 (vanilla). All is working fine with that.
Comment 27 Fabio Erculiani 2006-12-03 22:32:28 UTC
I'd say that I've not any problem at all with 2.6.18.3 ;)
Comment 28 Tejun Heo 2006-12-03 22:44:50 UTC
I don't think it's libata bug.  2.6.18 dmesg has VIA IRQ fixup message while
2.6.19 doesn't.  That might be causing it.  CC'ing Alan Cox.
Comment 29 Fabio Erculiani 2006-12-03 23:52:54 UTC
nice, so we might have found the problem :)
Comment 30 Fabio Erculiani 2006-12-04 00:01:23 UTC
Ok, I might have found the cause:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=09d6029f43ebbe7307854abdae204c25d711ff94

it is written:
" It runs the quirk on all VIA hardware, but *only* if a VIA
southbridge was detected on the system."

and, on 2.6.19 dmesg I have:
[  297.434386] via: Unknown VIA SouthBridge, disabling.

I am now trying to revert that patch and see if it works.
Comment 31 Alan 2006-12-04 04:14:28 UTC
The current -mm tree should have the patch I did based on Daniel Drake's patch
which applies the quirks only in the cases it should matter and doesn't trash
other stuff.

The "Unknown southbridge" message wouldn't come from the PCI quirks. It comes
from the VIA driver if it cannot find your bridge in the list of devices it
knows about. That sounds unrelated but doesn't explain why 2.6.18.3 worked (or
was that a gentoo kernel which is nothing like the default ?)

Attach an lspci -vxxx please. I want to see the pci id/rev of the southbridge in
particular
Comment 32 Fabio Erculiani 2006-12-04 05:13:35 UTC
yes sorry, I am using gentoo-sources-2.6.18-r4:
http://dev.gentoo.org/~dsd/genpatches/patches-2.6.18-4.htm

the only VIA IRQ releated patch is this:
2500_via-irq-quirk-revert.patch	http://bugs.gentoo.org/138036	Revert recent VIA
IRQ quirk change

Anyway, the 2.6.19 releases that I tested were:
- 2.6.19 vanilla
- 2.6.19-rc6-mm2

attaching lspci -vxxx as requested. Alan, should I try 2.6.19 with the VIA IRQ
patch described on #30 reverted?
Comment 33 Fabio Erculiani 2006-12-04 05:16:29 UTC
Created attachment 9732 [details]
lspci -vxxx executed on gentoo-sources-2.6.18-r4 (2.6.18.3)
Comment 34 Alan 2006-12-04 06:03:14 UTC
Ok thats the lspci -vxx explains the non-detection of the PATA ports, but not
the SATA/AHCI problem - try reverting the IRQ patch as I'm not sure what is
going on and it might be a good clue.
Comment 35 Fabio Erculiani 2006-12-04 06:44:10 UTC
ok, I've already compile the kernel with that VIA IRQ patch reverted but I need
to get home before trying to reboot.

Anyway, Alan, about the APIC errors on #24 ? any clue?
Comment 36 Fabio Erculiani 2006-12-04 09:06:08 UTC
no, reverting patch listed on #30 does not help.
Comment 37 Fabio Erculiani 2006-12-06 01:48:19 UTC
Just tell me what I could do for you, and will be done.
Comment 38 Fabio Erculiani 2006-12-10 14:18:30 UTC
@all:
I've found that adding "pci=nomsi" fixed the boot/AHCI/APIC problems.
Comment 39 Fabio Erculiani 2006-12-10 14:19:33 UTC
Created attachment 9781 [details]
dmesg from 2.6.19 w/pci=nomsi
Comment 40 Tejun Heo 2006-12-10 17:43:01 UTC
MSI related code in AHCI has not changed between .18 and .19.  This must be VIA
chipset related problem.  Changing Category.  Anyone knows who knows this stuff?
Comment 41 Simon Farnsworth 2006-12-16 15:42:43 UTC
I have a much more severe version of the same problem. In my case, the 
motherboard is an ASUS A8V-X.

When I try and boot vanilla 2.6.19.1 (instead of Gentoo's 2.6.18-r4), the 
VT8251 does not generate interrupts correctly; booting with pci=nomsi does not 
fix this; nor does adding "noapic acpi=off pci=nomsi" (although interrupt 
numbers change for all three boots - MSI, IO-APIC, XT-PIC, showing that the 
kernel is parsing the options).

I've tried editing drivers/pci/quirks.c to print a message rather than 
returning if new_irq is outside the legacy range; this message triggers in all 
boots but "noapic acpi=off pci=nomsi", but does not solve the problem. I can't 
find any other VIA specific quirks in that file that trigger on 2.6.18 but not 
on 2.6.19.
Comment 42 Simon Farnsworth 2006-12-17 06:51:16 UTC
Created attachment 9839 [details]
My git bisect log

I've now run git bisect to find the commit that fails; the attachment is the
git clone I ran to get a git tree, followed by the output of "git bisect log".
The commit that git bisect points at is:

$ git bisect good
0be0aa98985dfec42502c0d0af2a1baff9bdb19f is first bad commit
commit 0be0aa98985dfec42502c0d0af2a1baff9bdb19f
Author: Tejun Heo <htejun@gmail.com>
Date:	Wed Jul 26 15:59:26 2006 +0900

    [PATCH] libata: improve driver initialization and deinitialization

    Implement ahci_[de]init_port() and use it during initialization and
    de-initialization.	ahci_[de]init_port() are supersets of what used to
    be done during driver [de-]initialization.	This patch makes the
    following behavior changes.

    * Per-port IRQ mask is cleared on driver load as done in other
      drivers.	The mask will be configured properly during probe.

    * During init_one(), HOST_IRQ_STAT is cleared after masking port IRQs
      such that there is no race window.

    * CMD_SPIN_UP is cleared during init_one() instead of being set.  It
      is set in port_start().  This is more consistent with overall
      structure of initialization.  Note that CMD_SPIN_UP simply controls
      PHY activation.

    * Slumber and staggered spin-up are handled properly.

    * All init/deinit operations are done in step-by-step manner as
      described in the spec instead of issued as single merged command.

    Original implementation is from Zhao, Forrest <forrest.zhao@intel.com>

    Signed-off-by: Tejun Heo <htejun@gmail.com>
    Signed-off-by: Zhao, Forrest <forrest.zhao@intel.com>
    Signed-off-by: Jeff Garzik <jeff@garzik.org>

:040000 040000 e0a036295b18d0a7d9cb2d162d9f71b1ddc4dc3e
b3692a079fbaae2afb86da6d02f32e6b7618e72d M	drivers

I hope this helps in finding the bug I'm seeing.
Comment 43 Simon Farnsworth 2007-01-31 12:27:18 UTC
Just in case anyone's still following this; 
a718728f9e40ec79c0879ec6509a54fee214f5b2 brings me to the same position as the 
original reporter. AHCI now works, but not with MSIs enabled.
Comment 44 Chris Wedgwood 2007-01-31 12:31:06 UTC
On Wed, Jan 31, 2007 at 12:36:06PM -0800, bugme-daemon@bugzilla.kernel.org wrote:

> a718728f9e40ec79c0879ec6509a54fee214f5b2 brings me to the same
> position as the original reporter. AHCI now works, but not with MSIs
> enabled.

i don't what that the logic is to enable MSIs but given i have many
systems where the chipsets in theory support this but it doesnt work i
think it should default to off.  we can whitelist systems where it's
known to work or let people explicitly turn it on until we figure out
sane heuristics for this
Comment 45 Andrew Morton 2007-01-31 13:20:40 UTC
/me grasps for an MSI maintainer.  Hi, Eric.
Comment 46 Eric W. Biederman 2007-01-31 14:17:28 UTC
bugme-daemon@bugzilla.kernel.org writes:

> http://bugzilla.kernel.org/show_bug.cgi?id=7589
>
> akpm@osdl.org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |ebiederm@xmission.com
>
>
>
> ------- Additional Comments From akpm@osdl.org  2007-01-31 13:20 -------
> /me grasps for an MSI maintainer.  Hi, Eric.

Could I get lspci -s 0:02.0 -xxx

My hunch is that the BIOS failed to setup the PCI-E to HT
msi mapping properly.

If that is the case we should be able to simply add an x86 quirk
that fixes this in the kernel for all devices that have a
PCI-E to HT mapping.  Since the value that needs to be in
there is architecturally defined and it is a standard HT device.

I think what happened to cause this is that the attempt was
to require a white list for MSI on systems that don't have
PCI-E and a blacklist on all x86 systems that do have PCI-E.

And since this chipset supports PCI-E and is not blacklisted
we support it.

If it's not a misprogrammed MSI mapping capability, VIA messed
up and we need to black list this chipset.

Eric

Comment 47 Simon Farnsworth 2007-01-31 23:50:11 UTC
On my system, lspci -s 0:02.0 -xxx displays nothing, so I did lspci -xxx as 
well. Note that MSI works fine on 2.6.18.5, so it's a regression on a system 
that worked before.

#  lspci -s 0:02.0 -xxx
#  lspci -xxx
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00: 06 11 82 02 06 01 10 02 00 00 00 06 00 08 80 00
10: 08 00 00 dc 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 82 02
30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00
40: 7f db 10 b9 00 00 00 00 00 00 1f c4 00 04 00 01
50: 01 60 02 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 08 58 60 00 20 00 11 11 d0 00 00 00 22 06 75 00
70: 02 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00
80: 02 50 30 00 04 02 00 1f 00 00 00 00 28 00 00 00
90: 80 01 00 00 30 0f 01 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 40 00 00 06 08 00 88
c0: 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00: 06 11 82 12 06 00 00 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 82 12
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00: 06 11 82 22 06 00 00 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 82 22
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 13 86 10 31 30 2c 80 86 7f 8f 44 22 37 00 22 50
b0: 1f 13 00 00 03 00 00 00 00 00 00 00 00 00 00 00
c0: 20 00 00 00 50 50 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00: 06 11 82 32 06 00 00 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 82 32
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00
50: 22 22 00 00 00 00 e4 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 c0 00 00 ff 19 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00: 06 11 82 42 06 00 00 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 82 42
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 80 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00

00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00: 06 11 82 72 06 00 00 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 19 88 80 82 44 00 20 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 06 0b 00 f2 25 46 46 e1 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 
South]
00: 06 11 88 b1 07 01 30 02 00 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 20 22
20: 90 fc 90 fe f0 cb e0 db 00 00 00 00 00 00 00 00
30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 0b 00
40: 91 40 80 44 35 3a 88 b1 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 02 02 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0f.0 SATA controller: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port 
Controller
00: 06 11 49 33 07 00 90 02 00 01 06 01 00 40 80 00
10: 01 ec 00 00 81 e8 00 00 01 e8 00 00 81 e4 00 00
20: 01 e4 00 00 00 fc bf fe 00 00 00 00 06 11 49 33
30: 00 00 00 00 c0 00 00 00 00 00 00 00 0b 02 00 00
40: 53 13 f1 44 06 af 00 00 00 a0 14 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 10 10 00 00 00 08 11
60: 00 00 00 00 0c aa aa 66 66 00 02 02 00 00 91 00
70: 00 00 00 00 ff ff 00 00 01 00 01 00 00 00 00 00
80: 00 00 00 00 00 18 0c 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 03 00 03 00 0c 0c 0c 0c 00 00 00 00 00 00 00 00
b0: 00 00 1f 00 00 00 02 00 00 00 07 00 00 00 02 00
c0: 01 e0 02 40 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 02 49 33 06 11 49 33 4f 00 00 00 01 01 01 01
e0: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0f.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00: 06 11 71 05 05 00 90 02 07 8a 01 01 00 20 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 fc 00 00 00 00 00 00 00 00 00 00 06 11 71 05
30: 00 00 00 00 c0 00 00 00 00 00 00 00 ff 00 00 00
40: 0b f2 09 05 18 8c cc 00 a8 a8 a8 20 ff 00 b6 b6
50: 07 07 07 07 0c 03 00 00 a8 a8 a8 a8 00 00 00 00
60: 00 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00
70: 02 01 25 00 00 00 00 00 82 01 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 07 01 71 05 06 11 71 05 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 90)
00: 06 11 38 30 17 00 10 02 90 00 03 0c 10 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 e0 00 00 00 00 00 00 00 00 00 00 06 11 38 30
30: 00 00 00 00 80 00 00 00 00 00 00 00 0a 01 00 00
40: 40 12 03 00 00 00 00 00 00 0b a0 03 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 c2 ff 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 90)
00: 06 11 38 30 17 00 10 02 90 00 03 0c 10 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 e0 00 00 00 00 00 00 00 00 00 00 06 11 38 30
30: 00 00 00 00 80 00 00 00 00 00 00 00 05 03 00 00
40: 40 12 03 00 00 00 00 00 00 0b a0 03 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 c2 ff 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00: 06 11 04 31 17 00 10 02 90 20 03 0c 10 40 80 00
10: 00 f8 bf fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 04 31
30: 00 00 00 00 80 00 00 00 00 00 00 00 05 03 00 00
40: 00 00 03 00 00 00 00 00 9e 60 00 09 02 03 00 00
50: 00 60 04 80 00 00 00 00 04 0b 03 22 03 00 00 00
60: 20 20 01 00 00 00 00 00 01 00 00 00 00 00 08 80
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 88 c2 ff 00 00 00 00 0a 00 a0 20 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 90 00 00 00 00 00 00 00 00 00

00:11.0 ISA bridge: VIA Technologies, Inc. VT8251 PCI to ISA Bridge
00: 06 11 87 32 03 00 10 02 00 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 87 32
30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00
40: 44 40 f0 0b 00 00 00 00 0c 20 00 00 44 00 0a 00
50: c5 1d 09 00 00 00 00 00 62 80 00 09 00 00 00 00
60: 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00
70: 06 11 87 32 00 00 00 00 00 00 00 00 00 00 00 00
80: 20 84 49 00 00 00 00 00 01 08 00 00 00 18 00 00
90: 00 fe ff 88 b0 c1 08 02 00 ff 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 04 01 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 06 00 04 09 ef 00 00 00 00 00 04 00 00 00
f0: 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00

00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00: 06 11 7e 28 06 01 10 02 00 00 00 06 00 80 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 7e 28
30: 00 00 00 00 58 00 00 00 00 00 00 00 00 00 00 00
40: f7 24 00 80 82 00 00 00 03 3b 88 80 82 44 80 41
50: 80 8c d0 02 00 04 01 40 08 00 01 80 00 00 00 00
60: 00 aa 0a 20 ff 00 00 00 00 00 00 00 00 00 00 00
70: c2 c8 ee 01 3c 0f 50 4e 01 00 00 00 77 00 00 0a
80: 08 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00
90: 00 00 00 00 30 0f 00 00 00 00 00 00 00 00 00 00
a0: fd 3f df 00 00 00 00 e0 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 50 8a aa aa b0 42 00 00 00
c0: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 19 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00: 06 11 65 30 17 01 10 02 7c 00 00 02 10 40 00 00
10: 01 d8 00 00 00 f4 bf fe 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 ed 80
30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 01 03 08
40: 01 00 02 fe 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 65 30 00 03
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:13.0 PCI bridge: VIA Technologies, Inc. VT8251 Host Bridge
00: 06 11 7b 28 06 01 00 20 00 00 04 06 00 00 81 00
10: 00 00 00 00 00 00 00 00 00 02 04 00 f0 00 00 02
20: 00 50 00 50 f0 ff 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00
40: ce 0e 08 06 00 00 0f 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:13.1 PCI bridge: VIA Technologies, Inc. VT8251 PCI to PCI Bridge
00: 06 11 7a 28 07 01 00 20 00 01 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 05 05 00 c0 c0 00 02
20: a0 fe a0 fe 10 50 10 50 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
00: 22 10 00 11 00 00 10 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00
40: 01 01 01 00 01 01 01 00 01 01 01 00 01 01 01 00
50: 01 01 01 00 01 01 01 00 01 01 01 00 01 01 01 00
60: 00 00 00 00 e4 00 00 00 0f cc 0e 0f 1c 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 08 00 01 21 20 00 11 11 22 06 75 80 02 00 00 00
90: 56 04 51 02 00 00 ff 00 07 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Address Map
00: 22 10 01 11 00 00 00 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 03 00 00 00 00 00 3f 00 00 00 00 00 01 00 00 00
50: 00 00 00 00 02 00 00 00 00 00 00 00 03 00 00 00
60: 00 00 00 00 04 00 00 00 00 00 00 00 05 00 00 00
70: 00 00 00 00 06 00 00 00 00 00 00 00 07 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 03 0a 00 00 00 0b 00 00 03 00 40 00 00 ff ff 00
c0: 13 10 00 00 00 f0 ff 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 03 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM 
Controller
00: 22 10 02 11 00 00 00 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 01 00 00 00 01 00 00 02 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 fe e0 01 00 fe e0 01 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 04 00 00 00 00 00 00 00 45 45 82 14 31 0b 00 00
90: 80 8c 05 38 07 87 7b 3e 00 00 00 00 0d 02 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 9d 87 eb 5e f0 00 00 00 b9 7f 20 00 d5 d3 6f ce
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 54 70 90 5c 90 50 82 81 91 13 10 e8 21 00 a6 27
e0: b0 7c 31 59 00 00 00 08 80 11 00 45 9e 10 84 8a
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
00: 22 10 03 11 00 00 00 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: ff 3b 00 00 40 00 40 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 16 16 00 00 5f f9 ff
60: e2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 11 01 02 51 11 80 00 50 00 38 00 08 1b 22 00 00
80: 00 00 07 23 13 21 13 21 00 00 00 00 00 00 00 00
90: 03 00 00 00 6e 00 00 00 00 cc 3f 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 3f 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 01 a7 0d 00 00 00 40 00 00 00 00 00
e0: 00 00 00 00 20 01 4b 04 19 05 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 
400] (rev a1)
00: de 10 10 01 07 00 b0 02 a1 00 00 03 00 40 00 00
10: 00 00 00 fd 08 00 00 d0 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 af 14 00 71
30: 00 00 9f fe 60 00 00 00 00 00 00 00 0a 01 05 01
40: af 14 00 71 02 00 20 00 17 00 00 1f 00 00 00 00
50: 01 00 00 00 01 00 00 00 ce d6 23 00 0f 00 00 00
60: 01 44 02 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

02:00.0 PCI bridge: VIA Technologies, Inc. VT8251 PCIE Root Port
00: 06 11 7c 28 04 01 10 00 00 00 04 06 00 00 81 00
10: 00 00 00 00 00 00 00 00 02 03 03 00 f0 00 00 00
20: f0 ff 00 00 f0 ff 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 03 00
40: 10 68 41 00 01 0e 00 00 0f 00 10 00 21 0c 00 01
50: 00 00 01 00 e0 25 80 01 00 00 48 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 01 70 02 c8 00 00 00 00
70: 05 00 80 01 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 01 14 00 00 1c 00 00 00 00 00 00 00 00 00 00 00
b0: 3b 59 40 80 00 00 03 00 00 00 00 00 00 00 00 00
c0: 03 00 01 00 44 44 00 00 00 00 00 00 00 00 00 00
d0: 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 08 02 fc 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00

02:00.1 PCI bridge: VIA Technologies, Inc. VT8251 PCIE Root Port
00: 06 11 7d 28 04 01 10 00 00 00 04 06 00 00 81 00
10: 00 00 00 00 00 00 00 00 02 04 04 00 f0 00 00 00
20: f0 ff 00 00 f0 ff 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 03 00
40: 10 68 41 00 01 0e 00 00 0f 00 10 00 11 0c 00 02
50: 00 00 01 00 e0 25 88 01 00 00 48 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 01 70 02 c8 00 00 00 00
70: 05 00 80 01 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 01 04 00 00 1c 00 00 00 00 00 00 00 00 00 00 00
b0: 3b 59 40 80 00 00 03 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00
d0: 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

02:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio 
Controller
00: 06 11 88 32 00 00 10 00 00 00 03 04 00 00 00 00
10: 00 00 00 50 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 8f 81
30: 00 00 00 00 50 00 00 00 00 00 00 00 00 01 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 01 60 42 c8 00 00 00 00 00 00 00 00 00 00 00 00
60: 05 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 10 00 11 00 00 00 00 00 00 00 10 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

05:0d.0 SCSI storage controller: Adaptec AIC-7861 (rev 03)
00: 04 90 78 61 17 01 90 02 03 00 00 01 10 40 00 00
10: 01 c8 00 00 00 f0 af fe 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 04 90 61 78
30: 00 00 ae fe dc 00 00 00 00 00 00 00 05 01 04 04
40: 00 11 00 00 00 11 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 21 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Comment 48 Eric W. Biederman 2007-02-01 11:31:30 UTC
bugme-daemon@bugzilla.kernel.org writes:

> http://bugzilla.kernel.org/show_bug.cgi?id=7589

No wonder this bug is confusing there is discussion about 2
separate issues that have similar symptoms.

Could I please get a lspci -vvv for the ASUS-VX as well.
It's better if I don't have to decode registers by hand.

From what little I can see there does not appear to be
a msi-mapping capability anywhere visible.

If that is the case then we don't have generic registers
for controlling the conversion of MSI messages to HT
interrupt packets.  So it may be all that we can easily
do is black list this and complain to ASUS.

I don't have a contact at VIA for getting their datasheets
which rules out using non-generic registers.

Eric

Comment 49 Christopher Harrington 2007-04-30 21:12:56 UTC
Just adding another me-too. If wanted, I'll post dmesg/.config/lspci/whatever,
but I won't clutter if it's not needed.
Comment 50 Natalie Protasevich 2007-07-08 18:23:19 UTC
Any updates on this problem?
Simon, were you able to get information as requested in #48? Thanks.
Comment 51 Adam Felson 2007-07-08 18:55:54 UTC
  append="pci=nomsi" is a workaround, making it a sev 3 bug instead of a sev 1 bug
Comment 52 Simon Farnsworth 2007-07-10 01:17:02 UTC
My VIA machine is currently in storage, due to homelessness; I'll provide lspci -vvv information once I've got it available again (at least another month, if not two months to go).
Comment 53 Andrew Morton 2007-08-02 15:47:08 UTC
Adam, which kernel version requires the pci=nomsi wrokaround?
Comment 54 Adam Felson 2007-08-02 17:03:59 UTC
Every version since 2.6.17 has needed it.  I run gentoo and 2.6.22-gentoo-r2 still has the bug.  (I just tried it without and with pci=nomai)
Comment 55 Tejun Heo 2007-08-14 00:45:23 UTC
So, am I right in that assuming all that's needed is blacklisting MSI on the affected chipsets?
Comment 56 Simon Farnsworth 2007-09-03 07:38:47 UTC
The delayed response to #48; note that I've added a PCI card since then:

00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
        Subsystem: VIA Technologies, Inc. K8T800Pro Host Bridge
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 8
        Region 0: Memory at <ignored> (32-bit, prefetchable)
        Capabilities: [80] AGP version 3.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x4
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] HyperTransport: Slave or Primary Interface
                !!! Possibly incomplete decoding
                Command: BaseUnitID=0 UnitCnt=3 MastHost- DefDir-
                Link Control 0: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
                Link Config 0: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
                Link Control 1: CFlE- CST- CFE- <LkFail+ Init- EOC+ TXO+ <CRCErr=0
                Link Config 1: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Revision ID: 1.02
        Capabilities: [58] #00 [0000]

00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
        Subsystem: VIA Technologies, Inc. K8T800Pro Host Bridge
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
        Subsystem: VIA Technologies, Inc. K8T800Pro Host Bridge
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
        Subsystem: VIA Technologies, Inc. K8T800Pro Host Bridge
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
        Subsystem: VIA Technologies, Inc. K8T800Pro Host Bridge
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fc900000-fe9fffff
        Prefetchable memory behind bridge: cbf00000-dbefffff
        Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0f.0 SATA controller: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port Controller (prog-if 01 [AHCI 1.0])
        Subsystem: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin B routed to IRQ 21
        Region 0: I/O ports at ec00 [size=8]
        Region 1: I/O ports at e880 [size=4]
        Region 2: I/O ports at e800 [size=8]
        Region 3: I/O ports at e480 [size=4]
        Region 4: I/O ports at e400 [size=16]
        Region 5: Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [e0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
                Address: 00000000  Data: 0000

00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07) (prog-if 8a [Master SecP PriP])
        Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
        Region 4: I/O ports at fc00 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 20
        Region 4: I/O ports at e080 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin C routed to IRQ 22
        Region 4: I/O ports at e000 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90) (prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin C routed to IRQ 22
        Region 0: Memory at febff800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [88] Debug port

00:11.0 ISA bridge: VIA Technologies, Inc. VT8251 PCI to ISA Bridge
        Subsystem: VIA Technologies, Inc. VT8251 PCI to ISA Bridge
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
        Subsystem: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 128
        Capabilities: [58] HyperTransport: Interrupt Discovery and Configuration

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
        Subsystem: ASUSTeK Computer Inc. Unknown device 80ed
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (750ns min, 2000ns max), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 23
        Region 0: I/O ports at d800 [size=256]
        Region 1: Memory at febff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:13.0 PCI bridge: VIA Technologies, Inc. VT8251 Host Bridge (prog-if 00 [Normal decode])
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=02, subordinate=04, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: 50000000-500fffff
        Prefetchable memory behind bridge: fff00000-000fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:13.1 PCI bridge: VIA Technologies, Inc. VT8251 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: fea00000-feafffff
        Prefetchable memory behind bridge: 50100000-501fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Capabilities: [80] HyperTransport: Host or Secondary Interface
                !!! Possibly incomplete decoding
                Command: WarmRst+ DblEnd-
                Link Control: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
                Link Config: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
                Revision ID: 1.02

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1) (prog-if 00 [VGA])
        Subsystem: Guillemot Corporation Unknown device 7100
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at fe9f0000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

02:00.0 PCI bridge: VIA Technologies, Inc. VT8251 PCIE Root Port (prog-if 00 [Normal decode])
        Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: fff00000-000fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
        Capabilities: [40] Express Root Port (Slot-) IRQ 0
                Device: Supported: MaxPayload 256 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <64ns, L1 unlimited
                Device: Errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr+ NoSnoop-
                Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                Link: Supported Speed 2.5Gb/s, Width x2, ASPM L0s L1, Port 1
                Link: Latency L0s <64ns, L1 <1us
                Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
                Link: Speed 2.5Gb/s, Width x0
                Root: Correctable- Non-Fatal- Fatal- PME-
        Capabilities: [68] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [70] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [180] Unknown (5)

02:00.1 PCI bridge: VIA Technologies, Inc. VT8251 PCIE Root Port (prog-if 00 [Normal decode])
        Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=02, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: fff00000-000fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
        Capabilities: [40] Express Root Port (Slot-) IRQ 0
                Device: Supported: MaxPayload 256 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <64ns, L1 unlimited
                Device: Errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr+ NoSnoop-
                Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 2
                Link: Latency L0s <64ns, L1 <1us
                Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
                Link: Speed 2.5Gb/s, Width x0
                Root: Correctable- Non-Fatal- Fatal- PME-
        Capabilities: [68] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [70] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [180] Unknown (5)

02:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller
        Subsystem: ASUSTeK Computer Inc. Unknown device 818f
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at 50000000 (32-bit, non-prefetchable) [disabled] [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
                Address: 00000000  Data: 0000
        Capabilities: [70] Express Legacy Endpoint IRQ 0
                Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <64ns, L1 <1us
                Device: AtnBtn- AtnInd- PwrInd-
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
                Link: Latency L0s <64ns, L1 <1us
                Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
                Link: Speed unknown, Width x0
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Unknown (5)

05:0b.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
        Subsystem: Technotrend Systemtechnik GmbH Technotrend-Budget/Hauppauge WinTV-NOVA-T DVB card
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (3750ns min, 9500ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at feaffc00 (32-bit, non-prefetchable) [size=512]

05:0d.0 SCSI storage controller: Adaptec AIC-7861 (rev 03)
        Subsystem: Adaptec AHA-2940AU Single
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (1000ns min, 1000ns max), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at c800 [disabled] [size=256]
        Region 1: Memory at feafe000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at 50100000 [disabled] [size=64K]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Comment 57 Philipp Stamm 2007-09-21 13:38:48 UTC
append="pci=nomsi" is a workaround, making it a sev 3 bug instead of a sev 1
bug
==> works for me, too!

==> Asus Mainboard: Asus A8V-XE /w VIA® K8T890 + VIA VT8251

with "pci=nomsi" - works
with "acpi=noirq" - does not work
with "irqpoll" - works

I'm ging to attach 'hwinfo --all' && 'boot.msg'
Comment 58 Philipp Stamm 2007-09-21 13:40:02 UTC
Created attachment 12902 [details]
Asus A8V-XE System hwinfo --all

Asus A8V-XE /w VIA® K8T890 + VIA VT8251
Comment 59 Philipp Stamm 2007-09-21 13:41:04 UTC
Created attachment 12903 [details]
Asus A8V-XE System boot.msg

Asus A8V-XE /w VIA® K8T890 + VIA VT8251
Comment 60 Tejun Heo 2008-01-02 00:33:01 UTC
Eric, ping.
Comment 61 Natalie Protasevich 2008-01-02 01:35:01 UTC
Phillip, can you please attach /proc/interupts for nomsi and irqpoll cases, and for working 2.6.18 if possible. It might be useful to compare the two. With irqpoll the SATA interrupt probably gets piggy ride on the shared IRQ (with USB it looks like) 
Comment 62 Natalie Protasevich 2008-04-05 20:52:37 UTC
Can any of the reporters confirm the problem is still present with latest kernel?
Comment 63 Adam Felson 2008-04-08 14:43:23 UTC
The problem is still present, tested with linux-2.6.24 as distributed by gentoo's emerge (2.6.24-gentoo-r3)

When booting without kernel option "pci=nomsi", SATA drives aren't detected.

There's a workaround; the severity should be lowered.
Comment 64 Tejun Heo 2008-04-09 17:42:32 UTC
Eric, can we just blacklist MSI on the board?  Does anyone know whether it's specific to the board/bios or generic chipset problem?
Comment 65 Thomas Gleixner 2008-09-05 05:15:14 UTC
Has anything moved here ? Would be nice to have a report against 2.6.27-rc5, before we blacklist it.

Boot log with and without pci=nomsi preferrably catched via serial console might be helpful.
Comment 66 Alan 2009-03-26 16:51:20 UTC
No response for months, closing
Comment 67 Jon 2009-10-05 22:54:41 UTC
I know this has been closed, but... any update on this?  I've got nearly the same issue (SATA link down; SATA works only with pci=nomsi) on an XFX mobo with a GeForce8200 chipset w/SATA set to AHCI.  The relevant lspci -vvnn:

00:09.0 SATA controller [0106]: nVidia Corporation Device [10de:0584] (rev a2) (prog-if 01)
	Subsystem: nVidia Corporation Device [10de:cb84]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (750ns min, 250ns max)
	Interrupt: pin A routed to IRQ 2299
	Region 0: I/O ports at a480 [size=8]
	Region 1: I/O ports at a400 [size=4]
	Region 2: I/O ports at a080 [size=8]
	Region 3: I/O ports at a000 [size=4]
	Region 4: I/O ports at 9c00 [size=16]
	Region 5: Memory at f3f76000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

I'm running 2.6.28-15/Ubuntu Jaunty.  

I'll happily provide any information you need because my system does go ahead and boot after it displays that series of ata errors/timeouts, since my OS is loading from a Sil3114 RAID controller in a PCIe slot.

I ask because I'd like to be able to use PCI-passthrough with KVM, and I gather this becomes significantly harder, if not impossible, with MSI disabled.
Comment 68 Tejun Heo 2009-10-06 05:33:59 UTC
Can you please file a new bug report and attach kernel boot log and full output of "lspci -nnvv"?
Comment 69 Jon 2009-10-06 13:49:26 UTC
I will as soon as I get home, and I'll link to it here for the reference of anyone who stumbles upon this.  

I also updated my kernel with a backported version of the Ubuntu 9.10/2.6.31-11-server (Karmic) kernel last night, and the bug hasn't been fixed--I still lose all of my SATA if I remove the pci=nomsi boot flag.  I've had the issue since I bought my motherboard, and at that time I was running 8.10/2.6.27.