Bug 50921

Summary: kvm hangs booting Windows 2000
Product: Virtualization Reporter: Lucio Crusca (lucio)
Component: kvmAssignee: virtualization_kvm
Status: RESOLVED CODE_FIX    
Severity: normal CC: alan, florian, gleb
Priority: P1    
Hardware: i386   
OS: Linux   
Kernel Version: 3.6.x Subsystem:
Regression: Yes Bisected commit-id:
Attachments: kernel config
patch to implement aad (D5) instruction.

Description Lucio Crusca 2012-11-24 08:07:03 UTC
Created attachment 87161 [details]
kernel config

Hello *,

this is my 1st bug report against the kernel itself, I hope to submit useful 
info and please forgive me if it turns out to be my fault instead...

I download new versions of the vanilla kernel now and then, compile and use 
them just for sake of having the latest (and seeing what's new through make 
oldconfig). I've been using 3.4.12, 3.6.2 and 3.6.5 among others (older ones). 
On my notebook there's also a Debian packaged kernel (3.2.0-something).

I have a Windows 2000 guest installation I fire up with the following command:

kvm -usb -usbdevice tablet -hda win2k.qcow2 -vga cirrus -m 512M

This works perfectly when the Debian packaged is running, but hangs on boot 
with 3.6.2 and 3.6.5. I haven't older kernels on my notebook anymore, so I 
can't tell since when it stopped working, but I'm pretty sure it worked 
sometimes in the past with vanilla kernels (I use vanilla kernels since 
november 2011 and I know I needed that guest on february 2012). Unfortunately 
I need that guest once in a bluemoon, so I can't tell exactly when it stopped 
working between feb. 2012 and 3.6.2. 

The symptoms are a black screen on boot: the first three text lines are 
displayed and then disappear immediately:

