All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Todd Deshane <deshantm@gmail.com>,
	Andrew Lyon <andrew.lyon@gmail.com>,
	xen-devel@lists.xensource.com
Subject: Re: pv_ops dom0 kernel failure with ata_piix / irq problems
Date: Thu, 22 Jan 2009 12:23:26 -0800	[thread overview]
Message-ID: <4978D5BE.8090601@goop.org> (raw)
In-Reply-To: <20090122194645.GJ15052@edu.joroinen.fi>

Pasi Kärkkäinen wrote:
> On Fri, Jan 09, 2009 at 09:01:59PM +0000, Andrew Lyon wrote:
>   
>>> I just upgraded to newly released Xen 3.3.1 hypervisor but unfortunately it
>>> didn't seem to help with my problem.. I still get the exact same errors with
>>> ata_piix module:
>>>
>>> http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog-4-xen331.txt
>>>
>>> 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
>>> xen: disable pci device 0000:00:1f.1
>>> ata_piix: probe of 0000:00:1f.1 failed with error -38
>>>       
>> I don't think the problem is ata_piix, I've tried the pv_ops dom0
>> kernel on a Dell Optiplex 755 and unbranded system with gigabyte
>> motherboard, on both systems none of the storage devices worked,
>> including ahci, ata_piix, I even tried putting the root filesystem on
>> a usb storage device but that too is broken, I think interrupt routing
>> is not working at all perhaps?
>>
>> I'm going to do more testing this weekend...
>>
>>     
>
> Hello.
>
> I just did some more testing too..
>
> I upgraded to the latest patches for Linux 2.6.29-rc1-tip
>
> log of xen+kernel from serial console:
> http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog-5-xen331-linux-2.6.29-rc1.txt
>
> (XEN) Command line: dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1
> Kernel command line: ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen pci=nomsi
>
> And the failing part of the log is here:
>
> 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
> xen: disable pci device 0000:00:1f.1
> Pid: 1, comm: swapper Not tainted 2.6.29-rc1-tip #3
>   

That means that the ata-piix driver decided it was unhappy for some 
reason, and decided to fali with ENODEV.  It would be very interesting 
to know what part of the device probe failed.  From the Xen perspective, 
it looks like everything went OK.

> Call Trace:
>  [<c06dd32e>] ? printk+0xf/0x11
>  [<c04079bc>] xen_pci_pirq_disable+0x18/0x1c
>   
(This is just a reminder to me to implement this function; it only got 
called because ata-piix had already decided to fail and was 
unregistering its resources.)

    J

  reply	other threads:[~2009-01-22 20:23 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 [this message]
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
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=4978D5BE.8090601@goop.org \
    --to=jeremy@goop.org \
    --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.