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

Bug#732378: linux-image-3.2.0-4-amd64: Msi regression with xen domUs using virtio devices



Package: src:linux
Version: 3.2.51-1
Severity: normal

With Squeeze, virtio devices works correctly on xen pvhvm domUs.
Whereas With Wheezy pci=nomsi kernel parameter is necessary to have virtio devices working.
Therefore it seems there is a kernel regression about msi between version 2.6.32 (used by Squeeze) and 3.2 (used by Wheezy).

Thanks for any reply.

-- Package-specific info:
** Version:
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.51-1

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64 root=UUID=4f5fc11b-8d32-405f-8fd3-3dd5318c25b2 ro console=tty0 xen_emul_unplug=never pci=nomsi

** Not tainted

** Kernel log:
[    0.903786] acpiphp: Slot [14] registered
[    0.905007] acpiphp: Slot [15] registered
[    0.906159] acpiphp: Slot [16] registered
[    0.907330] acpiphp: Slot [17] registered
[    0.908546] acpiphp: Slot [18] registered
[    0.909710] acpiphp: Slot [19] registered
[    0.911003] acpiphp: Slot [20] registered
[    0.912190] acpiphp: Slot [21] registered
[    0.913412] acpiphp: Slot [22] registered
[    0.914557] acpiphp: Slot [23] registered
[    0.915686] acpiphp: Slot [24] registered
[    0.916905] acpiphp: Slot [25] registered
[    0.918082] acpiphp: Slot [26] registered
[    0.919225] acpiphp: Slot [27] registered
[    0.920389] acpiphp: Slot [28] registered
[    0.921524] acpiphp: Slot [29] registered
[    0.922666] acpiphp: Slot [30] registered
[    0.923796] acpiphp: Slot [31] registered
[    0.925158] intel_idle: does not run on family 6 model 30
[    0.925176] ERST: Table is not found!
[    0.926265] GHES: HEST is not enabled!
[    0.927448] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.956543] Linux agpgart interface v0.103
[    0.957935] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    0.962005] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.963231] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.964678] mousedev: PS/2 mouse device common for all mice
[    0.967957] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.970572] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[    0.971886] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs
[    0.973210] cpuidle: using governor ladder
[    1.015875] hpet1: lost 1 rtc interrupts
[    1.017155] cpuidle: using governor menu
[    1.018558] TCP cubic registered
[    1.019805] NET: Registered protocol family 10
[    1.022166] Mobile IPv6
[    1.023198] NET: Registered protocol family 17
[    1.024369] Registering the dns_resolver key type
[    1.025804] PM: Hibernation image not present or could not be loaded.
[    1.025823] registered taskstats version 1
[    1.028071] rtc_cmos 00:05: setting system clock to 2013-12-17 12:11:36 UTC (1387282296)
[    1.029932] Initializing network drop monitor service
[    1.036675] Freeing unused kernel memory: 576k freed
[    1.037978] Write protecting the kernel read-only data: 6144k
[    1.041645] Freeing unused kernel memory: 652k freed
[    1.045279] Freeing unused kernel memory: 688k freed
[    1.060199] udevd[50]: starting version 175
[    1.073375] xen: --> pirq=20 -> irq=28 (gsi=28)
[    1.073473] virtio-pci 0000:00:03.0: setting latency timer to 64
[    1.074082] xen: --> pirq=21 -> irq=36 (gsi=36)
[    1.074175] virtio-pci 0000:00:05.0: setting latency timer to 64
[    1.090330] SCSI subsystem initialized
[    1.108918] libata version 3.00 loaded.
[    1.109435] ata_piix 0000:00:01.1: version 2.13
[    1.109775] ata_piix 0000:00:01.1: setting latency timer to 64
[    1.111154] scsi0 : ata_piix
[    1.114948] scsi1 : ata_piix
[    1.116146] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc140 irq 14
[    1.117479] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc148 irq 15
[    1.138633] FDC 0 is a S82078B
[    1.278350] ata1.01: NODEV after polling detection
[    1.279326] ata1.00: ATA-7: QEMU HARDDISK, 1.3.1, max UDMA/100
[    1.280568] ata1.00: 20480000 sectors, multi 16: LBA48 
[    1.283391] ata1.00: configured for MWDMA2
[    1.284667] scsi 0:0:0:0: Direct-Access     ATA      QEMU HARDDISK    1.3. PQ: 0 ANSI: 5
[    1.295004] sd 0:0:0:0: [sda] 20480000 512-byte logical blocks: (10.4 GB/9.76 GiB)
[    1.296998] sd 0:0:0:0: [sda] Write Protect is off
[    1.298171] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.298193] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.303076]  sda: sda1 sda2
[    1.304608] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.307363] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.574520] PM: Starting manual resume from disk
[    1.576291] PM: Hibernation image partition 8:2 present
[    1.576293] PM: Looking for hibernation image.
[    1.578028] PM: Image not found (code -22)
[    1.578030] PM: Hibernation image not present or could not be loaded.
[    1.607672] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    1.848071] Refined TSC clocksource calibration: 2661.106 MHz.
[    2.060362] udevd[302]: starting version 175
[    2.231183] input: PC Speaker as /devices/platform/pcspkr/input/input1
[    2.252756] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    2.258268] piix4_smbus 0000:00:01.3: Host SMBus controller not enabled!
[    2.260492] ACPI: Power Button [PWRF]
[    2.263100] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input3
[    2.266191] ACPI: Sleep Button [SLPF]
[    2.298279] Error: Driver 'pcspkr' is already registered, aborting...
[    2.730330] Adding 961532k swap on /dev/sda2.  Priority:-1 extents:1 across:961532k 
[    2.749043] EXT4-fs (sda1): re-mounted. Opts: (null)
[    2.888644] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[    2.922925] loop: module loaded
[    2.939381] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
[    3.592669] RPC: Registered named UNIX socket transport module.
[    3.594474] RPC: Registered udp transport module.
[    3.595669] RPC: Registered tcp transport module.
[    3.597062] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.606764] FS-Cache: Loaded
[    3.620833] FS-Cache: Netfs 'nfs' registered for caching
[    3.628001] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   14.896228] eth0: no IPv6 routers present

** Model information
sys_vendor: Xen
product_name: HVM domU
product_version: 4.4-unstable
chassis_vendor: Xen
chassis_version: 
bios_vendor: Xen
bios_version: 4.4-unstable

** Loaded modules:
nfsd
nfs
nfs_acl
auth_rpcgss
fscache
lockd
sunrpc
loop
snd_pcm
snd_page_alloc
snd_timer
snd
processor
i2c_piix4
button
thermal_sys
virtio_console
crc32c_intel
soundcore
evdev
i2c_core
psmouse
serio_raw
pcspkr
ext4
crc16
jbd2
mbcache
sg
sd_mod
crc_t10dif
ata_generic
virtio_net
floppy
ata_piix
libata
scsi_mod
virtio_pci
virtio_ring
virtio

** Network interface configuration:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:16:3e:4a:e5:3f brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.60/24 brd 192.168.1.255 scope global eth0
    inet6 fe80::216:3eff:fe4a:e53f/64 scope link 
       valid_lft forever preferred_lft forever

*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth0: 3245678    3378    0    0    0     0          0         0   357341    2456    0    0    0     0       0          0

*** Protocol statistics:
Ip:
    3250 total packets received
    5 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    3244 incoming packets delivered
    2417 requests sent out
Icmp:
    3 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
        echo replies: 3
    3 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        echo request: 3
IcmpMsg:
        InType0: 3
        OutType8: 3
Tcp:
    6 active connections openings
    1 passive connection openings
    0 failed connection attempts
    0 connection resets received
    1 connections established
    3096 segments received
    2400 segments send out
    2 segments retransmited
    0 bad segments received.
    0 resets sent
Udp:
    27 packets received
    0 packets to unknown port received.
    0 packet receive errors
    27 packets sent
UdpLite:
TcpExt:
    4 delayed acks sent
    1 packets directly queued to recvmsg prequeue.
    1 bytes directly received in process context from prequeue
    2298 packet headers predicted
    566 acknowledgments not containing data payload received
    13 predicted acknowledgments
    2 congestion windows recovered without slow start after partial ack
    2 other TCP timeouts
    5 DSACKs sent for old packets
    2 DSACKs received
    TCPSackShiftFallback: 2
IpExt:
    InMcastPkts: 8
    InBcastPkts: 110
    InOctets: 3192221
    OutOctets: 320757
    InMcastOctets: 256
    InBcastOctets: 13829


** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
	Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
	Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
	Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
	Physical Slot: 1
	Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010] (prog-if 80 [Master])
	Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
	Physical Slot: 1
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at c140 [size=16]
	Kernel driver in use: ata_piix

00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
	Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
	Physical Slot: 1
	Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 9

00:02.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device [5853:0001] (rev 01)
	Subsystem: XenSource, Inc. Xen Platform Device [5853:0001]
	Physical Slot: 2
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at c000 [size=256]
	Region 1: Memory at f0000000 (32-bit, prefetchable) [size=16M]

00:03.0 Communication controller [0780]: Red Hat, Inc Virtio console [1af4:1003]
	Subsystem: Red Hat, Inc Device [1af4:0003]
	Physical Slot: 3
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 28
	Region 0: I/O ports at c100 [size=32]
	Region 1: Memory at f2020000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] MSI-X: Enable- Count=32 Masked-
		Vector table: BAR=1 offset=00000000
		PBA: BAR=1 offset=00000800
	Kernel driver in use: virtio-pci

00:04.0 VGA compatible controller [0300]: Device [1234:1111] (prog-if 00 [VGA controller])
	Subsystem: Red Hat, Inc Device [1af4:1100]
	Physical Slot: 4
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at f1000000 (32-bit, prefetchable) [size=16M]
	Region 2: Memory at f2021000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at f2000000 [disabled] [size=64K]

00:05.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000]
	Subsystem: Red Hat, Inc Device [1af4:0001]
	Physical Slot: 5
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 36
	Region 0: I/O ports at c120 [size=32]
	Region 1: Memory at f2022000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at f2010000 [disabled] [size=64K]
	Capabilities: [40] MSI-X: Enable- Count=3 Masked-
		Vector table: BAR=1 offset=00000000
		PBA: BAR=1 offset=00000800
	Kernel driver in use: virtio-pci


** USB devices:
not available


-- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.2.0-4-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.49
ii  initramfs-tools [linux-initramfs-tool]  0.109.1
ii  kmod                                    9-3
ii  linux-base                              3.5

Versions of packages linux-image-3.2.0-4-amd64 recommends:
pn  firmware-linux-free  <none>

Versions of packages linux-image-3.2.0-4-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 1.99-27+deb7u2
pn  linux-doc-3.2           <none>

Versions of packages linux-image-3.2.0-4-amd64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-3.2.0-4-amd64/postinst/depmod-error-initrd-3.2.0-4-amd64: false
  linux-image-3.2.0-4-amd64/prerm/removing-running-kernel-3.2.0-4-amd64: true
  linux-image-3.2.0-4-amd64/postinst/ignoring-ramdisk:
  linux-image-3.2.0-4-amd64/postinst/missing-firmware-3.2.0-4-amd64:


Reply to: