On Tue, 11 Apr 2006 13:46:21 -0300, "Eduardo Costa Lisboa" <[EMAIL PROTECTED]> wrote:

Hi, guys. I am trying to create an initrd from scratch, to use as a
rescue system. It would be a bit big (~60 megs), having all what I'll
need on ramdisk.

[snip]

If I try to use "cat /dev/tty" it shows me the same message. But if I
try /dev/tty1 it works (ie.: /bin/bash hangs - doesn't trap Ctrl-C -
and doesn't show the message).

Does anyone know what is missing in my tiny initrd?
--
Eduardo Costa Lisboa

Maybe I'm barking up the wrong tree (and stating the obvious), but did you check that you actually have a /dev/tty node? It should be character device major 5 minor 0.

Also, did you apply all the bash patches successfully. It sounds a bit like (my memory is rusty) a problem that you get with new glibc (>= 2.3.4 certainly) and older (i.e. 2.4.x) kernel. The avoid_WCONTINUED patch works around that if I recall correctly.

Brandon.


--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to