public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* exec terminating and all output not being seen
@ 2003-03-13 20:06 Christopher Fowler
  0 siblings, 0 replies; only message in thread
From: Christopher Fowler @ 2003-03-13 20:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: cfowler

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 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-13 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-13 20:06 exec terminating and all output not being seen Christopher Fowler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox