LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   KVM and Windows 7 BSOD (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/kvm-and-windows-7-bsod-806400/)

mickeyboa 05-06-2010 07:54 PM

KVM and Windows 7 BSOD
 
FC12/X86_64 - KVM


Trying to install Windows 7 into KVM and Windows attempts to read CD and install, but when it gets to "Starting Setup" in Windows, it crashes BSOD,
Error Message: " DRIVER_IRQL_NOT_LESS_OR_EQUAL STOP" can't go any further.

The error message is explained below line.

I ran a Memory Test with Memtest86 and NO BAD Memory was indicated.

This same computer has Two Sata Drives Installed.

Sda - 500gb. Wndows 7 is installed on this drive and had no errors while installing.

Sdb - 1 tb. Has Fedora 12 installed and This is the drive I'm trying to install Windows 7 in KVM .

So it would appear if it is a DRIVER problem, KVM would be part of the problem.



----------------------------------------------------------------------------------------------------------------------------------
Copied off of a Google Search


There are many reasons why your system may crash due to a DRIVER_IRQL_NOT_LESS_OR_EQUAL STOP or BSOD (Blue Screen of Death
) error, so this guide will provide some common tips that may solve the problem, along with some troubleshooting advice.


This error message means that the system attempted to access pageable memory using a kernel interrupt request level (IRQL)
that was too high. This is one of the most common errors and has many possible causes, but the most common scenarios are:

* Faulty drivers
* Hardware issue
* Anti-virus software problem
* Overclocking too far

If you notice any filenames mentioned on the blue screen, googling for the filename may indicate if it is attached to
any driver or software package. This can pinpoint the driver which you need to update. SCSI, Network and graphics drivers
are often the offenders if this is a driver problem - so you can try updating all your drivers manually if it is difficult
to track down the problem.

It is possible to analyse a "dump file" which contains more detailed information about the crash. These dump file are
located in C:\Windows\MiniDump and can be opened using diagnostic packages or posted to the forums for analysis by an
expert. This extra information will often provide a good clue to the BSOD crash.

If you aren't able to boot in to Windows 7 to fix the problem, you may be able to boot using safe mode (press F8 during
startup, or follow this guide) and access Windows again. If this still doesn't work, try selecting the "Last known good
configuration" option. If this also fails, using system restore to roll back your system a few days may be a valid option.
You can use your Windows 7 installation DVD to boot to the recovery options menu, then select "System Restore".

Hardware issues are more difficult to diagnose, but if you have resorted to a clean install of Windows 7 and the problem
still occurs, then it is a possibility. Memory is a frequent culprit, so you can use a tool like MemTest (or the Windows 7
memory diagnostics) to check your RAM for problems. Replacing components is often the only foolproof way to check for
faults.

dyasny 05-07-2010 06:08 AM

what is the cmd line you started the VM with?
If you used virt-manager GUI, just get `ps -ef |grep qemu`

mickeyboa 05-07-2010 11:33 AM

I open the VM with the Virtual Manager GUI

$ ps -ef | grep qemu
derrick 13698 13682 0 07:26 pts/1 00:00:00 grep qemu

jefro 05-07-2010 04:03 PM

How much memory did you allocate to the VM?

mickeyboa 05-07-2010 06:38 PM

Memory used for virtual 2048 out of 4gb

Disk Image 80gb out 379gb

I have attached /var/log/messages.

It appears in "messages" that it's trying to install on /dev/sdc which is /dev/sr0, it can't make hdc/sr0 write enable.
The drive it should be writing image to is Fedora install /dev/hdb or sdb .

The BSOD is a *.png file and I can't attach it on this site.



