OpenVZ Forum


Home » General » Support » ioperm(0x80, 0x1, 0x1) EPERM (Operation not permitted)
ioperm(0x80, 0x1, 0x1) EPERM (Operation not permitted) [message #31354] Wed, 25 June 2008 13:39 Go to previous message
peletiah is currently offline  peletiah
Messages: 1
Registered: June 2008
Junior Member
I want to get a temperature monitor running in an openvz-instance but i'm struggling with the devices - i've connected /dev/ttyS0 through with the following command
myhost:/# vzctl set $veid --devnodes port:rw --save


but when i run the control utility i get a segmentation fault, strace shows the following:
myinstance:/srv/klimalogger/bin# strace ./dump_tfa /dev/ttyS0 123
execve("./dump_tfa", ["./dump_tfa", "/dev/ttyS0", "123"], [/* 13 vars */]) = 0
[ Process PID=9593 runs in 32 bit mode. ]
uname({sys="Linux", node="myinstance", ...}) = 0
brk(0)                                  = 0x804b000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffffffb7f3e000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(0x3, 0xbfdd12d8)                = 0
mmap2(NULL, 22450, PROT_READ, MAP_PRIVATE, 3, 0) = 0xffffffffb7f38000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib32/libc.so.6", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0zO\1\000"..., 512) = 512
fstat64(0x3, 0xbfdd1354)                = 0
mmap2(NULL, 1222812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffffffb7e0d000
mmap2(0xb7f2e000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x120) = 0xffffffffb7f2e000
mmap2(0xb7f35000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffffffffb7f35000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffffffb7e0c000
mprotect(0xb7f2e000, 20480, PROT_READ)  = 0
set_thread_area(0xbfdd1948)             = 0
munmap(0xb7f38000, 22450)               = 0
geteuid32()                             = 0
ioperm(0x80, 0x1, 0x1)                  = -1 EPERM (Operation not permitted)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 9593 detached


Version info:
vzctl version 3.0.22
kernel 2.6.18-028stab053-dl3xx-openvz(non-stock)

[Updated on: Wed, 25 June 2008 13:54]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: gfs+openvz == per-container quotas?
Next Topic: upstart: touch or creation of a file in /etc/event.d causes ve to crash
Goto Forum:
  


Current Time: Tue Aug 13 06:25:31 GMT 2024

Total time taken to generate the page: 0.02865 seconds