[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen-unstable: pci-passthrough "irq 16: nobody cared" on HVM guest shutdown on irq of device not passed through.



Friday, September 26, 2014, 8:50:04 AM, you wrote:

>>>> On 25.09.14 at 19:02, <linux@xxxxxxxxxxxxxx> wrote:
>> lspci gives only one device with IRQ 16, the soundcontroller 
>> 
>> 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia 
>> (Intel HDA) (rev 40)
>>         Subsystem: Micro-Star International Co., Ltd. Device 7640
>>         Flags: bus master, slow devsel, latency 64, IRQ 16
>>         Memory at fdbf8000 (64-bit, non-prefetchable) [size=16K]
>>         Capabilities: [50] Power Management version 2
>>         Kernel driver in use: snd_hda_intel
>> 
>> On boot i do get a message  "Already setup the GSI :16", however that seems 
>> to happen for multiple devices and irq/gsi's.

> And is quite normal.

>> ##Cold boot of the host system
>>     [   35.556728] xen: registering gsi 16 triggering 0 polarity 1
>>     [   35.573157] xen: --> pirq=16 -> irq=16 (gsi=16)
>>     (XEN) [2014-09-25 13:08:55.771] IOAPIC[0]: Set PCI routing entry (6-16 
>> -> 0x89 -> IRQ 16 Mode:1 Active:1)

> So you managed to zap the one message presumably right before
> this which would indicate which device this is done for (just like is
> the case below).

Ah ok, i did send the complete "context" in the complete serial.log with the 
first mail (however that is that large and everything spread it's also hard to 
make sense of).
The problem is .. there is no direct context in the logging to a particular 
device .. (at least i don't see it):

[   35.181176] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
250)
[   35.203459] io scheduler noop registered
[   35.215396] io scheduler deadline registered
[   35.228524] io scheduler cfq registered (default)
[   35.242933] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[   35.258031] crc32: self tests passed, processed 225944 bytes in 109313 nsec
[   35.279206] crc32c: CRC_LE_BITS = 64
[   35.290012] crc32c: self tests passed, processed 225944 bytes in 54643 nsec
[   35.320224] crc32_combine: 8373 self tests passed
[   35.343184] crc32c_combine: 8373 self tests passed
[   35.357728] xen: registering gsi 52 triggering 0 polarity 1
[   35.374221] xen: --> pirq=52 -> irq=52 (gsi=52)
(XEN) [2014-09-25 13:08:55.572] IOAPIC[1]: Set PCI routing entry (7-28 -> 0x39 
-> IRQ 52 Mode:1 Active:1)
[   35.416140] xen: registering gsi 52 triggering 0 polarity 1
[   35.432692] Already setup the GSI :52
[   35.444146] xen: registering gsi 52 triggering 0 polarity 1
[   35.460795] Already setup the GSI :52
[   35.472261] xen: registering gsi 53 triggering 0 polarity 1
[   35.488869] Already setup the GSI :53
[   35.500437] xen: registering gsi 54 triggering 0 polarity 1
[   35.516952] Already setup the GSI :54
[   35.528414] xen: registering gsi 54 triggering 0 polarity 1
[   35.545032] Already setup the GSI :54
[   35.556728] xen: registering gsi 16 triggering 0 polarity 1
[   35.573157] xen: --> pirq=16 -> irq=16 (gsi=16)
(XEN) [2014-09-25 13:08:55.771] IOAPIC[0]: Set PCI routing entry (6-16 -> 0x89 
-> IRQ 16 Mode:1 Active:1)
[   35.615314] xen: registering gsi 38 triggering 0 polarity 1
[   35.631744] xen: --> pirq=38 -> irq=38 (gsi=38)
(XEN) [2014-09-25 13:08:55.830] IOAPIC[1]: Set PCI routing entry (7-14 -> 0xa9 
-> IRQ 38 Mode:1 Active:1)
[   35.673825] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   35.690379] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[   35.710260] cpcihp_generic: Generic port I/O CompactPCI Hot Plug Driver 
version: 0.1
[   35.733663] cpcihp_generic: not configured, disabling.
[   35.749312] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   35.770896] acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
[   35.790170] usbcore: registered new interface driver udlfb



>>     [   38.575661] pciback 0000:09:00.0: enabling device (0000 -> 0003)
>>     [   38.593584] xen: registering gsi 32 triggering 0 polarity 1
>>     [   38.610461] xen: --> pirq=32 -> irq=32 (gsi=32)
>>     (XEN) [2014-09-25 13:08:58.809] IOAPIC[1]: Set PCI routing entry (7-8 -> 
>> 0xc9 -> IRQ 32 Mode:1 Active:1)
>>     [   42.713230] xen: registering gsi 16 triggering 0 polarity 1
>>     [   42.713233] Already setup the GSI :16

> And again here. Context of all these messages is quite relevant.

[   42.709269] xen_wdt: Xen WatchDog Timer Driver v0.01
[   42.709327] xen_wdt: cannot register miscdev on minor=130 (-16)
[   42.709338] wdt: probe of wdt failed with error -16
[   42.709917] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: 
dm-devel@xxxxxxxxxx
[   42.710232] device-mapper: cache-policy-mq: version 1.2.0 loaded
[   42.710235] device-mapper: cache cleaner: version 1.0.0 loaded
[   42.710238] Bluetooth: Virtual HCI driver ver 1.5
[   42.710350] Bluetooth: HCI UART driver ver 2.2
[   42.710352] Bluetooth: HCI H4 protocol initialized
[   42.710353] Bluetooth: HCI BCSP protocol initialized
[   42.710353] Bluetooth: HCILL protocol initialized
[   42.710354] Bluetooth: HCIATH3K protocol initialized
[   42.710355] Bluetooth: HCI Three-wire UART (H5) protocol initialized
[   42.710393] usbcore: registered new interface driver bcm203x
[   42.710429] usbcore: registered new interface driver bpa10x
[   42.710461] usbcore: registered new interface driver bfusb
[   42.710497] usbcore: registered new interface driver btusb
[   42.710533] usbcore: registered new interface driver ath3k
[   42.711266] hidraw: raw HID events driver (C) Jiri Kosina
[   42.711551] usbcore: registered new interface driver usbhid
[   42.711552] usbhid: USB HID core driver
[   42.713230] xen: registering gsi 16 triggering 0 polarity 1
[   42.713233] Already setup the GSI :16
[   42.713544] xen: registering gsi 25 triggering 0 polarity 1
[   42.713557] xen: --> pirq=25 -> irq=25 (gsi=25)
[   42.744323] usbcore: registered new interface driver snd-usb-audio
[   42.744359] usbcore: registered new interface driver snd-ua101
[   42.744397] usbcore: registered new interface driver snd-usb-usx2y
[   42.744439] usbcore: registered new interface driver snd-usb-caiaq
[   42.744476] usbcore: registered new interface driver snd-usb-6fire
[   42.744524] Netfilter messages via NETLINK v0.30.
[   42.744531] nfnl_acct: registering with nfnetlink.
[   42.744591] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[   42.744895] ctnetlink v0.93: registering with nfnetlink.
[   42.745322] xt_time: kernel timezone is -0000
[   42.745343] ip_set: protocol 6



> Jan




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.