From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Todd Deshane <deshantm@gmail.com>,
xen-devel@lists.xensource.com,
Andrew Lyon <andrew.lyon@gmail.com>,
Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: pv_ops dom0 kernel failure with ata_piix / irq problems
Date: Mon, 02 Feb 2009 21:32:57 -0800 [thread overview]
Message-ID: <4987D709.3020300@goop.org> (raw)
In-Reply-To: <20090202192217.GL15052@edu.joroinen.fi>
Pasi Kärkkäinen wrote:
> On Mon, Feb 02, 2009 at 10:42:30AM +0200, Pasi Kärkkäinen wrote:
>
>> On Fri, Jan 30, 2009 at 10:50:51AM -0800, Jeremy Fitzhardinge wrote:
>>
>>> Ian Campbell wrote:
>>>
>>>> On Fri, 2009-01-30 at 18:12 +0000, Ian Campbell wrote:
>>>>
>>>>
>>>>> Possibly the correct fix might be to use xen_register_gsi() here
>>>>> instead of xen_allocate_pirq() and get rid of the special case for IRQ
>>>>> 14 and 15 in xen_pci_pirq_enable(). Maybe only 14 and 15 need this
>>>>> special treatment.
>>>>>
>>>>>
>>>> FWIW this also Works For Me.
>>>>
>>>>
>>> OK. I'd noticed that the native code just sets up all the legacy
>>> interrupts at once. I guess we should follow the lead to avoid these
>>> kinds of init order problems.
>>>
>>>
>> OK.
>>
>> I've been busy, and haven't yet had time to try the patch.
>>
>> Hopefully I can try it later today!
>>
>>
>
> And now I tried the latest bits.
>
> I also applied Ian's legacy irq fix/patch.
>
> bootlog:
> http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog-8-xen331-linux-2.6.29-rc3.txt
>
> Now my (IDE) disk is detected, but it ata_piix still seems to fail..
>
> I guess I'll compile new kernel again with libata debug enabled..
>
> Important parts of the dom0 kernel bootlog below.
>
> -- Pasi
>
> xen_allocate_pirq: returning irq 30 for gsi 18
> xen_set_ioapic_routing: irq 30 gsi 18 vector 160 ioapic 0 pin 18 triggering
> 0 polarity 1
> ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 30
> xen: PCI device 0000:00:1f.1 pin 1 -> irq 30
> scsi4 : ata_piix
> scsi5 : ata_piix
> ata5: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14
> ata6: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15
> ata5.00: qc timeout (cmd 0x27)
> ata5.00: failed to read native max address (err_mask=0x4)
> ata5.00: HPA support seems broken, skipping HPA handling
> ata5.00: configured for UDMA/100
> scsi 4:0:0:0: Direct-Access ATA ST3120022A 3.06 PQ: 0 ANSI: 5
> sd 4:0:0:0: [sda] 234441648 512-byte hardware sectors: (120 GB/111 GiB)
> sd 4:0:0:0: [sda] Write Protect is off
> sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
> DPO or FUA
> sd 4:0:0:0: [sda] 234441648 512-byte hardware sectors: (120 GB/111 GiB)
> sd 4:0:0:0: [sda] Write Protect is off
> sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
> DPO or FUA
> sda:<3>ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> ata5.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
> res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
> ata5.00: status: { DRDY }
> ata5: soft resetting link
>
Interesting. That's similar to what I see with AHCI. I don't know if
there's any deeper connection...
J
next prev parent reply other threads:[~2009-02-03 5:32 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 14:34 pv_ops dom0 kernel crashes Pasi Kärkkäinen
2008-12-30 14:44 ` Pasi Kärkkäinen
2008-12-30 16:03 ` Todd Deshane
2008-12-30 16:19 ` Pasi Kärkkäinen
2008-12-30 16:28 ` Pasi Kärkkäinen
2008-12-30 16:47 ` Todd Deshane
2008-12-30 16:52 ` Pasi Kärkkäinen
2008-12-30 18:18 ` pv_ops dom0 kernel failure with ata_piix Pasi Kärkkäinen
2008-12-30 19:03 ` Pasi Kärkkäinen
2008-12-31 21:36 ` Jeremy Fitzhardinge
2009-01-02 6:44 ` Pasi Kärkkäinen
2009-01-09 17:40 ` Pasi Kärkkäinen
2009-01-09 21:01 ` Andrew Lyon
2009-01-22 19:46 ` pv_ops dom0 kernel failure with ata_piix / irq problems Pasi Kärkkäinen
2009-01-22 20:23 ` Jeremy Fitzhardinge
2009-01-24 14:09 ` Pasi Kärkkäinen
2009-01-24 14:58 ` Pasi Kärkkäinen
2009-01-24 18:58 ` Jeremy Fitzhardinge
2009-01-24 20:17 ` Pasi Kärkkäinen
2009-01-24 23:49 ` Pasi Kärkkäinen
2009-01-25 0:51 ` Pasi Kärkkäinen
2009-01-25 0:59 ` Jeremy Fitzhardinge
2009-01-25 11:28 ` Pasi Kärkkäinen
2009-01-30 18:12 ` Ian Campbell
2009-01-30 18:16 ` Ian Campbell
2009-01-30 18:50 ` Jeremy Fitzhardinge
2009-02-02 8:42 ` Pasi Kärkkäinen
2009-02-02 19:22 ` Pasi Kärkkäinen
2009-02-02 20:11 ` Pasi Kärkkäinen
2009-02-02 20:34 ` Pasi Kärkkäinen
2009-02-02 21:25 ` Pasi Kärkkäinen
2009-02-03 5:32 ` Jeremy Fitzhardinge [this message]
2009-02-03 6:16 ` Boris Derzhavets
2009-02-03 9:15 ` Pasi Kärkkäinen
2009-02-03 9:19 ` Pasi Kärkkäinen
2009-01-31 15:03 ` Attempt to compile 2.6.29-rc3 with pv_ops suppot for Dom0 Boris Derzhavets
2009-02-02 1:14 ` Jeremy Fitzhardinge
2009-02-02 9:53 ` Ian Campbell
2009-02-02 12:32 ` Boris Derzhavets
2009-02-02 12:42 ` Ian Campbell
2009-02-02 13:22 ` Boris Derzhavets
2009-02-02 14:04 ` Attempt to load 2.6.29-rc3 with pv_ops suppot for Dom0 under Xen 3.3.1 Hypervisor Boris Derzhavets
2009-02-02 14:40 ` Ian Campbell
2009-02-02 16:21 ` Boris Derzhavets
2009-02-02 17:32 ` Jeremy Fitzhardinge
2009-02-02 18:08 ` Boris Derzhavets
2009-02-02 22:43 ` Boris Derzhavets
2009-02-02 23:11 ` Jeremy Fitzhardinge
2009-02-03 6:00 ` Boris Derzhavets
2009-01-26 10:54 ` pv_ops dom0 kernel failure with ata_piix / irq problems Gerd Hoffmann
2009-01-26 12:47 ` Pasi Kärkkäinen
2009-01-24 23:10 ` Christophe Saout
2009-01-24 23:51 ` Pasi Kärkkäinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4987D709.3020300@goop.org \
--to=jeremy@goop.org \
--cc=Ian.Campbell@citrix.com \
--cc=andrew.lyon@gmail.com \
--cc=deshantm@gmail.com \
--cc=pasik@iki.fi \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.