[Vserver] vserver bug on kernel 2.6.18.3

2006-11-23 Thread patrick
Hello,

I compiled kernel 2.6.18.3 with patch-2.6.18.3-vs2.1.1.1.diff  on
debian-3.1-sarge-backports
Compil ok, starting ok but when i launch vserver vweb1 start, i got the
following errors which seems to be the same as Andreas Baetz.

I've read Herbert should fix it in the next release . It was just to show
the bug is probably in the  patch-2.6.18.3-vs2.1.1.1.diff  , too.

Nov 23 16:35:01 lindows kernel: [ cut here ]
Nov 23 16:35:01 lindows kernel: kernel BUG at kernel/vserver/network.c:148!
Nov 23 16:35:01 lindows kernel: invalid opcode:  [#1]
Nov 23 16:35:01 lindows kernel: PREEMPT
Nov 23 16:35:01 lindows kernel: Modules linked in: ipv6 floppy shpchp
pci_hotplug e100 parport_pc parport dm_mod via686a eeprom i2c_
isa i2c_viapro eepro100 mii rtc
Nov 23 16:35:01 lindows kernel: CPU:0
Nov 23 16:35:01 lindows kernel: EIP:0060:[unhash_nx_info+87/112]Not
tainted VLI
Nov 23 16:35:01 lindows kernel: EFLAGS: 00010246   (2.6.18.3-vs2.1.1.1 #1)
Nov 23 16:35:01 lindows kernel: EIP is at unhash_nx_info+0x57/0x70
Nov 23 16:35:01 lindows kernel: eax: 0100   ebx: f7c56280   ecx:
f7c56280   edx: 
Nov 23 16:35:01 lindows kernel: esi: f7f72030   edi: 0001   ebp:
ff00   esp: f7415f8c
Nov 23 16:35:01 lindows kernel: ds: 007b   es: 007b   ss: 0068
Nov 23 16:35:01 lindows kernel: Process chbind (pid: 2554[#0], ti=f7414000
task=f7f72030 task.ti=f7414000)
Nov 23 16:35:01 lindows kernel: Stack: c18dea20 c011cd57 0804d095 f7414000
c0164f97 f7415fa4 00ff bfd3fc9f
Nov 23 16:35:01 lindows kernel:bfd3f81c f7414000 c011cf7d c0103001
00ff 0804c86b bfd3f80c bfd3fc9f
Nov 23 16:35:01 lindows kernel:bfd3f81c 0001 0001 007b
007b 0001 b7f77410 0073
Nov 23 16:35:01 lindows kernel: Call Trace:
Nov 23 16:35:01 lindows kernel:  [do_exit+743/1248] do_exit+0x2e7/0x4e0
Nov 23 16:35:01 lindows kernel:  [sys_write+71/128] sys_write+0x47/0x80
Nov 23 16:35:01 lindows kernel:  [sys_exit+13/16] sys_exit+0xd/0x10
Nov 23 16:35:01 lindows kernel:  [sysenter_past_esp+86/121]
sysenter_past_esp+0x56/0x79
Nov 23 16:35:01 lindows kernel: Code: 74 03 89 50 04 c7 03 00 01 10 00 c7 43
04 00 02 20 00 89 e0 25 00 e0 ff ff ff 48 14 8b 40 08 a
8 08 75 02 5b c3 5b e9 69 98 1e 00 0f 0b 94 00 35 f4 33 c0 eb bc a1 14 00
00 00 eb ef 90 8d b4 26
Nov 23 16:35:01 lindows kernel: EIP: [unhash_nx_info+87/112]
unhash_nx_info+0x57/0x70 SS:ESP 0068:f7415f8c
Nov 23 16:35:01 lindows kernel:  1Fixing recursive fault but reboot is
needed!

Patrick

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


Re: [Vserver] Vserver on top of cluster

2006-04-21 Thread Patrick Conroy
On 4/18/06, Herbert Poetzl [EMAIL PROTECTED] wrote:
I'd say it _is_ possible, but it would require some modificationsso that the 'migration' is context aware, shouldn't be too hardto add that though, but currently there is no real demand forthat (at least I think so)
best,HerbertHerbert,Thanks for your response. Is it simply a matter of making the vserver patch apply to the (already-patched) OpenSSI kernel, or am I missing the bigger picture? Are other people handling scalability and high-availability differently? It seems that being able to put vservers on top an openSSI (or some other) cluster would be great way to handle this.
Thanks,Patrick
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] sample fedora guest images?

2005-11-29 Thread Patrick Simon

Hi :-)

I run a test debian host server and I want to try fedora as host client.


Are there any premade images on the net, which can be downloaded?
= I just want to play around.


br,
Patrick

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


[Vserver] loopback device inside a vserver?

2005-11-28 Thread Patrick Simon

Hi list :-)