May 7 13:55:27 localhost ntpd_initres[1753]: host name not found: 2.fedora.pool.ntp.org
May 7 13:55:37 localhost kernel: br0: port 2(vnet0) entering forwarding state
May 7 13:57:37 localhost dhclient[1249]: DHCPREQUEST on br0 to 172.16.0.1 port 67
May 7 13:57:37 localhost dhclient[1249]: DHCPACK from 172.16.0.1
May 7 13:57:37 localhost dhclient[1249]: bound to 172.16.1.34 -- renewal in 1777 seconds.
May 7 13:58:40 localhost avahi-daemon[1439]: Withdrawing address record for fe80::c8bb:29ff:fef9:2607 on vnet0.
May 7 13:58:40 localhost kernel: br0: port 2(vnet0) entering disabled state
May 7 13:58:40 localhost kernel: device vnet0 left promiscuous mode
May 7 13:58:40 localhost kernel: br0: port 2(vnet0) entering disabled state
May 7 13:58:41 localhost ntpd[1660]: Deleting interface #9 vnet0, fe80::c8bb:29ff:fef9:2607#123, interface stats: received=0, sent=0, dropped=0, active_time=196 secs
May 7 14:00:41 localhost libvirtd: 14:00:41.981: error : qemudDomainLookupByName:3080 : Domain not found: no domain with matching name 'Windows7'
May 7 14:01:01 localhost libvirtd: 14:01:01.254: error : qemudDomainLookupByName:3080 : Domain not found: no domain with matching name 'Windows7'
May 7 14:01:38 localhost libvirtd: 14:01:38.751: error : qemudDomainLookupByName:3080 : Domain not found: no domain with matching name 'Windows7'
May 7 14:01:38 localhost libvirtd: 14:01:38.756: error : qemudDomainLookupByName:3080 : Domain not found: no domain with matching name 'Windows7'
May 7 14:01:38 localhost libvirtd: 14:01:38.790: error : storageVolumeLookupByName:1105 : Storage volume not found: no storage vol with matching name 'Windows7-1.img'
May 7 14:01:38 localhost libvirtd: 14:01:38.795: error : storageVolumeLookupByPath:1191 : invalid storage volume pointer in no storage vol with matching path
May 7 14:01:38 localhost libvirtd: 14:01:38.796: error : storageVolumeLookupByPath:1191 : invalid storage volume pointer in no storage vol with matching path
May 7 14:01:38 localhost libvirtd: 14:01:38.797: error : storageVolumeLookupByName:1105 : Storage volume not found: no storage vol with matching name 'Windows7-1.img'
May 7 14:02:06 localhost libvirtd: 14:02:06.737: error : qemudDomainLookupByName:3080 : Domain not found: no domain with matching name 'Windows7'
May 7 14:02:06 localhost libvirtd: 14:02:06.752: error : qemudDomainLookupByName:3080 : Domain not found: no domain with matching name 'Windows7'
May 7 14:02:06 localhost libvirtd: 14:02:06.782: error : storageVolumeLookupByName:1105 : Storage volume not found: no storage vol with matching name 'Windows7-1.img'
May 7 14:02:06 localhost libvirtd: 14:02:06.793: error : storageVolumeLookupByPath:1191 : invalid storage volume pointer in no storage vol with matching path
May 7 14:02:06 localhost libvirtd: 14:02:06.793: error : storageVolumeLookupByPath:1191 : invalid storage volume pointer in no storage vol with matching path
May 7 14:02:06 localhost libvirtd: 14:02:06.794: error : storageVolumeLookupByName:1105 : Storage volume not found: no storage vol with matching name 'Windows7-1.img'
May 7 14:02:06 localhost libvirtd: 14:02:06.905: error : qemudDomainLookupByUUID:3055 : Domain not found: no domain with matching uuid '46ad4c04-c192-957b-a91a-c89c0faa3a9a'
May 7 14:02:06 localhost libvirtd: 14:02:06.910: error : qemudDomainLookupByName:3080 : Domain not found: no domain with matching name 'Windows7'
May 7 14:02:06 localhost libvirtd: 14:02:06.912: error : storageVolumeLookupByName:1105 : Storage volume not found: no storage vol with matching name 'Windows7-1.img'
May 7 14:02:07 localhost libvirtd: 14:02:07.288: error : storagePoolRefresh:820 : internal error pool 'default' has asynchronous jobs running.
May 7 14:02:07 localhost kernel: device vnet0 entered promiscuous mode
May 7 14:02:07 localhost kernel: br0: port 2(vnet0) entering learning state
May 7 14:02:08 localhost avahi-daemon[1439]: Registering new address record for fe80::5448:d3ff:fe40:7b39 on vnet0.*.
May 7 14:02:10 localhost ntpd[1660]: Listening on interface #10 vnet0, fe80::5448:d3ff:fe40:7b39#123 Enabled
May 7 14:02:12 localhost ntpd_initres[1753]: host name not found: 0.fedora.pool.ntp.org
May 7 14:02:12 localhost ntpd_initres[1753]: host name not found: 1.fedora.pool.ntp.org
May 7 14:02:12 localhost ntpd_initres[1753]: host name not found: 2.fedora.pool.ntp.org
May 7 14:02:22 localhost kernel: br0: port 2(vnet0) entering forwarding state
May 7 14:06:03 localhost avahi-daemon[1439]: Withdrawing address record for fe80::5448:d3ff:fe40:7b39 on vnet0.
May 7 14:06:03 localhost kernel: br0: port 2(vnet0) entering disabled state
May 7 14:06:03 localhost kernel: device vnet0 left promiscuous mode
May 7 14:06:03 localhost kernel: br0: port 2(vnet0) entering disabled state
May 7 14:06:05 localhost ntpd[1660]: Deleting interface #10 vnet0, fe80::5448:d3ff:fe40:7b39#123, interface stats: received=0, sent=0, dropped=0, active_time=235 secs
May 7 14:07:44 localhost kernel: usb 2-6: new high speed USB device using ehci_hcd and address 3
May 7 14:07:44 localhost kernel: usb 2-6: New USB device found, idVendor=058f, idProduct=6387
May 7 14:07:44 localhost kernel: usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 7 14:07:44 localhost kernel: usb 2-6: SerialNumber: VAWD64GZ
May 7 14:07:44 localhost kernel: usb 2-6: configuration #1 chosen from 1 choice
May 7 14:07:45 localhost kernel: Initializing USB Mass Storage driver...
May 7 14:07:45 localhost kernel: scsi6 : SCSI emulation for USB Mass Storage devices
May 7 14:07:45 localhost kernel: usbcore: registered new interface driver usb-storage
May 7 14:07:45 localhost kernel: USB Mass Storage support registered.
May 7 14:07:50 localhost kernel: scsi 6:0:0:0: Direct-Access Flash Drive AU_UB20 8.07 PQ: 0 ANSI: 2
May 7 14:07:50 localhost kernel: sd 6:0:0:0: Attached scsi generic sg3 type 0
May 7 14:07:50 localhost kernel: sd 6:0:0:0: [sdc] 8192000 512-byte logical blocks: (4.19 GB/3.90 GiB)
May 7 14:07:50 localhost kernel: sd 6:0:0:0: [sdc] Write Protect is off
May 7 14:07:50 localhost kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
May 7 14:07:50 localhost kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
May 7 14:07:50 localhost kernel: sdc: sdc1
May 7 14:07:50 localhost kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
May 7 14:07:50 localhost kernel: sd 6:0:0:0: [sdc] Attached SCSI removable disk
May 7 14:08:06 localhost hald: mounted /dev/sdc1 on behalf of uid 500

