List Info

Thread:




country flaguser name
Austria
2007-02-22 12:06:36
Hi all!

At first I have to admit that I am very inexperienced in
using XEN!
What I try to do is get OpenSuse 10.2 working on my FC6
Station.
To do that I did the following steps:

1)Installed the XEN Kernel: 2.6.19-1.2911.fc6xen

2)Installed OpenSuse 10.2 on my girlfriends Laptop

3)made a complete image of the installation and put it in my
home:

/home/user/opensuse102xen.img

4)created an suse.xen.cfg:

kernel = "/boot/vmlinuz-2.6.19-1.2911.fc6xen"
ramdisk= "/boot/initrd-2.6.19-1.2911.fc6xen.img"
memory = 512
name = "opensuse102"
vif = ['']
#nics = 1
#dhcp = "dhcp"
disk = ['file:/home/rehcla/opensuse102xen.img,xvda,w'] 
root = "/dev/xvda ro"


5)did edit the /etc/fstab in the Image:



/dev/xvda            /                    ext3      
acl,user_xattr        1 1
#/dev/hda1            /windows/C           ntfs      
ro,users,gid=users,umask=0002,nls=utf8 0 0
#/dev/hda2            swap                 swap      
defaults              0 0
proc                 /proc                proc      
defaults              0 0
sysfs                /sys                 sysfs      noauto 
              0 0
debugfs              /sys/kernel/debug    debugfs    noauto 
              0 0
usbfs                /proc/bus/usb        usbfs      noauto 
              0 0
devpts               /dev/pts             devpts    
mode=0620,gid=5       0 0
~                                                           
                      

When I try to start Xen with:

"xm create opensuse102  -c suse.xen.cfg"

I get this:


Using config file "./suse.xen.cfg".
Started domain opensuse102
Linux version 2.6.19-1.2911.fc6xen (brewbuilderhs20-bc2-4.build.redhat.com) (gcc version 4.1.1
20070105 (Red Hat 4.1.1-51)) #1 SMP Sat Feb 10 16:09:50 EST
2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000020800000 (usable)
0MB HIGHMEM available.
520MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
  DMA             0 ->   133120
  Normal     133120 ->   133120
  HighMem    133120 ->   133120
