All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Subject: dom0 kernel fails to recognize DVD drive on piix controller
Date: Thu, 21 Apr 2016 11:37:19 +0200	[thread overview]
Message-ID: <20160421093719.GA3412@aepfle.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

On my Fujitsu Esprimo Mobile M9400 laptop the upstream dom0 kernel does
not find the DVD drive. The DVD drive is found with native kernels and
also with xenlinux based kernels, like 4.1 based openSUSE Leap.

[    6.242286] ata_piix 0000:00:1f.1: version 2.13
[    6.242625] xen: registering gsi 19 triggering 0 polarity 1
[    6.242635] Already setup the GSI :19
[    6.250792] ata_piix: probe of 0000:00:1f.1 failed with error -22

After some investigation it turned out that irq_to_desc() returns
nothing for the piix PCI device, as a result EINVAL is returned.
The callchain is like:
 piix_init_one
  ata_pci_sff_activate_host (legacy_mode case)
   devm_request_threaded_irq
    irq_to_desc

This happens with 4.4, 4.5 and 4.6 based dom0 kernels.

Any idea whats happening here, where to look further?

I'm attaching a collection of logfiles, like dmesg, lspci and the used
debug patch, along with the used .config for the dom0 kernel.

Thanks,

Olaf

[-- Attachment #2: esprimo-piix.tar.xz --]
[-- Type: application/x-xz, Size: 72988 bytes --]

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

             reply	other threads:[~2016-04-21  9:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21  9:37 Olaf Hering [this message]
2016-04-21  9:49 ` dom0 kernel fails to recognize DVD drive on piix controller Jan Beulich
2016-04-21  9:52   ` Olaf Hering
2016-04-21 10:10     ` Jan Beulich
2016-04-21 10:35       ` Olaf Hering
2016-04-21 10:48         ` Jan Beulich
2016-04-21  9:55 ` Juergen Gross
2016-04-21 11:00   ` Olaf Hering

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=20160421093719.GA3412@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=xen-devel@lists.xen.org \
    /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.