lkml.org 
[lkml]   [2003]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectexec terminating and all output not being seen
From
Date
Kernel Version: 2.4.18

On a serial console, I'm issues a command like 'exec ls'



Autologin
[root@cas8]# exec ls /
bin dbin dev
[attached]



Autologin
[root@cas8]#


I'm not getting all output before a new getty is spawned by init. Now
I'll execute 'exec strace ls /'

old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x402b1000
mprotect(0x401b2000, 733184, PROT_READ|PROT_WRITE) = 0
mprotect(0x401b2000, 733184, PROT_READ|PROT_EXEC) = 0
mprote
[attached]



Autologin
[root@cas8]#

Again I get part of the strace but then it is cut off. I do not have a
problem when streaming data, just when using exec. I am running my own
init with mgetty and my own login. So maybe my tty is not setup
correctly. Is there something I forgot to do?

Thanks,
Chris





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.019 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site