early_node_map[1] active PFN ranges
    0:        0 ->   133120
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 132080
Kernel command line:  root=/dev/xvda ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c07e1000 soft=c07c1000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 3391.492 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288
bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144
bytes)
Software IO TLB disabled
vmalloc area: e1000000-f4ffe000, maxmem 2d7fe000
Memory: 507648k/532480k available (2168k kernel code, 16360k
reserved, 1106k data, 180k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf5315000 - 0xf57fe000   (5028 kB)
    pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
    vmalloc : 0xe1000000 - 0xf4ffe000   ( 319 MB)
    lowmem  : 0xc0000000 - 0xe0800000   ( 520 MB)
      .init : 0xc0790000 - 0xc07bd000   ( 180 kB)
      .data : 0xc061e2e4 - 0xc0732bf4   (1106 kB)
      .text : 0xc0400000 - 0xc061e2e4   (2168 kB)
Checking if this processor honours the WP bit even in
supervisor mode... Ok.
Calibrating delay using timer specific routine.. 8488.39
BogoMIPS (lpj=16976791)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module
capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 5155k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
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 interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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: 32768 (order: 5, 131072
bytes)
TCP established hash table entries: 131072 (order: 9,
2621440 bytes)
TCP bind hash table entries: 65536 (order: 8, 1310720
bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IA-32 Microcode Update Driver: v1.14-xen <tigranveritas.com>
audit: initializing netlink socket (disabled)
audit(1172157593.055:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
ksign: Installing public key data
Loading keyring
- Added public key BE1C9570C411C444
- User ID: Red Hat, Inc. (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
Linux version 2.6.19-1.2911.fc6xen (brewbuilderhs20-bc2-4.build.redhat.com) (gcc version 4.1.1
20070105 (Red Hat 4.1.1-51)) #1 SMP Sat Feb 10 16:09:50 EST
2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000020800000 (usable)
0MB HIGHMEM available.
520MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
  DMA             0 ->   133120
  Normal     133120 ->   133120
  HighMem    133120 ->   133120
early_node_map[1] active PFN ranges
    0:        0 ->   133120
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 132080
Kernel command line:  root=/dev/xvda ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c07e1000 soft=c07c1000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 3391.492 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288
bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144
bytes)
Software IO TLB disabled
vmalloc area: e1000000-f4ffe000, maxmem 2d7fe000
Memory: 507648k/532480k available (2168k kernel code, 16360k
reserved, 1106k data, 180k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf5315000 - 0xf57fe000   (5028 kB)
    pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
    vmalloc : 0xe1000000 - 0xf4ffe000   ( 319 MB)
    lowmem  : 0xc0000000 - 0xe0800000   ( 520 MB)
      .init : 0xc0790000 - 0xc07bd000   ( 180 kB)
      .data : 0xc061e2e4 - 0xc0732bf4   (1106 kB)
      .text : 0xc0400000 - 0xc061e2e4   (2168 kB)
Checking if this processor honours the WP bit even in
supervisor mode... Ok.
Calibrating delay using timer specific routine.. 8488.39
BogoMIPS (lpj=16976791)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module
capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 5155k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
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 interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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: 32768 (order: 5, 131072
bytes)
TCP established hash table entries: 131072 (order: 9,
2621440 bytes)
TCP bind hash table entries: 65536 (order: 8, 1310720
bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IA-32 Microcode Update Driver: v1.14-xen <tigranveritas.com>
audit: initializing netlink socket (disabled)
audit(1172157593.055:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
ksign: Installing public key data
Loading keyring
- Added public key BE1C9570C411C444
- User ID: Red Hat, Inc. (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 interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface 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
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
Freeing unused kernel memory: 180k freed
Write protecting the kernel read-only data: 387k
Red Hat nash version 5.1.19.0.2 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading ohci-hcd.ko module
Loading ehci-hcd.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading ata_piix.ko module
Loading dm-mod.ko module
device-mapper: ioctl: 4.10.0-ioctl (2006-09-14) initialised:
dm-develredhat.com
Loading dm-mirror.ko module
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Making device-mapper control node
Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Volume group "VolGroup00" not found
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!


Can some help me?

Thanks!

Claus Reheis





--
Fedora-xen mailing list
Fedora-xenredhat.com
ht
tps://www.redhat.com/mailman/listinfo/fedora-xen

Re:
country flaguser name
United States
2007-02-22 16:30:00
Hi Claus --

Almost certainly (believe me, based on hard-won experience)
your problem
is with the initrd.img defined in your VM config file:

ramdisk= "/boot/initrd-2.6.19-1.2911.fc6xen.img"

The root cause is probably the img file missing the
xenblk.ko driver. Just
rebuild the initrd using the "--with" switch to
include it.

If that doesn't work, you will need to look into the initrd
image and
possibly modify the init script; it may be trying to mount a
nonexistent
root device. But, my guess is xenblk.ko is missing. Search
through the
mailing list here or on xensource.com and it has been
discussed recently.

Good luck,


Dave

--
Fedora-xen mailing list
Fedora-xenredhat.com
ht
tps://www.redhat.com/mailman/listinfo/fedora-xen

Re:
country flaguser name
Netherlands
2007-02-22 21:47:01
On Thu, 22 Feb 2007, masterbradleyland.com wrote:

>
> Almost certainly (believe me, based on hard-won
experience) your problem
> is with the initrd.img defined in your VM config file:
>
> ramdisk=
"/boot/initrd-2.6.19-1.2911.fc6xen.img"
>
> The root cause is probably the img file missing the
xenblk.ko driver. Just
> rebuild the initrd using the "--with" switch
to include it.

That's not enough, since you need to preload it. What I do
to create
initrd's for the guests (xenU's) on the dom0 is:

mkinitrd /boot/initrd-2.6.19-1.2911.fc6xenU.img
--preload=xenblk --with=xennet 2.6.19-1.2911.fc6xen

I've said it before and I'll say it again. Life would be
much simpler if
all the "xen" kernel tree images include xenblk
and xennet in the initrd.
The "space" won has been completely not worth the
time people lost over
this issue.

Paul
-- 
Building and integrating Virtual Private Networks with
Openswan:
http://www.amazon.com/gp/product/1904811
256/104-3099591-2946327?n=283155

--
Fedora-xen mailing list
Fedora-xenredhat.com
ht
tps://www.redhat.com/mailman/listinfo/fedora-xen

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )