WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] physical disk doesn't work in hvm guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] physical disk doesn't work in hvm guest
From: "Brady Chen" <chenchp@xxxxxxxxx>
Date: Mon, 6 Aug 2007 19:09:20 +0800
Delivery-date: Mon, 06 Aug 2007 04:07:03 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=c2KK446Se7XWTe26bZP5sogdIwQpFOUU5ycO/uyPDTK3txbpIWW0rLa97yfeUzwQtk/BEbbL3y2x2V+ZoKzeNG7SvH/e608zjFZmKw2XHuUdNK1NLRdcUtgjjhvniHxUNQ6spYxx7QjEW46AC4QuzFHCGJrzzLGe1ti5ReZyWpA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Zwmt9QeGbHgAoNcUQbec7j23ET3xhsp7cKt1O3pG4w7ykdqzhuHPyxh7AMXvOfnvyw4lJPy+gwAZOULQMtQZaXRdHFeex/rVz/C1aen7wIdty2kDDgCKqfdE6i5PBg2zMAg6SUfyfLBDUAJnyPuUIvXGcCN9O0iVGpMgcaDoNmY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,
I'm using ThinkPad T60, with xen3.1.0, windows could be installed into
a file based virtual disk. however, when I tried to use a physical
disk, I got this err msg:

HVMAssist BIOS, 1 cpu $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $

ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (0 MBytes)
ata0  slave: UnKnown device

Booting from Hard Disk...
Boot from Hard Disk failed: could not read the boot disk
FATAL: No bootable device.

anyone got the same issue before? some info attached (disk partitions,
uname, vm config, xm dmesg, xm info), thanks.

===disk partitions
/dev/sda1 (windows)
/dev/sda2 (Fedora 3 + xen 3.1.0).

=== uname -a
Linux localhost.localdomain 2.6.18-xen0 #2 SMP Fri Aug 3 23:23:00 CST
2007 i686 i686 i386 GNU/Linux

===vm config
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
name = "xpv"
acpi=1
apic=1
disk = [ 'phy:sda,hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="c"
sdl=1
vnc=0
vncpasswd=''
stdvga=0
serial='pty

===xm dmesg
(XEN) HVM20: HVM Loader
(XEN) HVM20: Detected Xen v3.1.0
(XEN) HVM20: Writing SMBIOS tables ...
(XEN) HVM20: Loading ROMBIOS ...
(XEN) HVM20: 9100 bytes of ROMBIOS high-memory extensions:
(XEN) HVM20:   Relocating to 0xfffac00-0xfffcf8c ... done
(XEN) irq.c:210: Dom20 PCI link 0 changed 0 -> 5
(XEN) HVM20: PCI-ISA link 0 routed to IRQ5
(XEN) irq.c:210: Dom20 PCI link 1 changed 0 -> 7
(XEN) HVM20: PCI-ISA link 1 routed to IRQ7
(XEN) irq.c:210: Dom20 PCI link 2 changed 0 -> 10
(XEN) HVM20: PCI-ISA link 2 routed to IRQ10
(XEN) irq.c:210: Dom20 PCI link 3 changed 0 -> 11
(XEN) HVM20: PCI-ISA link 3 routed to IRQ11
(XEN) HVM20: pci dev 01:1 bar 20 size 00000010: 0000c001
(XEN) HVM20: pci dev 01:2 INTA->IRQ7
(XEN) HVM20: pci dev 02:0 bar 10 size 02000000: f0000008
(XEN) HVM20: pci dev 02:0 bar 14 size 00001000: f2000000
(XEN) HVM20: pci dev 03:0 bar 10 size 00000100: 0000c101
(XEN) HVM20: pci dev 03:0 bar 14 size 01000000: f3000008
(XEN) HVM20: pci dev 03:0 INTA->IRQ11
(XEN) HVM20: Creating MP tables ...
(XEN) HVM20: Loading Cirrus VGABIOS ...
(XEN) HVM20: Loading ACPI ...
(XEN) HVM20: BIOS map:
(XEN) HVM20:  c0000-c8003: VGA BIOS
(XEN) HVM20:  d0000-d5603: VMXAssist
(XEN) HVM20:  e9000-e9135: SMBIOS tables
(XEN) HVM20:  ea000-eb0df: ACPI tables
(XEN) HVM20:  f0000-fffff: Main BIOS
(XEN) HVM20: Loading VMXAssist ...
(XEN) HVM20: VMX go ...
(XEN) HVM20: VMXAssist (Aug  3 2007)
(XEN) HVM20: Memory size 255 MB
(XEN) HVM20: E820 map:
(XEN) HVM20: 0000000000000000 - 000000000009FC00 (RAM)
(XEN) HVM20: 000000000009FC00 - 00000000000A0000 (Reserved)
(XEN) HVM20: 00000000000E0000 - 0000000000100000 (Reserved)
(XEN) HVM20: 0000000000100000 - 000000000FFFAC00 (RAM)
(XEN) HVM20: 000000000FFFAC00 - 0000000010000000 (Reserved)
(XEN) HVM20:
(XEN) HVM20: Start BIOS ...
(XEN) HVM20: Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) HVM20:  rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) HVM20: Remapping master: ICW2 0x8 -> 0x20
(XEN) HVM20: Remapping slave: ICW2 0x70 -> 0x28
(XEN) HVM20: VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $

(XEN) HVM20: HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date:
2005/05/07 15:55:26 $
(XEN) HVM20:
(XEN) HVM20: ata0-0: PCHS=2/16/63 translation=none LCHS=2/16/63
(XEN) HVM20: ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (0 MBytes)
(XEN) HVM20: ata0  slave: Unknown device
(XEN) HVM20:
(XEN) HVM20: Booting from Hard Disk...
(XEN) HVM20: int13_harddisk: function 02, error 02 !
(XEN) HVM20: Boot from Hard Disk failed: could not read the boot disk
(XEN) HVM20: FATAL: No bootable device.
(XEN) HVM20: Unknown opcode at F000:0A1B=0xF0A1B
(XEN) HVM20: Halt called from %eip 0xD389A
(XEN) HVM21: HVM Loader
(XEN) HVM21: Detected Xen v3.1.0
(XEN) HVM21: Writing SMBIOS tables ...
(XEN) HVM21: Loading ROMBIOS ...
(XEN) HVM21: 9100 bytes of ROMBIOS high-memory extensions:
(XEN) HVM21:   Relocating to 0xfffac00-0xfffcf8c ... done
(XEN) irq.c:210: Dom21 PCI link 0 changed 0 -> 5
(XEN) HVM21: PCI-ISA link 0 routed to IRQ5
(XEN) irq.c:210: Dom21 PCI link 1 changed 0 -> 7
(XEN) HVM21: PCI-ISA link 1 routed to IRQ7
(XEN) irq.c:210: Dom21 PCI link 2 changed 0 -> 10
(XEN) HVM21: PCI-ISA link 2 routed to IRQ10
(XEN) irq.c:210: Dom21 PCI link 3 changed 0 -> 11
(XEN) HVM21: PCI-ISA link 3 routed to IRQ11
(XEN) HVM21: pci dev 01:1 bar 20 size 00000010: 0000c001
(XEN) HVM21: pci dev 01:2 INTA->IRQ7
(XEN) HVM21: pci dev 02:0 bar 10 size 02000000: f0000008
(XEN) HVM21: pci dev 02:0 bar 14 size 00001000: f2000000
(XEN) HVM21: pci dev 03:0 bar 10 size 00000100: 0000c101
(XEN) HVM21: pci dev 03:0 bar 14 size 01000000: f3000008
(XEN) HVM21: pci dev 03:0 INTA->IRQ11
(XEN) HVM21: Creating MP tables ...
(XEN) HVM21: Loading Cirrus VGABIOS ...
(XEN) HVM21: Loading ACPI ...
(XEN) HVM21: BIOS map:
(XEN) HVM21:  c0000-c8003: VGA BIOS
(XEN) HVM21:  d0000-d5603: VMXAssist
(XEN) HVM21:  e9000-e9135: SMBIOS tables
(XEN) HVM21:  ea000-eb0df: ACPI tables
(XEN) HVM21:  f0000-fffff: Main BIOS
(XEN) HVM21: Loading VMXAssist ...
(XEN) HVM21: VMX go ...
(XEN) HVM21: VMXAssist (Aug  3 2007)
(XEN) HVM21: Memory size 255 MB
(XEN) HVM21: E820 map:
(XEN) HVM21: 0000000000000000 - 000000000009FC00 (RAM)
(XEN) HVM21: 000000000009FC00 - 00000000000A0000 (Reserved)
(XEN) HVM21: 00000000000E0000 - 0000000000100000 (Reserved)
(XEN) HVM21: 0000000000100000 - 000000000FFFAC00 (RAM)
(XEN) HVM21: 000000000FFFAC00 - 0000000010000000 (Reserved)
(XEN) HVM21:
(XEN) HVM21: Start BIOS ...
(XEN) HVM21: Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) HVM21:  rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) HVM21: Remapping master: ICW2 0x8 -> 0x20
(XEN) HVM21: Remapping slave: ICW2 0x70 -> 0x28
(XEN) HVM21: VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $

(XEN) HVM21: HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date:
2005/05/07 15:55:26 $
(XEN) HVM21:
(XEN) HVM21: ata0-0: PCHS=2/16/63 translation=none LCHS=2/16/63
(XEN) HVM21: ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (0 MBytes)
(XEN) HVM21: ata0  slave: Unknown device
(XEN) HVM21:
(XEN) HVM21: Booting from Hard Disk...
(XEN) HVM21: int13_harddisk: function 02, error 02 !
(XEN) HVM21: Boot from Hard Disk failed: could not read the boot disk
(XEN) HVM21: FATAL: No bootable device.
(XEN) HVM21: Unknown opcode at F000:0A1B=0xF0A1B
(XEN) HVM21: Halt called from %eip 0xD389A

===xm info
host                   : localhost.localdomain
release                : 2.6.18-xen0
version                : #2 SMP Fri Aug 3 23:23:00 CST 2007
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 1828
hw_caps                : bfe9fbff:00100000:00000000:00000140:0000c1a9
total_memory           : 1022
free_memory            : 268
xen_major              : 3
xen_minor              : 1
xen_extra              : .0
xen_caps               : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
cc_compile_by          : root
cc_compile_domain      : localdomain
cc_compile_date        : Fri Aug  3 22:33:05 CST 2007
xend_config_format     : 4

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>