[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: Re: Re: Re: [Xen-users] xen-3.0-x86_32 not supported



        by
MIME-Version: 1.0
Content-Type: multipart/alternative; 
        boundary="----=_Part_533_1304471.1228930626751"
X-Originating-IP: [118.181.8.116]
X-Priority: 3
X-Mailer: Coremail Webmail Server Version XT_Ux_snapshot build
 081119(6371.2087.2083) Copyright (c) 2002-2008 www.mailtech.cn 163com

------=_Part_533_1304471.1228930626751
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit

Hi,Nick:
  Thank you so much!
  It works after I have rebuild initrd image to include xenblk. But new problem 
comes:
##########
Registering block device major 8
register_blkdev: cannot get major 8 for sd
xen_blk: can't get major 8 with name sd
vbd vbd-2053: 19 xlvbd_add at /local/domain/0/backend/vbd/27/2053
Registering block device major 8
register_blkdev: cannot get major 8 for sd
xen_blk: can't get major 8 with name sd
vbd vbd-2053: 19 xlvbd_add at /local/domain/0/backend/vbd/27/2053
Registering block device major 8
register_blkdev: cannot get major 8 for sd
xen_blk: can't get major 8 with name sd
vbd vbd-2052: 19 xlvbd_add at /local/domain/0/backend/vbd/27/2052
Registering block device major 8
register_blkdev: cannot get major 8 for sd
xen_blk: can't get major 8 with name sd
vbd vbd-2052: 19 xlvbd_add at /local/domain/0/backend/vbd/27/2052
XENBUS: Timeout connecting to device: device/vbd/2053 (state 6)
XENBUS: Timeout connecting to device: device/vbd/2052 (state 6)
################

   Then I change my DomU configuration file, like the following.
############################
kernel = "/boot/vmlinuz-2.6.18-53.el5xen"
ramdisk ="/boot/initrd-2.6.18-53.el5xen.img"
memory = 1024
name = "rh9"
disk = ['file:/home1/rh9/rh9.img,hda8,w','file:/home1/rh9/rh9_swap.img,hda9,w']
root = "/dev/hda8 rw"
#############
   
  The new DomU configuration file gives me the following error message:
############
Checking root filesystem
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda8 
fsck.ext3: Filesystem has unsupported feature(s) (/dev/hda8)
e2fsck: Get a newer version of e2fsck!
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
###############
      I type root password, and use command "df" to display mount points. The 
output of "df" is very strange: 
      /dev/sda5              8256952   6217092   1620432  80% /
  Why not /dev/hda8 ????

Thank you  so much! 

--Joe

-----Original message-----
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Dec. 10, 2008, Wed
To: math_physics@xxxxxxx
Copy to: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: Re: Re: Re: Re: [Xen-users] xen-3.0-x86_32 not supported by

This is because dom0 loads standard storage drivers associated with whatever 
hardware you're actually using.  The domUs, on the other hand, load drivers 
that allow them to use the devices exported by dom0 (or by a stub domain, in 
the case of Xen 3.3).  So, your dom0 will use an IDE driver or SCSI driver, 
while the domU needs xenblk to operate correctly.

To rebuild the initrd, use "mkinitrd" in the RH9 system - mount it in a 
temporary location, chroot to it, then use mkinitrd:
mkinitrd -f --with=xenblk /boot/initrd-2.6.18-53.el5xen.img 2.6.18-53.el5xen

-Nick


-----Original Message-----
From: math_physics@xxxxxxx
To: Nick Couchman <Nick.Couchman@xxxxxxxxx>
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Re: Re: Re: Re: [Xen-users] xen-3.0-x86_32 not supported by
Date: Wed, 10 Dec 2008 22:30:39 +0800 (CST)


        xenkernel
MIME-Version: 1.0
Content-Type: multipart/alternative; 
        boundary="----=_Part_131682_27459552.1228919439475"
X-Originating-IP: [118.181.8.116]
X-Priority: 3
X-Mailer: Coremail Webmail Server Version XT_Ux_snapshot build
 081119(6371.2087.2083) Copyright (c) 2002-2008 www.mailtech.cn 163com

------=_Part_131682_27459552.1228919439475
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit

Hi, Nick:
  Two questions:
  1.  The initrd image "initrd-2.6.18-53.el5xen.img" works well for Dom0 and 
the following is the content of file grub.conf. Why doesn't it work for DomU?
##########
title Red Hat Enterprise Linux Server AS5.1 (2.6.18-53.el5xen)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.18-53.el5 dom0_mem=512M
        module /boot/vmlinuz-2.6.18-53.el5xen ro root=LABEL=/1 rhgb quiet
        module /boot/initrd-2.6.18-53.el5xen.img
############

2. How to rebuild initrd image to include xenblk? 

  Thank you so much!


-----Original message-----
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Dec.10, 2008, Wed
To: math_physics@xxxxxxx
Copy: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: Re: Re: Re: [Xen-users] xen-3.0-x86_32 not supported by xenkernel


You probably need to rebuild the initrd image used to boot so that it has the 
xenblk driver included.  The following messages indicate that the xenblk driver 
isn't loading:
XENBUS: Device with no driver: device/vbd/2057
XENBUS: Device with no driver: device/vbd/2056

-Nick

>>> <math_physics@xxxxxxx> 2008/12/08 20:14 >>>


Yes, I have editted the fstab file in /mnt/loop1/etc. Its content is modified 
to:

/dev/sda9               /          other parameters
/dev/sda8               swap       other parameters




-----Original message-----
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Dec. 9, 2008, Tu.
To:math_physics@xxxxxxx
Copy to:
Subject: Re: Re: Re: [Xen-users] xen-3.0-x86_32 not supported by xen kernel


Did you edit the fstab file in /mnt/loop1/etc with the new root information?
 
-Nick

>>> <math_physics@xxxxxxx> 2008/12/07 06:48 >>>

Hi, Nick:
  Thank you so much for you help! But I still can't solve my problem:(. I still 
need help:)
  I post my DomU configure file and booting messge here. Would you help me find 
out the answer?
  The kernal and the ramdisk file I use are installed by rpm package in the 
RHEL AS5.1 installation disk. 
  And here is what I do:  
  1. I create a image file /home1/rh9/rh9.img and mount it to /mnt/loop1. 
  2. Copy the whole rh9 system(a physical linux system installed in /dev/sda5) 
into /mnt/loop1;
  3. Copy the directory /lib/modules/2.6.18-53.el5xen of my RHEL AS5.1 (on 
/dev/sda1) into /mnt/loop1/lib/modules;
  4. Modify /mnt/loop1/etc/fstab, where mount points are fixed to match the 
settings of DomU configuration file.
    Thank you so much!
############ DomU configuration file:
kernel = "/boot/vmlinuz-2.6.18-53.el5xen"
ramdisk ="/boot/initrd-2.6.18-53.el5xen.img"
memory = 1024
name = "rh9"
disk = ['file:/home1/rh9/rh9.img,sda9,w','file:/home1/rh9/rh9_swap.img,sda8,w']
root = "/dev/sda9 ro"

############## Booting message: 
Started domain rh9
Linux version 2.6.18-53.el5xen (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc 
version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 17:06:12 EDT 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
304MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 264192
Kernel command line:  root=/dev/sda9 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0727000 soft=c0707000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 1662.499 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: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 1026984k/1056768k available (2049k kernel code, 20692k reserved, 844k 
data, 168k init, 311304k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4158.11 BogoMIPS (lpj=8316221)
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: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 5216k freed
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could not 
acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 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: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1228655943.467:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key FF48355AC6B12D27
- 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.18-53.el5xen (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc 
version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 17:06:12 EDT 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
304MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 264192
Kernel command line:  root=/dev/sda9 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0727000 soft=c0707000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 1662.499 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: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 1026984k/1056768k available (2049k kernel code, 20692k reserved, 844k 
data, 168k init, 311304k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4158.11 BogoMIPS (lpj=8316221)
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: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 5216k freed
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could not 
acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 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: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1228655943.467:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key FF48355AC6B12D27
- 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 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
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2057
XENBUS: Device with no driver: device/vbd/2056
Freeing unused kernel memory: 168k freed
Write protecting the kernel read-only data: 360k
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 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 ahci.ko module
Loading ata_piix.ko module
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!

############## xm info gives the following message
release                : 2.6.18-53.el5xen
version                : #1 SMP Wed Oct 10 17:06:12 EDT 2007
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 1662
hw_caps                : 
bfebfbff:20100000:00000000:00000140:0000e39d:00000000:00000001
total_memory           : 2046
free_memory            : 1508
xen_major              : 3
xen_minor              : 1
xen_extra              : .0-53.el5
xen_caps               : xen-3.0-x86_32p 
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
cc_compile_by          : brewbuilder
cc_compile_domain      : build.redhat.com
cc_compile_date        : Wed Oct 10 16:30:55 EDT 2007
xend_config_format     : 2
 

?> -----Original message-----
> From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
> Date: Dec 6, 2008, Sat.
> To: math_physics@xxxxxxx
> Copy to: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: Re: [Xen-users] xen-3.0-x86_32 not supported by xen kernel
> 
> The kernel version doesn't matter so much as the Xen version in the
> kernel as well as the type of kernel.  Try installing a bigmem or
> hugemem Xen kernel as those should include PAE support and see if that
> helps.
> Nick Couchman
> Manager, Information Technology 
> -----Original Message-----
> From: <math_physics@xxxxxxx>
> To: Nick Couchman <Nick.Couchman@xxxxxxxxx>
> 
> Sent: 12/5/2008 8:38:21 PM
> Subject: Re:  Re: [Xen-users] xen-3.0-x86_32 not supported by xen kernel
> 
> Hi, Nick:
> 
> Should the kernel version of Dom0 be the same with the kernel version of
> DomU? 
> 
> I install xen packages on my RHEL AS 5.1 using rpm package, but I can't
> find xenU kernel. I only found kernel files whose name include string
> 'xen' only. So I built a xenU kernel (2.6.16). 
> 
> Then I boot xenU kernel in RHEL AS 5.1, and it gives me the error
> messege.
> 
> 
> Thank you !
> 
> 
> 
> 
> -----Original message-----
> From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
> Date: Dec 6, 2008, Sat.
> To: math_physics@xxxxxxx
> Copy: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] xen-3.0-x86_32 not supported by xen kernel
> 
> Use xm info to figure out which kernels are supported - I suggest trying
> a 32-bit PAE kernel - my SLES10 64-bit Linux builds don't support plain
> 32-bit kernels, but they do support 32-bit PAE (big/huge) kernels.
> 
> -Nick
> 
> 
> -----Original Message-----
> From: math_physics@xxxxxxx
> To: Xen MailList <xen-users@xxxxxxxxxxxxxxxxxxx>
> Subject: [Xen-users] xen-3.0-x86_32 not supported by xen kernel
> Date: Fri, 5 Dec 2008 09:56:45 +0800 (CST)
> 
> 
> I build a DomU kernel on RHEL AS5.1. But when I boot this Guest DomU
> with the kernel, it gives me error message:
> 
> Error: (2, 'Invalid kernel', 'xc_dom_compat_check: guest type
> xen-3.0-x86_32 not supported by xen kernel, sorry\n')
> 
> 
> Can someone give me any suggestion about this problem?
>  
> Thank you!
> 
> Joe
------=_Part_533_1304471.1228930626751
Content-Type: text/html; charset=GBK
Content-Transfer-Encoding: quoted-printable

Hi,Nick:<br>&nbsp; Thank you so much!<br>&nbsp; It works after I have rebui=
ld initrd image to include xenblk. But new problem comes:<br>##########<br>=
Registering block device major 8<br>register_blkdev: cannot get major 8 for=
 sd<br>xen_blk: can't get major 8 with name sd<br>vbd vbd-2053: 19 xlvbd_ad=
d at /local/domain/0/backend/vbd/27/2053<br>Registering block device major =
8<br>register_blkdev: cannot get major 8 for sd<br>xen_blk: can't get major=
 8 with name sd<br>vbd vbd-2053: 19 xlvbd_add at /local/domain/0/backend/vb=
d/27/2053<br>Registering block device major 8<br>register_blkdev: cannot ge=
t major 8 for sd<br>xen_blk: can't get major 8 with name sd<br>vbd vbd-2052=
: 19 xlvbd_add at /local/domain/0/backend/vbd/27/2052<br>Registering block =
device major 8<br>register_blkdev: cannot get major 8 for sd<br>xen_blk: ca=
n't get major 8 with name sd<br>vbd vbd-2052: 19 xlvbd_add at /local/domain=
/0/backend/vbd/27/2052<br>XENBUS: Timeout connecting to device: device/vbd/=
2053 (state 6)<br>XENBUS: Timeout connecting to device: device/vbd/2052 (st=
ate 6)<br>################<br><br>&nbsp;&nbsp; Then I change my DomU config=
uration file, like the following.<br>############################<br>kernel=
 =3D "/boot/vmlinuz-2.6.18-53.el5xen"<br>ramdisk =3D"/boot/initrd-2.6.18-53=
el5xen.img"<br>memory =3D 1024<br>name =3D "rh9"<br>disk =3D ['file:/home1=
/rh9/rh9.img,hda8,w','file:/home1/rh9/rh9_swap.img,hda9,w']<br>root =3D "/d=
ev/hda8 rw"<br>#############<br>&nbsp;&nbsp; <br>&nbsp; The new DomU config=
uration file gives me the following error message:<br>############<br>Check=
ing root filesystem<br>[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda8 <b=
r>fsck.ext3: Filesystem has unsupported feature(s) (/dev/hda8)<br>e2fsck: G=
et a newer version of e2fsck!<br>[FAILED]<br><br>*** An error occurred duri=
ng the file system check.<br>*** Dropping you to a shell; the system will r=
eboot<br>*** when you leave the shell.<br>Give root password for maintenanc=
e<br>(or type Control-D to continue):<br>###############<br>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; I type root password, and use command "df" to display mount=
 points. The output of "df" is very strange: <br>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; /dev/sda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; 8256952&nbsp;&nbsp; 6217092&nbsp;&nbsp; 1620432&nbsp; 80%=
 /<br>&nbsp; Why not /dev/hda8 ????<br><br>Thank you&nbsp; so much! <br><br=
>--Joe<br><span>
     =20
    </span><br><blockquote style=3D"border-left: 2px solid rgb(160, 198, 22=
9); padding-left: 5px; margin-left: 5px; margin-right: 0pt;">-----Original =
message-----<br>
<b>From:</b> "Nick Couchman" &lt;Nick.Couchman@xxxxxxxxx&gt;<br>
<b>Date:</b> Dec. 10, 2008, Wed<br>To<b>:</b> math_physics@xxxxxxx<br>
<b>Copy to:</b> xen-users@xxxxxxxxxxxxxxxxxxx<br>
<b>Subject:</b> Re: Re: Re:  Re: Re: [Xen-users] xen-3.0-x86_32 not support=
ed
=09by<br><br>


This is because dom0 loads standard storage drivers associated with whateve=
r hardware you're actually using.&nbsp; The domUs, on the other hand, load =
drivers that allow them to use the devices exported by dom0 (or by a stub d=
omain, in the case of Xen 3.3).&nbsp; So, your dom0 will use an IDE driver =
or SCSI driver, while the domU needs xenblk to operate correctly.<br>
<br>
To rebuild the initrd, use "mkinitrd" in the RH9 system - mount it in a tem=
porary location, chroot to it, then use mkinitrd:<br>
mkinitrd -f --with=3Dxenblk /boot/initrd-2.6.18-53.el5xen.img 2.6.18-53.el5=
xen<br>
<br>
-Nick<br>
<br>
<br>
-----Original Message-----<br>
<b>From</b>: <a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxxxx</=
a><br>
<b>To</b>: Nick Couchman &lt;<a href=3D"mailto:Nick%20Couchman%20%3cNick.Co=
uchman@xxxxxxxxx%3e">Nick.Couchman@xxxxxxxxx</a>&gt;<br>
<b>Cc</b>: xen-users &lt;<a href=3D"mailto:xen-users%20%3cxen-users@xxxxxxx=
ensource.com%3e">xen-users@xxxxxxxxxxxxxxxxxxx</a>&gt;<br>
<b>Subject</b>: Re: Re: Re: Re: Re: [Xen-users] xen-3.0-x86_32 not supporte=
d by<br>
<b>Date</b>: Wed, 10 Dec 2008 22:30:39 +0800 (CST)<br>
<br>
<pre>=09xenkernel
MIME-Version: 1.0
Content-Type: multipart/alternative;=20
=09boundary=3D"----=3D_Part_131682_27459552.1228919439475"
X-Originating-IP: [118.181.8.116]
X-Priority: 3
X-Mailer: Coremail Webmail Server Version XT_Ux_snapshot build
 081119(6371.2087.2083) Copyright (c) 2002-2008 <a href=3D"http://www.mailt=
ech.cn">www.mailtech.cn</a> 163com

------=3D_Part_131682_27459552.1228919439475
Content-Type: text/plain; charset=3DGBK
Content-Transfer-Encoding: 7bit

Hi, Nick:
  Two questions:
  1.  The initrd image "initrd-2.6.18-53.el5xen.img" works well for Dom0 an=
d the following is the content of file grub.conf. Why doesn't it work for D=
omU?
##########
title Red Hat Enterprise Linux Server AS5.1 (2.6.18-53.el5xen)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.18-53.el5 dom0_mem=3D512M
        module /boot/vmlinuz-2.6.18-53.el5xen ro root=3DLABEL=3D/1 rhgb qui=
et
        module /boot/initrd-2.6.18-53.el5xen.img
############

2. How to rebuild initrd image to include xenblk?=20

  Thank you so much!


-----Original message-----
From: "Nick Couchman" &lt;<a href=3D"mailto:Nick.Couchman@xxxxxxxxx";>Nick.C=
ouchman@xxxxxxxxx</a>&gt;
Date: Dec.10, 2008, Wed
To: <a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxxxx</a>
Copy: <a href=3D"mailto:xen-users@xxxxxxxxxxxxxxxxxxx";>xen-users@xxxxxxxxxx=
ource.com</a>
Subject: Re: Re: Re: Re: [Xen-users] xen-3.0-x86_32 not supported by xenker=
nel


You probably need to rebuild the initrd image used to boot so that it has t=
he xenblk driver included.  The following messages indicate that the xenblk=
 driver isn't loading:
XENBUS: Device with no driver: device/vbd/2057
XENBUS: Device with no driver: device/vbd/2056

-Nick

&gt;&gt;&gt; &lt;<a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxx=
om</a>&gt; 2008/12/08 20:14 &gt;&gt;&gt;


Yes, I have editted the fstab file in /mnt/loop1/etc. Its content is modifi=
ed to:

/dev/sda9               /          other parameters
/dev/sda8               swap       other parameters




-----Original message-----
From: "Nick Couchman" &lt;<a href=3D"mailto:Nick.Couchman@xxxxxxxxx";>Nick.C=
ouchman@xxxxxxxxx</a>&gt;
Date: Dec. 9, 2008, Tu.
To:<a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxxxx</a>
Copy to:
Subject: Re: Re: Re: [Xen-users] xen-3.0-x86_32 not supported by xen kernel


Did you edit the fstab file in /mnt/loop1/etc with the new root information=
?
=20
-Nick

&gt;&gt;&gt; &lt;<a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxx=
om</a>&gt; 2008/12/07 06:48 &gt;&gt;&gt;

Hi, Nick:
  Thank you so much for you help! But I still can't solve my problem:(. I s=
till need help:)
  I post my DomU configure file and booting messge here. Would you help me =
find out the answer?
  The kernal and the ramdisk file I use are installed by rpm package in the=
 RHEL AS5.1 installation disk.=20
  And here is what I do: =20
  1. I create a image file /home1/rh9/rh9.img and mount it to /mnt/loop1.=
=20
  2. Copy the whole rh9 system(a physical linux system installed in /dev/sd=
a5) into /mnt/loop1;
  3. Copy the directory /lib/modules/2.6.18-53.el5xen of my RHEL AS5.1 (on =
/dev/sda1) into /mnt/loop1/lib/modules;
  4. Modify /mnt/loop1/etc/fstab, where mount points are fixed to match the=
 settings of DomU configuration file.
    Thank you so much!
############ DomU configuration file:
kernel =3D "/boot/vmlinuz-2.6.18-53.el5xen"
ramdisk =3D"/boot/initrd-2.6.18-53.el5xen.img"
memory =3D 1024
name =3D "rh9"
disk =3D ['file:/home1/rh9/rh9.img,sda9,w','file:/home1/rh9/rh9_swap.img,sd=
a8,w']
root =3D "/dev/sda9 ro"

############## Booting message:=20
Started domain rh9
Linux version 2.6.18-53.el5xen (<a href=3D"mailto:brewbuilder@xxxxxxxxxxxxx=
ild.redhat.com">brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx</a>) (gcc version 4=
.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 17:06:12 EDT 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
304MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 264192
Kernel command line:  root=3D/dev/sda9 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=3Dc0727000 soft=3Dc0707000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 1662.499 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: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 1026984k/1056768k available (2049k kernel code, 20692k reserved, 84=
4k data, 168k init, 311304k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok=
.
Calibrating delay using timer specific routine.. 4158.11 BogoMIPS (lpj=3D83=
16221)
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: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 5216k freed
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could not =
acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 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 =3D 128
NetLabel:  protocols =3D 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: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1228655943.467:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key FF48355AC6B12D27
- 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.18-53.el5xen (<a href=3D"mailto:brewbuilder@xxxxxxxxxxxxx=
ild.redhat.com">brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx</a>) (gcc version 4=
.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 17:06:12 EDT 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000040800000 (usable)
304MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists.  Total pages: 264192
Kernel command line:  root=3D/dev/sda9 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=3Dc0727000 soft=3Dc0707000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 1662.499 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: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 1026984k/1056768k available (2049k kernel code, 20692k reserved, 84=
4k data, 168k init, 311304k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok=
.
Calibrating delay using timer specific routine.. 4158.11 BogoMIPS (lpj=3D83=
16221)
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: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 5216k freed
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 could not =
acquire Mutex [2] [20060707]
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread C06D7AA0 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 =3D 128
NetLabel:  protocols =3D 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: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1228655943.467:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key FF48355AC6B12D27
- 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=3D=
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=3D256, MD_SB_DISKS=3D27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2057
XENBUS: Device with no driver: device/vbd/2056
Freeing unused kernel memory: 168k freed
Write protecting the kernel read-only data: 360k
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 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 ahci.ko module
Loading ata_piix.ko module
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!

############## xm info gives the following message
release                : 2.6.18-53.el5xen
version                : #1 SMP Wed Oct 10 17:06:12 EDT 2007
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 1662
hw_caps                : bfebfbff:20100000:00000000:00000140:0000e39d:00000=
000:00000001
total_memory           : 2046
free_memory            : 1508
xen_major              : 3
xen_minor              : 1
xen_extra              : .0-53.el5
xen_caps               : xen-3.0-x86_32p=20
xen_pagesize           : 4096
platform_params        : virt_start=3D0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
cc_compile_by          : brewbuilder
cc_compile_domain      : build.redhat.com
cc_compile_date        : Wed Oct 10 16:30:55 EDT 2007
xend_config_format     : 2
=20

?&gt; -----Original message-----
&gt; From: "Nick Couchman" &lt;<a href=3D"mailto:Nick.Couchman@xxxxxxxxx";>N=
ick.Couchman@xxxxxxxxx</a>&gt;
&gt; Date: Dec 6, 2008, Sat.
&gt; To: <a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxxxx</a>
&gt; Copy to: <a href=3D"mailto:xen-users@xxxxxxxxxxxxxxxxxxx";>xen-users@li=
sts.xensource.com</a>
&gt; Subject: Re: Re: [Xen-users] xen-3.0-x86_32 not supported by xen kerne=
l
&gt;=20
&gt; The kernel version doesn't matter so much as the Xen version in the
&gt; kernel as well as the type of kernel.  Try installing a bigmem or
&gt; hugemem Xen kernel as those should include PAE support and see if that
&gt; helps.
&gt; Nick Couchman
&gt; Manager, Information Technology=20
&gt; -----Original Message-----
&gt; From: &lt;<a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxxxx=
</a>&gt;
&gt; To: Nick Couchman &lt;<a href=3D"mailto:Nick.Couchman@xxxxxxxxx";>Nick.=
Couchman@xxxxxxxxx</a>&gt;
&gt;=20
&gt; Sent: 12/5/2008 8:38:21 PM
&gt; Subject: Re:  Re: [Xen-users] xen-3.0-x86_32 not supported by xen kern=
el
&gt;=20
&gt; Hi, Nick:
&gt;=20
&gt; Should the kernel version of Dom0 be the same with the kernel version =
of
&gt; DomU?=20
&gt;=20
&gt; I install xen packages on my RHEL AS 5.1 using rpm package, but I can'=
t
&gt; find xenU kernel. I only found kernel files whose name include string
&gt; 'xen' only. So I built a xenU kernel (2.6.16).=20
&gt;=20
&gt; Then I boot xenU kernel in RHEL AS 5.1, and it gives me the error
&gt; messege.
&gt;=20
&gt;=20
&gt; Thank you !
&gt;=20
&gt;=20
&gt;=20
&gt;=20
&gt; -----Original message-----
&gt; From: "Nick Couchman" &lt;<a href=3D"mailto:Nick.Couchman@xxxxxxxxx";>N=
ick.Couchman@xxxxxxxxx</a>&gt;
&gt; Date: Dec 6, 2008, Sat.
&gt; To: <a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxxxx</a>
&gt; Copy: <a href=3D"mailto:xen-users@xxxxxxxxxxxxxxxxxxx";>xen-users@lists=
.xensource.com</a>
&gt; Subject: Re: [Xen-users] xen-3.0-x86_32 not supported by xen kernel
&gt;=20
&gt; Use xm info to figure out which kernels are supported - I suggest tryi=
ng
&gt; a 32-bit PAE kernel - my SLES10 64-bit Linux builds don't support plai=
n
&gt; 32-bit kernels, but they do support 32-bit PAE (big/huge) kernels.
&gt;=20
&gt; -Nick
&gt;=20
&gt;=20
&gt; -----Original Message-----
&gt; From: <a href=3D"mailto:math_physics@xxxxxxx";>math_physics@xxxxxxx</a>
&gt; To: Xen MailList &lt;<a href=3D"mailto:xen-users@xxxxxxxxxxxxxxxxxxx";>=
xen-users@xxxxxxxxxxxxxxxxxxx</a>&gt;
&gt; Subject: [Xen-users] xen-3.0-x86_32 not supported by xen kernel
&gt; Date: Fri, 5 Dec 2008 09:56:45 +0800 (CST)
&gt;=20
&gt;=20
&gt; I build a DomU kernel on RHEL AS5.1. But when I boot this Guest DomU
&gt; with the kernel, it gives me error message:
&gt;=20
&gt; Error: (2, 'Invalid kernel', 'xc_dom_compat_check: guest type
&gt; xen-3.0-x86_32 not supported by xen kernel, sorry\n')
&gt;=20
&gt;=20
&gt; Can someone give me any suggestion about this problem?
&gt; =20
&gt; Thank you!
&gt;=20
&gt; Joe</pre></blockquote><br><!-- footer --><br><hr/>
<a href=3D"http://www.yeah.net";>=CD=F8=D2=D7=C3=E2=B7=D1=D3=CA=A3=AC=C8=AB=
=C7=F2=D7=EE=B4=F3=B5=C4=D6=D0=CE=C4=C3=E2=B7=D1=D3=CA=CF=E4</a>

------=_Part_533_1304471.1228930626751--


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.