mickeyboa 05-08-2010 07:00 PM

I just discovered a problem. In Virtual-Manager it is showing /var/lib/libvirt/images/ is on hda that is wrong , the /var/lib/libvirt/images is on hdb.

A full install of Windows 7 is on hda1 ntfs
Fedora / is on hdb1 ext4

Why would the KVM be selecting hda as target disk when it should be hdb ?

mickeyboa 05-09-2010 10:42 AM

How do I get Virtual-Mananger to display "Storage" select window ?

It displays Source (CDROM etc)

I need to get it select /dev/hdb as Storage.

mickeyboa 05-10-2010 04:02 PM

BSOD in Windows 7

A problem has detected .....
Run Diag.......... What Diag.??
Remove hardware........ (It is part of the motherboard)

***STOP: 0x0000007F (0x00000000000000008, 0x0000000080050031, 0x000000000000000006F8,
0xFFFFFA80022E4036)


I have put F12 with Virtualization on /dev/sda1



Virt-Manager-Install.log


[Mon, 10 May 2010 11:41:14 virt-manager 6144] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0
[Mon, 10 May 2010 11:41:43 virt-manager 6144] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0
[Mon, 10 May 2010 11:41:43 virt-manager 6144] DEBUG (create:772) Default storage path is: /var/lib/libvirt/images/Window7.img
[Mon, 10 May 2010 11:41:43 virt-manager 6144] DEBUG (VirtualDisk:761) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'Window7.img'.
[Mon, 10 May 2010 11:41:47 virt-manager 6144] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0
[Mon, 10 May 2010 11:41:47 virt-manager 6144] DEBUG (create:772) Default storage path is: /var/lib/libvirt/images/Window7.img
[Mon, 10 May 2010 11:41:47 virt-manager 6144] DEBUG (VirtualDisk:761) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'Window7.img'.
[Mon, 10 May 2010 11:41:47 virt-manager 6144] DEBUG (create:1384) Creating a VM Window7
Type: qemu,hvm
UUID: cfb89810-3833-6b73-914d-f3ab311679d3
Install Source: /dev/sr0
OS: windows:win7
Kernel args: None
Memory: 2048
Max Memory: 2048
# VCPUs: 4
Filesize: 80.0
[Mon, 10 May 2010 11:41:48 virt-manager 6144] DEBUG (create:1433) Starting background install process
[Mon, 10 May 2010 11:41:48 virt-manager 6144] DEBUG (Storage:1134) Creating storage volume 'Window7.img' with xml:
<volume>
<name>Window7.img</name>
<capacity>85899345920</capacity>
<allocation>85899345920</allocation>
<target>
<format type='raw'/>
</target>
</volume>

