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/
Home Products Support Community News


Re: [Xen-users] Xen does't run a domainU

To: helicoterus-elih@xxxxxxxx
Subject: Re: [Xen-users] Xen does't run a domainU
From: Marc Patino Gómez <mpatino@xxxxxxxxxxxx>
Date: Mon, 01 Oct 2007 18:29:12 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 01 Oct 2007 09:29:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <50153.47079.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: CLARANET SAU
References: <50153.47079.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20070604)

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



helicoterus-elih@xxxxxxxx wrote:
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 (geeko@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
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_ \ |_ \| | | | |_ \ | | | / / / /| || |_ __ __) | | | | / \ __/ | | | ___) | |_| | ___) | | | | / / / / |__ _|__/ __/| |_| | /_/\_\___|_| |_| |____(_)___(_)____/___|_|_|/_/ /_/ |_| |_____|\___/
 University of Cambridge Computer Laboratory

Xen version 3.0.3_11774-20 (abuild@xxxxxxx) (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) Domain 0 kernel supports features = { 0000001f }.
(XEN) Domain 0 kernel requires features = { 00000000 }.
(XEN)  Dom0 alloc.:   0e000000->0f000000 (53129 pages to be allocated)
(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 mailing list