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

[Xen-users] Problems with Starting xen guest on top of debian 3.0 / unst

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems with Starting xen guest on top of debian 3.0 / unstable
From: Martin Rode <martin.rode@xxxxxxxxxxxxxxxxx>
Date: Wed, 09 Aug 2006 10:46:17 +0200
Delivery-date: Wed, 09 Aug 2006 03:29:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)
Hi everybody,

I am using the Debian / Xen packages and have no problems starting the
host. But when I try to start a guest, it starts the kernel fine but it
cannot find the /dev/sda1 disk. The kernel is from the debian package
and is the same as for the host. Do I need a special kernel for dem DomU
with Xen 3.0 ?
In the "dash" which starts, I can do a "cd /sys/block" but not a "cd
/sys/block/sda"

Please reply to me personally, since I have not subscribed to the list.
Martin

skinner:/etc/xen# cat dmz.cfg
#
#  Configuration file for the Xen instance dmz, created on
# Mon Aug  7 17:18:32 2006.
#
#
#  Kernel + memory size
#
kernel  = '/boot/vmlinuz-2.6.16-2-xen-686'
ramdisk = '/boot/initrd.img-2.6.16-2-xen-686-yaird'
memory  = '128'
#
#  Disk device(s).
#
root    = '/dev/sda1 ro'
disk    = [ 'file:/home/xen/domains/dmz/disk.img,sda1,w',
           'file:/home/xen/domains/dmz/swap.img,sda2,w' ]
#
#  Hostname
#
name    = 'dmz'
#
#  Networking
#
# vif  = [ 'ip=' ]
#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

skinner:/etc/xen# xm create dmz.cfg
skinner:/etc/xen# xm console dmz
Linux version 2.6.16-2-xen-686 (Debian 2.6.16-15) (waldi@xxxxxxxxxx)
(gcc versio                 n 4.0.4 20060507 (prerelease) (Debian
4.0.3-3)) #1 SMP Wed Jun 21 21:24:34 UTC 2                 006
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000008000000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
ACPI in unprivileged domain disabled
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 2659.996 MHz processor.
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: b9000000-fb7fe000, maxmem 43ffe000
Memory: 123672k/139264k available (1507k kernel code, 7236k reserved,
527k data,                  144k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6654.84 BogoMIPS
(lpj=13309680)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 256K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 2884k freed
Grant table initialized
NET: Registered protocol family 16
PCI: setting up Xen PCI frontend stub
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
PCI: System does not support PCI
PCI: System does not support PCI
audit: initializing netlink socket (disabled)
audit(1155117798.793: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 (default)
io scheduler deadline registered
io scheduler cfq registered
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xb7800000
netfront: Initialising virtual ethernet driver.
NET: Registered protocol family 2
Registering block device major 8
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
Freeing unused kernel memory: 144k freed
mice: PS/2 mouse device common for all mice
SCSI subsystem initialized
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
register_blkdev: cannot get major 8 for sd
/bin/cat: /sys/block/sda/dev: No such file or directory
Waiting 1 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: No such file or directory
Waiting 2 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: No such file or directory
Waiting 4 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: No such file or directory
Waiting 8 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: No such file or directory
Waiting 16 seconds for /sys/block/sda/dev to show up
/bin/cat: /sys/block/sda/dev: No such file or directory
Device /sys/block/sda/dev seems to be down.
Debugging opportunity, type ^D to continue.
/bin/dash: can't access tty; job control turned off
# ls
/bin/dash: ls: not found
# /bin/mknod: missing operand after `b'
Special files require major and minor device numbers.
Try `/bin/mknod --help' for more information.
/bin/cat: /sys/block/sda/sda1/dev: No such file or directory
Waiting 1 seconds for /sys/block/sda/sda1/dev to show up
/bin/cat: /sys/block/sda/sda1/dev: No such file or directory
Waiting 2 seconds for /sys/block/sda/sda1/dev to show up
/bin/cat: /sys/block/sda/sda1/dev: No such file or directory
Waiting 4 seconds for /sys/block/sda/sda1/dev to show up
/bin/cat: /sys/block/sda/sda1/dev: No such file or directory
Waiting 8 seconds for /sys/block/sda/sda1/dev to show up
/bin/cat: /sys/block/sda/sda1/dev: No such file or directory
Waiting 16 seconds for /sys/block/sda/sda1/dev to show up
/bin/cat: /sys/block/sda/sda1/dev: No such file or directory
Device /sys/block/sda/sda1/dev seems to be down.
Debugging opportunity, type ^D to continue.
/bin/dash: can't access tty; job control turned off
# cd /sys
# ls
/bin/dash: ls: not found
# /bin/mknod: missing operand after `b'
Special files require major and minor device numbers.
Try `/bin/mknod --help' for more information.
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
md: raid1 personality registered for level 1
md: md0 stopped.
mdadm: cannot open device /dev/sda1: No such file or directory
mdadm: /dev/sda1 has wrong uuid.
mdadm: no devices found for /dev/md0
EXT3-fs: unable to read superblock
mount: wrong fs type, bad option, bad superblock on /dev/md0,
      missing codepage or other error
      (could this be the IDE device where you in fact use
      ide-scsi so that sr0 or sda or so is needed?)
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

Switching root ...
/usr/lib/yaird/exec/run_init: current directory on the same filesystem
as the ro                 ot: Success
Kernel panic - not syncing: Attempted to kill init!
skinner:/etc/xen#



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>