is there any *simple* method for adding a loopback device inside?

I have some hard coded application, which can not be changed :-(

br,
Patrick


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


Re: [Vserver] Can't set the ipv4 root (Invalid argument)

2005-07-08 Thread patrick
Hello

I've just tried now the util-vserver-0.25 and 0.28 and got i always got the
same error.

Then i've tried :

rescue:/usr/local/util-vserver-0.28# chcontext --ctx 49150 sleep 100 
Can't set the new security context
: Invalid argument
[1] 11747
[1]   Exit 255chcontext --ctx 49150 sleep 100

Info :
rescue:/usr/local/util-vserver-0.29# cat /proc/version
Linux version 2.6.12.2-vs2.0-rc5 ([EMAIL PROTECTED]) (version gcc 3.3.5 (Debian
1:3.3.5-13)) #1 Thu Jul 7 15:17:26 CEST 2005

And eth0:vweb1 is always up ; and /proc is mounted
rescue:/usr/local/util-vserver-0.28# ifconfig | grep 192
  inet adr:192.168.0.29  Bcast:192.168.0.255  Masque:255.255.255.0
  inet adr:192.168.0.39  Bcast:192.168.0.255  Masque:255.255.255.0
rescue:/usr/local/util-vserver-0.28# ifconfig | grep eth0
eth0  Lien encap:Ethernet  HWaddr 00:0C:29:8B:80:26
eth0:vweb Lien encap:Ethernet  HWaddr 00:0C:29:8B:80:26

rescue:/usr/local/util-vserver-0.28# df -hTa |grep '/proc'
proc  proc   0 0 0   -  /proc
none  proc   0 0 0   -  /opt/vservers/vweb1/proc

It's a fool story no ? :-))

Patrick


- Original Message - 
From: Herbert Poetzl [EMAIL PROTECTED]
To: Patrick Home [EMAIL PROTECTED]
Cc: vserver@list.linux-vserver.org
Sent: Thursday, July 07, 2005 8:20 PM
Subject: Re: [Vserver] Can't set the ipv4 root (Invalid argument)


 On Thu, Jul 07, 2005 at 09:15:39AM +0200, Patrick Home wrote:
 
  Hello
 
  I'm running a debian Linux version 2.6.12.2-vs2.0-rc5. I've compiled
  util-vserver 0.30 from linux-vserver.org but i got the following error
when
  i when to start a vserver :
 
  Can't set the ipv4 root (Invalid argument)
 
  I didn't have this problem with previous version from kernel 2.4.25 to
  kernel 2.6.11.11

 yes, this was a breakage in compatibility because we bumped
 up the version and older (ancient) tools do not handle that
 well, but it will be fixed in 2.0, with an additional config
 option (which of course is depreciated) ...

 it seems that this restores compatibility quite fine ...

 (util-vserver-0.25)
 Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
 chcontext is working.
 chbind is working.
 Linux 2.6.12.2-vs2.0-rc5 i686/0.25/0.25 [E] (0)
 VCI:  0002:0001 273 031100f6
 ---
 [000]# succeeded.
 [001]# succeeded.
 [011]# succeeded.
 [031]# succeeded.
 [101]# succeeded.
 [102]# succeeded.
 [201]# succeeded.
 [202]# succeeded.

 (vserver-0.28)
 Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
 chcontext is working.
 chbind is working.
 Linux 2.6.12.2-vs2.0-rc5 i686/0.28/0.28 [J] (0)
 VCI:  0002:0001 273 031100f6
 ---
 [000]# succeeded.
 [001]# succeeded.
 [011]# succeeded.
 [031]# succeeded.
 [101]# succeeded.
 [102]# succeeded.
 [201]# succeeded.
 [202]# succeeded.

 of course, updating to newer tools is advised ...

 HTH,
 Herbert

  I didn't want to use debian package as it's in conflict with
vpopmail-bin
  (cf vkill program in /usr/sbin)
 
  The most strange is that iface of vserver is up and /proc is mounted
after i
  type vserver vweb1 start :
 
  srvweb:~/admintools/dev# ifconfig
  eth0  Link encap:Ethernet  HWaddr 00:11:09:93:DD:FB
inet addr:192.168.0.23  Bcast:192.168.0.255
Mask:255.255.255.0
inet6 addr: fe80::211:9ff:fe93:ddfb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:52791 errors:0 dropped:0 overruns:0 frame:0
TX packets:50594 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13278044 (12.6 MiB)  TX bytes:25745227 (24.5 MiB)
Interrupt:23 Base address:0xb800
 
 
  eth0:vweb Link encap:Ethernet  HWaddr 00:11:09:93:DD:FB
inet addr:192.168.0.230  Bcast:192.168.0.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
Interrupt:23 Base address:0xb800
 
  loLink encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:44407 errors:0 dropped:0 overruns:0 frame:0
TX packets:44407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12361041 (11.7 MiB)  TX bytes:12361041 (11.7 MiB)
 
 
  srvweb:/usr/src/linux-2.6.12.2# df -hTa
  FilesystemTypeSize  Used Avail Use% Mounted on
  /dev/hda1 ext39.2G  1.5G  7.3G  17% /
  proc  proc   0 0 0   -  /proc
  sysfssysfs   0 0 0   -  /sys
  devpts  devpts   0 0 0   -  /dev/pts
  tmpfstmpfs 16M   12K   16M   1% /dev/shm
  usbfsusbfs   0 0 0   -  /proc/bus/usb
  tmpfstmpfs 64M  2.4M   62M   4% /tmp
  /dev/hda3 ext39.2G  531M  8.2G   6% /var
  /dev/md0  ext34.6G  533M  3.9G  12% /usr/local
  /dev/md1  ext39.2G  483M  8.3G   6% /web/clients

[Vserver] Can't set the ipv4 root (Invalid argument)

2005-07-07 Thread Patrick Home

Hello

I'm running a debian Linux version 2.6.12.2-vs2.0-rc5. I've compiled
util-vserver 0.30 from linux-vserver.org but i got the following error when
i when to start a vserver :

Can't set the ipv4 root (Invalid argument)

I didn't have this problem with previous version from kernel 2.4.25 to
kernel 2.6.11.11

I didn't want to use debian package as it's in conflict with vpopmail-bin
(cf vkill program in /usr/sbin)

The most strange is that iface of vserver is up and /proc is mounted after i
type vserver vweb1 start :

srvweb:~/admintools/dev# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:11:09:93:DD:FB
  inet addr:192.168.0.23  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::211:9ff:fe93:ddfb/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:52791 errors:0 dropped:0 overruns:0 frame:0
  TX packets:50594 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:13278044 (12.6 MiB)  TX bytes:25745227 (24.5 MiB)
  Interrupt:23 Base address:0xb800


eth0:vweb Link encap:Ethernet  HWaddr 00:11:09:93:DD:FB
  inet addr:192.168.0.230  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  Interrupt:23 Base address:0xb800

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:44407 errors:0 dropped:0 overruns:0 frame:0
  TX packets:44407 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:12361041 (11.7 MiB)  TX bytes:12361041 (11.7 MiB)


srvweb:/usr/src/linux-2.6.12.2# df -hTa
FilesystemTypeSize  Used Avail Use% Mounted on
/dev/hda1 ext39.2G  1.5G  7.3G  17% /
proc  proc   0 0 0   -  /proc
sysfssysfs   0 0 0   -  /sys
devpts  devpts   0 0 0   -  /dev/pts
tmpfstmpfs 16M   12K   16M   1% /dev/shm
usbfsusbfs   0 0 0   -  /proc/bus/usb
tmpfstmpfs 64M  2.4M   62M   4% /tmp
/dev/hda3 ext39.2G  531M  8.2G   6% /var
/dev/md0  ext34.6G  533M  3.9G  12% /usr/local
/dev/md1  ext39.2G  483M  8.3G   6% /web/clients
/dev/md2  ext39.2G  137M  8.6G   2% /home
/dev/md3  ext39.2G  3.2G  5.6G  37% /opt
/dev/hda9 ext3 23G   33M   22G   1% /wrk
/dev/hdc1 ext39.2G  1.5G  7.3G  17% /spare/racine
/dev/hdc3 ext39.2G  538M  8.2G   7% /spare/var
/dev/hdc9 ext3 23G  899M   21G   5% /spare/wrk
none   binfmt_misc   0 0 0   -  /proc/sys/fs/binfmt_misc
none  proc   0 0 0   -  /opt/vservers/vweb1/proc
nonedevpts   0 0 0   -  /opt/vservers/vweb1/dev/pts



My kernel is ok (i think) :

srvweb:/usr/src/linux-2.6.12.2# grep -i legacy .config
CONFIG_PCI_LEGACY_PROC=y
# CONFIG_MEGARAID_LEGACY is not set
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_VSERVER_LEGACYNET=y
CONFIG_VSERVER_LEGACY=y

I did'nt activate proc/security as i just want to test 

Could anybody help me ?

Thanks
Patrick


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