SeaBIOS (version 1.7.0-20120603_194846-gandalf)
iPXE (http://ipxe.org) 00:03.0 C900 PCI2.10 PnP PMM+1FFC9C00+1FF89C00 C900
Booting from Hard Disk...

After those lines I get only a black screen and one of the two CPUs at 100%. 
Another guest (Windows XP) boots correctly instead. I've also tried "-vga std" 
with no luck.

Please CC me in replies as I'm not subscribed to kvm@vger.kernel.org, thanks.

Attached kernel config, other infos follow below. 

$ ver_linux

Linux precision 3.6.5-precision #1 SMP PREEMPT Sat Nov 3 13:02:18 CET 2012 
i686 GNU/Linux
 
Gnu C                  4.7
Gnu make               3.81
binutils               2.22
util-linux             2.20.1
mount                  support
module-init-tools      9
e2fsprogs              1.42.5
pcmciautils            018
PPP                    2.4.5
Linux C Library        2.13
Dynamic linker (ldd)   2.13
Procps                 3.3.3
Net-tools              1.60
Kbd                    1.15.3
Sh-utils               8.13
wireless-tools         30
Modules Loaded         tun pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv 
btrfs crc32c libcrc32c zlib_deflate ufs qnx4 hfsplus hfs minix ntfs vfat msdos 
fat jfs xfs reiserfs ext3 jbd ext2 ablk_helper cryptd aes_i586 aes_generic 
iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack 
iptable_mangle ip6table_filter ip6_tables iptable_filter ip_tables 
cpufreq_userspace ebtable_nat cpufreq_conservative ebtables cpufreq_powersave 
x_tables cpufreq_stats usb_storage cdc_acm uas parport_pc ppdev lp parport 
rfcomm bnep bluetooth snd_hrtimer binfmt_misc uinput fuse nfsd auth_rpcgss 
nfs_acl nfs lockd fscache sunrpc loop firewire_sbp2 ecryptfs joydev nvidia 
coretemp snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss 
snd_mixer_oss snd_pcm kvm_intel snd_page_alloc uvcvideo videobuf2_vmalloc 
videobuf2_memops snd_seq_midi iTCO_wdt snd_seq_midi_event videobuf2_core kvm 
iTCO_vendor_support snd_rawmidi arc4 pcmcia iwldvm snd_seq mac80211 videodev 
media yenta_socket pcmcia_rsrc pcmcia_core snd_seq_device snd_timer 
acpi_cpufreq snd microcode gpio_ich dell_wmi lpc_ich psmouse soundcore 
i2c_i801 sparse_keymap evdev serio_raw mperf video battery processor button ac 
iwlwifi i2c_core cfg80211 rfkill dell_laptop dcdbas wmi pcspkr ext4 crc16 jbd2 
mbcache dm_mod md_mod sg sd_mod sr_mod cdrom crc_t10dif thermal thermal_sys 
ahci libahci firewire_ohci uhci_hcd sdhci_pci sdhci mmc_core firewire_core 
crc_itu_t e1000e libata scsi_mod ehci_hcd usbcore usb_common

$ cat /proc/cpuinfo:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P8700  @ 2.53GHz
stepping        : 10
microcode       : 0xa07
cpu MHz         : 2527.167
cache size      : 3072 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx 
smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dtherm tpr_shadow 
vnmi flexpriority
bogomips        : 5054.33
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P8700  @ 2.53GHz
stepping        : 10
microcode       : 0xa07
cpu MHz         : 800.000
cache size      : 3072 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx 
smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dtherm tpr_shadow 
vnmi flexpriority
bogomips        : 5054.33
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

$ cat /proc/modules 
tun 21740 2 - Live 0xf923c000
pci_stub 12397 1 - Live 0xf8956000
vboxpci 22709 0 - Live 0xf89bb000 (O)
vboxnetadp 25431 0 - Live 0xf8aa6000 (O)
vboxnetflt 22987 0 - Live 0xf8aae000 (O)
vboxdrv 227471 3 vboxpci,vboxnetadp,vboxnetflt, Live 0xf91d4000 (O)
btrfs 728211 0 - Live 0xfbe5f000
crc32c 12576 1 - Live 0xf894c000
libcrc32c 12394 1 btrfs, Live 0xf8903000
zlib_deflate 25308 1 btrfs, Live 0xf8a9e000
ufs 76766 0 - Live 0xf8acc000
qnx4 12878 0 - Live 0xf8951000
hfsplus 78352 0 - Live 0xf8ab7000
hfs 48726 0 - Live 0xf8a91000
minix 30744 0 - Live 0xf89fd000
ntfs 205807 0 - Live 0xf8a32000
vfat 17009 0 - Live 0xf8946000
msdos 16902 0 - Live 0xf8940000
fat 52371 2 vfat,msdos, Live 0xf89ef000
jfs 166624 0 - Live 0xf8a67000
xfs 675555 0 - Live 0xf8b12000
reiserfs 223174 0 - Live 0xf8983000
ext3 177982 0 - Live 0xf89c2000
jbd 54653 1 ext3, Live 0xf8974000
ext2 61550 0 - Live 0xf895d000
ablk_helper 12508 0 - Live 0xf8922000
cryptd 14159 1 ablk_helper, Live 0xf8927000
aes_i586 16608 2 - Live 0xf893a000
aes_generic 37066 1 aes_i586, Live 0xf892c000
iptable_nat 12800 0 - Live 0xf88f9000
nf_nat 17754 1 iptable_nat, Live 0xf8919000
nf_conntrack_ipv4 13304 3 iptable_nat,nf_nat, Live 0xf88fe000
nf_defrag_ipv4 12443 1 nf_conntrack_ipv4, Live 0xf88f4000
nf_conntrack 50734 3 iptable_nat,nf_nat,nf_conntrack_ipv4, Live 0xf890b000
iptable_mangle 12488 0 - Live 0xf88ef000
ip6table_filter 12492 0 - Live 0xf88d5000
ip6_tables 21112 1 ip6table_filter, Live 0xf88dc000
iptable_filter 12488 0 - Live 0xf88bd000
ip_tables 16974 3 iptable_nat,iptable_mangle,iptable_filter, Live 0xf88c3000
cpufreq_userspace 12520 0 - Live 0xf88b8000
ebtable_nat 12516 0 - Live 0xf883b000
cpufreq_conservative 12953 0 - Live 0xf8828000
ebtables 20932 1 ebtable_nat, Live 0xf88b1000
cpufreq_powersave 12422 0 - Live 0xf8842000
x_tables 17941 7 
iptable_nat,iptable_mangle,ip6table_filter,ip6_tables,iptable_filter,ip_tables,ebtables, 
Live 0xf8835000
cpufreq_stats 12689 0 - Live 0xf8823000
usb_storage 43288 0 - Live 0xf88c9000
cdc_acm 21801 0 - Live 0xf8811000
uas 17143 0 - Live 0xf88ab000
parport_pc 25991 0 - Live 0xf882d000
ppdev 12590 0 - Live 0xf87de000
lp 12766 0 - Live 0xf880c000
parport 35171 3 parport_pc,ppdev,lp, Live 0xf8819000
rfcomm 36209 0 - Live 0xf87d4000
bnep 17181 2 - Live 0xf87e5000
bluetooth 171640 10 rfcomm,bnep, Live 0xf887c000
snd_hrtimer 12540 1 - Live 0xf877b000
binfmt_misc 16853 1 - Live 0xf87be000
uinput 17107 1 - Live 0xf8780000
fuse 64284 1 - Live 0xf8787000
nfsd 198738 2 - Live 0xf884a000
auth_rpcgss 32257 1 nfsd, Live 0xf86f9000
nfs_acl 12463 1 nfsd, Live 0xf8187000
nfs 111908 0 - Live 0xf87ef000
lockd 57082 2 nfsd,nfs, Live 0xf87af000
fscache 35487 1 nfs, Live 0xf83d5000
sunrpc 160368 6 nfsd,auth_rpcgss,nfs_acl,nfs,lockd, Live 0xf8a09000
loop 21894 0 - Live 0xf86f2000
firewire_sbp2 17509 0 - Live 0xf86ec000
ecryptfs 79567 0 - Live 0xf879a000
joydev 16884 0 - Live 0xf83bb000
nvidia 10194566 32 - Live 0xf9319000 (PO)
coretemp 12734 0 - Live 0xf9148000
snd_hda_codec_idt 52719 1 - Live 0xf91a4000
snd_hda_intel 30028 4 - Live 0xf9163000
snd_hda_codec 84927 2 snd_hda_codec_idt,snd_hda_intel, Live 0xf9117000
snd_hwdep 12906 1 snd_hda_codec, Live 0xf83ac000
snd_pcm_oss 40069 0 - Live 0xf910c000
snd_mixer_oss 21795 3 snd_pcm_oss, Live 0xf914f000
snd_pcm 69150 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss, Live 0xf9131000
kvm_intel 124079 0 - Live 0xf9170000
snd_page_alloc 12841 2 snd_hda_intel,snd_pcm, Live 0xf83c9000
uvcvideo 69728 0 - Live 0xf83ed000
videobuf2_vmalloc 12556 1 uvcvideo, Live 0xf83b6000
videobuf2_memops 12478 1 videobuf2_vmalloc, Live 0xf83b1000
snd_seq_midi 12744 0 - Live 0xf83a7000
iTCO_wdt 12727 0 - Live 0xf83a2000
snd_seq_midi_event 13124 1 snd_seq_midi, Live 0xf8277000
videobuf2_core 30286 1 uvcvideo, Live 0xf8250000
kvm 321641 1 kvm_intel, Live 0xf92c9000
iTCO_vendor_support 12585 1 iTCO_wdt, Live 0xf824b000
snd_rawmidi 22278 1 snd_seq_midi, Live 0xf82d0000
arc4 12487 2 - Live 0xf83c4000
pcmcia 36105 0 - Live 0xf8367000
iwldvm 125380 0 - Live 0xf9214000
snd_seq 43311 3 snd_seq_midi,snd_seq_midi_event, Live 0xf83e1000
mac80211 371827 1 iwldvm, Live 0xf926d000
videodev 81368 2 uvcvideo,videobuf2_core, Live 0xf8377000
media 17757 2 uvcvideo,videodev, Live 0xf827d000
yenta_socket 26195 0 - Live 0xf82a0000
pcmcia_rsrc 17292 1 yenta_socket, Live 0xf828c000
pcmcia_core 17973 3 pcmcia,yenta_socket,pcmcia_rsrc, Live 0xf8271000
snd_seq_device 12980 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0xf81ee000
snd_timer 22002 3 snd_hrtimer,snd_pcm,snd_seq, Live 0xf80d3000
acpi_cpufreq 12773 1 - Live 0xf81e5000
snd 46662 16 
snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_seq_device,snd_timer, 
Live 0xf822e000
microcode 13065 0 - Live 0xf819b000
gpio_ich 12743 0 - Live 0xf8196000
dell_wmi 12437 0 - Live 0xf817c000
lpc_ich 16609 0 - Live 0xf80cd000
psmouse 67149 0 - Live 0xf8390000
soundcore 12890 3 snd, Live 0xf803c000
i2c_i801 16843 0 - Live 0xf8167000
sparse_keymap 12680 1 dell_wmi, Live 0xf80b8000
evdev 17134 21 - Live 0xf8161000
serio_raw 12737 0 - Live 0xf8037000
mperf 12387 1 acpi_cpufreq, Live 0xf829b000
video 17415 0 - Live 0xf8371000
battery 12957 0 - Live 0xf8296000
processor 27776 3 acpi_cpufreq, Live 0xf8269000
button 12817 0 - Live 0xf8287000
ac 12552 0 - Live 0xf823b000
iwlwifi 69985 1 iwldvm, Live 0xf8354000
i2c_core 23191 3 nvidia,videodev,i2c_i801, Live 0xf825b000
cfg80211 159502 3 iwldvm,mac80211,iwlwifi, Live 0xf82a8000
rfkill 18400 4 bluetooth,cfg80211, Live 0xf8263000
dell_laptop 16651 0 - Live 0xf8241000
dcdbas 13080 1 dell_laptop, Live 0xf8182000
wmi 17147 1 dell_wmi, Live 0xf818c000
pcspkr 12531 0 - Live 0xf813a000
ext4 416052 5 - Live 0xf82ed000
crc16 12327 2 bluetooth,ext4, Live 0xf80b3000
jbd2 72664 1 ext4, Live 0xf821b000
mbcache 12857 3 ext3,ext2,ext4, Live 0xf80ae000
dm_mod 69529 12 - Live 0xf80f0000
md_mod 105776 0 - Live 0xf81a2000
sg 25595 0 - Live 0xf80e8000
sd_mod 43448 4 - Live 0xf80dc000
sr_mod 21528 0 - Live 0xf8042000
cdrom 34540 1 sr_mod, Live 0xf80a4000
crc_t10dif 12332 1 sd_mod, Live 0xf809f000
thermal 13103 0 - Live 0xf807e000
thermal_sys 21907 3 video,processor,thermal, Live 0xf808d000
ahci 24928 3 - Live 0xf80bd000
libahci 22311 1 ahci, Live 0xf80c6000
firewire_ohci 34895 0 - Live 0xf8130000
uhci_hcd 26356 0 - Live 0xf8097000
sdhci_pci 17490 0 - Live 0xf8083000
sdhci 26284 1 sdhci_pci, Live 0xf8021000
mmc_core 78678 2 sdhci_pci,sdhci, Live 0xf82d8000
firewire_core 47012 2 firewire_sbp2,firewire_ohci, Live 0xf802a000
crc_itu_t 12331 1 firewire_core, Live 0xf8070000
e1000e 170664 0 - Live 0xf8105000
libata 149118 2 ahci,libahci, Live 0xf81f5000
scsi_mod 151037 7 usb_storage,uas,firewire_sbp2,sg,sr_mod,sd_mod,libata, Live 
0xf81bf000
ehci_hcd 43869 0 - Live 0xf8170000
usbcore 128448 6 usb_storage,cdc_acm,uas,uvcvideo,uhci_hcd,ehci_hcd, Live 
0xf804c000
usb_common 12338 1 usbcore, Live 0xf8012000

# lspci -vvv
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory 
Controller Hub (rev 07)
        Subsystem: Dell Device 0250
        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
        Capabilities: [e0] Vendor Specific Information: Len=0a <?>

00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express 
Graphics Port (rev 07) (prog-if 00 [Normal decode])
        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, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: f2000000-f6efffff
        Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [88] Subsystem: Dell Device 0250
        Capabilities: [80] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee0300c  Data: 41b1
        Capabilities: [a0] Express (v1) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, 
L1 <1us
                        ExtTag- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
                LnkCap: Port #2, Speed 2.5GT/s, Width x16, ASPM L0s L1, 
Latency L0 <256ns, L1 <4us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- 
CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ 
DLActive- BWMgmt- ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ 
Surprise-
                        Slot #1, PowerLimit 75.000W; Interlock- NoCompl+
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- 
LinkChg-
                        Control: AttnInd Off, PwrInd On, Power- Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ 
Interlock-
                        Changed: MRL- PresDet+ LinkState-
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- 
CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed+ WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [140 v1] Root Complex Link
                Desc:   PortNumber=02 ComponentID=01 EltType=Config
                Link0:  Desc:   TargetPort=00 TargetComponent=01 AssocRCRB- 
LinkType=MemMapped LinkValid+
                        Addr:   00000000feda5000
        Kernel driver in use: pcieport

00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network 
Connection (rev 03)
        Subsystem: Dell Device 0250
        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-
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at f6fe0000 (32-bit, non-prefetchable) [disabled] 
[size=128K]
        Region 1: Memory at f6fdb000 (32-bit, non-prefetchable) [disabled] 
[size=4K]
        Region 2: I/O ports at efe0 [disabled] [size=32]
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D3 NoSoftRst- PME-Enable+ DSel=0 DScale=1 PME-
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 00000000fee0300c  Data: 41c3
        Capabilities: [e0] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: e1000e

00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #4 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 0250
        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 20
        Region 4: I/O ports at 6f60 [size=32]
        Capabilities: [50] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: uhci_hcd

00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #5 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 0250
        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 B routed to IRQ 21
        Region 4: I/O ports at 6f80 [size=32]
        Capabilities: [50] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: uhci_hcd

00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #6 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 0250
        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 C routed to IRQ 22
        Region 4: I/O ports at 6fa0 [size=32]
        Capabilities: [50] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: uhci_hcd

00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #2 (rev 03) (prog-if 20 [EHCI])
        Subsystem: Dell Device 0250
        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 C routed to IRQ 22
        Region 0: Memory at fed1c400 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 03)
        Subsystem: Dell Device 0250
        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, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 48
        Region 0: Memory at f6fdc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0300c  Data: 4172
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 
00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, 
L1 <1us
                        ExtTag- RBE- FLReset+
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ 
TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, 
Latency L0 <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- 
DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                        Status: NegoPending- InProgress-
                VC1:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable- ID=0 ArbSelect=Fixed TC/VC=00
                        Status: NegoPending- InProgress-
        Capabilities: [130 v1] Root Complex Link
                Desc:   PortNumber=0f ComponentID=02 EltType=Config
                Link0:  Desc:   TargetPort=00 TargetComponent=02 AssocRCRB- 
LinkType=MemMapped LinkValid+
                        Addr:   00000000fed18000
        Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 
(rev 03) (prog-if 00 [Normal decode])
        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, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: 84000000-841fffff
        Prefetchable memory behind bridge: 0000000084200000-00000000843fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, 
L1 <1us
                        ExtTag- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ 
TransPend-
                LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency 
L0 <1us, L1 <4us
                        ClockPM- Surprise- LLActRep+ BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- 
CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ 
DLActive- BWMgmt- ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ 
Surprise+
                        Slot #0, PowerLimit 6.500W; Interlock- NoCompl-
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet+ CmdCplt- HPIrq- 
LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- 
Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- 
Interlock-
                        Changed: MRL- PresDet- LinkState-
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- 
CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee0300c  Data: 41c1
        Capabilities: [90] Subsystem: Dell Device 0250
        Capabilities: [a0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed+ WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [180 v1] Root Complex Link
                Desc:   PortNumber=01 ComponentID=02 EltType=Config
                Link0:  Desc:   TargetPort=00 TargetComponent=02 AssocRCRB- 
LinkType=MemMapped LinkValid+
                        Addr:   00000000fed18000
        Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 
(rev 03) (prog-if 00 [Normal decode])
        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, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: f1f00000-f1ffffff
        Prefetchable memory behind bridge: 0000000084400000-00000000845fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, 
L1 <1us
                        ExtTag- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ 
TransPend-
                LnkCap: Port #2, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency 
L0 <256ns, L1 <4us
                        ClockPM- Surprise- LLActRep+ BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- 
CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ 
DLActive+ BWMgmt- ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ 
Surprise+
                        Slot #1, PowerLimit 6.500W; Interlock- NoCompl-
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet+ CmdCplt- HPIrq- 
LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- 
Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ 
Interlock-
                        Changed: MRL- PresDet- LinkState-
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- 
CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee0300c  Data: 41d1
        Capabilities: [90] Subsystem: Dell Device 0250
        Capabilities: [a0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed+ WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [180 v1] Root Complex Link
                Desc:   PortNumber=02 ComponentID=02 EltType=Config
                Link0:  Desc:   TargetPort=00 TargetComponent=02 AssocRCRB- 
LinkType=MemMapped LinkValid+
                        Addr:   00000000fed18000
        Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 
(rev 03) (prog-if 00 [Normal decode])
        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, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=0d, subordinate=0d, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: 84600000-847fffff
        Prefetchable memory behind bridge: 0000000084800000-00000000849fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, 
L1 <1us
                        ExtTag- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ 
TransPend-
                LnkCap: Port #3, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency 
L0 <1us, L1 <4us
                        ClockPM- Surprise- LLActRep+ BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- 
CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ 
DLActive- BWMgmt- ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ 
Surprise+
                        Slot #2, PowerLimit 6.500W; Interlock- NoCompl-
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet+ CmdCplt- HPIrq- 
LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- 
Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- 
Interlock-
                        Changed: MRL- PresDet- LinkState-
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- 
CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee0300c  Data: 41e1
        Capabilities: [90] Subsystem: Dell Device 0250
        Capabilities: [a0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed+ WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [180 v1] Root Complex Link
                Desc:   PortNumber=03 ComponentID=02 EltType=Config
                Link0:  Desc:   TargetPort=00 TargetComponent=02 AssocRCRB- 
LinkType=MemMapped LinkValid+
                        Addr:   00000000fed18000
        Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 
(rev 03) (prog-if 00 [Normal decode])
        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, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=0e, subordinate=0f, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: f1c00000-f1efffff
        Prefetchable memory behind bridge: 00000000f0000000-00000000f01fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, 
L1 <1us
                        ExtTag- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ 
TransPend-
                LnkCap: Port #4, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency 
L0 <1us, L1 <4us
                        ClockPM- Surprise- LLActRep+ BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- 
CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ 
DLActive- BWMgmt- ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ 
Surprise+
                        Slot #3, PowerLimit 6.500W; Interlock- NoCompl-
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet+ CmdCplt- HPIrq- 
LinkChg-
                        Control: AttnInd Unknown, PwrInd Unknown, Power- 
Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- 
Interlock-
                        Changed: MRL- PresDet- LinkState-
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- 
CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee0300c  Data: 4122
        Capabilities: [90] Subsystem: Dell Device 0250
        Capabilities: [a0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed+ WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [180 v1] Root Complex Link
                Desc:   PortNumber=04 ComponentID=02 EltType=Config
                Link0:  Desc:   TargetPort=00 TargetComponent=02 AssocRCRB- 
LinkType=MemMapped LinkValid+
                        Addr:   00000000fed18000
        Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #1 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 0250
        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 20
        Region 4: I/O ports at 6f00 [size=32]
        Capabilities: [50] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: uhci_hcd

00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #2 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 0250
        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 B routed to IRQ 21
        Region 4: I/O ports at 6f20 [size=32]
        Capabilities: [50] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: uhci_hcd

00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #3 (rev 03) (prog-if 00 [UHCI])
        Subsystem: Dell Device 0250
        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 C routed to IRQ 22
        Region 4: I/O ports at 6f40 [size=32]
        Capabilities: [50] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: uhci_hcd

00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #1 (rev 03) (prog-if 20 [EHCI])
        Subsystem: Dell Device 0250
        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 20
        Region 0: Memory at fed1c000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME+
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) (prog-
if 01 [Subtractive decode])
        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
        Bus: primary=00, secondary=03, subordinate=07, sec-latency=32
        I/O behind bridge: 00005000-00005fff
        Memory behind bridge: f1b00000-f1bfffff
        Prefetchable memory behind bridge: 0000000080000000-0000000083ffffff
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [50] Subsystem: Dell Device 0250

00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 
03)
        Subsystem: Dell Device 0250
        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
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port 
SATA Controller [AHCI mode] (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: Dell Device 0250
        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 D routed to IRQ 46
        Region 0: I/O ports at 6e70 [size=8]
        Region 1: I/O ports at 6e78 [size=4]
        Region 2: I/O ports at 6e80 [size=8]
        Region 3: I/O ports at 6e88 [size=4]
        Region 4: I/O ports at 6ea0 [size=32]
        Region 5: Memory at fed1c800 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
                Address: fee0300c  Data: 4152
        Capabilities: [70] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
        Capabilities: [b0] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 
03)
        Subsystem: Dell Device 0250
        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 B routed to IRQ 19
        Region 0: Memory at f6fdaf00 (64-bit, non-prefetchable) [size=256]
        Region 4: I/O ports at 1100 [size=32]
        Kernel driver in use: i801_smbus

01:00.0 VGA compatible controller: NVIDIA Corporation G96M [Quadro FX 770M] 
(rev a1) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 0250
        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 16
        Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at f2000000 (64-bit, non-prefetchable) [size=32M]
        Region 5: I/O ports at df00 [size=128]
        [virtual] Expansion ROM at f4000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [78] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, 
L1 <4us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Latency 
L0 <256ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- 
CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ 
DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis+
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, 
Selectable De-emphasis: -6dB
                         Transmit Margin: Normal Operating Range, 
EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, 
EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, 
LinkEqualizationRequest-
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [128 v1] Power Budgeting <?>
        Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=024 <?>
        Kernel driver in use: nvidia

03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
        Subsystem: Dell Device 0250
        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: 168, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at 88000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=03, secondary=04, subordinate=07, sec-latency=176
        Memory window 0: 80000000-83ffffff (prefetchable)
        Memory window 1: 8c000000-8fffffff
        I/O window 0: 00005000-000050ff
        I/O window 1: 00005400-000054ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001
        Kernel driver in use: yenta_cardbus

03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 
04) (prog-if 10 [OHCI])
        Subsystem: Dell Device 0250
        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: 64 (500ns min, 1000ns max), Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at f1bff800 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME+
        Kernel driver in use: firewire_ohci

03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host 
Adapter (rev 21) (prog-if 01)
        Subsystem: Dell Device 0250
        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: 64, Cache Line Size: 64 bytes
        Interrupt: pin C routed to IRQ 18
        Region 0: Memory at f1bff600 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
        Kernel driver in use: sdhci-pci

0c:00.0 Network controller: Intel Corporation WiFi Link 5100
        Subsystem: Intel Corporation WiFi Link 5100 AGN
        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, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 47
        Region 0: Memory at f1ffe000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0300c  Data: 4162
        Capabilities: [e0] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, 
L1 unlimited
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ 
TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency 
L0 <128ns, L1 <32us
                        ClockPM+ Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- 
CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ 
DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- 
NonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- 
NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- 
ChkEn-
        Capabilities: [140 v1] Device Serial Number 00-24-d6-ff-ff-68-8e-38
        Kernel driver in use: iwlwifi

config-3.6.5-precision
Comment 1 Gleb 2012-11-24 08:21:38 UTC
Trace it please while it hang http://www.linux-kvm.org/page/Tracing. Also try running without vbox modules.

Can I have your image somehow?
Comment 2 Gleb 2012-11-24 08:22:46 UTC
And if you have time it would be very helpful to bisect it.
Comment 3 Lucio Crusca 2012-11-24 08:52:25 UTC
What should I do in order to "bisect" it?
Comment 5 Lucio Crusca 2012-11-24 13:44:16 UTC
Here the first tests results:

vbox modules do not make a difference (tried rmmod vboxpci vboxnetadp vboxnetflt vboxdrv and then kvm ...).

The trace.dat is about 60M, I could upload it somewhere, however I tried looking at it and I'm reasonably sure it hangs here:

$ trace-cmd report | grep 125\\.332 | tail
             kvm-6588  [000]   125.332264: kvm_entry:            vcpu 0
             kvm-6588  [000]   125.332264: kvm_emulate_insn:     10000:44f8: 75 27
             kvm-6588  [000]   125.332265: kvm_entry:            vcpu 0
             kvm-6588  [000]   125.332266: kvm_emulate_insn:     10000:44fa: 8b 3c
             kvm-6588  [000]   125.332267: kvm_entry:            vcpu 0
             kvm-6588  [000]   125.332267: kvm_emulate_insn:     10000:44fc: 46
             kvm-6588  [000]   125.332268: kvm_entry:            vcpu 0
             kvm-6588  [000]   125.332269: kvm_emulate_insn:     10000:44fd: 46
             kvm-6588  [000]   125.332269: kvm_entry:            vcpu 0
             kvm-6588  [000]   125.332270: kvm_emulate_insn:     10000:44fe: 8b 14
$ trace-cmd report | grep 125\\.333 | head 
             kvm-6588  [000]   125.333950: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333951: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333951: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333952: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333953: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333953: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333954: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333954: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333955: kvm_emulate_insn:     10000:4782: d5
             kvm-6588  [000]   125.333955: kvm_emulate_insn:     10000:4782: d5

The rest of the log is about 5 seconds of d5 d5 d5 d5...

As for the bisect, I'm not sure of a good commit in the vanilla tree. By now the only working kernel I have is a debian one.

While doing these test a suspect came to my mind: a difference between mine and debian kernels is that I configure mine preemptible low latency desktop. Could that be the cause?
Comment 6 Gleb 2012-11-24 14:05:24 UTC
Try 3.5.0 kernel, it should work. Preemptible low latency desktop config should not matter. I'll find the place to put the trace.dat file and let you know.
Comment 7 Lucio Crusca 2012-11-24 14:57:07 UTC
I'm now compiling 3.5.0.

About the guest image, it's a 2.1GB qcow2 file. No hope to upload it anywhere with my internet connection. The only way I see to let you have a copy is burning a dvd and mailing it to you. If you are interested please hand me your paper mail address.
Comment 8 Lucio Crusca 2012-11-24 18:50:38 UTC
Tried 3.5.0: as soon as the guest window shows up (before SeaBIOS messages) it closes and kvm segfaults...
Comment 9 Lucio Crusca 2012-11-24 19:09:13 UTC
Now I'm quite sure kvm works at least for someone (many) in 3.5.0. That leads me to believe all this is specific to my computer or my kernel configuration. Could the problem be caused by the target CPU? My vanilla kernels are 32bit configured for Core 2/newer Xeon.
Comment 10 Gleb 2012-11-24 19:10:08 UTC
Hmm, this is something different. Which version of qemu and can you get a stack trace?
Comment 11 Gleb 2012-11-24 19:12:58 UTC
32bit host kernels are tested less than 64bit, but your original problem with wind2000 does not look to be 32bit related. Looks like instruction emulation problem.
Comment 12 Alan 2012-11-26 12:09:34 UTC
vboxpci 22709 0 - Live 0xf89bb000 (O)
vboxnetadp 25431 0 - Live 0xf8aa6000 (O)
vboxnetflt 22987 0 - Live 0xf8aae000 (O)
vboxdrv 227471 3 vboxpci,vboxnetadp,vboxnetflt, Live 0xf91d4000 (O)


Shouldn't be interefering but probably a good idea to test without
Comment 13 Lucio Crusca 2012-11-26 13:13:56 UTC
@Alan: see comment #5, since then I've always tested with and without vbox modules.

@Gleb: can't run on 3.5.0 right now, I'll take the stack trace ASAP.
Comment 14 Anonymous Emailer 2012-11-26 20:10:11 UTC
Reply-To: xiaoguangrong@linux.vnet.ibm.com

On 11/24/2012 09:44 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=50921
> 
> 
> 
> 
> 
> --- Comment #5 from Lucio Crusca <lucio@sulweb.org>  2012-11-24 13:44:16 ---
> Here the first tests results:
> 
> vbox modules do not make a difference (tried rmmod vboxpci vboxnetadp
> vboxnetflt vboxdrv and then kvm ...).
> 
> The trace.dat is about 60M, I could upload it somewhere, however I tried
> looking at it and I'm reasonably sure it hangs here:
> 
> $ trace-cmd report | grep 125\\.332 | tail
>              kvm-6588  [000]   125.332264: kvm_entry:            vcpu 0
>              kvm-6588  [000]   125.332264: kvm_emulate_insn:     10000:44f8:
>              75
> 27

Hmm... no 'kvm_exit' message. It looks like the infinite loop is caused by:

|	/* Don't enter VMX if guest state is invalid, let the exit handler
|	   start emulation until we arrive back to a valid state */
|	if (vmx->emulation_required && emulate_invalid_guest_state)
|		return;

(vmx_vcpu_run in arch/x86/kvm/vmx.c)

And, i noticed 'ept' is not supported on your box, that means
'enable_unrestricted_guest' is disabled. I guess something was wrong
when emulate big real mode.

Could you reload kvm-intel.ko with 'emulate_invalid_guest_state = 0',
and see what will happen.
Comment 15 Anonymous Emailer 2012-11-26 20:29:28 UTC
Reply-To: xiaoguangrong@linux.vnet.ibm.com

Sorry, forgot to CC Lucio Crusca.

On 11/27/2012 04:09 AM, Xiao Guangrong wrote:
> On 11/24/2012 09:44 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
>> https://bugzilla.kernel.org/show_bug.cgi?id=50921
>>
>>
>>
>>
>>
>> --- Comment #5 from Lucio Crusca <lucio@sulweb.org>  2012-11-24 13:44:16 ---
>> Here the first tests results:
>>
>> vbox modules do not make a difference (tried rmmod vboxpci vboxnetadp
>> vboxnetflt vboxdrv and then kvm ...).
>>
>> The trace.dat is about 60M, I could upload it somewhere, however I tried
>> looking at it and I'm reasonably sure it hangs here:
>>
>> $ trace-cmd report | grep 125\\.332 | tail
>>              kvm-6588  [000]   125.332264: kvm_entry:            vcpu 0
>>              kvm-6588  [000]   125.332264: kvm_emulate_insn:     10000:44f8:
>>              75
>> 27
> 
> Hmm... no 'kvm_exit' message. It looks like the infinite loop is caused by:
> 
> |     /* Don't enter VMX if guest state is invalid, let the exit handler
> |        start emulation until we arrive back to a valid state */
> |     if (vmx->emulation_required && emulate_invalid_guest_state)
> |             return;
> 
> (vmx_vcpu_run in arch/x86/kvm/vmx.c)
> 
> And, i noticed 'ept' is not supported on your box, that means
> 'enable_unrestricted_guest' is disabled. I guess something was wrong
> when emulate big real mode.
> 
> Could you reload kvm-intel.ko with 'emulate_invalid_guest_state = 0',
> and see what will happen.
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
>
Comment 16 Lucio Crusca 2012-11-26 22:14:15 UTC
@xiaoguangrong: YOU ARE THE MAN! 'emulate_invalid_guest_state = 0' did the trick, now I have win2000 running in a 3.6.7 kvm guest! Thanks.

Still guessing why it works with plain kvm-intel.ko in Debian kernels is out of my reach, but I can safely shove that mystery in the when-I'll-have-time-stuff drawer and live happy with this solution meanwhile.
Comment 17 Gleb 2012-11-27 08:22:15 UTC
(In reply to comment #16)
> @xiaoguangrong: YOU ARE THE MAN! 'emulate_invalid_guest_state = 0' did the
> trick, now I have win2000 running in a 3.6.7 kvm guest! Thanks.
> 
> Still guessing why it works with plain kvm-intel.ko in Debian kernels is out
> of
> my reach, but I can safely shove that mystery in the
> when-I'll-have-time-stuff
> drawer and live happy with this solution meanwhile.

Because emulate_invalid_guest_state = 0 was the default before 3.6.0. This is why I wanted you to try 3.5.0.
Comment 18 Gleb 2012-12-05 14:15:30 UTC
Created attachment 88501 [details]
patch to implement aad (D5) instruction.

Can you see if this patch helps?
Comment 19 Lucio Crusca 2012-12-09 20:46:03 UTC
I've tried the patch in 3.6.7 (my current kernel) and I confirm it fixes the problem. My Windows2000 guest now works without specifying "emulate_invalid_guest_state = 0" to kvm-intel.ko.
Comment 20 Lucio Crusca 2013-02-02 22:32:39 UTC
Did this fix go into vanilla kernels? Is 3.7.5 patched?
Comment 21 Gleb 2013-02-03 08:43:20 UTC
It is queued for 3.8.
Comment 22 Gleb 2013-02-03 08:48:16 UTC
(In reply to comment #21)
> It is queued for 3.8.

Sorry, for 3.9
Comment 23 Florian Mickler 2013-03-05 00:52:29 UTC
A patch referencing this bug report has been merged in Linux v3.9-rc1:

commit 7f662273e476e2d7ff44f411fa9f17c946480100
Author: Gleb Natapov <gleb@redhat.com>
Date:   Mon Dec 10 11:42:30 2012 +0200

    KVM: emulator: implement AAD instruction