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

Bug#768157: machine hangs when loading cirrus with modeset=1 while booted with vga=791



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

Hi,

while testing the new Grml release, I noticed an interesting hang of QEMU when
the machine is booted. The initial testing was done using [1] in QEMU from Sid
(2.1+dfsg-5), but I also could reproduce it with the same QEMU and a fresh
Jessie install with both, 3.16.5-1 and 3.16.7-1.

To reproduce:
* boot a fresh Jessie with 3.16 kernel in QEMU and vga=791 as bootparam
* modprobe cirrus modeset=1
* machine hangs

I am not sure this will happen on real cirrus HW, as I don't have any, but QEMU
is quite widespread and cirrus is the default VGA driver.

Regards
Evgeni

[1] http://download.grml.org/devel/grml64-full_2014.10-rc1.iso

-- Package-specific info:
** Version:
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.3 (Debian 4.8.3-13) ) #1 SMP Debian 3.16.7-1 (2014-11-04)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=/dev/mapper/vg01-root ro quiet vga=791

** Not tainted

** Kernel log:
[    0.565203] AMD IOMMUv2 functionality not available on this system
[    0.565321] TCP: cubic registered
[    0.565339] NET: Registered protocol family 10
[    0.565544] mip6: Mobile IPv6
[    0.565548] NET: Registered protocol family 17
[    0.565553] mpls_gso: MPLS GSO support
[    0.565831] registered taskstats version 1
[    0.566263] rtc_cmos 00:00: setting system clock to 2014-11-05 13:53:31 UTC (1415195611)
[    0.566318] PM: Hibernation image not present or could not be loaded.
[    0.567297] Freeing unused kernel memory: 1200K (ffffffff818ed000 - ffffffff81a19000)
[    0.567299] Write protecting the kernel read-only data: 8192k
[    0.570060] Freeing unused kernel memory: 940K (ffff880001515000 - ffff880001600000)
[    0.570697] Freeing unused kernel memory: 224K (ffff8800017c8000 - ffff880001800000)
[    0.584291] systemd-udevd[51]: starting version 215
[    0.584626] random: systemd-udevd urandom read with 1 bits of entropy available
[    0.594962] ACPI: bus type USB registered
[    0.594996] usbcore: registered new interface driver usbfs
[    0.595009] usbcore: registered new interface driver hub
[    0.597676] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[    0.601839] SCSI subsystem initialized
[    0.611252] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
[    0.611884] usbcore: registered new device driver usb
[    0.612948] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.614231] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[    0.616681] uhci_hcd: USB Universal Host Controller Interface driver
[    0.622091] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    0.622101] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    0.622127] uhci_hcd 0000:00:01.2: detected 2 ports
[    0.622215] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c040
[    0.623527] libata version 3.00 loaded.
[    0.625041] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    0.625045] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.625047] usb usb1: Product: UHCI Host Controller
[    0.625049] usb usb1: Manufacturer: Linux 3.16.0-4-amd64 uhci_hcd
[    0.625051] usb usb1: SerialNumber: 0000:00:01.2
[    0.625480] hub 1-0:1.0: USB hub found
[    0.625635] hub 1-0:1.0: 2 ports detected
[    0.626321] ata_piix 0000:00:01.1: version 2.13
[    0.632467] FDC 0 is a S82078B
[    0.639578] scsi0 : ata_piix
[    0.649203] scsi1 : ata_piix
[    0.649260] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14
[    0.649262] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15
[    0.651923] virtio-pci 0000:00:03.0: irq 40 for MSI/MSI-X
[    0.651946] virtio-pci 0000:00:03.0: irq 41 for MSI/MSI-X
[    0.651966] virtio-pci 0000:00:03.0: irq 42 for MSI/MSI-X
[    0.653788] virtio-pci 0000:00:05.0: irq 43 for MSI/MSI-X
[    0.653811] virtio-pci 0000:00:05.0: irq 44 for MSI/MSI-X
[    0.654532]  vda: vda1 vda2
[    0.813146] ata2.01: NODEV after polling detection
[    0.813919] ata2.00: ATAPI: QEMU DVD-ROM, 2.1.2, max UDMA/100
[    0.814966] ata2.00: configured for MWDMA2
[    0.816265] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.1. PQ: 0 ANSI: 5
[    0.828633] sr0: scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    0.828638] cdrom: Uniform CD-ROM driver Revision: 3.20
[    0.828869] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    0.829893] sr 1:0:0:0: Attached scsi generic sg0 type 5
[    0.900192] device-mapper: uevent: version 1.0.3
[    0.900644] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[    0.936061] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[    0.947446] EXT4-fs (dm-0): INFO: recovery required on readonly filesystem
[    0.947451] EXT4-fs (dm-0): write access will be enabled during recovery
[    0.959940] EXT4-fs (dm-0): recovery complete
[    0.961943] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
[    1.097518] usb 1-1: New USB device found, idVendor=0627, idProduct=0001
[    1.097524] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=5
[    1.097526] usb 1-1: Product: QEMU USB Tablet
[    1.097528] usb 1-1: Manufacturer: QEMU
[    1.097529] usb 1-1: SerialNumber: 42
[    1.124686] systemd-udevd[278]: starting version 215
[    1.183365] [drm] Initialized drm 1.1.0 20060810
[    1.183729] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0
[    1.185500] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    1.185507] ACPI: Power Button [PWRF]
[    1.225580] input: PC Speaker as /devices/platform/pcspkr/input/input3
[    1.238086] snd_hda_intel 0000:00:04.0: irq 45 for MSI/MSI-X
[    1.244248] hidraw: raw HID events driver (C) Jiri Kosina
[    1.256734] usbcore: registered new interface driver usbhid
[    1.256737] usbhid: USB HID core driver
[    1.301965] sound hdaudioC0D0: autoconfig: line_outs=1 (0x3/0x0/0x0/0x0/0x0) type:line
[    1.301970] sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.301972] sound hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.301974] sound hdaudioC0D0:    mono: mono_out=0x0
[    1.301976] sound hdaudioC0D0:    inputs:
[    1.301978] sound hdaudioC0D0:      Line=0x5
[    1.319228] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input5
[    1.319341] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Pointer [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0
[    1.324737] ppdev: user-space parallel port driver
[    1.528181] tsc: Refined TSC clocksource calibration: 1994.989 MHz
[    2.066864] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
[   32.481632] EXT4-fs (dm-0): re-mounted. Opts: (null)
[   32.510082] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[   32.900248] RPC: Registered named UNIX socket transport module.
[   32.900252] RPC: Registered udp transport module.
[   32.900254] RPC: Registered tcp transport module.
[   32.900255] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   32.904878] FS-Cache: Loaded
[   32.911292] FS-Cache: Netfs 'nfs' registered for caching
[   32.919210] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   68.001507] random: nonblocking pool is initialized

** Model information
sys_vendor: Bochs
product_name: Bochs
product_version: 
chassis_vendor: Bochs
chassis_version: 
bios_vendor: Bochs
bios_version: Bochs

** Loaded modules:
nfsd
auth_rpcgss
oid_registry
nfs_acl
nfs
lockd
fscache
sunrpc
joydev
hid_generic
ppdev
snd_hda_codec_generic
usbhid
hid
evdev
psmouse
pcspkr
serio_raw
virtio_balloon
snd_hda_intel
snd_hda_controller
ttm
pvpanic
drm_kms_helper
parport_pc
parport
snd_hda_codec
snd_hwdep
processor
thermal_sys
snd_pcm
button
snd_timer
i2c_piix4
drm
snd
soundcore
i2c_core
ext4
crc16
mbcache
jbd2
dm_mod
sg
sr_mod
cdrom
ata_generic
virtio_blk
virtio_net
ata_piix
floppy
uhci_hcd
ehci_hcd
libata
scsi_mod
virtio_pci
virtio_ring
virtio
usbcore
usb_common

** 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-

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)
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable)
	Region 4: I/O ports at c0a0 [size=16]
	Kernel driver in use: ata_piix

00:01.2 USB controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01) (prog-if 00 [UHCI])
	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=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin D routed to IRQ 11
	Region 4: I/O ports at c040 [size=32]
	Kernel driver in use: uhci_hcd

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-
	Interrupt: pin A routed to IRQ 9
	Kernel driver in use: piix4_smbus

00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8] (prog-if 00 [VGA controller])
	Subsystem: Red Hat, Inc QEMU Virtual Machine [1af4:1100]
	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-
	Region 0: Memory at fc000000 (32-bit, prefetchable) [size=32M]
	Region 1: Memory at febd4000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at febc0000 [disabled] [size=64K]

00:03.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000]
	Subsystem: Red Hat, Inc Device [1af4:0001]
	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 10
	Region 0: I/O ports at c060 [size=32]
	Region 1: Memory at febd5000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at feb80000 [disabled] [size=256K]
	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

00:04.0 Audio device [0403]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller [8086:2668] (rev 01)
	Subsystem: Red Hat, Inc QEMU Virtual Machine [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
	Interrupt: pin A routed to IRQ 45
	Region 0: Memory at febd0000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee0100c  Data: 4191
	Kernel driver in use: snd_hda_intel

00:05.0 SCSI storage controller [0100]: Red Hat, Inc Virtio block device [1af4:1001]
	Subsystem: Red Hat, Inc Device [1af4:0002]
	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 10
	Region 0: I/O ports at c000 [size=64]
	Region 1: Memory at febd6000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [40] MSI-X: Enable+ Count=2 Masked-
		Vector table: BAR=1 offset=00000000
		PBA: BAR=1 offset=00000800
	Kernel driver in use: virtio-pci

00:06.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon [1af4:1002]
	Subsystem: Red Hat, Inc Device [1af4:0005]
	Physical Slot: 6
	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 c080 [size=32]
	Kernel driver in use: virtio-pci


** USB devices:
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.16.0-4-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.53
ii  initramfs-tools [linux-initramfs-tool]  0.116
ii  kmod                                    18-3
ii  linux-base                              3.5

Versions of packages linux-image-3.16.0-4-amd64 recommends:
ii  firmware-linux-free  3.3
ii  irqbalance           1.0.6-3

Versions of packages linux-image-3.16.0-4-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 2.02~beta2-15
pn  linux-doc-3.16          <none>

Versions of packages linux-image-3.16.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.16.0-4-amd64/postinst/depmod-error-initrd-3.16.0-4-amd64: false
  linux-image-3.16.0-4-amd64/prerm/removing-running-kernel-3.16.0-4-amd64: true
  linux-image-3.16.0-4-amd64/postinst/mips-initrd-3.16.0-4-amd64:


Reply to: