From: Gerald Leier (gl_at_revolto.at)
Date: Mon 01 Mar 2004 - 15:30:43 GMT
hi again,
i am using kernel 2.6.3 on debian 3.0 (woody) and try to use vserver-0.23
with it. the system is a sun e450 equipped with 4x 450mhz usparcII cpus.
i cant see if there iss ctx in it or not. when issuing vserver-stat i get:
how do i check if ctx is working ? is there anyone else using vserver on
sparc machines ... any newvserver scripts suitable for debian ?
strace says:
sonnenschein:/usr/src/linux# strace vserver-stat
execve("/usr/sbin/vserver-stat", ["vserver-stat"], [/* 15 vars */]) = 0
uname({sys="Linux", node="sonnenschein", ...}) = 0
brk(0) = 0x24000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=14359, ...}) = 0
mmap(NULL, 14359, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7001c000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\1\365"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1304548, ...}) = 0
mmap(NULL, 1315216, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7002c000
mprotect(0x70154000, 102800, PROT_NONE) = 0
mmap(0x7015c000, 57344, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 0x130000) = 0x7015c000
mmap(0x7016a000, 12688, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7016a000
close(3) = 0
munmap(0x7001c000, 14359) = 0
getpid() = 2058
getpagesize() = 0x2000
brk(0) = 0x24000
brk(0x24190) = 0x24190
brk(0x26000) = 0x26000
open("/proc/self/status", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7001c000
read(3, "Name:\tvserver-stat\nState:\tR (run"..., 1024) = 592
read(3, "", 1024) = 0
close(3) = 0
munmap(0x7001c000, 8192) = 0
exit(0) = ?
vserver-stat: unable to switch in context security #1
thanks
gerald
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver