Re: [Vserver] Re: quota problem
On Thu, Feb 08, 2007 at 09:54:16AM +0100, Joerg Maier wrote: > Hi, > > only as a remark. I have quota now working with 2.6.19.3 > vs2.2.0-rc10 (I think rc10, it was 2 days ago i downloaded it). question is, on what filesystem, and with what options IIRC, ext3 is kind of hairy, as it supports two different kinds of quote, a journaled one and the 'normal' ext2 quota stuff ... > I think my issue was that /etc/mtab and /etc/fstab have to be correct. > To get that i put them in /etc/vserver//apps/init/ (As far as i > remember, only mail access ehre now). yes, it _is_ essential to get proper values at mount (real mount time) and mtab (for the guest) thanks, Herbert > Regards, Joerg > > On Do, 8.02.2007, 06:55, Herbert Poetzl sagte: > > On Tue, Feb 06, 2007 at 08:55:11AM +0100, Jarek Dylag wrote: > >> Hey, > >> > >> I still can't get quota working. I made some investigation and problem > >> started after changes in namespace separation implementation made > >> between: > > > > it is still on my (very long :)' todo list, and > > assumed everything goes as planned (it never does :) > > I will get to that tomorrow ... > > > > best, > > Herbert > > > >> patch-2.6.19-vs2.1.x-t4.diff > >> and > >> patch-2.6.19-vs2.1.x-t7.diff > >> > >> Jarek Dylag > >> ___ > >> Vserver mailing list > >> Vserver@list.linux-vserver.org > >> http://list.linux-vserver.org/mailman/listinfo/vserver > > ___ > > Vserver mailing list > > Vserver@list.linux-vserver.org > > http://list.linux-vserver.org/mailman/listinfo/vserver > > > > > > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] FC6 hangs while creating a vserver
Matt Paine wrote: > ... I've just pushed 2.6.19-1.2908.fc6.vs2.2.0.0.rc12.1 which (as the name suggests) contains an update to 2.2.0-rc12 which fixes numerous bugs. If it still happens with that kernel, the trace removed below would be needed to track down the bug. > Below that I have typed out what I see on the screen after it dies. I > needed to type this out so please excuse any typo's (i'll be as accurate > as I can). > ... > ---8<--- contents of /var/log/messages > Feb 8 23:34:55 clustman Updated: yum.noarch 3.0.3-1.fc6.chroot > Feb 8 23:34:58 clustman Updated: yum-updatesd.noarch 3.0.3-1.fc6.chroot > Feb 8 23:35:37 clustman kernel: vxD: assertion [xid(0) == current(41)] > failed. @fs/locks.c:835 > Feb 8 23:36:06 clustman last message repeated 16 times > Feb 8 23:36:06 clustman kernel: ··· mapping device: 0050 target: > 0050 flags: 0002 mode: 2000 mapped=0 > Feb 8 23:36:08 clustman kernel: vxD: assertion [xid(0) == current(41)] > failed. @fs/locks.c:835 > Feb 8 23:36:18 clustman last message repeated 15 times > Feb 8 23:36:18 clustman kernel: ··· mapping device: 0013 target: > 0013 flags: 0002 mode: 2000 mapped=0 > Feb 8 23:36:19 clustman kernel: vxD: assertion [xid(0) == current(41)] > failed. @fs/locks.c:835 > Feb 8 23:36:29 clustman last message repeated 8 times > Feb 8 23:36:29 clustman kernel: ··· mapping device: 0019 target: > 0019 flags: 0002 mode: 2000 mapped=0 > Feb 8 23:36:29 clustman kernel: vxD: assertion [xid(0) == current(41)] > failed. @fs/locks.c:835 > Feb 8 23:36:32 clustman last message repeated 7 times > Feb 8 23:36:35 clustman avahi-daemon[2369]: Registering new address > record for 192.168.0.101 on eth0. > Feb 8 23:36:36 clustman kernel: BUGging on (p == reaper || > reaper->exit_state) > Feb 8 23:36:36 clustman kernel: [ cut here ] > Feb 8 23:43:04 clustman syslogd 1.4.1: restart. > Feb 8 23:43:05 clustman kernel: klogd 1.4.1, log source = /proc/kmsg > started. > Feb 8 23:43:05 clustman kernel: Linux version > 2.6.19-1.2901.fc6.vs2.2.0.0.rc9.1 ([EMAIL PROTECTED]) > (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Thu Feb 1 > 01:06:08 EST 2007 > >8 > > > > ---8<- appears on console before power cycle is needed - > <3>BUG: sleeping function called from invalid context at > kernel/rwsem.c:20 in atomic():0, irqs_disabled():1 > > {... dump trace/show_trace/etc, i can type this in if its relevent...} > > > Fixing recursive fault but reboot is needed! > > > ->8- -- Daniel Hokka Zakrisson ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] FC6 hangs while creating a vserver
Hi Guys Its been a very long time since I've played around with linux-vserver (due to work mainly). I've finaly gotten FC6 installed and thought I'de have another play with vserver. I'm using the RPM kernel from Daniels repository, as well as the chroot update to yum. I'm using the util-vserver package from fedora 6 extras. This is the command I am using to create the vserver. /usr/sbin/vserver cn1 build -m yum --context 41 --hostname=cn1 --interface cn10=eth0:192.168.0.101/24 --force -- -d fc6 Below I have pasted the end of the terminal output before my whole system dies. It doesn't show anything obvious other than when the system stops. Below that I have the messages from /var/log/message (obtained after the power cycle). (i've also kept the messages where i updated yum, and when the kernel booted, in case its relevent). Below that I have typed out what I see on the screen after it dies. I needed to type this out so please excuse any typo's (i'll be as accurate as I can). If anyone can give me a hint on whats happening, that would be fantastic. If any more information is required, let me know and I'll do my best to provide it. I've searched for some of the messages I'm not getting any closer to solving my problem. I have also changed the context id of the vserver I am creating to see if that makes a difference, but it didn't. Thankyou in advance Matt -8<--terminal output before system dies procps i386 3.2.7-8 core 207 k psmisc i386 22.2-5 core 61 k python i386 2.4.3-18.fc6 core 5.9 M readlinei386 5.1-1.1 core 223 k sed i386 4.1.5-5.fc6 core 175 k shadow-utilsi386 2:4.0.17-5 core 1.0 M sysklogdi386 1.4.1-39.2 core 72 k termcap noarch 1:5.5-1.20060701.1 core 265 k udevi386 095-14 core 873 k util-linux i386 2.13-0.44.fc6core 1.7 M zlibi386 1.2.3-3 core 50 k Transaction Summary = Install 54 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 34 M Installed: coreutils.i386 0:5.97-11 initscripts.i386 0:8.45.3-1 Dependency Installed: MAKEDEV.i386 0:3.23-1.2 SysVinit.i386 0:2.86-14 audit-libs.i386 0:1.2.8-1.fc6 bash.i386 0:3.1-16.1 bzip2-libs.i386 0:1.0.3-3 chkconfig.i386 0:1.3.30-1 cracklib.i386 0:2.8.9-3.1 cracklib-dicts.i386 0:2.8.9-3.1 db4.i386 0:4.3.29-9.fc6 device-mapper.i386 0:1.02.07-3 e2fsprogs.i386 0:1.39-7 e2fsprogs-libs.i386 0:1.39-7 ethtool.i386 0:3-1.2.2 fedora-release.noarch 0:6-4 fedora-release-notes.noarch 0:6-3 findutils.i386 1:4.2.27-4.1 gawk.i386 0:3.1.5-11 gdbm.i386 0:1.8.0-26.2.1 glib2.i386 0:2.12.3-2.fc6 grep.i386 0:2.5.1-54.1 info.i386 0:4.8-11.1 iproute.i386 0:2.6.16-6.fc6 iputils.i386 0:20020927-41.fc6 krb5-libs.i386 0:1.5-7 libacl.i386 0:2.2.39-1.1 libattr.i386 0:2.4.32-1.1 libcap.i386 0:1.10-25 libselinux.i386 0:1.30.29-2 libsepol.i386 0:1.12.27-1 libstdc++.i386 0:4.1.1-30 libtermcap.i386 0:2.0.8-46.1 mcstrans.i386 0:0.1.8-3 mingetty.i386 0:1.07-5.2.2 mktemp.i386 3:1.5-23.2.2 module-init-tools.i386 0:3.3-0.pre1.4.17 ncurses.i386 0:5.5-24.20060715 net-tools.i386 0:1.60-73 openssl.i686 0:0.9.8b-8 pam.i386 0:0.99.6.2-3.fc6 pcre.i386 0:6.6-1.1 popt.i386 0:1.10.2-32 procps.i386 0:3.2.7-8 psmisc.i386 0:22.2-5 python.i386 0:2.4.3-18.fc6 readline.i386 0:5.1-1.1 sed.i386 0:4.1.5-5.fc6 shadow-utils.i386 2:4.0.17-5 sysklogd.i386 0:1.4.1-39.2 termcap.noarch 1:5.5-1.20060701.1 udev.i386 0:095-14 util-linux.i386 0:2.13-0.44.fc6 zlib.i386 0:1.2.3-3 >8--- ---8<--- contents of /var/log/messages Feb 8 23:34:55 clustman Updated: yum.noarch 3.0.3-1.fc6.chroot Feb 8 23:34:58 clustman Updated: yum-updatesd.noarch 3.0.3-1.fc6.chroot Feb 8 23:35:37 clustman kernel: vxD: assertion [xid(0) == current(41)] failed. @fs/locks.c:835 Feb 8 23:36:06 clustman last message repeated 16 times Feb 8 23:36:06 clustman kernel: ··· mapping device: 0050 target: 0050 flags: 0002 mode: 2000 mapped=0 Feb 8 23:36:08 clustman kernel: vxD: assertion [xid(0) == current(41)] failed. @fs/locks.c:835 Feb 8 23:36:18 clustman last message repeated 15 times Feb 8 23:36:18 clustman kernel: ··· mapping device: 0013 target: 0013 flags: 0002 mode: 2000 mapped=0 Feb 8 23:36:19 clustman kernel: vxD: assertion [xid(0) == current(41)] failed. @fs/locks.c:835 Feb 8 23:36:29 clustman last message repeated 8 times Feb 8 23:36:29 clustman kernel: ··· mapping device: 0019 target: 0019 flags: 0002 mode: 2000 mapped=0 Feb 8 23:36:29 clustman kernel: vxD: assertion [xid
Re: [Vserver] kernel panic on vs2.2.0-rc11
Hi, I finally managed to reproduce this, and it should be fixed 2.2.0-rc12. Please let us know how it goes. there is no problem with 2.2.0-rc12, server is working 30 minuts without crash. Jarek Dylag ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: quota problem
Hi, only as a remark. I have quota now working with 2.6.19.3 vs2.2.0-rc10 (I think rc10, it was 2 days ago i downloaded it). I think my issue was that /etc/mtab and /etc/fstab have to be correct. To get that i put them in /etc/vserver//apps/init/ (As far as i remember, only mail access ehre now). Regards, Joerg On Do, 8.02.2007, 06:55, Herbert Poetzl sagte: > On Tue, Feb 06, 2007 at 08:55:11AM +0100, Jarek Dylag wrote: >> Hey, >> >> I still can't get quota working. I made some investigation and problem >> started after changes in namespace separation implementation made >> between: > > it is still on my (very long :)' todo list, and > assumed everything goes as planned (it never does :) > I will get to that tomorrow ... > > best, > Herbert > >> patch-2.6.19-vs2.1.x-t4.diff >> and >> patch-2.6.19-vs2.1.x-t7.diff >> >> Jarek Dylag >> ___ >> Vserver mailing list >> Vserver@list.linux-vserver.org >> http://list.linux-vserver.org/mailman/listinfo/vserver > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver > > ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] chcontext not permitted
Hello Lyn, * Lyn St George <[EMAIL PROTECTED]>, [2007-02-08 1:13 +]: > On Thu, 8 Feb 2007 00:47:26 +0100 (CET), Daniel Hokka Zakrisson wrote: > >Lyn St George wrote: > >> They still don't stop properly, and 'ps -ax' does not show all > >> processes, so I guess things need to be tweaked. But at least they > >> run. > > > >What? ps ax is not supposed to show _all_ processes, just the ones > >belonging to the current context. If you want to show all of them, use vps > >on the host. > > I meant all processes in the guest, not also those on the host. Some > were known to be running, eg Apache could be connected to, but > were not showing in the process list. I don't know if this is the problem, but 'ps -ax' is different from 'ps ax' (the latter is probably what you want). Quoting ps(1): -a Select all processes except session leaders (see getsid(2)) and processes not associated with a terminal. a ... this option causes ps to list all processes with a terminal (tty), or to list all processes when used together with the x option. ciao, ema signature.asc Description: Digital signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] assigning a different IP to each vserver guest
On Wed, Feb 07, 2007 at 01:23:05PM -0500, KyoungSoo Park wrote: > > Sorry for the duplicate message. I thought the first message > didn't get through. Anyway, I would greatly appreciate your > answers! see previous mail ... best, Herbert > --KyoungSoo > > KyoungSoo Park wrote: > >Hello, > > > >I'm a newbie, and I'm trying to assign an IP to each vserver > >guest. Specifically, I have three working IPs > >(128.112.136.35, 128.112.136.36, 128.112.136.37) but only > >one NIC (eth0) on a machine. I want to run three vserver > >guests but each vserver should only (and exclusively) use > >one of the IPs. How should I set up this? > > > >I checked the documentation, and this mailing list, but I couldn't > >figure out yet. What I've tried is to set something like > > > >IPROOT="128.112.136.36" > > > >in /etc/vservers/guestX.conf, but everytime I run the guestX, I always > >see eth0 is mapped to 128.112.136.35, which is the the IP address of > >the machine as you ssh into as root. I want to see this IP changed to > >128.112.136.36 in guestX when I ifconfig in guestX. Is this possible? > > > >Thanks, > >KyoungSoo > >___ > >Vserver mailing list > >Vserver@list.linux-vserver.org > >http://list.linux-vserver.org/mailman/listinfo/vserver > > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] assigning an IP to each vserver guest
On Wed, Feb 07, 2007 at 09:33:11AM -0500, KyoungSoo Park wrote: > Hello, > > I'm a newbie, newbies have one free, but next time, please do not hijack threads [http://en.wikipedia.org/wiki/Thread_hijacking] or your message will be ignored ... > and I'm trying to assign an IP to each vserver guest. > Specifically, I have three working IPs > (128.112.136.35, 128.112.136.36, 128.112.136.37) but only > one NIC (eth0) on a machine. I want to run three vserver > guests but each vserver should only (and exclusively) use > one of the IPs. that is actually the typical setup for Linux-VServer guests, and thus it doesn't require any special setup > How should I set up this? create the guest with an interface option like this: --interface eth0:128.112.136.35/24 (adjust the /24 to match your network prefix) or, if they have been created already, modify the entry in /etc/vservers//interfaces to contain a single directory (e.g. '0') with the following entries: ip (file with the ip, e.g. 128.112.136.35) prefix (file with the prefix, e.g. 24) dev (file with the device name, e.g. eth0) > I checked the documentation, and this mailing list, > but I couldn't figure out yet. > What I've tried is to set something like > > IPROOT="128.112.136.36" that sounds like the deprecated legacy config we abandoned roughly two years ago, so iif your tools are still using this config, it's definitely time to upgrade to newer ones (e.g. 0.30.212+) > in /etc/vservers/guestX.conf, but everytime I run the > guestX, I always see eth0 is mapped to 128.112.136.35, > which is the the IP address of the machine as you ssh > into as root. I want to see this IP changed to > 128.112.136.36 in guestX when I ifconfig in guestX. > Is this possible? yes, the config descibed above will do exactly that HTC, Herbert > Thanks, > KyoungSoo > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Mandriva ?
On Sun, Feb 04, 2007 at 04:10:19PM +0100, André Aerts wrote: > Hello, > > did somebody already make a rpm of Vserver for Mandriva? IIRC, there should be packages available for util-vserver (userspace) in (or at least related to) Mandriva 2007.x, if not, I'm updating my personal packages every now and then, and they should compile and work on most Mandrake/-iva versions out there ... for the kernel part, I'm not a big fan of precompiled kernels, and I do not know of any Mandriva specific packages either ... > I also seek how to create a minimum install of Mandriva > CS4 in my Vserver install if you got the RPMs somewhere, the rpm build method should work, given that you know what to install ... a viable alternative should installation via urpmi into a directory starting with a few 'seed packages', which will drag in all the other stuff ... I also heard that apt-rpm is supported, which might allow to bootstrap the guest via network given that you know where the repositories are HTH, Herbert > Thank you > Andre > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: quota problem
On Tue, Feb 06, 2007 at 08:55:11AM +0100, Jarek Dylag wrote: > Hey, > > I still can't get quota working. I made some investigation and problem > started after changes in namespace separation implementation made > between: it is still on my (very long :)' todo list, and assumed everything goes as planned (it never does :) I will get to that tomorrow ... best, Herbert > patch-2.6.19-vs2.1.x-t4.diff > and > patch-2.6.19-vs2.1.x-t7.diff > > Jarek Dylag > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver