[Vserver] ia32 Vserver guests accessing 4GB of memory on an amd_64 Vserver host?

2006-07-18 Thread EKC

I have linux-vserver installed on a 2.6.17 debian amd_64 system. I
have used debootstrap to create ia32 vserver guests on the amd_64
host. So far, the ia32 guests seem to run just fine. I understand that
each ia32 vserver cannot access more than 4gb of memory. However, can
multiple ia32 vservers cumulatively use more than 4gb of RAM on a
64-bit system? I don't mind if each vserver is confined to 4gb of
addressable memory. However, I don't want all of the vservers confined
to the same 4gb address space when 16gb of memory is available on the
server.

So, if I install 16gb of memory in a 64-bit vserver host, can several
32-bit vserver guests together use more than 4gb of RAM? Or, do I have
to run 64-bit guests?

Thanks in advance
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] kernel exploit, vserver and 2.6.17.6.

2006-07-18 Thread ADNET Ghislain
Hello there,

  Does anyone has tested vserver with the lastest kernels :2.6.17.6. ? 
Seems it should work but i am reluctant to try this on a production
system, anyone has experience in this ?

-- 
Cordialement,
Ghislain ADNET.
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] xorg in vserver

2006-07-18 Thread Andrey Khavryuchenko
Paul,

PS == Paul Sladen wrote:

 PS On Mon, 17 Jul 2006, Andrey Khavryuchenko wrote:
  Can you give an advice regarding running x.org in vserver context?

 PS It needs /dev/mem.

No, that's not the case:

[EMAIL PROTECTED] ~ $ ll /dev/mem /dev/kmem
crw-r--r-- 1 root root 1, 2 Jul 18 12:47 /dev/kmem
crw-r--r-- 1 root root 1, 1 Jul 18 12:46 /dev/mem
[EMAIL PROTECTED] ~ $ startx
xauth: (argv):1:  bad display name terminal:0 in list command
xauth: (argv):1:  bad display name terminal:0 in add command


X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.16-std26-smp-alt4 x86_64 ALT Linux
Current Operating System: Linux terminal 2.6.16-vs26-smp-alt8 #1 SMP Wed May 24 
18:47:27 MSD 2006 x86_64
Build Date: 05 May 2006
Before reporting problems, check https://bugzilla.altlinux.org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Jul 18 12:48:07 2006
(==) Using config file: /etc/X11/xorg.conf
(EE) No devices detected.

Fatal server error:
no screens found
XIO:  fatal IO error 104 (Connection reset by peer) on X server :0.0
  after 0 requests (0 known processed) with 0 events remaining.
xauth: (argv):1:  bad display name terminal:0 in remove command
[EMAIL PROTECTED] ~ $ tail /var/log/Xorg.0.log
ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE),
ATI Radeon X850 XT (R480) (PCIE),
ATI Radeon X850 XT PE (R480) (PCIE),
ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP)
(II) Primary Device is: ISA
(EE) No devices detected.

Fatal server error:
no screens found


-- 
Andrey V Khavryuchenko
Software Development Company http://www.kds.com.ua/
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Yum Erroring while installing Guest OS.

2006-07-18 Thread Guenther Fuchs
Hi there,

on Monday, July 17, 2006 at 8:42:17 PM there was posted:

MG [EMAIL PROTECTED] vservers]# vserver mail build -m yum --context
MG --hostname=pepsi --interface gast0=eth0:192.168.0.1/24 -- -d fc5

You missed to specify the context ID - add any specific number, then
it should work.

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] kernel exploit, vserver and 2.6.17.6.

2006-07-18 Thread Daniel Hokka Zakrisson

ADNET Ghislain wrote:

Hello there,

  Does anyone has tested vserver with the lastest kernels :2.6.17.6. ? 
Seems it should work but i am reluctant to try this on a production

system, anyone has experience in this ?


There's no problem in patching those versions, other than the Makefile 
which you'll have to patch manually. FYI, the exploit that 2.6.17.5 and 
2.6.17.6 fix does not work inside guests.


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] unionfs

2006-07-18 Thread depx




hi all,

I tried to compile many kernels (2.6.15.x,2.6.16.x,2.6.17.x) with
vserver and unionfs patches without succes.
I tried with only vserver or only unionfs patch with succes.

Could someone give me some working combinations (gcc-x.x
/ 2.6.x.x / patch-2.6.x-rcx-vs2.0.2-rcx.diff
/ unionfs 1.x)

thank you in advance
xavier 


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Cannot install yum on vserver guest on FC5

2006-07-18 Thread Daniel Hokka Zakrisson

Daniel Hokka Zakrisson wrote:

Roderick A. Anderson wrote:

A well known irritation.  I've been looking/checking to see if this is 
still true especially with FC5.  In the mean time I've hacked the 
script and given it my own text and taken the 5 second timeout out.



Please let me know what you find out. I'd _love_ to create another case 
for FC5 without the timeout.




My investigation showed that FC5 is indeed still affected by this. I 
have attempted to port the yum patch to FC5's version (2.6.1), and the 
result can be found at 
http://daniel.hozac.com/vserver/yum-2.6.1-chroot.patch
My initial testing says it doesn't break yum, though I have yet to 
verify that it actually solves the problem. The patch requires support 
in util-vserver though, which my util-vserver-*0.30.210-19.fc5 packages 
will include.


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Cannot install yum on vserver guest on FC5

2006-07-18 Thread Daniel Hokka Zakrisson

Roderick A. Anderson wrote:

Daniel,

Thanks.  I've been fighting other battles so haven't had a chance to get 
very far into this.  I was coming to the same conclusion as I took out 
the yum version test and simply used yum.conf instead of yum-hack.conf 
and it broke.


That's mostly because the yum.conf file uses chrootfs:// and hostfs:// 
which are added by the patch and judging by the response of the upstream 
yum developers will never be accepted.


This does bring up a possible new issue ( or I've never seen it 
discussed before. ) There appears to be a command line length limit when 
using vyum.  I was building a script that built our stock guests ( 
verses a copy as I still haven't got that worked out ) and as we added 
more packages I just edited the script adding them in forgetting to 
test.  I moved the script to another system and started getting (v)yum 
failures even if I copy and pasted one line at a time.
   Finally got a clue ( from somewhere ) and cut the number of packages 
down for each call of vyum and they worked.


How many packages per command did you have? I seem to have no problems 
installing over 2000 packages in a single command (other than it taking 
a really long time :)).


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] vserver start issue

2006-07-18 Thread Alexander Kabanov

hi there,

I have the following error message when run vserver GUEST start

vlimit: fstat(/etc/vservers/GUEST/rlimits): Permission denied

An error occured while executing the vserver startup sequence; when
there are no other messages, it is very likely that the init-script
(/etc/rc.d/rc 3) failed.

server os fedora core 5
guest fedora core 4
2.6.16.17-vs2.0.2-rc21

how do I diagnose this?

thanks

--Alex
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver