About this list Date view Thread view Subject view Author view Attachment view

From: Christian.Lang_at_Bertelsmann.de
Date: Wed 19 May 2004 - 09:57:07 BST


Hi,
I have the same problem (with release 1.9.0):

lnxvsrv01:~ # vserver VSLPFRA1 start
Starting the virtual server VSLPFRA1
Server VSLPFRA1 is not running
ioctl(SIOCGIFNETMASK): Cannot assign requested address
/usr/sbin/vserver: line 795: 2145 Segmentation fault /sbin/ifconfig
$IPDEV:$1$SUFFIX $oneip netmask $IPROOTMASK broadcast $IPROOTBCAST
ipv4root is now 192.168.1.2
Host name is now vslpfra1
Domain name is now bertelsmann.de
New security context is 49152
Starting sshd: [ OK ]
Starting crond: [ OK ]
Starting tecad_logfile.default: [ OK ]

...and the errorlog says:

May 19 01:03:38 lnxvsrv01 kernel: Unable to handle kernel NULL pointer
dereference at virtual address 0000000c
May 19 01:03:38 lnxvsrv01 kernel: printing eip:
May 19 01:03:38 lnxvsrv01 kernel: c012bb58
May 19 01:03:38 lnxvsrv01 kernel: *pde = 00000000
May 19 01:03:38 lnxvsrv01 kernel: Oops: 0000 [#1]
May 19 01:03:38 lnxvsrv01 kernel: CPU: 0
May 19 01:03:38 lnxvsrv01 kernel: EIP: 0060:[ifa_in_nx_info+24/64] Not
tainted
May 19 01:03:38 lnxvsrv01 kernel: EIP: 0060:[<c012bb58>] Not tainted
May 19 01:03:38 lnxvsrv01 kernel: EFLAGS: 00010246 (2.6.6-vs1.9.0)
May 19 01:03:38 lnxvsrv01 kernel: EIP is at ifa_in_nx_info+0x18/0x40
May 19 01:03:38 lnxvsrv01 kernel: eax: 00000000 ebx: cf81a054 ecx:
00000001 edx: 00000000
May 19 01:03:38 lnxvsrv01 kernel: esi: ffffff9d edi: cf81a054 ebp:
00000000 esp: cd5f3ef0
May 19 01:03:38 lnxvsrv01 kernel: ds: 007b es: 007b ss: 0068
May 19 01:03:38 lnxvsrv01 kernel: Process ifconfig (pid: 2145,
threadinfo=cd5f2000 task=ce60c740)
May 19 01:03:38 lnxvsrv01 kernel: Stack: cd5f3f2c ffffff9d c02887c1 00000000
cf81a054 00000002 cd5f3f30 00000000
May 19 01:03:38 lnxvsrv01 kernel: ce5f9800 cec26f04 cf81a454 00000002
0201a8c0 bffff798 08052611 31687465
May 19 01:03:38 lnxvsrv01 kernel: 4c53563a 41524650 00000031 00000002
0201a8c0 bffff798 08052611 00008916
May 19 01:03:38 lnxvsrv01 kernel: Call Trace:
May 19 01:03:38 lnxvsrv01 kernel: [devinet_ioctl+593/1376]
devinet_ioctl+0x251/0x560
May 19 01:03:38 lnxvsrv01 kernel: [<c02887c1>] devinet_ioctl+0x251/0x560
May 19 01:03:38 lnxvsrv01 kernel: [inet_ioctl+94/128] inet_ioctl+0x5e/0x80
May 19 01:03:38 lnxvsrv01 kernel: [<c028a8ee>] inet_ioctl+0x5e/0x80
May 19 01:03:38 lnxvsrv01 kernel: [sock_ioctl+381/592]
sock_ioctl+0x17d/0x250
May 19 01:03:38 lnxvsrv01 kernel: [<c024b73d>] sock_ioctl+0x17d/0x250
May 19 01:03:38 lnxvsrv01 kernel: [sys_ioctl+644/848] sys_ioctl+0x284/0x350
May 19 01:03:38 lnxvsrv01 kernel: [<c015f384>] sys_ioctl+0x284/0x350
May 19 01:03:38 lnxvsrv01 kernel: [sysenter_past_esp+82/121]
sysenter_past_esp+0x52/0x79
May 19 01:03:38 lnxvsrv01 kernel: [<c0105c69>] sysenter_past_esp+0x52/0x79
May 19 01:03:38 lnxvsrv01 kernel:
May 19 01:03:38 lnxvsrv01 kernel: Code: 8b 70 0c 39 ca 7d 11 90 b8 01 00 00
00 39 74 93 24 74 07 42

This only happens when I start the vserver via ssh console. As soon as I log
in to machine locally, it works perfectly. After I have started the vserver
via console the first time, it works via ssh as well.

Regards
Christian

> -----Ursprüngliche Nachricht-----
> Von: Herbert Poetzl [mailto:herbert_at_13thfloor.at]
> Gesendet: Dienstag, 20. April 2004 17:49
> An: Chris Wilson
> Cc: vServer-MailingList
> Betreff: Re: [Vserver] Experimental Version
>
> On Tue, Apr 20, 2004 at 04:25:17PM +0100, Chris Wilson wrote:
> > Hi Herbert,
> >
> > > with vs1.9.0pre10* you can actually disable the
> > > proc security from the menuconfig (or *config)
> >
> > OK, I built a 2.6.6-rc1 kernel with the -pre11 patch, and it Oopses when
> I
> > try to enter a vserver:
>
> could you try the following patch?
>
> @@ -555,6 +557,7 @@ static int copy_mm(unsigned long clone_f
>
> /* Copy the current MM stuff.. */
> memcpy(mm, oldmm, sizeof(*mm));
> + mm->mm_vx_info = NULL;
> if (!mm_init(mm))
> goto fail_nomem;
>
>
> it should fix this issue ...
>
> TIA,
> Herbert
>
> > [root_at_linux1 vservers]# vserver distcc1 enter
> > /sbin/ifconfig eth1:distcc1 192.168.3.181 netmask 255.255.255.0
> broadcast
> > 192.168.3.255
> > SIOCSIFADDR: File exists
> > SIOCSIFFLAGS: Cannot assign requested address
> > SIOCSIFNETMASK: Cannot assign requested address
> > SIOCSIFBRDADDR: Cannot assign requested address
> > SIOCSIFFLAGS: Cannot assign requested address
> > ipv4root is now 192.168.3.181
> > Host name is now distcc1.netservers.co.uk
> > New security context is 49155
> > Segmentation fault
> >
> > linux1 kernel: kernel BUG at include/linux/vinline.h:62!
> > linux1 kernel: invalid operand: 0000 [#3]
> > linux1 kernel: PREEMPT
> > linux1 kernel: CPU: 0
> > linux1 kernel: EIP: 0060:[<c0113385>] Not tainted
> > linux1 kernel: EFLAGS: 00010286 (2.6.6-rc1-vs1.9.0pre11)
> > linux1 kernel: EIP is at mm_init+0xe2/0x101
> > linux1 kernel: eax: e610bc00 ebx: 00000000 ecx: edfeff80 edx:
> > e610bc00
> > linux1 kernel: esi: e4b25ea4 edi: dfd8a76c ebp: dfd8a580 esp:
> > e4b25dfc
> > linux1 kernel: ds: 007b es: 007b ss: 0068
> > linux1 kernel: Process save_s_context (pid: 2082, threadinfo=e4b24000
> > task=defdc330)
> > linux1 kernel: Stack: dfd8a580 e4b25e6c 00000001 00000000 dfd8a580
> > 00000000 00000000 dfd8a6e0
> > linux1 kernel: dfd8a6e0 00000000 00000000 00000000 00000000
> > 00000000 ffffffff 00000000
> > linux1 kernel: 00000000 00000000 00000000 00000000 00000000
> > 00000000 00000000 00000000
> > linux1 kernel: Call Trace:
> > linux1 kernel: [<c01136ea>] copy_mm+0xe7/0x427
> > linux1 kernel: [<c0114321>] copy_process+0x453/0xb7c
> > linux1 kernel: [<c01593ea>] do_pipe+0x185/0x205
> > linux1 kernel: [<c0114a9a>] do_fork+0x50/0x16d
> > linux1 kernel: [<c01b398a>] copy_to_user+0x3e/0x4e
> > linux1 kernel: [<c014c9ba>] sys_llseek+0x9f/0xc4
> > linux1 kernel: [<c0104387>] sys_clone+0x41/0x45
> > linux1 kernel: [<c010575d>] sysenter_past_esp+0x52/0x71
> > linux1 kernel:
> > linux1 kernel: Code: 0f 0b 3e 00 5f e6 28 c0 eb dc a1 ec 1f 35 c0 89 6c
> > 24 04 89
> >
> > Any ideas?
> >
> > Cheers, Chris.
> > --
> > _ __ __ _
> > / __/ / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer |
> > / (_ ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
> > \__/_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |
> >
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 19 May 2004 - 22:20:08 BST by hypermail 2.1.3