
This does not really make sense. Either it's not on a RAID, then it's sda4.. or it's on a RAID, then it may be md4. But not both.The /home/virtual is my sda4 -- as raid: md4.
Code: Select all
disk = ['file:/home/virtual/xen-images/garopa.img,md4,w']
root = "/dev/md4 ro"
Code: Select all
disk = ['file:/home/virtual/xen-images/garopa.img,sda4,w']
root = "/dev/sda4 ro"
Code: Select all
[ ] Privileged Guest (domain 0)
<*> Backend driver support
<*> Block-device backend driver
<*> Block-device tap backend driver
<*> Network-device backend driver
[*] Pipelined transmitter (DANGEROUS)
<M> Network-device loopback driver
< > TPM-device backend driver
<M> SCSI backend driver (NEW)
<*> Block-device frontend driver
<*> Network-device frontend driver
<M> Network-device frontend driver acceleration for Solarflare NICs (NEW)
<M> SCSI frontend driver (NEW)
< > User-space granted page access driver (NEW)
[*] Scrub memory before freeing it to Xen
[*] Disable serial port drivers
<*> Export Xen attributes in sysfs
Xen version compatibility (3.0.2 and later) --->
Code: Select all
xm create -c /etc/xen/auto/garopa
Using config file "/etc/xen/auto/garopa".
Started domain garopa (id=2)
Bootdata ok (command line is root=/dev/md4 ro )
Linux version 2.6.18-xen-r12 (root@draco) (gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) #1 SMP Fri Sep 11 21:41:31 BRT 2009
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000040800000 (usable)
Built 1 zonelists. Total pages: 260580
Kernel command line: root=/dev/md4 ro
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2493.754 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Software IO TLB disabled
Memory: 1023452k/1056768k available (2348k kernel code, 24832k reserved, 1075k data, 152k init)
Calibrating delay using timer specific routine.. 4989.57 BogoMIPS (lpj=9979147)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 2
SMP alternatives: switching to UP code
Freeing SMP alternatives: 36k freed
Brought up 1 CPUs
migration_cost=0
NET: Registered protocol family 16
Brought up 1 CPUs
suspend: event channel 6
xen_mem: Initialising balloon driver.
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop 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: Unable to grab DMA2 for the floppy driver
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
netconsole: not configured, aborting
Xen virtual console successfully installed as xvc0
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
xen-vbd: registered block device major 8
blkfront: sda4: barriers enabled
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: raid1 personality registered for level 1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
xenoprofile_init: ret 0, events 2, xenoprof_is_primary 0
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
XENBUS: Device with no driver: device/console/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Insert root floppy and press ENTERCode: Select all
mkinitrd /boot/initrd-2.6.18-xen 2.6.18-xen-r12
Code: Select all
ramdisk = "/boot/initrd-2.6.18-xen"
Code: Select all
disk = ['file:/home/virtual/xen-images/garopa.img,sda1,w']
root = "/dev/sda1 ro"
Code: Select all
Kernel command line: root=/dev/md4 ro
Code: Select all
Kernel command line: root=/dev/sda1 ro
Code: Select all
Using config file "/etc/xen/auto/garopa".
Started domain garopa (id=6)
Bootdata ok (command line is root=/dev/sda1 ro )
Linux version 2.6.18-xen-r12 (root@draco) (gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) #1 SMP Fri Sep 11 21:41:31 BRT 2009
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000040800000 (usable)
Built 1 zonelists. Total pages: 260580
Kernel command line: root=/dev/sda1 ro
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2493.748 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Software IO TLB disabled
Memory: 1023452k/1056768k available (2348k kernel code, 24832k reserved, 1075k data, 152k init)
Calibrating delay using timer specific routine.. 4989.49 BogoMIPS (lpj=9978980)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 3
SMP alternatives: switching to UP code
Freeing SMP alternatives: 36k freed
Brought up 1 CPUs
migration_cost=0
NET: Registered protocol family 16
Brought up 1 CPUs
suspend: event channel 6
xen_mem: Initialising balloon driver.
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop 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: Unable to grab DMA2 for the floppy driver
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
netconsole: not configured, aborting
Xen virtual console successfully installed as xvc0
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
xen-vbd: registered block device major 8
blkfront: sda1: barriers enabled
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: raid1 personality registered for level 1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
xenoprofile_init: ret 0, events 2, xenoprof_is_primary 0
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
XENBUS: Device with no driver: device/console/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed
Code: Select all
extra = 'xencons=xvc0 console=xvc0'
Code: Select all
Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
Press I to enter interactive boot mode
* Mounting proc at /proc ... [ ok ]
* Mounting sysfs at /sys ... [ ok ]
* You need at least Linux kernel 2.6.22 for reliable operation of udev.
* Mounting /dev ... [ ok ]
* Starting udevd ... [ ok ]
* Populating /dev with existing devices through uevents ... [ ok ]
* Waiting for uevents to be processed ... [ ok ]
* Mounting devpts at /dev/pts ... [ ok ]
* Checking root filesystem .../dev/sda1: clean, 192856/1966080 files, 531760/7864320 blocks
[ ok ]
* Remounting root filesystem read/write ... [ ok ]
FATAL: Could not load /lib/modules/2.6.18-xen-r12/modules.dep: No such file or directory
* Checking all filesystems ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Activating (possible) swap ...swapon: /proc/swaps: unexpected file format
[ ok ]
* Setting system clock using the hardware clock [xen] ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Updating environment ... [ ok ]
* Cleaning /var/lock, /var/run ... [ ok ]
* Wiping /tmp directory ... [ ok ]
* Device initiated services: udev-postmount
* Setting hostname to localhost ... [ ok ]
* Loading key mappings ... [ ok ]
* Setting user font ... [ ok ]
* Starting lo
* Bringing up lo
* 127.0.0.1/8
[ ok ]
* Adding routes
* 127.0.0.0/8 ... [ ok ]
* Initializing random number generator ... [ ok ]
INIT: Entering runlevel: 3
* Mounting network filesystems ... [ ok ]
* Starting local ... [ ok ]
Code: Select all
Press I to enter interactive boot mode
* Mounting proc at /proc ... [ ok ]
* Mounting sysfs at /sys ... [ ok ]
* Mounting /dev ... [ ok ]
* Starting udevd ... [ ok ]
* Populating /dev with existing devices through uevents ... [ ok ]
* Waiting for uevents to be processed ... [ ok ]
* Mounting devpts at /dev/pts ... [ ok ]
* Checking root filesystem .../dev/sda1: clean, 194589/1966080 files, 537498/7864320 blocks
[ ok ]
* Remounting root filesystem read/write ... [ ok ]
FATAL: Could not load /lib/modules/2.6.29-xen-r4/modules.dep: No such file or directory
* Checking all filesystems ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Activating (possible) swap ...swapon: cannot stat /swap.img: No such file or directory
[ !! ]
* Setting system clock using the hardware clock [xen] ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Updating environment ... [ ok ]
* Cleaning /var/lock, /var/run ... [ ok ]
* Wiping /tmp directory ... [ ok ]
* Device initiated services: udev-postmount
* Setting hostname to localhost ... [ ok ]
* Loading key mappings ... [ ok ]
* Setting user font ... [ ok ]
* Starting lo
* Bringing up lo
* 127.0.0.1/8
[ ok ]
* Adding routes
* 127.0.0.0/8 ... [ ok ]
* Initializing random number generator ... [ ok ]
INIT: Entering runlevel: 3
* Mounting network filesystems ... [ ok ]
* Starting local ... [ ok ]Code: Select all
About to start the service netmount
1) Start service 3) Continue boot process
2) Skip service 4) Exit to shell
Enter your selection: 1
* Mounting network filesystems ... [ ok ]
About to start the service local
1) Start service 3) Continue boot process
2) Skip service 4) Exit to shell
Enter your selection: 2
Code: Select all
Sep 13 01:59:13 garopa shutdown[3888]: shutting down for system reboot
Sep 13 01:59:36 garopa ------------[ cut here ]------------
Sep 13 01:59:36 garopa WARNING: at /usr/src/linux-2.6.29-xen-r4/drivers/firmware/dmi_scan.c:425 dmi_matches+0x2a/0x76()
Sep 13 01:59:36 garopa dmi check: not initialized yet.
Sep 13 01:59:36 garopa Modules linked in:
Sep 13 01:59:36 garopa Pid: 0, comm: swapper Not tainted 2.6.29-xen-r4 #2
Sep 13 01:59:36 garopa Call Trace:
Sep 13 01:59:36 garopa [<ffffffff8022b279>] warn_slowpath+0xd8/0x112
Sep 13 01:59:36 garopa [<ffffffff804b370d>] printk+0x4e/0x56
Sep 13 01:59:36 garopa [<ffffffff8064c7b7>] reserve_early+0x13/0x28
Sep 13 01:59:36 garopa [<ffffffff80400010>] dmi_matches+0x2a/0x76
Sep 13 01:59:36 garopa [<ffffffff80400098>] dmi_check_system+0x15/0x41
Sep 13 01:59:36 garopa [<ffffffff8064ae6a>] setup_arch+0x21a/0xb8a
Sep 13 01:59:36 garopa [<ffffffff806476d5>] start_kernel+0x93/0x32e
Sep 13 01:59:36 garopa [<ffffffff806471c1>] x86_64_start_kernel+0xaf/0xb5
Sep 13 01:59:36 garopa ---[ end trace 4eaa2a86a8e2da22 ]---
Sep 13 01:59:36 garopa ------------[ cut here ]------------
Sep 13 01:59:36 garopa WARNING: at /usr/src/linux-2.6.29-xen-r4/drivers/firmware/dmi_scan.c:425 dmi_matches+0x2a/0x76()
Sep 13 01:59:36 garopa dmi check: not initialized yet.
Sep 13 01:59:36 garopa Modules linked in:
Sep 13 01:59:36 garopa Pid: 0, comm: swapper Tainted: G W 2.6.29-xen-r4 #2
Sep 13 01:59:36 garopa Call Trace:
Sep 13 01:59:36 garopa [<ffffffff8022b279>] warn_slowpath+0xd8/0x112
Sep 13 01:59:36 garopa [<ffffffff804b370d>] printk+0x4e/0x56
Sep 13 01:59:36 garopa [<ffffffff8064c7b7>] reserve_early+0x13/0x28
Sep 13 01:59:36 garopa [<ffffffff80400010>] dmi_matches+0x2a/0x76
Sep 13 01:59:36 garopa [<ffffffff80400098>] dmi_check_system+0x15/0x41
Sep 13 01:59:36 garopa [<ffffffff8064ae6a>] setup_arch+0x21a/0xb8a
Sep 13 01:59:36 garopa [<ffffffff806476d5>] start_kernel+0x93/0x32e
Sep 13 01:59:36 garopa [<ffffffff806471c1>] x86_64_start_kernel+0xaf/0xb5
Sep 13 01:59:36 garopa ---[ end trace 4eaa2a86a8e2da23 ]---
Sep 13 01:59:36 garopa ------------[ cut here ]------------
Sep 13 01:59:36 garopa WARNING: at /usr/src/linux-2.6.29-xen-r4/drivers/firmware/dmi_scan.c:425 dmi_matches+0x2a/0x76()
Sep 13 01:59:36 garopa dmi check: not initialized yet.
Sep 13 01:59:36 garopa Modules linked in:
Sep 13 01:59:36 garopa Pid: 0, comm: swapper Tainted: G W 2.6.29-xen-r4 #2
Sep 13 01:59:36 garopa Call Trace:
Sep 13 01:59:36 garopa [<ffffffff8022b279>] warn_slowpath+0xd8/0x112
Sep 13 01:59:36 garopa [<ffffffff804b370d>] printk+0x4e/0x56
Sep 13 01:59:36 garopa [<ffffffff8064c7b7>] reserve_early+0x13/0x28
Sep 13 01:59:36 garopa [<ffffffff806471c1>] x86_64_start_kernel+0xaf/0xb5
Sep 13 01:59:36 garopa [<ffffffff80400010>] dmi_matches+0x2a/0x76
Sep 13 01:59:36 garopa [<ffffffff80400098>] dmi_check_system+0x15/0x41
Sep 13 01:59:36 garopa [<ffffffff8064ae6a>] setup_arch+0x21a/0xb8a
Sep 13 01:59:36 garopa [<ffffffff806476d5>] start_kernel+0x93/0x32e
Sep 13 01:59:36 garopa [<ffffffff806471c1>] x86_64_start_kernel+0xaf/0xb5
Sep 13 01:59:36 garopa ---[ end trace 4eaa2a86a8e2da24 ]---
Sep 13 01:59:36 garopa (3 early reservations) ==> bootmem [0000000000 - 0040000000]
Sep 13 01:59:36 garopa #0 [0000200000 - 0000757c6c] TEXT DATA BSS ==> [0000200000 - 0000757c6c]
Sep 13 01:59:36 garopa #1 [0000758000 - 0000964000] Xen provided ==> [0000758000 - 0000964000]
Sep 13 01:59:36 garopa #2 [0000964000 - 0000b6b000] PGTABLE ==> [0000964000 - 0000b6b000]
Sep 13 01:59:36 garopa Zone PFN ranges:
Sep 13 01:59:36 garopa DMA 0x00000000 -> 0x00001000
Sep 13 01:59:36 garopa DMA32 0x00001000 -> 0x00100000
Sep 13 01:59:36 garopa WARNING: at /usr/src/linux-2.6.29-xen-r4/drivers/firmware/dmi_scan.c:425 dmi_matches+0x2a/0x76()
Sep 13 01:59:36 garopa dmi check: not initialized yet.
Sep 13 01:59:36 garopa Modules linked in:
Sep 13 01:59:36 garopa Pid: 1, comm: swapper Tainted: G W 2.6.29-xen-r4 #2
Sep 13 01:59:36 garopa Call Trace:
Sep 13 01:59:36 garopa [<ffffffff8022b279>] warn_slowpath+0xd8/0x112
Sep 13 01:59:36 garopa [<ffffffff804b462f>] schedule_timeout+0x1e/0xc9
Sep 13 01:59:36 garopa [<ffffffff8023e456>] autoremove_wake_function+0x9/0x2e
Sep 13 01:59:36 garopa [<ffffffff80220563>] __wake_up_common+0x44/0x73
Sep 13 01:59:36 garopa [<ffffffff80220cbf>] __wake_up+0x30/0x44
Sep 13 01:59:36 garopa [<ffffffff80281e86>] kfree+0x46/0x192
Sep 13 01:59:36 garopa [<ffffffff80365b69>] kobject_uevent_env+0x389/0x3b0
Sep 13 01:59:36 garopa [<ffffffff802312cb>] sysctl_set_parent+0x23/0x37
Sep 13 01:59:36 garopa [<ffffffff802312cb>] sysctl_set_parent+0x23/0x37
Sep 13 01:59:36 garopa [<ffffffff802327c9>] __register_sysctl_paths+0x1ca/0x28a
Sep 13 01:59:36 garopa [<ffffffff80400010>] dmi_matches+0x2a/0x76
Sep 13 01:59:36 garopa [<ffffffff8065b642>] i8042_init+0x0/0xe5
Sep 13 01:59:36 garopa [<ffffffff80400098>] dmi_check_system+0x15/0x41
Sep 13 01:59:36 garopa [<ffffffff8065b671>] i8042_init+0x2f/0xe5
Sep 13 01:59:36 garopa [<ffffffff80208051>] _stext+0x51/0x159
Sep 13 01:59:36 garopa [<ffffffff802c62d4>] create_proc_entry+0x7d/0x92
Sep 13 01:59:36 garopa [<ffffffff80252586>] register_irq_proc+0x94/0xac
Sep 13 01:59:36 garopa [<ffffffff806473b0>] kernel_init+0x12b/0x183
Sep 13 01:59:36 garopa [<ffffffff8020b3ea>] child_rip+0xa/0x20
Sep 13 01:59:36 garopa [<ffffffff80647285>] kernel_init+0x0/0x183
Sep 13 01:59:36 garopa [<ffffffff8020b3e0>] child_rip+0x0/0x20
Sep 13 01:59:36 garopa ---[ end trace 4eaa2a86a8e2da2b ]---
Sep 13 01:59:36 garopa ------------[ cut here ]------------
Sep 13 01:59:36 garopa md: raid1 personality registered for level 1
Sep 13 01:59:36 garopa xenoprofile_init: ret 0, events 2, xenoprof_is_primary 0
Sep 13 01:59:36 garopa TCP cubic registered
Sep 13 01:59:36 garopa NET: Registered protocol family 10
Sep 13 01:59:36 garopa IPv6 over IPv4 tunneling driver
Sep 13 01:59:36 garopa NET: Registered protocol family 17
Sep 13 01:59:36 garopa RPC: Registered udp transport module.
Sep 13 01:59:36 garopa RPC: Registered tcp transport module.
Sep 13 01:59:36 garopa XENBUS: Device with no driver: device/console/0
Sep 13 01:59:36 garopa md: Waiting for all devices to be available before autodetect
Sep 13 01:59:36 garopa md: If you don't use raid, use raid=noautodetect
Sep 13 01:59:36 garopa md: Autodetecting RAID arrays.
Sep 13 01:59:36 garopa md: Scanned 0 and added 0 devices.
Sep 13 01:59:36 garopa md: autorun ...
Sep 13 01:59:36 garopa md: ... autorun DONE.
Sep 13 01:59:36 garopa ReiserFS: sda1: found reiserfs format "3.6" with standard journal
Sep 13 01:59:36 garopa ReiserFS: sda1: using ordered data mode
Sep 13 01:59:36 garopa ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
Sep 13 01:59:36 garopa ReiserFS: sda1: checking transaction log (sda1)
Sep 13 01:59:36 garopa ReiserFS: sda1: Using r5 hash to sort names
Sep 13 01:59:36 garopa VFS: Mounted root (reiserfs filesystem) readonly on device 8:1.
Sep 13 01:59:36 garopa Freeing unused kernel memory: 232k freed
Sep 13 01:59:36 garopa udev: starting version 141
Sep 13 01:59:36 garopa Adding 1023992k swap on /swap.img. Priority:-1 extents:33 across:1085668k SS
Sep 13 01:59:37 garopa sshd[3735]: Server listening on 0.0.0.0 port 22.
Sep 13 01:59:37 garopa sshd[3735]: Server listening on :: port 22.
Sep 13 01:59:37 garopa cron[3792]: (CRON) STARTUP (V5.0)
Sep 13 01:59:43 garopa eth0: no IPv6 routers present
Sep 13 01:59:54 garopa sshd[3875]: Accepted keyboard-interactive/pam for root from 10.0.1.203 port 53206 ssh2
Sep 13 01:59:54 garopa sshd[3875]: pam_unix(sshd:session): session opened for user root by (uid=0)