Roman Lehnert
2009-Jan-22 14:11 UTC
[Xen-users] hvm phy-disc doesnt boot (file-disc does) (debian dom0, SLES domU)
Hi, we have a debian etch system running here and it works fine for hvms (winxp) and paras (debian etchs). Today i tried to do a SLES10SP2 setup as hvm (in the future it should run as para). I used this config: --------------- xenserver:/etc/xen# cat gp2backuptest.cfg kernel = ''/usr/lib/xen-default/boot/hvmloader'' builder = ''hvm'' memory = ''2000'' device_model = ''/usr/lib/xen-default/bin/qemu-dm'' disk = [''file:/root/SLES-10-SP2-DVD-x86_64-GM-DVD1.iso,hdc:cdrom,r'',''phy:/dev/sdc,hda,w''] name = ''gp2backuptest'' vif = [''bridge=xenbr1''] boot = ''d'' vnc = 1 pae =1 on_crash = ''preserve'' ------------------ As you can see, i tried to use the complete /dev/sdc as hda for the virtual machine. The install was successfully (The machine bootet from the dvd-image, the hd was detected correctly). During the SLES setup i created to partitions (/ (450GB) and swap(30GB)) and installed grub in the MBR as well as in /. Unfortunatelly, after the first Boot the Systems hangs at grub after loading the HVMAssist Bios with the following message: ---------------- ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (18188 MBytes) ata0 slave: Unknown device Booting from Hard Disk... GRUB Loading stage1.5. GRUB loading, please wait... Error 2 ------------------ xm dmesg shows me: ------------------ (XEN) (GUEST: 8) ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 (XEN) (GUEST: 8) ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (18188 MBytes) (XEN) (GUEST: 8) ata0 slave: Unknown device (XEN) (GUEST: 8) (XEN) (GUEST: 8) Booting from Hard Disk... (XEN) (GUEST: 8) Unknown opcode at 0000:22B5=0x22B5 (XEN) (GUEST: 8) Halt called from %eip 0xD404A ------------------- What i am wondering about are the 18188 MBytes. I tried another hdd - with the same result. BUT: When i do exactly the same setup but with a image-file as hda, everything works well. What am i doing wrong? Big thanks for any suggestions! Best regards, Roman Lehnert -- Gobas BIT GmbH Im Fischteich 11 38268 Lengede Gerichtsstand: Amtsgericht Hildesheim HRB 200561 Geschäftsführer: Diplom Volkswirt Gustav Alfred Simon, Lengede Diplom Informatiker Thomas Muth, Wolfenbüttel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users