|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] VFS: Cannot open root device and Kernel panic
_Thank_. I copied the vmlinuz and its initrd from root of domU and I used these file (they have ext3 support). It works. :) Now I would like to copy all partition in a file. I read the Xen User's manual v3 (pages 52-53-54). But when I launch the xm create command, it can not find root: it wants /dev/hdb5.
Using config file "/etc/xen/vm/vm1". Started domain vm1 Linux version 2.6.18.2-34-xen (geeko@buildhost) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004800000 (usable) 0MB HIGHMEM available. 72MB LOWMEM available. ACPI in unprivileged domain disabled Allocating PCI resources starting at 10000000 (gap: 04800000:fb800000) Xen reported: 1503.407 MHz processor. Built 1 zonelists. Total pages: 18432 Kernel command line: ip=:::::eth0:dhcp TERM=xterm Enabling fast FPU save and restore...
done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Software IO TLB disabled vmalloc area: c5000000-fb7fe000, maxmem 33ffe000 Memory: 53940k/73728k available (1950k kernel code, 11532k 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.. 3766.91 BogoMIPS (lpj=7533826) 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: 7157k 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 65536 kiB PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 2048 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 2048) TCP reno registered audit: initializing netlink socket (disabled) audit(1198423615.330: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/769 XENBUS: Device with no driver: device/vbd/770 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 Sun Dec 23 15:26:58 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: hda1: barriers enabled blkfront: hda2: barriers enabled Loading jbd Loading mbcache Loading ext3 Waiting for device /dev/hdb5 to appear: ...........
I installed into image grub and I changed /etc/fstab. This is the config file for domU:
kernel = "/home/me/vmlinuz-2.6.18.2-34-xen" ramdisk = "/home/me/initrd-2.6.18.2-34-xen" disk = [ 'file:/home/me/hd.img,hda1,w', 'file:/home/me/swap.img,hda2,w'] root= "/dev/hda1 ro" memory = 64 vcpus = 1 builder = 'linux' name = 'vm1' vif = [ 'mac=00:16:3e:65:3a:ca, bridge=xenbr0' ] dhcp= 'dhcp' localtime = 0
extra = ' TERM=xterm'
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|