[Crash-utility] Re: /dev/tty no such device or address

SUJIT V sujit.linux at gmail.com
Tue Jul 15 23:01:56 UTC 2008


worked for me.

Thanks


On Mon, Jul 14, 2008 at 11:17 AM, Dave Anderson <anderson at redhat.com> wrote:

> SUJIT V wrote:
>
>>
>>
>> I am trying to invoke the crash utility through one of the linux startup
>> scripts.
>> crash -i command.txt vmlinux vmcore
>>
>> But this gives an error
>> /dev/tty no such device or address.
>>
>> The tty is /dev/console
>>
>>
>> Once the linux box boots up and i login and use the same crash command as
>> above it works correctly
>> The tty of the login shell is /dev/ttyS0
>>
>> Any pointers on solving the error "/dev/tty no such device or address"
>>
>>
>> Thanks
>>
>>
>>
> I see what you're seeing running from /etc/rc.local,
> where there's no /dev/tty file available to commands
> run from startup scripts.
>
> Try this -- which works for me:
>
>  crash vmlinux vmcore < command.txt
>
> Dave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20080715/8f5448f6/attachment.htm>


More information about the Crash-utility mailing list