LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 05-06-2010, 06:54 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Rep: Reputation: 55
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.
 
Old 05-07-2010, 05:08 AM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 827

Rep: Reputation: 91
what is the cmd line you started the VM with?
If you used virt-manager GUI, just get `ps -ef |grep qemu`
 
Old 05-07-2010, 10:33 AM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Original Poster
Rep: Reputation: 55
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
 
Old 05-07-2010, 03:03 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,086

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
How much memory did you allocate to the VM?
 
Old 05-07-2010, 05:38 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Original Poster
Rep: Reputation: 55
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
 
Old 05-08-2010, 06:00 PM   #6
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Original Poster
Rep: Reputation: 55
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 ?
 
Old 05-09-2010, 09:42 AM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Original Poster
Rep: Reputation: 55
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.
 
Old 05-10-2010, 03:02 PM   #8
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Original Poster
Rep: Reputation: 55
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.

Last edited by mickeyboa; 05-10-2010 at 03:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine installed a program onto my windows partition, Windows BSOD on boot. DJGCrusader Linux - Enterprise 9 08-14-2009 08:25 AM
windows xp installation BSOD leedude General 2 07-28-2008 10:20 PM
Constant lockups (plus BSOD in Windows) jamyskis Linux - Hardware 1 10-21-2006 05:04 PM
No more BSOD on windows makuyl General 1 06-03-2005 06:09 PM
Causing a BSOD in Windows 2000? jspenguin General 7 05-05-2004 05:36 PM


All times are GMT -5. The time now is 08:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration