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

RE: [Xen-users] flat file system[directory] as disk

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] flat file system[directory] as disk
From: "Pallab Chakrabarty" <pchakrabarty@xxxxxxxxxxxxxxx>
Date: Wed, 24 Jun 2009 00:47:31 -0500 (CDT)
Delivery-date: Tue, 23 Jun 2009 22:50:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200906232255.28342.javier@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <-5114820827033456841@unknownmsgid> <7207d96f0906231950j2e6bc3e9k4fd346c24dc146e7@xxxxxxxxxxxxxx> <EMEWEMEW2_DELIMl5MMi96afa668c016663a0d937af, pchakrabarty@xxxxxxxxxxxxxxx, 3B75B44684DD49E9BC> <200906232255.28342.javier@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn0f7O4ZkF6i0OhR7W9CFUuMe4FDwADxJNA

 

For reference I’m posting the console below:

 

I doubt on the line: XENBUS: Timeout connecting to device: device/vbd/2049 (state 3)

 

Hoping can be fixed ..

 

 

[root@localhost# xm create centos -c

Using config file "./centos".

Started domain centos (id=12)

Bootdata ok (command line is ip=:127.0.255.255::::eth0:dhcp root=/dev/sda1 ro)

Linux version 2.6.18-128.1.14.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Jun 17 07:10:16 EDT 2009

BIOS-provided physical RAM map:

 Xen: 0000000000000000 - 0000000040800000 (usable)

No mptable found.

Built 1 zonelists.  Total pages: 264192

Kernel command line: ip=:127.0.255.255::::eth0:dhcp root=/dev/sda1 ro

Initializing CPU#0

PID hash table entries: 4096 (order: 12, 32768 bytes)

Xen reported: 2999.890 MHz processor.

Console: colour dummy device 80x25

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Software IO TLB disabled

Memory: 1014272k/1056768k available (2450k kernel code, 33696k reserved, 1363k data, 180k init)

Calibrating delay using timer specific routine.. 7500.83 BogoMIPS (lpj=15001670)

Security Framework v1.0.0 initialized

SELinux:  Initializing.

selinux_register_security:  Registering secondary module capability

Capability LSM initialized as secondary

Mount-cache hash table entries: 256

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 1024K (64 bytes/line)

CPU: Physical Processor ID: 0

CPU: Processor Core ID: 0

(SMP-)alternatives turned off

Brought up 1 CPUs

checking if image is initramfs... it is

Grant table initialized

NET: Registered protocol family 16

ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 217A0 could not acquire Mutex [2] [20060707]

No dock devices found.

ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 217A0 could not acquire Mutex [2] [20060707]

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.

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: System does not support PCI

PCI: System does not support PCI

NetLabel: Initializing

NetLabel:  domain hash size = 128

NetLabel:  protocols = UNLABELED CIPSOv4

NetLabel:  unlabeled traffic allowed by default

NET: Registered protocol family 2

IP route cache hash table entries: 65536 (order: 7, 524288 bytes)

TCP established hash table entries: 262144 (order: 10, 4194304 bytes)

TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)

TCP: Hash tables configured (established 262144 bind 65536)

TCP reno registered

audit: initializing netlink socket (disabled)

type=2000 audit(1245822110.127:1): initialized

VFS: Disk quotas dquot_6.5.1

Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

Initializing Cryptographic API

alg: No test for crc32c (crc32c-generic)

ksign: Installing public key data

Loading keyring

- Added public key AB647B002E87DFF1

- User ID: CentOS (Kernel Module GPG key)

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered (default)

pci_hotplug: PCI Hot Plug PCI Core version: 0.5

rtc: IRQ 8 is not free.

Non-volatile memory driver v1.2

Linux agpgart interface v0.101 (c) Dave Jones

RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize

Xen virtual console successfully installed as xvc0

Bootdata ok (command line is ip=:127.0.255.255::::eth0:dhcp root=/dev/sda1 ro)

Linux version 2.6.18-128.1.14.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Jun 17 07:10:16 EDT 2009

BIOS-provided physical RAM map:

 Xen: 0000000000000000 - 0000000040800000 (usable)

No mptable found.

Built 1 zonelists.  Total pages: 264192

Kernel command line: ip=:127.0.255.255::::eth0:dhcp root=/dev/sda1 ro

Initializing CPU#0

PID hash table entries: 4096 (order: 12, 32768 bytes)

Xen reported: 2999.890 MHz processor.

Console: colour dummy device 80x25

Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

Software IO TLB disabled

Memory: 1014272k/1056768k available (2450k kernel code, 33696k reserved, 1363k data, 180k init)

Calibrating delay using timer specific routine.. 7500.83 BogoMIPS (lpj=15001670)

Security Framework v1.0.0 initialized

SELinux:  Initializing.

selinux_register_security:  Registering secondary module capability

