RE: [git patches] libata fixes
From: Paul Rolland
Date: Sun Mar 11 2007 - 18:25:47 EST
Hello,
> > Nope... I tried several patches from Tejun, and also some
> that Jeff posted
> > to linux-ide, but no luck. The only way to have this DVD-RW
> working is to
> > use irqpoll on the command line...
>
> So it has *never* worked? That's what I'm trying to see - you had a
> "before" and "after" dmesg in one of your posts, and the "before" one
> looked fine (as if it was working) because it didn't have the error
> messages.
>
> So I'm just trying to figure out where the regression started...
>
> > To complete, here are some more output from the machine :
>
> What happens if you disable MSI entirely? Use "pci=nomsi" on
> the command
> line.
>
> The
>
> ata2.00: qc timeout (cmd 0xec)
> ata2.00: failed to IDENTIFY (I/O error, err_mask=0x104)
>
> messages happen for you on the controller that claims MSI:
>
> ata2: SATA max UDMA/133 cmd 0xffffc2000008a980 ctl
> 0x0000000000000000 bmdma 0x0000000000000000 irq 504
>
> and quite frankly, we've had lots of bugs with MSI, both in
> hardware and
> in software.
OK, I see, we are talking about two different problems...
My machine is having two problems : the one you are describing above,
which is due to a SIL controler being connected to one port of the ICH7
(at least, it seems to), and probing it goes timeout, but nothing is
connected on it.
The second problem is a Jmicron363 controler that is failing to detect
the DVD-RW that is connected, unless I use the irqpoll option as Tejun has
suggested.
>From what I remember, except my initial description of the problem,
no attempt has been made yet to workaround/understand the first problem,
and all the mails I've exchanged were focused on the second one.
But, as you suggest it, I'm adding pci=nomsi to the command line....
rebooting... no change for this part of the problem.
OK, the /proc/interrupt for this config, and the dmesg attached.
3 [23:22] rol@riri:~> cat /proc/interrupts
CPU0 CPU1
0: 297549 0 IO-APIC-edge timer
1: 7 0 IO-APIC-edge i8042
4: 13 0 IO-APIC-edge serial
6: 5 0 IO-APIC-edge floppy
8: 1 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-fasteoi acpi
12: 126 0 IO-APIC-edge i8042
14: 8313 0 IO-APIC-edge libata
15: 0 0 IO-APIC-edge libata
16: 0 0 IO-APIC-fasteoi eth1, libata
17: 0 0 IO-APIC-fasteoi uhci_hcd:usb3
18: 6894 0 IO-APIC-fasteoi uhci_hcd:usb4
19: 579 0 IO-APIC-fasteoi eth0, uhci_hcd:usb5, HDA Intel
20: 104 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2
21: 3 0 IO-APIC-fasteoi ohci1394
23: 7205 0 IO-APIC-fasteoi libata
NMI: 783 540
LOC: 291823 290536
PS : I'd like to try 2.6.21-rc3, but it seems that this is breaking my
config : disk naming is no more the same, and I end up with a panic
Warning: unable to open an initial console
though i've been compiling with the same .config I was using for 2.6.21-rc2
Regards,
Paul
Attachment:
dmesg-2.6.21-rc2-irqpoll-nomsi
Description: Binary data