OpenVZ Forum


Home » General » Support » Cannot start OpenVZ on openSUSE ! plz HELPPP !
Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12562] Wed, 02 May 2007 21:49 Go to next message
Alexey Eremenko is currently offline  Alexey Eremenko
Messages: 23
Registered: May 2007
Junior Member
hi all !

I have installed openVZ on openSUSE 10.2 with major issues, because the kernel I used was from suse10.0 and because some dependencies go unaddressed...

Anyway: I have made a VPS but I cannot start it for some reason. Why ?

opensuse:/vz/private/777 # vzctl start 777
Warning: configuration file for distribution suse10.2 not found default used
Starting VE ...
VE is mounted Rolling Eyes
Invalid kernel, or some kernel modules are not loaded
VE start failed
VE is unmounted

The VZ LKM is present:

opensuse:/vz/private/777 # lsmod | grep vz
vzdev 3204 0

any ideas ?

-Alexey "Technologov"
Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12572 is a reply to message #12562] Thu, 03 May 2007 08:18 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Which kernel are you using?

Did /etc/init.d/vz start worked OK for you?

Can you post the output of lsmod here?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12580 is a reply to message #12572] Thu, 03 May 2007 09:17 Go to previous messageGo to next message
Alexey Eremenko is currently offline  Alexey Eremenko
Messages: 23
Registered: May 2007
Junior Member
list of LKMs:

opensuse:/vz/private/777 # lsmod | sort
aamatch_pcre 13824 1 apparmor
ac 5124 0
af_packet 20360 2
agpgart 29232 1 via_agp
apparmor 48672 0
battery 9860 0
button 6800 0
cdrom 32304 2 sr_mod,ide_cd
dm_mod 52964 0
edd 8800 0
ehci_hcd 27016 0
ext3 118536 2
fan 4868 0
fat 47004 1 vfat
fuse 34316 2
i2c_core 19728 1 i2c_viapro
i2c_viapro 8084 0
ide_cd 35744 0
ide_core 116668 3 ide_cd,via82cxxx,ide_disk
ide_disk 14848 7
ip6_tables 14296 0
jbd 59808 1 ext3
joydev 9152 0
loop 15112 0
lp 10816 0
mii 5376 1 via_rhine
Module Size Used by
nls_cp437 5888 2
nls_iso8859_1 4224 2
nls_utf8 2176 0
parport 32456 2 parport_pc,lp
parport_pc 35440 1
pci_hotplug 24372 1 shpchp
processor 23108 1 thermal
scsi_mod 122220 4 sg,st,sd_mod,sr_mod
sd_mod 16656 0
sg 31004 0
shpchp 39360 0
simfs 4572 0
snd 50976 10 snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_midi,snd_seq,snd_t imer,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device
snd_mixer_oss 16384 1 snd_pcm_oss
snd_mpu401 8352 0
snd_mpu401_uart 7040 1 snd_mpu401
snd_page_alloc 9864 1 snd_pcm
snd_pcm 80392 1 snd_pcm_oss
snd_pcm_oss 43264 0
snd_rawmidi 23552 2 snd_seq_midi,snd_mpu401_uart
snd_seq 47468 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 8204 3 snd_seq_midi,snd_seq,snd_rawmidi
snd_seq_midi 9216 0
snd_seq_midi_event 6528 1 snd_seq_midi
snd_timer 21124 2 snd_pcm,snd_seq
soundcore 8928 1 snd
sr_mod 14756 0
st 34208 0
thermal 13832 0
uhci_hcd 27536 0
usbcore 109472 4 usbhid,ehci_hcd,uhci_hcd
usbhid 39776 0
vfat 11520 2
via82cxxx 8324 0 [permanent]
via_agp 9600 1
via_rhine 21252 0
vzdev 3204 0
x_tables 15616 1 ip6_tables

kernel:

opensuse:/vz/private/777 # uname -a
Linux opensuse 2.6.16.21_2_ve026test016-1-default #1 Wed Jul 5 21:47:38 MSD 2006 i686 athlon i386 GNU/Linux

That one was downloaded from openvz website, for SUSE 10.0, but I'm running SUSE 10.2. There is no kernel found for 10.2.

service refuses to start:

opensuse:/vz/private/777 # /etc/init.d/vz start
Starting OpenVZ: failed to load module vzmon failed

Tried to load LKM, but failed:

opensuse:/vz/private/777 # modprobe vzmon
FATAL: Error inserting vzmon (/lib/modules/2.6.16.21_2_ve026test016-1-default/kernel/kern el/vzmon.ko): Unknown symbol in module, or unknown parameter (see dmesg)

plz HELP !

-Alexey "Technologov"
Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12585 is a reply to message #12580] Thu, 03 May 2007 10:22 Go to previous messageGo to next message
Alexey Eremenko is currently offline  Alexey Eremenko
Messages: 23
Registered: May 2007
Junior Member
RPM install fails.
opensuse:~ # rpm -ivh kernel-2.6.20-ovz005.1.i686.rpm.rpm
warning: kernel-2.6.20-ovz005.1.i686.rpm.rpm: Header V3 DSA signature: NOKEY, key ID a7a1d4b6
error: Failed dependencies:
initscripts >= 5.83 is needed by kernel-2.6.20-ovz005.1.i686
mkinitrd >= 3.5.5 is needed by kernel-2.6.20-ovz005.1.i686

Unfortunately there is no "initscripts" packages exists on openSUSE (not that I know of anyway)

Now, I'm trying to build a new openvz kernel from scratch:

I have downloaded the official patch from http://wiki.openvz.org/Download_kernel_2.6.20
file : "patch-ovz005.1-combined.gz"

I did:
tux@opensuse:~/linux-2.6.20.7> gzip -dc kernel-2.6.20-patch-ovz005.1-combined.gz | patch -p1

and tried to apply that patch to vanilla 2.6.20.7 kernel, but it returns plenty of errors ! Why is this official patch incompatible with the official Linus' Linux kernel?

Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12588 is a reply to message #12585] Thu, 03 May 2007 11:04 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Quote:

and tried to apply that patch to vanilla 2.6.20.7 kernel, but it returns plenty of errors ! Why is this official patch incompatible with the official Linus' Linux kernel?


If you care to read the download page, it tells:
Quote:

This patch is applicable to vanilla Linux 2.6.20 kernel


2.6.20 is not 2.6.20.7.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12591 is a reply to message #12588] Thu, 03 May 2007 11:42 Go to previous messageGo to next message
Alexey Eremenko is currently offline  Alexey Eremenko
Messages: 23
Registered: May 2007
Junior Member

>2.6.20 is not 2.6.20.7.

Thanks ! This applied cleanly now and started compiling !

I thought by "2.6.20" they really meant 2.6.20.x...

The integration between openvz and openSUSE is basically lacking... maybe I can improve this situation a bit... Maybe I will write some docs on that topic (if I will like openvz)

Too bad that openvz is too RedHat-centric.
Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12593 is a reply to message #12591] Thu, 03 May 2007 11:56 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

It's just RPM dependencies listed in .spec file are redhat-specific. RPM does not provide a way to have per-distribution dependencies, and building two sets of RPMS that only differs in their dependencies is somewhat silly.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12594 is a reply to message #12591] Thu, 03 May 2007 11:57 Go to previous messageGo to next message
Alexey Eremenko is currently offline  Alexey Eremenko
Messages: 23
Registered: May 2007
Junior Member
Despite the patch was cleanly applied, It still failed to compile through:

....
CC kernel/bc/io_acct.o
CC kernel/bc/io_prio.o
LD kernel/bc/built-in.o
LD kernel/cpt/built-in.o
CC [M] kernel/cpt/cpt_proc.o
CC [M] kernel/cpt/cpt_dump.o
kernel/cpt/cpt_dump.c: In function ‘check_one_process’:
kernel/cpt/cpt_dump.c:988: warning: implicit declaration of function ‘check_utrace’
CC [M] kernel/cpt/cpt_obj.o
CC [M] kernel/cpt/cpt_context.o
CC [M] kernel/cpt/cpt_process.o
kernel/cpt/cpt_process.c: In function ‘cpt_check_unsupported’:
kernel/cpt/cpt_process.c:707: error: ‘struct task_struct’ has no member named ‘tux_info’
make[2]: *** [kernel/cpt/cpt_process.o] Error 1
make[1]: *** [kernel/cpt] Error 2
make: *** [kernel] Error 2

You see? What can be done?
Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12631 is a reply to message #12594] Fri, 04 May 2007 18:03 Go to previous messageGo to next message
Alexey Eremenko is currently offline  Alexey Eremenko
Messages: 23
Registered: May 2007
Junior Member
Plz help me resolving that issue !!!
Re: Cannot start OpenVZ on openSUSE ! plz HELPPP ! [message #12649 is a reply to message #12631] Sat, 05 May 2007 19:01 Go to previous message
seyko2 is currently offline  seyko2
Messages: 188
Registered: February 2007
Location: Moscow
Senior Member

Why openSUSE is selected and not CentOS? Smile In CentOS there is a good XEN avaible...
In any case try to use bugzilla first... http://bugzilla.openvz.org/show_bug.cgi?id=545

PS: I do not know a reason why this bug is not solved up to today
Previous Topic: *SOLVED* Missing /etc/init.d/vz
Next Topic: *CLOSED* "TOP" inside a VPS
Goto Forum:
  


Current Time: Sun Nov 03 22:55:32 GMT 2024

Total time taken to generate the page: 0.03640 seconds