[Mon, 10 May 2010 11:41:48 virt-manager 6144] DEBUG (Storage:1157) Storage volume 'Window7.img' install complete.
[Mon, 10 May 2010 11:41:48 virt-manager 6144] DEBUG (VirtualDisk:1082) No support for changing selinux context.
[Mon, 10 May 2010 11:41:48 virt-manager 6144] DEBUG (Guest:756) Creating guest from:
<domain type='qemu'>
<name>Window7</name>
<currentMemory>2097152</currentMemory>
<memory>2097152</memory>
<uuid>cfb89810-3833-6b73-914d-f3ab311679d3</uuid>
<os>
<type arch='x86_64'>hvm</type>
<boot dev='cdrom'/>
</os>
<features>
<acpi/><apic/><pae/>
</features>
<clock offset="localtime"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>destroy</on_reboot>
<on_crash>destroy</on_crash>
<vcpu>4</vcpu>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/Window7.img'/>
<target dev='hda' bus='ide'/>
</disk>
<disk type='block' device='cdrom'>
<driver name='qemu'/>
<source dev='/dev/sr0'/>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<interface type='bridge'>
<source bridge='br0'/>
<mac address='52:54:00:2c:ee:6a'/>
</interface>
<input type='tablet' bus='usb'/>
<graphics type='vnc' port='-1' keymap='en-us'/>
<console type='pty'/>
<sound model='es1370'/>
</devices>
</domain>

[Mon, 10 May 2010 11:41:50 virt-manager 6144] DEBUG (engine:202) Tick is slow, not running at requested rate.
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (Guest:763) Created guest, looking to see if it is running
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (Guest:776) Saving XML boot config:
<domain type='qemu'>
<name>Window7</name>
<currentMemory>2097152</currentMemory>
<memory>2097152</memory>
<uuid>cfb89810-3833-6b73-914d-f3ab311679d3</uuid>
<os>
<type arch='x86_64'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/><apic/><pae/>
</features>
<clock offset="localtime"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<vcpu>4</vcpu>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/Window7.img'/>
<target dev='hda' bus='ide'/>
</disk>
<disk type='block' device='cdrom'>
<driver name='qemu'/>
<source dev='/dev/sr0'/>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<interface type='bridge'>
<source bridge='br0'/>
<mac address='52:54:00:2c:ee:6a'/>
</interface>
<input type='tablet' bus='usb'/>
<graphics type='vnc' port='-1' keymap='en-us'/>
<console type='pty'/>
<sound model='es1370'/>
</devices>
</domain>

[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (create:1449) Install completed
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (manager:814) VM Window7 started
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (console:562) Graphics console configured at vnc://127.0.0.1:5900
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (console:575) Starting connect process for 127.0.0.1 5900
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (engine:414) window counter incremented to 2
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (console:562) Graphics console configured at vnc://127.0.0.1:5900
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (console:575) Starting connect process for 127.0.0.1 5900
[Mon, 10 May 2010 11:41:51 virt-manager 6144] DEBUG (console:464) VNC initialized
[Mon, 10 May 2010 12:05:41 virt-manager 6144] DEBUG (engine:418) window counter decremented to 1
[Mon, 10 May 2010 12:05:41 virt-manager 6144] DEBUG (engine:427) Exiting app normally.


All times are GMT -5. The time now is 07:36 PM.