Capability LSM initialized as secondary

Mount-cache hash table entries: 256

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 1024K (64 bytes/line)

CPU: Physical Processor ID: 0

CPU: Processor Core ID: 0

(SMP-)alternatives turned off

Brought up 1 CPUs

checking if image is initramfs... it is

Grant table initialized

NET: Registered protocol family 16

ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 217A0 could not acquire Mutex [2] [20060707]

No dock devices found.

ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 217A0 could not acquire Mutex [2] [20060707]

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.

usbcore: registered new driver usbfs

usbcore: registered new driver hub

PCI: System does not support PCI

PCI: System does not support PCI

NetLabel: Initializing

NetLabel:  domain hash size = 128

NetLabel:  protocols = UNLABELED CIPSOv4

NetLabel:  unlabeled traffic allowed by default

NET: Registered protocol family 2

IP route cache hash table entries: 65536 (order: 7, 524288 bytes)

TCP established hash table entries: 262144 (order: 10, 4194304 bytes)

TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)

TCP: Hash tables configured (established 262144 bind 65536)

TCP reno registered

audit: initializing netlink socket (disabled)

type=2000 audit(1245822110.127:1): initialized

VFS: Disk quotas dquot_6.5.1

Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

Initializing Cryptographic API

alg: No test for crc32c (crc32c-generic)

ksign: Installing public key data

Loading keyring

- Added public key AB647B002E87DFF1

- User ID: CentOS (Kernel Module GPG key)

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered (default)

pci_hotplug: PCI Hot Plug PCI Core version: 0.5

rtc: IRQ 8 is not free.

Non-volatile memory driver v1.2

Linux agpgart interface v0.101 (c) Dave Jones

RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize

Xen virtual console successfully installed as xvc0

Event-channel device installed.

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

ide-floppy driver 0.99.newide

usbcore: registered new driver hiddev

usbcore: registered new driver usbhid

drivers/usb/input/hid-core.c: v2.6:USB HID core driver

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

TCP bic registered

Initializing IPsec netlink socket

NET: Registered protocol family 1

NET: Registered protocol family 17

XENBUS: Device with no driver: device/vbd/2049

XENBUS: Device with no driver: device/vbd/2050

XENBUS: Device with no driver: device/vif/0

XENBUS: Device with no driver: device/console/0

Write protecting the kernel read-only data: 467k

Red Hat nash version 5.1.19.6 starting

Mounting proc filesystem

Mounting sysfs filesystem

Creating /dev

Creating initial device nodes

Setting up hotplug.

Creating block device nodes.

Loading xenblk.ko module

Registering block device major 8

XENBUS: Timeout connecting to device: device/vbd/2049 (state 3)

Loading ehci-hcd.ko module

Loading ohci-hcd.ko module

Loading uhci-hcd.ko module

USB Universal Host Controller Interface driver v3.0

Loading jbd.ko module

Loading ext3.ko module

Loading scsi_mod.ko module

SCSI subsystem initialized

Loading libata.ko module

Loading ahci.ko module

Loading dm-mod.ko module

device-mapper: uevent: version 1.0.3

device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@xxxxxxxxxx

Loading dm-log.ko module

Loading dm-mirror.ko module

Loading dm-zero.ko module

Loading dm-snapshot.ko module

Loading xennet.ko module

netfront: Initialising virtual ethernet driver.

netfront: device eth0 has flipping receive path.

Waiting for driver initialization.

Scanning and configuring dmraid supported devices

Creating root device.

Mounting root filesystem.

mount: could not find filesystem '/dev/root'

Setting up other filesystems.

Setting up new root fs

setuproot: moving /dev failed: No such file or directory

no fstab.sys, mounting internal defaults

setuproot: error mounting /proc: No such file or directory

setuproot: error mounting /sys: No such file or directory

Switching to new root and running init.

unmounting old /dev

unmounting old /proc

unmounting old /sys

switchroot: mount failed: No such file or directory

Kernel panic - not syncing: Attempted to kill init!                      

 

 

 

 

- regards

   Pallab

 

 

-----Original Message-----
From: Javier Guerra [mailto:javier@xxxxxxxxxxx]
Sent: Wednesday, June 24, 2009 9:25 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: Pallab Chakrabarty; 'Fajar A. Nugraha'
Subject: Re: [Xen-users] flat file system as disk

 

Pallab Chakrabarty wrote:

> disk = ['tap:aio:/tmp/pallab,sda1,w', 'phy:/dev/xen_vg/lv-swap,sda2,w' ]

 

am i wrong, or /tmp/pallab is a directory?  if so, then no, that won't work.  you can use NFS/Samba/etc.

 

--

Javier

 

No virus found in this incoming message.

Checked by AVG - www.avg.com

Version: 8.5.339 / Virus Database: 270.12.88/2196 - Release Date: 06/23/09 17:54:00

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>