Hi i tried to install openvz under opensuse 10.2 but with no luck. Is it likely in the near future, that you may release a ovz kernel for openuse 10.2? Thanks in advance.
Could you please describe your issue in more details? What the kernel you have tried to install, what the troubles you have noticed? thank you Vasily Averin
Sure! Thanks for your reply! Here comes my params: uname -a Linux bear 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 47 model name : AMD Athlon(tm) 64 Processor 3200+ stepping : 2 cpu MHz : 1000.000 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm bogomips : 2011.53 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc /sbin/lsmod: Module Size Used by xt_pkttype 18816 3 ipt_LOG 23808 12 xt_limit 20224 12 fglrx 780804 0 tun 29440 2 snd_pcm_oss 71680 0 snd_mixer_oss 35840 1 snd_pcm_oss snd_seq_midi 27648 0 snd_emu10k1_synth 25856 0 snd_emux_synth 59648 1 snd_emu10k1_synth snd_seq_virmidi 25088 1 snd_emux_synth snd_seq_midi_event 25472 2 snd_seq_midi,snd_seq_virmidi snd_seq_midi_emul 24064 1 snd_emux_synth snd_seq 82976 5 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_eve nt,snd_seq_midi_emul af_packet 57356 2 cpufreq_conservative 25608 0 cpufreq_ondemand 24592 1 cpufreq_userspace 24064 0 cpufreq_powersave 18688 0 powernow_k8 32416 0 freq_table 22912 1 powernow_k8 button 24736 0 battery 28168 0 ac 22792 0 ip6t_REJECT 22528 3 xt_tcpudp 20352 14 ipt_REJECT 22528 3 xt_state 19200 12 iptable_mangle 19840 0 iptable_nat 24964 0 ip_nat 37804 1 iptable_nat iptable_filter 19968 1 ip6table_mangle 19456 0 ip_conntrack 78372 3 xt_state,iptable_nat,ip_nat nfnetlink 24648 2 ip_nat,ip_conntrack ip_tables 39400 3 iptable_mangle,iptable_nat,iptable_filter ip6table_filter 19840 1 ip6_tables 33352 2 ip6table_mangle,ip6table_filter x_tables 37384 10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT ,xt_state,iptable_nat,ip_tables,ip6_tables ipv6 357728 41 ip6t_REJECT apparmor 74264 0 aamatch_pcre 31232 1 apparmor nls_iso8859_1 22016 1 nls_cp437 23808 1 vfat 30976 1 fat 73264 1 vfat loop 34064 0 dm_mod 81872 5 fuse 66352 3 usbhid 69792 0 snd_emu10k1 152480 3 snd_emu10k1_synth snd_rawmidi 47104 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1 emu10k1_gp 21120 0 gameport 34576 2 emu10k1_gp snd_seq_device 26516 6 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq,snd_em u10k1,snd_rawmidi ide_cd 59680 0 cdrom 54056 1 ide_cd snd_util_mem 22656 2 snd_emux_synth,snd_emu10k1 snd_hwdep 28552 2 snd_emux_synth,snd_emu10k1 floppy 82408 0 ohci_hcd 38404 0 ehci_hcd 51080 0 forcedeth 60548 0 i2c_nforce2 24960 0 i2c_core 41472 1 i2c_nforce2 usbcore 148064 3 usbhid,ohci_hcd,ehci_hcd snd_intel8x0 54440 2 snd_ac97_codec 127832 2 snd_emu10k1,snd_intel8x0 snd_ac97_bus 19456 1 snd_ac97_codec snd_pcm 115464 5 snd_pcm_oss,snd_emu10k1,snd_intel8x0,snd_ac97_codec snd_timer 44680 3 snd_seq,snd_emu10k1,snd_pcm snd 89384 24 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_emu10k1_synth,snd _emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq,snd_em u10k1,snd_rawmidi,snd_seq_device,snd_util_mem,snd_hwdep,snd_ intel8x0,snd_ac97_codec,snd_pcm,snd_timer soundcore 28192 1 snd snd_page_alloc 27792 3 snd_emu10k1,snd_intel8x0,snd_pcm parport_pc 58984 1 lp 30664 0 parport 59660 2 parport_pc,lp reiserfs 260096 3 edd 27912 0 fan 22408 0 sg 55080 0 sata_nv 30084 6 libata 145056 1 sata_nv amd74xx 32176 0 [permanent] thermal 33552 0 processor 53992 2 powernow_k8,thermal sd_mod 39296 8 scsi_mod 173744 3 sg,libata,sd_mod ide_disk 34304 0 ide_core 174720 3 ide_cd,amd74xx,ide_disk First i tried to install from the following "official" suse repo: http://ftp.opensuse.org/pub/opensuse/repositories/home:/open vz/openSUSE_10.2/x86_64/ It just totally hanged out during boot, however it loaded almost everything, mounted the file systems, started the daemons, etc but afterwards it just stopped i had to hard reset the computer because even ctrl+alt+del didn't work. After that i tried to use kernel from http://download.openvz.org/kernel/branches/2.6.18/stable/ker nel-2.6.18-ovz028stab035.1.x86_64.rpm i installed it with "rpm -ivh -nodeps kernel..." with this one i was able to boot but the boot was full with errors and in KDE the mouse didn't worked at all, however the keyboard was ok, so i switch back to a console but i wasn't able to do anything... I will send a more detailed error report on this second case, just first i have to reboot Anyway, thank you for your effort helping me to solve this issue.
Hello, Probably the kernel from http://download.openvz.org/kernel/branches/2.6.18/stable/ker nel-2.6.18-ovz028stab035.1.x86_64.rpm has a bit poor config for running on desktop node. Can you, please, try this kernel: http://download.openvz.org/kernel/branches/rhel5-2.6.18/028s tab035.1/ovzkernel-2.6.18-8.1.4.el5.028stab035.1.x86_64.rpm. It has much more reach config file. Thank you, Vasily
Okay! I did: rpm -ivh ovzkernel-2.6.18-8.1.4.el5.028stab035.1.x86_64.rpm --nodeps and the result was: /var/tmp/rpm-tmp.69793: line 6: /sbin/new-kernel-pkg: No such file or directory error: %post(ovzkernel-2.6.18-8.1.4.el5.028stab035.1.x86_64) scriptlet failed, exit status 127 but rpm -qa | grep kernel says it is installed so now i'm going to do a reboot and come back tell you what happend! See you soon and thank you guys all for your help!
It seems i screwed something. I installed it with --nodeps and run mkinitrd I edited grub menu.lst and rebooted i choosed the ovzkernel and it said: Error 13: invalid or unsupported executable form strange it probably because the previous ovzkernel. I tried to rpm -e --nodeps ovz-kernel... but it just didn't work /var/tmp/rpm-tmp.66929: line 1: /sbin/new-kernel-pkg: No such file or directory error: %preun(ovzkernel-2.6.18-8.1.4.el5.028stab035.1.x86_64) scriptlet failed, exit status 127
1. OpenVZ Kernel problem: (on openSUSE 10.2) The same goes for me. I'm also Suser that wants to get a good OpenVZ, SUSE-compatible kernel, but unfortunately I get only a dozen of non-working kernels. The RHEL5 kernel is one of them - on SUSE, modprobe *cannot* find it's own modules, even I know they exist. Some modules metadata lacks in the kernel, so it prevents from SUSE Linux to function. BTW: is "initrd" should be inside the RPM, or the user needs to create one ? 2. integrating OpenVZ with openSUSE - I really would like to see good integration between openSUSE and openVZ.
Both time i had to run mkinitrd in order to have initrd-2.6.18-8.1.4.el5.028stab035.1 or initrd-2.6.18-ovz028stab035.1 in /boot
Alexey, This is a very bad situation, we actually thought, that our kernels work on SUSE-like distributions. Thank you for the report, a I filled the bug report: http://bugzilla.openvz.org/show_bug.cgi?id=647 We'll try to solve problem. Thank you, Vasily
Thanks a lot Vasily. To get more info, you can read some of my posts of the past: http://forum.openvz.org/index.php?t=tree&th=2446&mid =12562&&rev=&reveal= http://marc.info/?l=opensuse&m=117819085209106&w=2 Currently openVZ is tied *very closely* with Red Hat, but I would really like to break this RedHat-centric monopol. The monopol is felt very well, when I start reading openVZ official documentation and it's success stories with CentOS/RHEL/Fedora/... and tips about those OSes. What's wrong with current situation: 1. *none* of the kernels available on the net works with openSUSE 10.2. or 10.3 Alpha. Not even VZ kernel from openSUSE 10.0. 2. OpenVZ Documentation is absolutely RedHat centric. I'm going to *fix* that one - once I will get a stable openVZ/ openSUSE-compatible kernel, I will try to write the necessary documentation for openSUSE. I plan to have this documentation available as part of openSUSE distro, and I have no plans to integrate this documentation upstream, into openVZ itself, but I may change this plan if asked. Once my documentation will become part of openSUSE, it will be easier to direct Susers to my documentation, rather than official documentation. 3. What else may I do to improve the terrible lack of integration between openVZ and openSUSE ? (I'm non-developer) -Alexey "Technologov"
I just tried to build an OVZ/SUSE kernel, but it failed to load the vzmon LKM. I did: 1. downloaded 2.6.18 vanilla kernel (from kernel.org) 2. applied ovz035 stable patch to it. 3. compiled the whole bunch (compile went cleanly) 4. restarted the system into the new kernel 5. The system loaded with "vzdev" driver, but "vzmon" fails to load. Here it is: opensuse102:/home/alexey # modprobe vzmon FATAL: Error inserting vzmon (/lib/modules/2.6.18-ovz035-default/kernel/kernel/ve/vzmon.k o): Unknown symbol in module, or unknown parameter (see dmesg) dmesg returned the following: vzmon: no version for "struct_module" found: kernel tainted. vzmon: no version magic, tainting kernel. vzmon: Unknown symbol addrconf_ifdown vzmon: Unknown symbol addrconf_sysctl_fini vzmon: Unknown symbol addrconf_sysctl_free vzmon: Unknown symbol addrconf_sysctl_init vzmon: Unknown symbol fini_ve_route6 vzmon: Unknown symbol init_ve_route6 vzmon: Unknown symbol ve_ndisc_init vzmon: Unknown symbol ve_snmp_proc_fini vzmon: Unknown symbol ve_snmp_proc_init Any ideas ? -Technologov
Hi Alexey, couls you please check the following: 1) Could you please confirm that you have used our default config and do not changed any OpenVZ-specific options? Modprode can return "Unknown symbol" messages you have compiled kernel without supporting of modules required for the module. But if you have used our default kernel config -- in this case all requires modules should be builded and installed successfully. 2) Could you please check that /lib/modules/<kernel_version>/modules.dep file exists? After installation new kernel on the node you should use "depmod" utility that should create a list of module dependencies (/lib/modules/<kernel_version>/modules.dep) 3) Are you sure that you have prepared correct initrd file for your new kernel? Modules from old initrd will have wrong dependencies if new kernel is loaded. Thank you, Vasily Averin
Now I have built a kernel using *your* config files, and it works ! I still have some problems and questions, but finally it works !