[Vserver] RedHat ES4 and Vserver with vanilla kernel.
Hello, I'm trying to get vserver working with the 2.9.10 and the development patches but just getting lots of segfaults all the time, randomly. The guides available on the vserver website have been followed and the system will sometimes boot, but sometimes not. The kernel works fine without the patch so I'm pretty sure it's adding vserver that causes it, but no idea how or why. Not sure what additional information is needed or if anyone knows about this and can offer any pointers. Cheers. Andy. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] RedHat ES4 and Vserver with vanilla kernel.
On Wed, Feb 16, 2005 at 09:33:12PM +, Andy Fletcher wrote: > Hello, > > I'm trying to get vserver working with the 2.9.10 and the development > patches but just getting lots of segfaults all the time, randomly. no wonder, 2.9.10 will not be released anytime soon, you should not use patches from the future ... ;) > The guides available on the vserver website have been followed and the > system will sometimes boot, but sometimes not. interesting ... > The kernel works fine without the patch so I'm pretty sure it's adding > vserver that causes it, but no idea how or why. okay, which patch, what kernel ... > Not sure what additional information is needed or if anyone knows > about this and can offer any pointers. TIA, Herbert > Cheers. > > Andy. > > > ___ > 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] RedHat ES4 and Vserver with vanilla kernel.
On Thu, Feb 17, 2005 at 12:51:21AM +, Andy Fletcher wrote: > Thursday, February 17, 2005, 12:42:07 AM, you wrote: > > > On Wed, Feb 16, 2005 at 09:33:12PM +, Andy Fletcher wrote: > >> > >> I'm trying to get vserver working with the 2.9.10 and the development > >> patches but just getting lots of segfaults all the time, randomly. > > > no wonder, 2.9.10 will not be released anytime soon, > > you should not use patches from the future ... ;) > > See what too much playing with vserver does to you? :) I meant 2.6.10 of > course. > > >> The guides available on the vserver website have been followed and the > >> system will sometimes boot, but sometimes not. > > > interesting ... > > >> The kernel works fine without the patch so I'm pretty sure it's adding > >> vserver that causes it, but no idea how or why. > > > okay, which patch, what kernel ... > > Patch from: > http://www.13thfloor.at/vserver/d_rel26/v1.9.4/patch-2.6.10-vs1.9.4.diff > Kernel is vanilla 2.6.10 from kernel.org > > >> Not sure what additional information is needed or if anyone knows > >> about this and can offer any pointers. > > You're probably going to nod knowingly when I tell you that I'm > currently running this Linux environment under VMWare, if that makes a > difference then please do let me know and I'll get it on some real > hardware ASAP and try again. hmm, well, I never tested (and probably never will test) with VMWare, but could you do the following please: a) provide some more infos about the kernel .config and the utilized compiler/linker b) try with http://vserver.13thfloor.at/Experimental/patch-2.6.11-rc4-vs1.9.4.4.diff (ontop of 2.6.11-rc4) TIA, Herbert > Andy > > > ___ > 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] RedHat ES4 and Vserver with vanilla kernel.
On Thu, Feb 17, 2005 at 02:47:26AM +, Andy Fletcher wrote: > Thursday, February 17, 2005, 1:02:10 AM, you wrote: > > > hmm, well, I never tested (and probably never will test) > > with VMWare, but could you do the following please: > > > a) provide some more infos about the kernel .config > > and the utilized compiler/linker > > > b) try with > > > > http://vserver.13thfloor.at/Experimental/patch-2.6.11-rc4-vs1.9.4.4.diff > > (ontop of 2.6.11-rc4) > > Sadly the kernel refuses to compile with this patch: > > ipc/mqueue.c: In function `mqueue_get_inode': > ipc/mqueue.c:150: warning: implicit declaration of function `vx_ipcmsg_avail' > ipc/mqueue.c:155: warning: implicit declaration of function `vx_ipcmsg_add' > ipc/mqueue.c:162: warning: implicit declaration of function `vx_ipcmsg_sub' > ipc/mqueue.c: In function `mqueue_delete_inode': > ipc/mqueue.c:267: warning: implicit declaration of function `put_vx_info' heh, you _are_ a lucky guy I guess ... this issue was fixed with the following patch: http://vserver.13thfloor.at/Experimental/FOR-1.9.5/delta-msgqueue-fix01.diff and it is only manifests itself if you select POSIX_MSGQUEUE as kernel compile option (what do you need that stuff for? ;) > > > ipc/built-in.o(.text+0x4cf8): In function `mqueue_get_inode': > : undefined reference to `vx_ipcmsg_avail' > ipc/built-in.o(.text+0x4d1d): In function `mqueue_get_inode': > : undefined reference to `vx_ipcmsg_add' > ipc/built-in.o(.text+0x4d69): In function `mqueue_get_inode': > : undefined reference to `vx_ipcmsg_sub' > ipc/built-in.o(.text+0x4f08): In function `mqueue_delete_inode': > : undefined reference to `vx_ipcmsg_sub' > ipc/built-in.o(.text+0x4f16): In function `mqueue_delete_inode': > : undefined reference to `put_vx_info' > make: *** [.tmp_vmlinux1] Error 1 > > 2.6.11-rc4 works fine on its own, but never with the vserver patch, > same error every time. > > Not sure if this is me or the patch, but I'm sure you'll know. in this case, it's the patch (or your config ;) your options here are: a) apply the fix above (ontop of the patch) b) disable the POSIX_MSGQUEUE config option c) wait for the 1.9.4.5 patch ... HTH, Herbert > Andy > ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] RedHat ES4 and Vserver with vanilla kernel.
> On Wed, Feb 16, 2005 at 09:33:12PM +, Andy Fletcher wrote: >> I'm trying to get vserver working with the 2.9.10 and the development >> patches but just getting lots of segfaults all the time, randomly. > > no wonder, 2.9.10 will not be released anytime soon, > you should not use patches from the future ... ;) > >> The guides available on the vserver website have been followed and the >> system will sometimes boot, but sometimes not. > > interesting ... In my experience, random crashes are often the result of hardware problems. I would run an updated memtest program overnight first to at least rule out that possibility. Best Regards, Tor Rune Skoglund -- DataKompaniet as Teknobyen Innovasjonssenter, Abelsgt. 5 Tel: +47 73 51 51 51 N-7030 Trondheim, NorwayFax: +47 73 94 38 61 WWW:http://www.datakompaniet.no E-mail: [EMAIL PROTECTED] Ved svar på email, fjern all overflødig tekst, men inkluder alltid nok av gammel email slik at det går klart frem hva saken gjelder. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] RedHat ES4 and Vserver with vanilla kernel.
On Thu, Feb 17, 2005 at 12:04:07PM +, Andy Fletcher wrote: > Thursday, February 17, 2005, 8:52:57 AM, you wrote: > > >> On Wed, Feb 16, 2005 at 09:33:12PM +, Andy Fletcher wrote: > >>> I'm trying to get vserver working with the 2.9.10 and the development > >>> patches but just getting lots of segfaults all the time, randomly. > >> > >> no wonder, 2.9.10 will not be released anytime soon, > >> you should not use patches from the future ... ;) > >> > >>> The guides available on the vserver website have been followed and the > >>> system will sometimes boot, but sometimes not. > >> > >> interesting ... > > > In my experience, random crashes are often the result of > > hardware problems. I would run an updated memtest program > > overnight first to at least rule out that possibility. > > Normally this would be my first port of call, but as I mentioned this > is actually running under VMWare, and the machine which it's running > on is rock solid stable, so I'm certain it's not memory.. hehe, maybe VMware is sooo good at emulating a real PC that it also adds the broken memory found in most recent machines (just kidding ;) > Just going to apply the patch Herbert mentioned now.. let me know the results ... best, Herbert > Andy > > > ___ > 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] RedHat ES4 and Vserver with vanilla kernel.
--- Herbert Poetzl <[EMAIL PROTECTED]> wrote: > > hehe, maybe VMware is sooo good at emulating a > real PC that it also adds the broken memory found > in most recent machines (just kidding ;) > Actually, it's pretty close! In earlier versions of VMware running a guest of Windows 2000, a dialog would pop up saying basically "your system is about to blue-screen. we have detected this and caught it, but there's nothing we can do." ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re[2]: [Vserver] RedHat ES4 and Vserver with vanilla kernel.
Thursday, February 17, 2005, 12:42:07 AM, you wrote: > On Wed, Feb 16, 2005 at 09:33:12PM +, Andy Fletcher wrote: >> >> I'm trying to get vserver working with the 2.9.10 and the development >> patches but just getting lots of segfaults all the time, randomly. > no wonder, 2.9.10 will not be released anytime soon, > you should not use patches from the future ... ;) See what too much playing with vserver does to you? :) I meant 2.6.10 of course. >> The guides available on the vserver website have been followed and the >> system will sometimes boot, but sometimes not. > interesting ... >> The kernel works fine without the patch so I'm pretty sure it's adding >> vserver that causes it, but no idea how or why. > okay, which patch, what kernel ... Patch from: http://www.13thfloor.at/vserver/d_rel26/v1.9.4/patch-2.6.10-vs1.9.4.diff Kernel is vanilla 2.6.10 from kernel.org >> Not sure what additional information is needed or if anyone knows >> about this and can offer any pointers. You're probably going to nod knowingly when I tell you that I'm currently running this Linux environment under VMWare, if that makes a difference then please do let me know and I'll get it on some real hardware ASAP and try again. Andy ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re[2]: [Vserver] RedHat ES4 and Vserver with vanilla kernel.
Thursday, February 17, 2005, 1:02:10 AM, you wrote: > hmm, well, I never tested (and probably never will test) > with VMWare, but could you do the following please: > a) provide some more infos about the kernel .config > and the utilized compiler/linker > b) try with > > http://vserver.13thfloor.at/Experimental/patch-2.6.11-rc4-vs1.9.4.4.diff > (ontop of 2.6.11-rc4) Sadly the kernel refuses to compile with this patch: ipc/mqueue.c: In function `mqueue_get_inode': ipc/mqueue.c:150: warning: implicit declaration of function `vx_ipcmsg_avail' ipc/mqueue.c:155: warning: implicit declaration of function `vx_ipcmsg_add' ipc/mqueue.c:162: warning: implicit declaration of function `vx_ipcmsg_sub' ipc/mqueue.c: In function `mqueue_delete_inode': ipc/mqueue.c:267: warning: implicit declaration of function `put_vx_info' ipc/built-in.o(.text+0x4cf8): In function `mqueue_get_inode': : undefined reference to `vx_ipcmsg_avail' ipc/built-in.o(.text+0x4d1d): In function `mqueue_get_inode': : undefined reference to `vx_ipcmsg_add' ipc/built-in.o(.text+0x4d69): In function `mqueue_get_inode': : undefined reference to `vx_ipcmsg_sub' ipc/built-in.o(.text+0x4f08): In function `mqueue_delete_inode': : undefined reference to `vx_ipcmsg_sub' ipc/built-in.o(.text+0x4f16): In function `mqueue_delete_inode': : undefined reference to `put_vx_info' make: *** [.tmp_vmlinux1] Error 1 2.6.11-rc4 works fine on its own, but never with the vserver patch, same error every time. Not sure if this is me or the patch, but I'm sure you'll know. Andy ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re[2]: [Vserver] RedHat ES4 and Vserver with vanilla kernel.
Thursday, February 17, 2005, 8:52:57 AM, you wrote: >> On Wed, Feb 16, 2005 at 09:33:12PM +, Andy Fletcher wrote: >>> I'm trying to get vserver working with the 2.9.10 and the development >>> patches but just getting lots of segfaults all the time, randomly. >> >> no wonder, 2.9.10 will not be released anytime soon, >> you should not use patches from the future ... ;) >> >>> The guides available on the vserver website have been followed and the >>> system will sometimes boot, but sometimes not. >> >> interesting ... > In my experience, random crashes are often the result of > hardware problems. I would run an updated memtest program > overnight first to at least rule out that possibility. Normally this would be my first port of call, but as I mentioned this is actually running under VMWare, and the machine which it's running on is rock solid stable, so I'm certain it's not memory.. Just going to apply the patch Herbert mentioned now.. Andy ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver