Home » Mailing lists » Users » [solved] problems installing openvz on opensuse 10.3
[solved] problems installing openvz on opensuse 10.3 [message #30515] |
Tue, 27 May 2008 18:58  |
gildo.rex
Messages: 5 Registered: May 2008
|
Junior Member |
|
|
Hi all,
I've got some problems installing openVZ and would be very grateful, if anyone could help me further. I'll try to provide the necessary information, but as I don't know, what might be needed, please tell me if you need more input:
I'm running opensuse 10.3 on my computer and tried to install openvz.
I've downloaded the package
kernel-ovz-2.6.16.46_027test011-0.12.i686.rpm
from the openvz homepage.
Next I started the installation via rpm -ivh, checked the GRUB-loader /boot/grub/menu-lst and rebooted. The entry was shown and selectable but the kernel didn't boot.
Later I found another package at
http://download.opensuse.org/repositories/home:/openvz/SUSE_Linux_10.1/
but the installation didn't work either.
I remove the silent entry from GRUB and saw, that both kernels seemed not to be able to find the disk - but that is the same as for the normal kernel as well as for the also installed XEN-kernel.
My suspect is, that the kernels do not match (please don't laugh, I'm a newbie).
My normal kernel:
stephan@mpiphysicaltest1:~> uname -r
2.6.22.17-0.1-default
And the /boot/grub/menu.lst looks like this:
# Modified by YaST2. Last modification on Tue May 27 19:12:02 CEST 2008
default 3
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title Ovzpae -- openSUSE 10.3 - 2.6.16.43-027test002-24.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.16.43-027test002-24.1-ovzpae root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
initrd /boot/initrd-2.6.16.43-027test002-24.1-ovzpae
###Don't change this comment - YaST2 identifier: Original name: linux-2.6.16-027test011-0.12-ovz###
title Ovz -- openSUSE 10.3 - 2.6.16-027test011-0.12
root (hd0,1)
kernel /boot/vmlinuz-2.6.16-027test011-0.12-ovz root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
initrd /boot/initrd-2.6.16-027test011-0.12-ovz
###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN -- openSUSE 10.3 - 2.6.22.17-0.1
root (hd0,1)
kernel /boot/xen.gz
module /boot/vmlinuz-2.6.22.17-0.1-xen root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
module /boot/initrd-2.6.22.17-0.1-xen
###Don't change this comment - YaST2 identifier: Original name: linux-2.6.22.17-0.1-default###
title openSUSE 10.3 - 2.6.22.17-0.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
initrd /boot/initrd-2.6.22.17-0.1-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.17-0.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.22.17-0.1-default
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (hd0,1)
chainloader (fd0)+1
Do you have any idea, what might be wrong? Is it the wrong package? Where can I get the right package?
Thanks in advance!
Kind Regards
Stephan
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
[Updated on: Wed, 13 August 2008 10:03] by Moderator Report message to a moderator
|
|
|
Re: problems installing openvz on opensuse 10.3 [message #30523 is a reply to message #30515] |
Wed, 28 May 2008 05:16   |
Abhinav Lele
Messages: 7 Registered: May 2008
|
Junior Member |
|
|
Hi,
Im not a openvz expert, but your problem probably lies elsewhere.
Instead of using root=/dev/disk/...... use something like /dev/sdb1 ...
To find this out for your system, from a terminal as root
type fdisk -l
You will see a list of all file partitions that you currently have. If
you installed in the first partition it would be typically be
something like /dev/sda1 or /dev/hdd1.
Create a new entry in menu.lst ( /boot/grub/menu.lst) with something like this
title SUSE-OVZ
root (hd0,1)
kernel /boot/vmlinuz-2.6.16-027test011-0.12-ovz boot=/dev/sda1
initrd /boot/initrd-2.6.16-027test011-0.12-ovz
lemme know if this works.
-Abhinav
On Wed, May 28, 2008 at 12:28 AM, <gildo.rex@gmx.de> wrote:
> Hi all,
>
> I've got some problems installing openVZ and would be very grateful, if anyone could help me further. I'll try to provide the necessary information, but as I don't know, what might be needed, please tell me if you need more input:
>
> I'm running opensuse 10.3 on my computer and tried to install openvz.
> I've downloaded the package
>
> kernel-ovz-2.6.16.46_027test011-0.12.i686.rpm
>
> from the openvz homepage.
> Next I started the installation via rpm -ivh, checked the GRUB-loader /boot/grub/menu-lst and rebooted. The entry was shown and selectable but the kernel didn't boot.
>
> Later I found another package at
>
> http://download.opensuse.org/repositories/home:/openvz/SUSE_Linux_10.1/
>
> but the installation didn't work either.
>
> I remove the silent entry from GRUB and saw, that both kernels seemed not to be able to find the disk - but that is the same as for the normal kernel as well as for the also installed XEN-kernel.
>
> My suspect is, that the kernels do not match (please don't laugh, I'm a newbie).
>
> My normal kernel:
> stephan@mpiphysicaltest1:~> uname -r
> 2.6.22.17-0.1-default
>
> And the /boot/grub/menu.lst looks like this:
>
> # Modified by YaST2. Last modification on Tue May 27 19:12:02 CEST 2008
> default 3
> timeout 8
> ##YaST - generic_mbr
> gfxmenu (hd0,1)/boot/message
> ##YaST - activate
>
> ###Don't change this comment - YaST2 identifier: Original name: linux###
> title Ovzpae -- openSUSE 10.3 - 2.6.16.43-027test002-24.1
> root (hd0,1)
> kernel /boot/vmlinuz-2.6.16.43-027test002-24.1-ovzpae root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
> initrd /boot/initrd-2.6.16.43-027test002-24.1-ovzpae
>
> ###Don't change this comment - YaST2 identifier: Original name: linux-2.6.16-027test011-0.12-ovz###
> title Ovz -- openSUSE 10.3 - 2.6.16-027test011-0.12
> root (hd0,1)
> kernel /boot/vmlinuz-2.6.16-027test011-0.12-ovz root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
> initrd /boot/initrd-2.6.16-027test011-0.12-ovz
>
> ###Don't change this comment - YaST2 identifier: Original name: xen###
> title XEN -- openSUSE 10.3 - 2.6.22.17-0.1
> root (hd0,1)
> kernel /boot/xen.gz
> module /boot/vmlinuz-2.6.22.17-0.1-xen root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
> module /boot/initrd-2.6.22.17-0.1-xen
>
> ###Don't change this comment - YaST2 identifier: Original name: linux-2.6.22.17-0.1-default###
> title openSUSE 10.3 - 2.6.22.17-0.1
> root (hd0,1)
> kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=0x31a acpi=off resume=/dev/sda1 showopts
> initrd /boot/initrd-2.6.22.17-0.1-default
>
> ###Don't change this comment - YaST2 identifier: Original name: failsafe###
> title Failsafe -- openSUSE 10.3 - 2.6.22.17-0.1
> root (hd0,1)
> kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
> initrd /boot/initrd-2.6.22.17-0.1-default
>
> ###Don't change this comment - YaST2 identifier: Original name: floppy###
> title Floppy
> rootnoverify (hd0,1)
> chainloader (fd0)+1
>
>
> Do you have any idea, what might be wrong? Is it the wrong package? Where can I get the right package?
>
> Thanks in advance!
>
> Kind Regards
>
> Stephan
> --
> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
|
|
|
|
|
|
|
|
|
|
Re: problems installing openvz on opensuse 10.3 [message #30554 is a reply to message #30515] |
Wed, 28 May 2008 14:02   |
gildo.rex
Messages: 5 Registered: May 2008
|
Junior Member |
|
|
Hi,
> hi Stephen,
> Maybe my idea is a bad one but does it work ?
ok, I got your discussion like you agreed, that it wouldn't work. My mistake!
>
> On Wed, May 28, 2008 at 5:17 PM, <gildo.rex@gmx.de> wrote:
> >> > Hi,
> >> > Im not a openvz expert, but your problem probably lies elsewhere.
> >> > Instead of using root=/dev/disk/...... use something
> >> > like /dev/sdb1 ...
> >> Bad idea.
> >> /dev/disk is better anyway.
I checked my harddisk using fdisk -l:
test1:~ # fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000f2454
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 * 263 38913 310464157+ 83 Linux
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6d8cf30e
Device Boot Start End Blocks Id System
/dev/sdb1 1 38913 312568641 7 HPFS/NTFS
so I created a new entry in menu.lst referring /dev/sda2:
###Don't change this comment - YaST2 identifier: Original name: linux###
title Ovztry
root (hd0,1)
kernel /boot/vmlinuz-2.6.16.43-027test002-24.1-ovzpae root=/dev/sda2 vga=0x31a acpi=off resume=/dev/sda1 showopts
initrd /boot/initrd-2.6.16.43-027test002-24.1-ovzpae
The bootprocess didn't find the disk again and tried once more with
/dev/disk/by-id/scsi-SATA_MAXTOR_STM33208_9QF9K35F-part2
but that didn't work either like before.
Is there any possibility to let you see the boot messages?
Do you have any more hints?
Kind regards
Stephan
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
|
|
|
|
|
|
|
|
|
RE: openvz tcp&networking tunning [message #30593 is a reply to message #30585] |
Thu, 29 May 2008 16:50   |
Zhaohui Wang
Messages: 10 Registered: May 2008
|
Junior Member |
|
|
Thanks,Andreas.
Since I can not use this values to tune my application,is there any other mechanism to do this in openvz,more specificly, is there a way to do rate control/management for VEs?
Thanks a lot
Best Regards
Zhaohui Wang
> -----Original Message-----
> From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
> Behalf Of MailingListe
> Sent: Thursday, May 29, 2008 6:22 AM
> To: users@openvz.org
> Subject: Re: [Users] openvz tcp&networking tunning
>
> Zitat von Zhaohui Wang <zwange@gmu.edu>:
>
> >
> >
> > Hi all
> >
> > Can anyone tell me that how to use tcpsndbuf,tcprcvbuf,dgrmbuf to
> > tune the container's networking?
> >
> > What's the unit of such parameters,Bytes or Kbyte,if I changed them
> > to bigger or smaller ones,what will happen?
>
>
> These are resource values. If you set them too small your applications
> inside the VE will not work if you set them too high your
> Hardware-Node may run out of steam.
> The values cannot be used as performance tuning for your applications!!
>
> Regards
>
> Andreas
>
>
> --
> All your trash belong to us ;-) www.spamschlucker.org
> To: stephan@spamschlucker.org
>
>
|
|
|
|
|
Re: problems installing openvz on opensuse 10.3 [message #30660 is a reply to message #30561] |
Mon, 02 June 2008 11:26   |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hi Stephan (gildo.rex),
could you please tell me if you succeeded in booting OVZ kernel on your node (OpenSUSE 10.3)?
If yes, can you please post a solution?
Thank you!
--
Konstantin
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
Re: Re: problems installing openvz on opensuse 10.3 [message #30670 is a reply to message #30666] |
Mon, 02 June 2008 13:58   |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Stephan,
> I tried Abhinav's suggestion, but without success.
Had you also corrected /etc/fstab?
This issue is interesting for me and i want to understand what causes boot failures. If you have the possibility to continue the problem investigation - i'd like to help.
If you still have no free time, may be you can provide me access to that node via private message?
Thank you.
Best regards,
Konstantin
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
Goto Forum:
Current Time: Fri Dec 01 20:22:51 GMT 2023
Total time taken to generate the page: 0.04109 seconds
|