any idea what the reason for this error is? [2006-11-07 13:59:31 xend 3167] DEBUG (__init__:1072) exception looking up device number for 0: [Errno 2] No such file or directory: ''/dev/0'' my config file looks like this: name = "solaris" memory = "400" kernel = "/solaris/platform/i86xen/kernel/amd64/unix" extra = "/platform/i86xen/kernel/amd64/unix" ramdisk = "/solaris/platform/i86pc/boot_archive" on_shutdown = "destroy" on_reboot = "restart" on_crash = "destroy" root = "/dev/dsk/c0d0s0" disk = [''file:/solaris/root.file,0,w''] vif = [''ip=10.12.1.90'']
Hi Oliver, On 2006/11/07, at 22:08, oliver oli wrote:> disk = [''file:/solaris/root.file,0,w'']You should give double slash after file:... like: disk = [ ''file://solaris/root.file,0,2'' ] akki ------------------------------------------------------------------ Akki Akinobu Fukuzaki akki@think-win.com http://www.think-win.com ------------------------------------------------------------------
I think i had this problem too in a linux-dom0 and solaris-domU setup. The solution was instead of using an file backend for the disk, to create a loop device for the image and use the loop device as a phy:// backend. $ losetup /dev/loop/0 root.file disk = [''phy:/dev/loop/0,0,w''] Peter ----- Original Message ----- From: oliver oli <oliver.oli@gmail.com> To: xen-discuss@opensolaris.org Subject: [xen-discuss] xenU crashes on linux Date: Tue, 07 Nov 2006 14:08:17 +0100> any idea what the reason for this error is? > > [2006-11-07 13:59:31 xend 3167] DEBUG (__init__:1072) > exception looking up device number for 0: [Errno 2] No > such file or directory: ''/dev/0'' > > my config file looks like this: > > name = "solaris" > memory = "400" > kernel = "/solaris/platform/i86xen/kernel/amd64/unix" > extra = "/platform/i86xen/kernel/amd64/unix" > ramdisk = "/solaris/platform/i86pc/boot_archive" > on_shutdown = "destroy" > on_reboot = "restart" > on_crash = "destroy" > root = "/dev/dsk/c0d0s0" > disk = [''file:/solaris/root.file,0,w''] > vif = [''ip=10.12.1.90''] > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Reasonably Related Threads
- Failed to create a solaris DOMU using NFS root
- installing a pseudo driver in a Solaris DOM U and DOM U reboot
- [PATCH] Update pygrub for new Solaris directory names
- getting opensolaris b85 domU to start
- lucreate error: Cannot determine the physical boot device ...