<div dir="ltr">worked for me. <br><br>Thanks<br><br><br><div class="gmail_quote">On Mon, Jul 14, 2008 at 11:17 AM, Dave Anderson <<a href="mailto:anderson@redhat.com">anderson@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">SUJIT V wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
I am trying to invoke the crash utility through one of the linux startup scripts.<br>
crash -i command.txt vmlinux vmcore<br>
<br>
But this gives an error<br>
/dev/tty no such device or address.<br>
<br>
The tty is /dev/console<br>
<br>
<br>
Once the linux box boots up and i login and use the same crash command as above it works correctly<br>
The tty of the login shell is /dev/ttyS0<br>
<br>
Any pointers on solving the error "/dev/tty no such device or address"<br>
<br>
<br>
Thanks<br>
<br>
<br>
</blockquote>
<br></div></div>
I see what you're seeing running from /etc/rc.local,<br>
where there's no /dev/tty file available to commands<br>
run from startup scripts.<br>
<br>
Try this -- which works for me:<br>
<br>
  crash vmlinux vmcore < command.txt<br><font color="#888888">
<br>
Dave<br>
</font></blockquote></div><br></div>