Dushmant Mohapatra
2007-Jun-12 20:03 UTC
[Xen-users] Xen in RHEL 5.0...Installation problems
Hello..I am not very proficient in Linux kernel stuffs although I know my
basics. I have a question and all suggestions/solutions will be highly
appreciated...
I got to know that RHEL 5 has inbuilt Xen Support...So I tried to install a
RHEL 5.0 Server on my P4 machine. On top of it I tried to install Xen specific
RPMs and some other RPMs needed by Xen.
The additinal RPMs added after base RHEL 5.0 installation are :
bridge-utils-1.1.2.i386.rpm
iproute-2.6.18-4.el5.i386.rpm
kernel-xen-2.6.18-8.el5.i686.rpm
kernel-xen-devel-2.6.18-8.el5.i686.prm
udev-095-14.5.el5.i386.rpm
After all this the grub.conf gets modified automatically and looks like this:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-8.el5
module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-8.el5xen.img
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img
After all this I am ready to boot properly into Xen Specific Linux and the
original RHEL . But there is no /etc/xen directory and nor are the tools like
xend and xm available.
So I am not sure if I am missing some other RPMS that need to be installed??
On not being able to get it done this way I tried to erase the xen specific RPMs
kernel-xen-2.6.18-8.el5.i686.rpm
kernel-xen-devel-2.6.18-8.el5.i686.prm
and installed the RPMs obtained from Xen Source site (for RHEL 5). The RPMs
installed are :
kernel-xen-2.6.18-3.1.0.i386.rpm
xen-devel-3.1.0-1.i386.rpm
xen-3.1.0-1.src.rpm
xen-3.1.0-1.i386.rpm
By doing this I see that /etc/xen directory has been created and I can see the
tools xend,xm...
But after modifying the grub.conf and trying to boot into Xen I get kernel
panic.
The grub.conf after modification is :
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Red Hat Enterprise Linux Server - XEN ENABLED
root (hd0,0)
kernel /xen-3.1.0.gz noreboot
module /vmlinuz-2.6.18-xen_3.1.0 ro root=/dev/VolGroup00/LogVol00
module /initrd-2.6.18-xen_3.1.0.img
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img
Some of the kernel panic messages are like:
Reading all physical volumes.
No volume groups found
Volume Group "Vol Group00" not found.
Mount: could not find file system /dev/root
setuproot: moving /dev failed. No such file or directory
.
.
end-request:I/O error, dev fd0, sector 0
I am including here some details of my configurations:
[root@dyn-9-1-75-65 ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[root@dyn-9-1-75-65 ~]# cat /proc/partitions
major minor #blocks name
3 0 39078144 hda
3 1 104391 hda1
3 2 38973690 hda2
253 0 37945344 dm-0
253 1 1015808 dm-1
[root@dyn-9-1-75-65 ~]# fdisk -l
Disk /dev/hda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4865 38973690 8e Linux LVM
[root@dyn-9-1-75-65 ~]# parted
GNU Parted 1.8.1
Using /dev/hda
Welcome to GNU Parted! Type ''help'' to view a list of commands.
(parted) print
Model: IC35L040AVVN07-0 (ide)
Disk /dev/hda: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 40.0GB 39.9GB primary lvm
[root@dyn-9-1-75-65 ~]# lvm
lvm> pvdisplay
--- Physical volume ---
PV Name /dev/hda2
VG Name VolGroup00
PV Size 37.17 GB / not usable 12.24 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 1189
Free PE 0
Allocated PE 1189
PV UUID 1xh1p6-cC8T-cocr-iyY2-Ta9x-KrOY-Io79SL
lvm> lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID KgakUg-SYE9-6Vn2-3Iks-3Wbo-ENYt-r2UDzE
LV Write Access read/write
LV Status available
# open 1
LV Size 36.19 GB
Current LE 1158
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 6avXTk-0DYK-JHRc-bh56-4w68-eBJg-kAVw4s
LV Write Access read/write
LV Status available
# open 1
LV Size 992.00 MB
Current LE 31
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
Can any one pls suggest where I went wrong?
Thanks in advance
Dushmanta
---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it''s updated for today''s economy)
at Yahoo! Games.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
James Wilson
2007-Jun-12 20:06 UTC
Re: [Xen-users] Xen in RHEL 5.0...Installation problems
Did you reboot to the xen-kernel? Dushmant Mohapatra wrote:> Hello..I am not very proficient in Linux kernel > <http://www.linuxquestions.org/questions/showthread.php?t=561223#> > stuffs although I know my basics. I have a question and all > suggestions/solutions will be highly appreciated... > > I got to know that RHEL 5 has inbuilt Xen Support...So I tried to > install a RHEL 5.0 Server > <http://www.linuxquestions.org/questions/showthread.php?t=561223#> on > my P4 machine. On top of it I tried to install Xen specific RPMs and > some other RPMs needed by Xen. > > The additinal RPMs added after base RHEL 5.0 installation are : > > > bridge-utils-1.1.2.i386.rpm > iproute-2.6.18-4.el5.i386.rpm > kernel-xen-2.6.18-8.el5.i686.rpm > kernel-xen-devel-2.6.18-8.el5.i686.prm > udev-095-14.5.el5.i386.rpm > > > After all this the grub.conf gets modified automatically and looks > like this: > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/hda > default=0 > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Red Hat Enterprise Linux Server (2.6.18-8.el5xen) > root (hd0,0) > kernel /xen.gz-2.6.18-8.el5 > module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > module /initrd-2.6.18-8.el5xen.img > > title Red Hat Enterprise Linux > <http://www.linuxquestions.org/questions/showthread.php?t=561223#> > Server (2.6.18-8.el5) > root (hd0,0) > kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet > initrd /initrd-2.6.18-8.el5.img > > > > After all this I am ready to boot properly into Xen Specific Linux > <http://www.linuxquestions.org/questions/showthread.php?t=561223#> and > the original RHEL . But there is no /etc/xen directory and nor are the > tools like xend and xm available. > > So I am not sure if I am missing some other RPMS that need to be > installed?? > > > On not being able to get it done this way I tried to erase the xen > specific RPMs > kernel-xen-2.6.18-8.el5.i686.rpm > kernel-xen-devel-2.6.18-8.el5.i686.prm > > and installed the RPMs obtained from Xen Source site (for RHEL 5). The > RPMs installed are : > kernel-xen-2.6.18-3.1.0.i386.rpm > xen-devel-3.1.0-1.i386.rpm > xen-3.1.0-1.src.rpm > xen-3.1.0-1.i386.rpm > > > > By doing this I see that /etc/xen directory has been created and I can > see the tools xend,xm... > > But after modifying the grub.conf and trying to boot into Xen I get > kernel panic. > > The grub.conf after modification is : > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/hda > default=0 > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Red Hat Enterprise Linux Server - XEN ENABLED > root (hd0,0) > kernel /xen-3.1.0.gz noreboot > module /vmlinuz-2.6.18-xen_3.1.0 ro root=/dev/VolGroup00/LogVol00 > module /initrd-2.6.18-xen_3.1.0.img > > title Red Hat Enterprise Linux Server (2.6.18-8.el5) > root (hd0,0) > kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > initrd /initrd-2.6.18-8.el5.img > > > > > Some of the kernel panic messages are like: > Reading all physical volumes. > No volume groups found > Volume Group "Vol Group00" not found. > Mount: could not find file system /dev/root > setuproot: moving /dev failed. No such file or directory > . > . > end-request:I/O error, dev fd0, sector 0 > > > > > > I am including here some details of my configurations: > > [root@dyn-9-1-75-65 ~]# cat /etc/fstab > /dev/VolGroup00/LogVol00 / ext3 > defaults 1 1 > LABEL=/boot /boot ext3 > defaults 1 2 > devpts /dev/pts devpts > gid=5,mode=620 0 0 > tmpfs /dev/shm tmpfs > defaults 0 0 > proc /proc proc > defaults 0 0 > sysfs /sys sysfs > defaults 0 0 > /dev/VolGroup00/LogVol01 swap swap > defaults 0 0 > > > [root@dyn-9-1-75-65 ~]# cat /proc/partitions > major minor #blocks name > > 3 0 39078144 hda > 3 1 104391 hda1 > 3 2 38973690 hda2 > 253 0 37945344 dm-0 > 253 1 1015808 dm-1 > > > > > [root@dyn-9-1-75-65 ~]# fdisk -l > > Disk /dev/hda: 40.0 GB, 40016019456 bytes > 255 heads, 63 sectors/track, 4865 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hda1 * 1 13 104391 83 Linux > /dev/hda2 14 4865 38973690 8e Linux LVM > > > > [root@dyn-9-1-75-65 ~]# parted > GNU Parted 1.8.1 > Using /dev/hda > Welcome to GNU Parted! Type ''help'' to view a list of commands. > (parted) print > > Model: IC35L040AVVN07-0 (ide) > Disk /dev/hda: 40.0GB > Sector size (logical/physical): 512B/512B > Partition Table: msdos > > Number Start End Size Type File system Flags > 1 32.3kB 107MB 107MB primary ext3 boot > 2 107MB 40.0GB 39.9GB primary lvm > > > > > [root@dyn-9-1-75-65 ~]# lvm > lvm> pvdisplay > --- Physical volume --- > PV Name /dev/hda2 > VG Name VolGroup00 > PV Size 37.17 GB / not usable 12.24 MB > Allocatable yes (but full) > PE Size (KByte) 32768 > Total PE 1189 > Free PE 0 > Allocated PE 1189 > PV UUID 1xh1p6-cC8T-cocr-iyY2-Ta9x-KrOY-Io79SL > > lvm> lvdisplay > --- Logical volume --- > LV Name /dev/VolGroup00/LogVol00 > VG Name VolGroup00 > LV UUID KgakUg-SYE9-6Vn2-3Iks-3Wbo-ENYt-r2UDzE > LV Write Access read/write > LV Status available > # open 1 > LV Size 36.19 GB > Current LE 1158 > Segments 1 > Allocation inherit > Read ahead sectors 0 > Block device 253:0 > > --- Logical volume --- > LV Name /dev/VolGroup00/LogVol01 > VG Name VolGroup00 > LV UUID 6avXTk-0DYK-JHRc-bh56-4w68-eBJg-kAVw4s > LV Write Access read/write > LV Status available > # open 1 > LV Size 992.00 MB > Current LE 31 > Segments 1 > Allocation inherit > Read ahead sectors 0 > Block device 253:1 > > > > > Can any one pls suggest where I went wrong? > > Thanks in advance > Dushmanta > > ------------------------------------------------------------------------ > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now > <http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow> > (it''s updated for today''s economy) at Yahoo! Games. > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2007-Jun-12 20:12 UTC
Re: [Xen-users] Xen in RHEL 5.0...Installation problems
On Tue, Jun 12, 2007 at 01:03:44PM -0700, Dushmant Mohapatra wrote:> Hello..I am not very proficient in Linux kernel stuffs although I know my basics. I have a question and all suggestions/solutions will be highly appreciated... > > I got to know that RHEL 5 has inbuilt Xen Support...So I tried to install a RHEL 5.0 Server on my P4 machine. On top of it I tried to install Xen specific RPMs and some other RPMs needed by Xen. > > The additinal RPMs added after base RHEL 5.0 installation are : > > > bridge-utils-1.1.2.i386.rpm > iproute-2.6.18-4.el5.i386.rpm > kernel-xen-2.6.18-8.el5.i686.rpm > kernel-xen-devel-2.6.18-8.el5.i686.prm > udev-095-14.5.el5.i386.rpmYou''ve missing the ''xen'' RPM in that list. Also recommend installing the virt-manager RPM> # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/hda > default=0 > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Red Hat Enterprise Linux Server (2.6.18-8.el5xen) > root (hd0,0) > kernel /xen.gz-2.6.18-8.el5 > module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet > module /initrd-2.6.18-8.el5xen.img > > title Red Hat Enterprise Linux Server (2.6.18-8.el5) > root (hd0,0) > kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet > initrd /initrd-2.6.18-8.el5.img > > > > After all this I am ready to boot properly into Xen Specific Linux and the original > RHEL . But there is no /etc/xen directory and nor are the tools like xend and xm > available.That is because you only installed the Xen kernel - you need the ''xen'' RPM from RHEL-5 to get the userspace tools Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dushmant Mohapatra
2007-Jun-12 20:14 UTC
Re: [Xen-users] Xen in RHEL 5.0...Installation problems
yes ..I rebooted to the xen-kernel .. I have also tried running mkinitrd to create another init image etc.. I am not sure what is going wrong. James Wilson <jwilson@transolutions.net> wrote: Did you reboot to the xen-kernel? Dushmant Mohapatra wrote:> Hello..I am not very proficient in Linux kernel > > stuffs although I know my basics. I have a question and all > suggestions/solutions will be highly appreciated... > > I got to know that RHEL 5 has inbuilt Xen Support...So I tried to > install a RHEL 5.0 Server > on > my P4 machine. On top of it I tried to install Xen specific RPMs and > some other RPMs needed by Xen. > > The additinal RPMs added after base RHEL 5.0 installation are : > > > bridge-utils-1.1.2.i386.rpm > iproute-2.6.18-4.el5.i386.rpm > kernel-xen-2.6.18-8.el5.i686.rpm > kernel-xen-devel-2.6.18-8.el5.i686.prm > udev-095-14.5.el5.i386.rpm > > > After all this the grub.conf gets modified automatically and looks > like this: > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/hda > default=0 > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Red Hat Enterprise Linux Server (2.6.18-8.el5xen) > root (hd0,0) > kernel /xen.gz-2.6.18-8.el5 > module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > module /initrd-2.6.18-8.el5xen.img > > title Red Hat Enterprise Linux > > Server (2.6.18-8.el5) > root (hd0,0) > kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet > initrd /initrd-2.6.18-8.el5.img > > > > After all this I am ready to boot properly into Xen Specific Linux > and > the original RHEL . But there is no /etc/xen directory and nor are the > tools like xend and xm available. > > So I am not sure if I am missing some other RPMS that need to be > installed?? > > > On not being able to get it done this way I tried to erase the xen > specific RPMs > kernel-xen-2.6.18-8.el5.i686.rpm > kernel-xen-devel-2.6.18-8.el5.i686.prm > > and installed the RPMs obtained from Xen Source site (for RHEL 5). The > RPMs installed are : > kernel-xen-2.6.18-3.1.0.i386.rpm > xen-devel-3.1.0-1.i386.rpm > xen-3.1.0-1.src.rpm > xen-3.1.0-1.i386.rpm > > > > By doing this I see that /etc/xen directory has been created and I can > see the tools xend,xm... > > But after modifying the grub.conf and trying to boot into Xen I get > kernel panic. > > The grub.conf after modification is : > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/hda > default=0 > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Red Hat Enterprise Linux Server - XEN ENABLED > root (hd0,0) > kernel /xen-3.1.0.gz noreboot > module /vmlinuz-2.6.18-xen_3.1.0 ro root=/dev/VolGroup00/LogVol00 > module /initrd-2.6.18-xen_3.1.0.img > > title Red Hat Enterprise Linux Server (2.6.18-8.el5) > root (hd0,0) > kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > initrd /initrd-2.6.18-8.el5.img > > > > > Some of the kernel panic messages are like: > Reading all physical volumes. > No volume groups found > Volume Group "Vol Group00" not found. > Mount: could not find file system /dev/root > setuproot: moving /dev failed. No such file or directory > . > . > end-request:I/O error, dev fd0, sector 0 > > > > > > I am including here some details of my configurations: > > [root@dyn-9-1-75-65 ~]# cat /etc/fstab > /dev/VolGroup00/LogVol00 / ext3 > defaults 1 1 > LABEL=/boot /boot ext3 > defaults 1 2 > devpts /dev/pts devpts > gid=5,mode=620 0 0 > tmpfs /dev/shm tmpfs > defaults 0 0 > proc /proc proc > defaults 0 0 > sysfs /sys sysfs > defaults 0 0 > /dev/VolGroup00/LogVol01 swap swap > defaults 0 0 > > > [root@dyn-9-1-75-65 ~]# cat /proc/partitions > major minor #blocks name > > 3 0 39078144 hda > 3 1 104391 hda1 > 3 2 38973690 hda2 > 253 0 37945344 dm-0 > 253 1 1015808 dm-1 > > > > > [root@dyn-9-1-75-65 ~]# fdisk -l > > Disk /dev/hda: 40.0 GB, 40016019456 bytes > 255 heads, 63 sectors/track, 4865 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hda1 * 1 13 104391 83 Linux > /dev/hda2 14 4865 38973690 8e Linux LVM > > > > [root@dyn-9-1-75-65 ~]# parted > GNU Parted 1.8.1 > Using /dev/hda > Welcome to GNU Parted! Type ''help'' to view a list of commands. > (parted) print > > Model: IC35L040AVVN07-0 (ide) > Disk /dev/hda: 40.0GB > Sector size (logical/physical): 512B/512B > Partition Table: msdos > > Number Start End Size Type File system Flags > 1 32.3kB 107MB 107MB primary ext3 boot > 2 107MB 40.0GB 39.9GB primary lvm > > > > > [root@dyn-9-1-75-65 ~]# lvm > lvm> pvdisplay > --- Physical volume --- > PV Name /dev/hda2 > VG Name VolGroup00 > PV Size 37.17 GB / not usable 12.24 MB > Allocatable yes (but full) > PE Size (KByte) 32768 > Total PE 1189 > Free PE 0 > Allocated PE 1189 > PV UUID 1xh1p6-cC8T-cocr-iyY2-Ta9x-KrOY-Io79SL > > lvm> lvdisplay > --- Logical volume --- > LV Name /dev/VolGroup00/LogVol00 > VG Name VolGroup00 > LV UUID KgakUg-SYE9-6Vn2-3Iks-3Wbo-ENYt-r2UDzE > LV Write Access read/write > LV Status available > # open 1 > LV Size 36.19 GB > Current LE 1158 > Segments 1 > Allocation inherit > Read ahead sectors 0 > Block device 253:0 > > --- Logical volume --- > LV Name /dev/VolGroup00/LogVol01 > VG Name VolGroup00 > LV UUID 6avXTk-0DYK-JHRc-bh56-4w68-eBJg-kAVw4s > LV Write Access read/write > LV Status available > # open 1 > LV Size 992.00 MB > Current LE 31 > Segments 1 > Allocation inherit > Read ahead sectors 0 > Block device 253:1 > > > > > Can any one pls suggest where I went wrong? > > Thanks in advance > Dushmanta > > ------------------------------------------------------------------------ > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now > > (it''s updated for today''s economy) at Yahoo! Games. > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users--------------------------------- Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dushmant Mohapatra
2007-Jun-13 01:58 UTC
Re: [Xen-users] Xen in RHEL 5.0...Installation problems
Hi Daniel, I tried to install the following RPMs: xen-debuginfo-3.0.3-25.0.3.el5.i386.rpm xen-devel-3.0.3-25.0.3.el5.i386.rpm xen-libs-3.0.3-25.0.3.el5.i386.rpm They got installed successfully. But while trying to install xen-3.0.3-25.0.3.el5.i386.rpm I get the dependency problem : error: Failed dependencies: python-virtinst is needed by xen-3.0.3-25.0.3.el5.i386 I am not sure which rpm to install for this . Also I am not finding the proper RPM for virt-manager,virt-install. Are they present in the server image or client image? Regards Dushmanta "Daniel P. Berrange" <berrange@redhat.com> wrote: On Tue, Jun 12, 2007 at 01:03:44PM -0700, Dushmant Mohapatra wrote:> Hello..I am not very proficient in Linux kernel stuffs although I know my basics. I have a question and all suggestions/solutions will be highly appreciated... > > I got to know that RHEL 5 has inbuilt Xen Support...So I tried to install a RHEL 5.0 Server on my P4 machine. On top of it I tried to install Xen specific RPMs and some other RPMs needed by Xen. > > The additinal RPMs added after base RHEL 5.0 installation are : > > > bridge-utils-1.1.2.i386.rpm > iproute-2.6.18-4.el5.i386.rpm > kernel-xen-2.6.18-8.el5.i686.rpm > kernel-xen-devel-2.6.18-8.el5.i686.prm > udev-095-14.5.el5.i386.rpmYou''ve missing the ''xen'' RPM in that list. Also recommend installing the virt-manager RPM> # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/hda > default=0 > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Red Hat Enterprise Linux Server (2.6.18-8.el5xen) > root (hd0,0) > kernel /xen.gz-2.6.18-8.el5 > module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet > module /initrd-2.6.18-8.el5xen.img > > title Red Hat Enterprise Linux Server (2.6.18-8.el5) > root (hd0,0) > kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet > initrd /initrd-2.6.18-8.el5.img > > > > After all this I am ready to boot properly into Xen Specific Linux and the original > RHEL . But there is no /etc/xen directory and nor are the tools like xend and xm > available.That is because you only installed the Xen kernel - you need the ''xen'' RPM from RHEL-5 to get the userspace tools Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2007-Jun-13 12:37 UTC
Re: [Xen-users] Xen in RHEL 5.0...Installation problems
On Tue, Jun 12, 2007 at 06:58:07PM -0700, Dushmant Mohapatra wrote:> Hi Daniel, > > I tried to install the following RPMs: > > xen-debuginfo-3.0.3-25.0.3.el5.i386.rpm > xen-devel-3.0.3-25.0.3.el5.i386.rpm > xen-libs-3.0.3-25.0.3.el5.i386.rpm > > They got installed successfully. But while trying to install xen-3.0.3-25.0.3.el5.i386.rpm > > I get the dependency problem : error: Failed dependencies: > python-virtinst is needed by xen-3.0.3-25.0.3.el5.i386 > > > I am not sure which rpm to install for this . Also I am not finding the > proper RPM for virt-manager,virt-install.The python-virtinst RPM should be on one of the CDs along with the virt-manager RPMs. Probably in a directory called Virtualization.> > Are they present in the server image or client image?IIRC the ought to be present in both client & server images. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jan Mark Holzer
2007-Jun-13 14:03 UTC
Re: [Xen-users] Xen in RHEL 5.0...Installation problems
Dushmant Mohapatra wrote:> Hi Daniel, > > I tried to install the following RPMs: > > xen-debuginfo-3.0.3-25.0.3.el5.i386.rpm > xen-devel-3.0.3-25.0.3.el5.i386.rpm > xen-libs-3.0.3-25.0.3.el5.i386.rpm > > They got installed successfully. But while trying to install > xen-3.0.3-25.0.3.el5.i386.rpm > > I get the dependency problem : error: Failed dependencies: > python-virtinst is needed by xen-3.0.3-25.0.3.el5.i386 >You could also use yum''s groupinstall option which will resolve the dependencies for you at install time. If you want to install the virtualization bits you''d use the command # yum groupinstall Virtualization This of course will only work if you setup a yum repository either pointing to your installation source/tree or another RHEL5 repository. If have your distribution media mounted as /rhel5tree you can use the .repo file below. Just save it to something like /etc/yum.repos.d/rhel5-ga.repo If you mount your distro tree somewhere else just replace rhel5tree/etc... with your local mount point (same is true if you are using the client bits) , or replace the file:/// directive with a network location such as http/nfs/ftp if you have your install tree available on the net # # rhel5-ga.repo # should be saved to /etc/yum.repos.d/ # [RHEL5 VT] name = "RHEL5 VT $releasever - $basearch" baseurl=file:///rhel5tree/released/RHEL-5-Server/GOLD/$basearch/os/VT/ enabled=1 gpgcheck=0 [RHEL5 Server] name = "RHEL5 Server $releasever - $basearch" baseurl=file:///rhel5tree/released/RHEL-5-Server/GOLD/$basearch/os/Server/ enabled=1 gpgcheck=0 [RHEL5 Cluster] name = "RHEL5 Cluster $releasever - $basearch" baseurl=file:///rhel5tree/released/RHEL-5-Server/GOLD/$basearch/os/Cluster/ enabled=1 gpgcheck=0 [RHEL5 ClusterStorage] name = "RHEL5 ClusterStorage $releasever - $basearch" baseurl=file:///rhel5tree/released/RHEL-5-Server/GOLD/$basearch/os/ClusterStorage/ enabled=1 gpgcheck=0 - Jan> > I am not sure which rpm to install for this . Also I am not finding > the proper RPM for virt-manager,virt-install. > > Are they present in the server image or client image? > > Regards > Dushmanta > > > > */"Daniel P. Berrange" <berrange@redhat.com>/* wrote: > > On Tue, Jun 12, 2007 at 01:03:44PM -0700, Dushmant Mohapatra wrote: > > Hello..I am not very proficient in Linux kernel stuffs although > I know my basics. I have a question and all suggestions/solutions > will be highly appreciated... > > > > I got to know that RHEL 5 has inbuilt Xen Support...So I tried > to install a RHEL 5.0 Server on my P4 machine. On top of it I > tried to install Xen specific RPMs and some other RPMs needed by Xen. > > > > The additinal RPMs added after base RHEL 5.0 installation are : > > > > > > bridge-utils-1.1.2.i386.rpm > > iproute-2.6.18-4.el5.i386.rpm > > kernel-xen-2.6.18-8.el5.i686.rpm > > kernel-xen-devel-2.6.18-8.el5.i686.prm > > udev-095-14.5.el5.i386.rpm > > You''ve missing the ''xen'' RPM in that list. Also recommend installing > the virt-manager RPM > > > # NOTICE: You have a /boot partition. This means that > > # all kernel and initrd paths are relative to /boot/, eg. > > # root (hd0,0) > > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > > # initrd /initrd-version.img > > #boot=/dev/hda > > default=0 > > timeout=5 > > splashimage=(hd0,0)/grub/splash.xpm.gz > > #hiddenmenu > > title Red Hat Enterprise Linux Server (2.6.18-8.el5xen) > > root (hd0,0) > > kernel /xen.gz-2.6.18-8.el5 > > module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 > rhgb quiet > > module /initrd-2.6.18-8.el5xen.img > > > > title Red Hat Enterprise Linux Server (2.6.18-8.el5) > > root (hd0,0) > > kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 > rhgb quiet > > initrd /initrd-2.6.18-8.el5.img > > > > > > > > After all this I am ready to boot properly into Xen Specific > Linux and the original > > RHEL . But there is no /etc/xen directory and nor are the tools > like xend and xm > > available. > > That is because you only installed the Xen kernel - you need the > ''xen'' > RPM from RHEL-5 to get the userspace tools > > Regards, > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 > 392 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > |=- Projects: http://freshmeat.net/~danielpb/ -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 -=| > > > ------------------------------------------------------------------------ > 8:00? 8:25? 8:40? Find a flick > <http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news> in no time > with theYahoo! Search movie showtime shortcut. > <http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news> > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dushmant Mohapatra
2007-Jun-13 21:53 UTC
Re: [Xen-users] Xen in RHEL 5.0...Installation problems
well ..I completed the RHEL 5 + Xen instalaltion and am now being able to boot into it (Dpm 0). Thanks for your suggestions. So now the next step is to install some Guest OSes....Where do I get paravirtualized guest OS images to run on top of RHEL5+ Xen. (I read some where that only RHEL5, RHEL4.5 and FC are currently supported.) "Daniel P. Berrange" <berrange@redhat.com> wrote: On Tue, Jun 12, 2007 at 06:58:07PM -0700, Dushmant Mohapatra wrote:> Hi Daniel, > > I tried to install the following RPMs: > > xen-debuginfo-3.0.3-25.0.3.el5.i386.rpm > xen-devel-3.0.3-25.0.3.el5.i386.rpm > xen-libs-3.0.3-25.0.3.el5.i386.rpm > > They got installed successfully. But while trying to install xen-3.0.3-25.0.3.el5.i386.rpm > > I get the dependency problem : error: Failed dependencies: > python-virtinst is needed by xen-3.0.3-25.0.3.el5.i386 > > > I am not sure which rpm to install for this . Also I am not finding the > proper RPM for virt-manager,virt-install.The python-virtinst RPM should be on one of the CDs along with the virt-manager RPMs. Probably in a directory called Virtualization.> > Are they present in the server image or client image?IIRC the ought to be present in both client & server images. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --------------------------------- Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users