It appears the process is hanging during the close(2). Furthermore,
the hanged process is in the running state. I've appended the output
of strace.
I'm running setserial-2.14.
Regards,
Richard....
execve("/bin/setserial", ["setserial", "-b", "/dev/ttyS0", "auto_irq", "skip_test", "autoconfig"], [/* 17 vars */]) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40007000
mprotect(0x40000000, 21025, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x8048000, 10410, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=5506, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
mmap(0, 5506, PROT_READ, MAP_SHARED, 4, 0) = 0x40008000
close(4) = 0
stat("/etc/ld.so.preload", 0xbffffca8) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.5", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 774144, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000a000
mmap(0x4000a000, 539823, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0x4000a000
mmap(0x4008e000, 22440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x83000) = 0x4008e000
mmap(0x40094000, 205460, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40094000
close(4) = 0
mprotect(0x4000a000, 539823, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
munmap(0x40008000, 5506) = 0
mprotect(0x8048000, 10410, PROT_READ|PROT_EXEC) = 0
mprotect(0x4000a000, 539823, PROT_READ|PROT_EXEC) = 0
mprotect(0x40000000, 21025, PROT_READ|PROT_EXEC) = 0
personality(PER_LINUX) = 0
geteuid() = 0
getuid() = 0
getgid() = 0
getegid() = 0
brk(0x804bcf8) = 0x804bcf8
brk(0x804c000) = 0x804c000
stat("/etc/locale/C/libc.cat", 0xbffff848) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/C/libc.cat", 0xbffff848) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/libc/C", 0xbffff848) = -1 ENOENT (No such file or directory)
stat("/usr/share/locale/C/libc.cat", 0xbffff848) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/locale/C/libc.cat", 0xbffff848) = -1 ENOENT (No such file or directory)
open(0xbffffe4f, O_RDWR|O_NONBLOCK) = 4
ioctl(4, TIOCGSERIAL, 0xbffffcc8) = 0
ioctl(4, TIOCSSERIAL, 0xbffffc8c) = 0
ioctl(4, TIOCSERCONFIG, 0xbffffd44) = 0
ioctl(4, TIOCGSERIAL, 0xbffffc8c) = 0
ioctl(4, TIOCSSERIAL, 0xbffffc8c) = 0
close(4) = 0
--- SIGTERM (Terminated) ---
+++ killed by SIGTERM +++
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html