http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=805
------- Comment #1 from watanabe_takehiko@xxxxxxxxxxxxxxxx 2006-10-30 20:46
-------
Here is the strace of kon for reference.
----------------------------------------------------------------------
2494 execve("/usr/bin/kon", ["kon"], [/* 21 vars */]) = 0
2494 uname({sys="Linux", node="OS-RT", ...}) = 0
2494 brk(0) = 0x8368000
2494 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
2494 open("/etc/ld.so.cache", O_RDONLY) = 3
2494 fstat64(3, {st_mode=S_IFREG|0644, st_size=123603, ...}) = 0
2494 old_mmap(NULL, 123603, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fcd000
2494 close(3) = 0
2494 open("/lib/libutil.so.1", O_RDONLY) = 3
2494 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\254"...,
512) = 512
2494 fstat64(3, {st_mode=S_IFREG|0755, st_size=14542, ...}) = 0
2494 old_mmap(NULL, 12428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xa60000
2494 old_mmap(0xa62000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xa62000
2494 close(3) = 0
2494 open("/lib/tls/libc.so.6", O_RDONLY) = 3
2494 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\277"..., 512)
= 512
2494 fstat64(3, {st_mode=S_IFREG|0755, st_size=1454546, ...}) = 0
2494 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fcc000
2494 old_mmap(NULL, 1219772, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xe11000
2494 old_mmap(0xf35000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x124000) = 0xf35000
2494 old_mmap(0xf39000, 7356, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf39000
2494 close(3) = 0
2494 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fcb000
2494 mprotect(0xf35000, 4096, PROT_READ) = 0
2494 mprotect(0x8c6000, 53248, PROT_READ|PROT_WRITE) = 0
2494 mprotect(0x8c6000, 53248, PROT_READ|PROT_EXEC) = 0
2494 mprotect(0xabb000, 4096, PROT_READ) = 0
2494 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fcb6c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
2494 munmap(0xb7fcd000, 123603) = 0
2494 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
2494 brk(0) = 0x8368000
2494 brk(0x838a000) = 0x838a000
2494 readlink("/proc/self/fd/0", "/dev/tty1", 4095) = 9
2494 stat64("/dev/tty1", {st_mode=S_IFCHR|0620, st_rdev=makedev(4, 1), ...}) =
0
2494 write(2, "Kanji ON Console ver.0.3.9 (2000"..., 41) = 41
2494 geteuid32() = 0
2494 open("/dev/console", O_WRONLY) = 3
2494 ioctl(3, KDGETMODE, 0xbff4c3dc) = -1 EINVAL (Invalid argument)
2494 ioctl(3, VT_GETSTATE, 0xbff4c3f0) = -1 EINVAL (Invalid argument)
2494 ioctl(3, VIDIOC_QUERYCAP or VT_OPENQRY, 0xbff4c3d8) = -1 EINVAL (Invalid
argument)
2494 getpid() = 2494
2494 clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fcb708)
= 2495
2494 rt_sigaction(SIGHUP, {0x8cb520, [HUP], SA_RESTORER|SA_RESTART, 0xe388e8},
{SIG_DFL}, 8) = 0
2494 pause( <unfinished ...>
2495 setsid() = 2495
2495 open("/dev/tty41", O_RDWR) = 4
2495 ioctl(3, VIDIOC_G_COMP or VT_ACTIVATE, 0x29) = -1 EINVAL (Invalid
argument)
2495 write(2, "KON> fatal error: ", 18) = 18
2495 write(2, "can\'t activate VC(41)", 21) = 21
2495 exit_group(1) = ?
2494 <... pause resumed> ) = ? ERESTARTNOHAND (To be restarted)
2494 --- SIGCHLD (Child exited) @ 0 (0) ---
2494 pause() = ? ERESTARTNOHAND (To be restarted)
2494 --- SIGINT (Interrupt) @ 0 (0) ---
2494 +++ killed by SIGINT +++
------------------------------------------------------------------------------
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|