OpenVZ Forum


Home » Mailing lists » Users » 32bit vztools and 64bit kernel
32bit vztools and 64bit kernel [message #29687] Mon, 21 April 2008 14:42 Go to previous message
Alexander GQ Gerasiov is currently offline  Alexander GQ Gerasiov
Messages: 8
Registered: April 2008
Junior Member
Hello again.

I'm experimenting with openvz and found one more issue.
I'm using 32bit system Debian Lenny i386. Kernel compiled for i686
processor with vz-tools for i386 arch works ok, but when I tried to
boot into x86_64 kernel (with the same 32bit userspace) vztools said
strange things:

root@vice:~# ls /var/lib/vzquota/
root@vice:~# vzctl --verbose start 1001
Starting VE ...
Initializing quota ...
VE is mounted
Error: kernel does not support user resources. Please, rebuild with
CONFIG_USER_RESOURCE=y
VE start failed
Received signal:  11 in /usr/sbin/vzquota
Error: Unable to apply new quota values quota not running
Received signal:  11 in /usr/sbin/vzquota
VE is unmounted

If I turn off vz's disk quotas I see

root@vice:~# vzctl --verbose start 1001
Starting VE ...
Initializing quota ...
VE is mounted
Error: kernel does not support user resources. Please, rebuild with
CONFIG_USER_RESOURCE=y
VE start failed
VE is unmounted


So I see 3 problems here:
1st. vzquota segfaults. Not really bad, but looks dirty a bit.
2nd. vzctl says something about CONFIG_USER_RESOURCE which is no longer
used as I can see (It's absent in any Kconfig, but still used in tcp
code patched with openvz patch)
3d. Finally 32bit userspace doesn't work with 64bit kernel. That's
terrible %)

Am I right? How should I submit it to bugzilla? 3 different bugs or a
single one?

-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:    gq@cs.msu.su             Jabber:  gq@jabber.ru
 Homepage:  http://gq.net.ru         ICQ:     7272757
 PGP fingerprint: 0628 ACC7 291A D4AA 6D7D  79B8 0641 D82A E3E3 CE1D
 
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] openvz kernel hangs on fujitsu-siemens blade rack
Next Topic: Change IP address inside VE
Goto Forum:
  


Current Time: Thu Aug 29 23:13:52 GMT 2024

Total time taken to generate the page: 0.03411 seconds