陈诚 | 1 Oct 06:26
Picon

Some questions about PCI-passthrough for HVM(Non-IOMMU)

Hello,
        I saw some patches about PCI-passthrough for HVM(non-IOMMU)
and I am interested in it. I want to assign my graphics card(nVidia
GeForce 7900GS) to an HVM domain (Vista) in order to run 3D-intensive
work(for example, 3D-games).
        What I want to ask is that is it really possible to pass the
graphics card to HVM domain running Vista now? That is, have anyone
ever successfully passed a modern graphics card to a Vista HVM? Since
the graphics card is a kind of complicated device. Are there any
technical problems with the passthrough of a modern graphics card?
        I have tried the direct-io.hg subtree, but I just can't boot
the Vista HVM domain with nativedom=1 option. Xen boots without any
problem with nativedom=1, nativedom_mem=1024M option(here the 1024M
memory is reserved for the HVM) and dom0_mem=800M option(I have 2G RAM
totally). But when I type xm cr vista.hvm to create the HVM
domain(note that it is bootable without the nativedom=1 option),
sometimes a disk read error occurs(as displayed on the HVM screen),
sometimes it just appear to be dead locked and sometimes it says:
"Error: Device 768(vbd) could not be connected". After the failure of
starting the HVM as nativedom, I can't even start it as a normal HVM
domain, the symptom will also be dead lock or "Error: Device 768(vbd)
could not be connected". If a disk read error occurs during the boot
of the HVM domain, the host's filesystem will appear to be
inconsistent.
        So there is surely some problems with the nativedom(Neo-1to1)
part in the current diret-io.hg subtree. The author has memtioned that
on x86-32, the memory 0-12M is mapped to 16-28M, and if any devices
DMA at 0-12M, crashes may occur. Is it possible that the dead-lock
problem and the "Device 768(vbd) could not be connected" problem
during booting are caused by the mapping?
(Continue reading)

sudheer | 1 Oct 08:29
Picon

xend not starts up

Hi all ,
My xend starts fine .the problem is that the  command xm  shows error .Any clues ? ..Please help

[root <at> lingine Python-2.4.3]# xm list
Traceback (most recent call last):
  File "/usr/sbin/xm", line 8, in ?
    from xen.xm import main
ImportError: No module named xen.xm
[root <at> lingine Python-2.4.3]#


Sudheer

_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
Tomoki Taniguchi | 1 Oct 10:14
Picon

ioemu vs no ioemu in disk device

I am a little confused about the usage of the ioemu statement in
"disk" statement
in the xen domU config file.  I have read examples both with and
without the ioemu
statement and i was wondering if there is a difference and when you need
to include the ioemu?

is there a difference between
disk = [ 'file:/xen/domU/sda1,sda1,w','phy:/dev/sda6,sda2,w']
and
disk = [ 'file:/xen/domU/sda1,ioemu:sda1,w','phy:/dev/sda6,ioemu:sda2,w']
?

TIA,
Tomoki
Tomoki Taniguchi | 1 Oct 11:12
Picon

i can't get xen to run off of a nbd share

I have read somewhere that nbd and gnbd shared devices can be used as
a disk device under xen.

i haven't really seen any solid documentation about on how to get this done,
but when doing a search on xen and nbd,
i came across a few examples of how to get this to run
http://w3.linux-magazine.com/issue/70/Xen_3_Virtualization.pdf
disk = ['nbd:ip.address.of.server port#, sda1,w']

is this correct?
i have tried to get this to work, but i am getting this error message
Error: Device 2049 (vbd) could not be connected. Backend device not found.

i know that the nbd device is being shared properly.  I was able to
connect, and mount
it using nbd-client.

i am running xen 3.0.3 which is the packaged version in Ubuntu 7.04
feisty (ubuntu-xen-server package).

Can anyone help me?

TIA,
Tomoki
Marc Patino Gómez | 1 Oct 13:48

Disk performance on HVM domains

Hi list,

I converted one old FreeBSD 4.9 box to HVM domU (with AMD-V processors, 
with Intel-VT doesn't work). All works fine, but disk performance is too 
poor... about 8MB/s (in dom0 i get about 40MB/s). I did some test with 
VBD with file backed and LVM but performance stills poor.

Any advices?

Is possible to use blktap in this case? Any pointers?

If I use a SAN, network performance on HVM will be a problem?

What's about tgt?

I have one HVM old linux 2.4 domU and I can get far more disk troughtput 
than with FreeBSD, it is normal? In this case, domU is on Intel-VT Xen 
server, is Intel-VT io implementation better than AMD?

At now, I'm only testing, in the future I will need to virtualize some 
old FreeBSD servers with quite great IO demand

Many thanks,

Marc
Pasi Kärkkäinen | 1 Oct 17:13
Picon
Picon
Favicon

Re: Disk performance on HVM domains

On Mon, Oct 01, 2007 at 01:48:41PM +0200, Marc Patino Gómez wrote:
> Hi list,
> 
> I converted one old FreeBSD 4.9 box to HVM domU (with AMD-V processors, 
> with Intel-VT doesn't work). All works fine, but disk performance is too 
> poor... about 8MB/s (in dom0 i get about 40MB/s). I did some test with 
> VBD with file backed and LVM but performance stills poor.
> 
> Any advices?
> 
> Is possible to use blktap in this case? Any pointers?
> 
> If I use a SAN, network performance on HVM will be a problem?
> 
> What's about tgt?
> 
> I have one HVM old linux 2.4 domU and I can get far more disk troughtput 
> than with FreeBSD, it is normal? In this case, domU is on Intel-VT Xen 
> server, is Intel-VT io implementation better than AMD?
> 
> At now, I'm only testing, in the future I will need to virtualize some 
> old FreeBSD servers with quite great IO demand
> 

You need to install PV (paravirtual) xen aware device drivers into FreeBSD.. 

I don't know if there is such thing.. 

-- Pasi
Marc Patino Gómez | 1 Oct 17:25

Re: Disk performance on HVM domains

Hi Pasi,

thanks for your answer. Any pointers to do this?

Regards,

Marc

Pasi Kärkkäinen wrote:
> On Mon, Oct 01, 2007 at 01:48:41PM +0200, Marc Patino Gómez wrote:
>   
>> Hi list,
>>
>> I converted one old FreeBSD 4.9 box to HVM domU (with AMD-V processors, 
>> with Intel-VT doesn't work). All works fine, but disk performance is too 
>> poor... about 8MB/s (in dom0 i get about 40MB/s). I did some test with 
>> VBD with file backed and LVM but performance stills poor.
>>
>> Any advices?
>>
>> Is possible to use blktap in this case? Any pointers?
>>
>> If I use a SAN, network performance on HVM will be a problem?
>>
>> What's about tgt?
>>
>> I have one HVM old linux 2.4 domU and I can get far more disk troughtput 
>> than with FreeBSD, it is normal? In this case, domU is on Intel-VT Xen 
>> server, is Intel-VT io implementation better than AMD?
>>
>> At now, I'm only testing, in the future I will need to virtualize some 
>> old FreeBSD servers with quite great IO demand
>>
>>     
>
> You need to install PV (paravirtual) xen aware device drivers into FreeBSD.. 
>
> I don't know if there is such thing.. 
>
> -- Pasi
>
> _______________________________________________
> Xen-users mailing list
> Xen-users <at> lists.xensource.com
> http://lists.xensource.com/xen-users
>   
helicoterus-elih | 1 Oct 18:17
Picon
Favicon

Xen does't run a domainU

Hello,
I installed Xen with Opensuse 10.2 (xen packages included on this distro). I created an image file called hda.img (rwxrwxrwx and root owner) using dd, as the manual tells. I have only 256 MB of Ram so I gave 32 MB to virtual machine.
I changed xmexample1:
disk = [ 'file:/home/vale/hda.img,ioemu:hda,w' ]
cdrom = '/dev/cdrom'
boot = 'd'

I tried to comment cdrom and boot. Root device is set, by default: root = "/dev/hda1"
Xen manager list:
linux-wsbh:/home/vale # xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      206     1 r-----    407.4
OpenSuse                                   7       32     1 -b----      1.3
And when I created the domain:
linux-wsbh:/etc/xen # xm create -c opensuse-config
Using config file "opensuse-config".
Started domain OpenSuse
Linux version 2.6.18.2-34-xen (geeko <at> buildhost) (gcc version 4.1.2 20061115 (pre
release) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000002800000 (usable)
0MB HIGHMEM available.
40MB LOWMEM available.
ACPI in unprivileged domain disabled
Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000)
Xen reported: 1503.410 MHz processor.
Built 1 zonelists.  Total pages: 10240
Kernel command line:  root=/dev/hda1
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Software IO TLB disabled
vmalloc area: c3000000-fb7fe000, maxmem 33ffe000
Memory: 21576k/40960k available (1950k kernel code, 11172k reserved, 930k data,
184k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3779.27 BogoMIPS (lpj=7558550)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
Compat vDSO mapped to fbffd000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
checking if image is initramfs... it is
Freeing initrd memory: 7167k freed
Brought up 1 CPUs
migration_cost=0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
Setting mem allocation to 32768 kiB
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1189877932.660:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
Failed to obtain physical IRQ 6
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/768
XENBUS: Device with no driver: device/vif/0
Freeing unused kernel memory: 184k freed
Time: xen clocksource has been installed.
Boot logging started on /dev/tty1(/dev/console) at Sat Sep 15 17:38:55 2007
Creating device nodes with udev
Loading xennet
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has flipping receive path.
Loading xenblk
Registering block device major 3
blkfront: hda: barriers enabled
 hda: unknown partition table
ata_id[560]: main: HDIO_GET_IDENTITY failed for '/dev/.tmp-3-0'
Loading reiserfs
Waiting for device /dev/hda1 to appear: ..............................not found -- exiting to /bin/sh
sh: no job control in this shell
$

And this is the dmesg of xm:
xm dmesg
 __  __            _____  ___   _____    _ _ _____ _____ _  _     ____   ___
 \ \/ /___ _ __   |___ / / _ \ |___ /   / / |___  |___  | || |   |___ \ / _ \
  \  // _ \ \047_ \    |_ \| | | |  |_ \   | | |  / /   / /| || |_ __ __) | | | |
  /  \  __/ | | |  ___) | |_| | ___) |  | | | / /   / / |__   _|__/ __/| |_| |
 /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/   /_/     |_|   |_____|\___/
                                   |_____|
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0.3_11774-20 (abuild <at> suse.de) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:28:29 UTC 2006
 Latest ChangeSet: 11774

(XEN) Command line: /boot/xen.gz
(XEN) Physical RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000000fff0000 (usable)
(XEN)  000000000fff0000 - 000000000fff3000 (ACPI NVS)
(XEN)  000000000fff3000 - 0000000010000000 (ACPI data)
(XEN)  00000000ffb00000 - 0000000100000000 (reserved)
(XEN) System RAM: 255MB (261692kB)
(XEN) Xen heap: 10MB (10460kB)
(XEN) PAE disabled.
(XEN) DMI 2.3 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 IntelR                                ) <at> 0x000f6ba0
(XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) <at> 0x0fff3000
(XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) <at> 0x0fff3040
(XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) <at> 0x00000000
(XEN) Local APIC disabled by BIOS -- you can enable it with "lapic"
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Initializing CPU#0
(XEN) Detected 1503.446 MHz processor.
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K
(XEN) CPU: L2 cache: 256K
(XEN) CPU: Hyper-Threading is disabled
(XEN) Intel machine check architecture supported.
(XEN) Intel machine check reporting enabled on CPU#0.
(XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
(XEN) CPU0: Thermal monitoring enabled
(XEN) CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a
(XEN) SMP motherboard not detected.
(XEN) Local APIC not detected. Using dummy APIC emulation.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 1 CPUs
(XEN) Machine check exception polling timer started.
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Domain 0 kernel supports features = { 0000001f }.
(XEN) Domain 0 kernel requires features = { 00000000 }.
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0e000000->0f000000 (53129 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c0462334
(XEN)  Init. ramdisk: c0463000->c0b62c00
(XEN)  Phys-Mach map: c0b63000->c0b9ae24
(XEN)  Start info:    c0b9b000->c0b9b46c
(XEN)  Page tables:   c0b9c000->c0ba1000
(XEN)  Boot stack:    c0ba1000->c0ba2000
(XEN)  TOTAL:         c0000000->c1000000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Dom0 has maximum 1 VCPUs
(XEN) Initrd len 0x6ffc00, start at 0xc0463000
(XEN) Scrubbing Free RAM: ...done.
(XEN) Xen trace buffers: disabled
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to switch input to Xen).

L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
Marc Patino Gómez | 1 Oct 18:25

Re: Xen does't run a domainU

Hi,

try to change your line:

disk = [ 'file:/home/vale/hda.img,ioemu:hda,w' ]

by

disk = [ 'file:/home/vale/hda.img,ioemu:hda1,w' ]

I think that your domU is expecting a partition not a entire disk.

Cheers,

Marc

helicoterus-elih <at> yahoo.it wrote:
> Hello,
> I installed Xen with Opensuse 10.2 (xen packages included on this 
> distro). I created an image file called hda.img (rwxrwxrwx and root 
> owner) using dd, as the manual tells. I have only 256 MB of Ram so I 
> gave 32 MB to virtual machine.
> I changed xmexample1:
> disk = [ 'file:/home/vale/hda.img,ioemu:hda,w' ]
> cdrom = '/dev/cdrom'
> boot = 'd'
>
> I tried to comment cdrom and boot. Root device is set, by default: 
> root = "/dev/hda1"
> Xen manager list:
> linux-wsbh:/home/vale # xm list
> Name                                      ID Mem(MiB) VCPUs State   
> Time(s)
> Domain-0                                   0      206     1 r-----    
> 407.4
> OpenSuse                                   7       32     1 
> -b----      1.3
> And when I created the domain:
> linux-wsbh:/etc/xen # xm create -c opensuse-config
> Using config file "opensuse-config".
> Started domain OpenSuse
> Linux version 2.6.18.2-34-xen (geeko <at> buildhost) (gcc version 4.1.2 
> 20061115 (pre
> release) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000002800000 (usable)
> 0MB HIGHMEM available.
> 40MB LOWMEM available.
> ACPI in unprivileged domain disabled
> Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000)
> Xen reported: 1503.410 MHz processor.
> Built 1 zonelists.  Total pages: 10240
> Kernel command line:  root=/dev/hda1
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> PID hash table entries: 256 (order: 8, 1024 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Software IO TLB disabled
> vmalloc area: c3000000-fb7fe000, maxmem 33ffe000
> Memory: 21576k/40960k available (1950k kernel code, 11172k reserved, 
> 930k data,
> 184k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor 
> mode... Ok.
> Calibrating delay using timer specific routine.. 3779.27 BogoMIPS 
> (lpj=7558550)
> Security Framework v1.0.0 initialized
> Mount-cache hash table entries: 512
> CPU: Trace cache: 12K uops, L1 D cache: 8K
> CPU: L2 cache: 256K
> Compat vDSO mapped to fbffd000.
> Checking 'hlt' instruction... OK.
> SMP alternatives: switching to UP code
> Freeing SMP alternatives: 12k freed
> checking if image is initramfs... it is
> Freeing initrd memory: 7167k freed
> Brought up 1 CPUs
> migration_cost=0
> Grant table initialized
> NET: Registered protocol family 16
> Brought up 1 CPUs
> PCI: setting up Xen PCI frontend stub
> ACPI: Interpreter disabled.
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI: disabled
> xen_mem: Initialising balloon driver.
> Setting mem allocation to 32768 kiB
> PCI: System does not support PCI
> PCI: System does not support PCI
> NET: Registered protocol family 2
> IP route cache hash table entries: 512 (order: -1, 2048 bytes)
> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
> TCP: Hash tables configured (established 2048 bind 1024)
> TCP reno registered
> audit: initializing netlink socket (disabled)
> audit(1189877932.660:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> rtc: IRQ 8 is not free.
> Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 
> (usb?)
> Failed to obtain physical IRQ 6
> floppy0: no floppy controllers found
> RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
> Xen virtual console successfully installed as tty1
> Event-channel device installed.
> PNP: No PS/2 controller found. Probing ports directly.
> i8042.c: No controller found.
> mice: PS/2 mouse device common for all mice
> md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: bitmap version 4.39
> NET: Registered protocol family 1
> Using IPI No-Shortcut mode
> XENBUS: Device with no driver: device/vbd/768
> XENBUS: Device with no driver: device/vif/0
> Freeing unused kernel memory: 184k freed
> Time: xen clocksource has been installed.
> Boot logging started on /dev/tty1(/dev/console) at Sat Sep 15 17:38:55 
> 2007
> Creating device nodes with udev
> Loading xennet
> netfront: Initialising virtual ethernet driver.
> netfront: device eth0 has flipping receive path.
> Loading xenblk
> Registering block device major 3
> blkfront: hda: barriers enabled
>  hda: unknown partition table
> ata_id[560]: main: HDIO_GET_IDENTITY failed for '/dev/.tmp-3-0'
> Loading reiserfs
> Waiting for device /dev/hda1 to appear: 
> ..............................not found -- exiting to /bin/sh
> sh: no job control in this shell
> $
>
> And this is the dmesg of xm:
> xm dmesg
>  __  __            _____  ___   _____    _ _ _____ _____ _  _     
> ____   ___
>  \ \/ /___ _ __   |___ / / _ \ |___ /   / / |___  |___  | || |   |___ 
> \ / _ \
>   \  // _ \ \047_ \    |_ \| | | |  |_ \   | | |  / /   / /| || |_ __ 
> __) | | | |
>   /  \  __/ | | |  ___) | |_| | ___) |  | | | / /   / / |__   _|__/ 
> __/| |_| |
>  /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/   /_/     |_|   
> |_____|\___/
>                                    |_____|
>  http://www.cl.cam.ac.uk/netos/xen
>  University of Cambridge Computer Laboratory
>
>  Xen version 3.0.3_11774-20 (abuild <at> suse.de) (gcc version 4.1.2 
> 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:28:29 UTC 2006
>  Latest ChangeSet: 11774
>
> (XEN) Command line: /boot/xen.gz
> (XEN) Physical RAM map:
> (XEN)  0000000000000000 - 000000000009fc00 (usable)
> (XEN)  000000000009fc00 - 00000000000a0000 (reserved)
> (XEN)  00000000000f0000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 000000000fff0000 (usable)
> (XEN)  000000000fff0000 - 000000000fff3000 (ACPI NVS)
> (XEN)  000000000fff3000 - 0000000010000000 (ACPI data)
> (XEN)  00000000ffb00000 - 0000000100000000 (reserved)
> (XEN) System RAM: 255MB (261692kB)
> (XEN) Xen heap: 10MB (10460kB)
> (XEN) PAE disabled.
> (XEN) DMI 2.3 present.
> (XEN) Using APIC driver default
> (XEN) ACPI: RSDP (v000 IntelR                                ) @ 
> 0x000f6ba0
> (XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 
> 0x0fff3000
> (XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 
> 0x0fff3040
> (XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) @ 
> 0x00000000
> (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic"
> (XEN) Using scheduler: SMP Credit Scheduler (credit)
> (XEN) Initializing CPU#0
> (XEN) Detected 1503.446 MHz processor.
> (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K
> (XEN) CPU: L2 cache: 256K
> (XEN) CPU: Hyper-Threading is disabled
> (XEN) Intel machine check architecture supported.
> (XEN) Intel machine check reporting enabled on CPU#0.
> (XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
> (XEN) CPU0: Thermal monitoring enabled
> (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a
> (XEN) SMP motherboard not detected.
> (XEN) Local APIC not detected. Using dummy APIC emulation.
> (XEN) Platform timer is 1.193MHz PIT
> (XEN) Brought up 1 CPUs
> (XEN) Machine check exception polling timer started.
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Domain 0 kernel supports features = { 0000001f }.
> (XEN) Domain 0 kernel requires features = { 00000000 }.
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Dom0 alloc.:   0e000000->0f000000 (53129 pages to be allocated)
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN)  Loaded kernel: c0100000->c0462334
> (XEN)  Init. ramdisk: c0463000->c0b62c00
> (XEN)  Phys-Mach map: c0b63000->c0b9ae24
> (XEN)  Start info:    c0b9b000->c0b9b46c
> (XEN)  Page tables:   c0b9c000->c0ba1000
> (XEN)  Boot stack:    c0ba1000->c0ba2000
> (XEN)  TOTAL:         c0000000->c1000000
> (XEN)  ENTRY ADDRESS: c0100000
> (XEN) Dom0 has maximum 1 VCPUs
> (XEN) Initrd len 0x6ffc00, start at 0xc0463000
> (XEN) Scrubbing Free RAM: ...done.
> (XEN) Xen trace buffers: disabled
> (XEN) Xen is relinquishing VGA console.
> (XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to 
> switch input to Xen).
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! 
> Mail 
>
<http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html> 
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users <at> lists.xensource.com
> http://lists.xensource.com/xen-users
Marc Patino Gómez | 1 Oct 18:29

Re: Xen does't run a domainU

Sorry,

if you don't solve the problem please post the "dd" command that you 
used. In dmesg output the domU sees hda with not partition table.

Registering block device major 3
blkfront: hda: barriers enabled
hda: unknown partition table

Regards,

Marc

helicoterus-elih <at> yahoo.it wrote:
> Hello,
> I installed Xen with Opensuse 10.2 (xen packages included on this 
> distro). I created an image file called hda.img (rwxrwxrwx and root 
> owner) using dd, as the manual tells. I have only 256 MB of Ram so I 
> gave 32 MB to virtual machine.
> I changed xmexample1:
> disk = [ 'file:/home/vale/hda.img,ioemu:hda,w' ]
> cdrom = '/dev/cdrom'
> boot = 'd'
>
> I tried to comment cdrom and boot. Root device is set, by default: 
> root = "/dev/hda1"
> Xen manager list:
> linux-wsbh:/home/vale # xm list
> Name                                      ID Mem(MiB) VCPUs State   
> Time(s)
> Domain-0                                   0      206     1 r-----    
> 407.4
> OpenSuse                                   7       32     1 
> -b----      1.3
> And when I created the domain:
> linux-wsbh:/etc/xen # xm create -c opensuse-config
> Using config file "opensuse-config".
> Started domain OpenSuse
> Linux version 2.6.18.2-34-xen (geeko <at> buildhost) (gcc version 4.1.2 
> 20061115 (pre
> release) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000002800000 (usable)
> 0MB HIGHMEM available.
> 40MB LOWMEM available.
> ACPI in unprivileged domain disabled
> Allocating PCI resources starting at 10000000 (gap: 02800000:fd800000)
> Xen reported: 1503.410 MHz processor.
> Built 1 zonelists.  Total pages: 10240
> Kernel command line:  root=/dev/hda1
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> PID hash table entries: 256 (order: 8, 1024 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Software IO TLB disabled
> vmalloc area: c3000000-fb7fe000, maxmem 33ffe000
> Memory: 21576k/40960k available (1950k kernel code, 11172k reserved, 
> 930k data,
> 184k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor 
> mode... Ok.
> Calibrating delay using timer specific routine.. 3779.27 BogoMIPS 
> (lpj=7558550)
> Security Framework v1.0.0 initialized
> Mount-cache hash table entries: 512
> CPU: Trace cache: 12K uops, L1 D cache: 8K
> CPU: L2 cache: 256K
> Compat vDSO mapped to fbffd000.
> Checking 'hlt' instruction... OK.
> SMP alternatives: switching to UP code
> Freeing SMP alternatives: 12k freed
> checking if image is initramfs... it is
> Freeing initrd memory: 7167k freed
> Brought up 1 CPUs
> migration_cost=0
> Grant table initialized
> NET: Registered protocol family 16
> Brought up 1 CPUs
> PCI: setting up Xen PCI frontend stub
> ACPI: Interpreter disabled.
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI: disabled
> xen_mem: Initialising balloon driver.
> Setting mem allocation to 32768 kiB
> PCI: System does not support PCI
> PCI: System does not support PCI
> NET: Registered protocol family 2
> IP route cache hash table entries: 512 (order: -1, 2048 bytes)
> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
> TCP: Hash tables configured (established 2048 bind 1024)
> TCP reno registered
> audit: initializing netlink socket (disabled)
> audit(1189877932.660:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> rtc: IRQ 8 is not free.
> Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 
> (usb?)
> Failed to obtain physical IRQ 6
> floppy0: no floppy controllers found
> RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
> Xen virtual console successfully installed as tty1
> Event-channel device installed.
> PNP: No PS/2 controller found. Probing ports directly.
> i8042.c: No controller found.
> mice: PS/2 mouse device common for all mice
> md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: bitmap version 4.39
> NET: Registered protocol family 1
> Using IPI No-Shortcut mode
> XENBUS: Device with no driver: device/vbd/768
> XENBUS: Device with no driver: device/vif/0
> Freeing unused kernel memory: 184k freed
> Time: xen clocksource has been installed.
> Boot logging started on /dev/tty1(/dev/console) at Sat Sep 15 17:38:55 
> 2007
> Creating device nodes with udev
> Loading xennet
> netfront: Initialising virtual ethernet driver.
> netfront: device eth0 has flipping receive path.
> Loading xenblk
> Registering block device major 3
> blkfront: hda: barriers enabled
>  hda: unknown partition table
> ata_id[560]: main: HDIO_GET_IDENTITY failed for '/dev/.tmp-3-0'
> Loading reiserfs
> Waiting for device /dev/hda1 to appear: 
> ..............................not found -- exiting to /bin/sh
> sh: no job control in this shell
> $
>
> And this is the dmesg of xm:
> xm dmesg
>  __  __            _____  ___   _____    _ _ _____ _____ _  _     
> ____   ___
>  \ \/ /___ _ __   |___ / / _ \ |___ /   / / |___  |___  | || |   |___ 
> \ / _ \
>   \  // _ \ \047_ \    |_ \| | | |  |_ \   | | |  / /   / /| || |_ __ 
> __) | | | |
>   /  \  __/ | | |  ___) | |_| | ___) |  | | | / /   / / |__   _|__/ 
> __/| |_| |
>  /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/   /_/     |_|   
> |_____|\___/
>                                    |_____|
>  http://www.cl.cam.ac.uk/netos/xen
>  University of Cambridge Computer Laboratory
>
>  Xen version 3.0.3_11774-20 (abuild <at> suse.de) (gcc version 4.1.2 
> 20061115 (prerelease) (SUSE Linux)) Tue Nov 28 09:28:29 UTC 2006
>  Latest ChangeSet: 11774
>
> (XEN) Command line: /boot/xen.gz
> (XEN) Physical RAM map:
> (XEN)  0000000000000000 - 000000000009fc00 (usable)
> (XEN)  000000000009fc00 - 00000000000a0000 (reserved)
> (XEN)  00000000000f0000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 000000000fff0000 (usable)
> (XEN)  000000000fff0000 - 000000000fff3000 (ACPI NVS)
> (XEN)  000000000fff3000 - 0000000010000000 (ACPI data)
> (XEN)  00000000ffb00000 - 0000000100000000 (reserved)
> (XEN) System RAM: 255MB (261692kB)
> (XEN) Xen heap: 10MB (10460kB)
> (XEN) PAE disabled.
> (XEN) DMI 2.3 present.
> (XEN) Using APIC driver default
> (XEN) ACPI: RSDP (v000 IntelR                                ) @ 
> 0x000f6ba0
> (XEN) ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 
> 0x0fff3000
> (XEN) ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 
> 0x0fff3040
> (XEN) ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000c) @ 
> 0x00000000
> (XEN) Local APIC disabled by BIOS -- you can enable it with "lapic"
> (XEN) Using scheduler: SMP Credit Scheduler (credit)
> (XEN) Initializing CPU#0
> (XEN) Detected 1503.446 MHz processor.
> (XEN) CPU: Trace cache: 12K uops, L1 D cache: 8K
> (XEN) CPU: L2 cache: 256K
> (XEN) CPU: Hyper-Threading is disabled
> (XEN) Intel machine check architecture supported.
> (XEN) Intel machine check reporting enabled on CPU#0.
> (XEN) CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
> (XEN) CPU0: Thermal monitoring enabled
> (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a
> (XEN) SMP motherboard not detected.
> (XEN) Local APIC not detected. Using dummy APIC emulation.
> (XEN) Platform timer is 1.193MHz PIT
> (XEN) Brought up 1 CPUs
> (XEN) Machine check exception polling timer started.
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Domain 0 kernel supports features = { 0000001f }.
> (XEN) Domain 0 kernel requires features = { 00000000 }.
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Dom0 alloc.:   0e000000->0f000000 (53129 pages to be allocated)
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN)  Loaded kernel: c0100000->c0462334
> (XEN)  Init. ramdisk: c0463000->c0b62c00
> (XEN)  Phys-Mach map: c0b63000->c0b9ae24
> (XEN)  Start info:    c0b9b000->c0b9b46c
> (XEN)  Page tables:   c0b9c000->c0ba1000
> (XEN)  Boot stack:    c0ba1000->c0ba2000
> (XEN)  TOTAL:         c0000000->c1000000
> (XEN)  ENTRY ADDRESS: c0100000
> (XEN) Dom0 has maximum 1 VCPUs
> (XEN) Initrd len 0x6ffc00, start at 0xc0463000
> (XEN) Scrubbing Free RAM: ...done.
> (XEN) Xen trace buffers: disabled
> (XEN) Xen is relinquishing VGA console.
> (XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to 
> switch input to Xen).
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! 
> Mail 
>
<http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html> 
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users <at> lists.xensource.com
> http://lists.xensource.com/xen-users

Gmane