Can't access tty problems (initramfs)
Dallas Clement
dallas.a.clement at gmail.com
Thu May 17 15:05:05 PDT 2007
Yes, it was a cut-n-paste mistake. The tty0 should have ended in 4 0.
I corrected it, but sadly still getting the "Can't access tty" error
message.
Thanks for the help.
-----Original Message-----
From: Christopher Reder [mailto:creder at digitalcpt.com]
Sent: Thursday, May 17, 2007 11:39 AM
To: dallas.a.clement at gmail.com
Subject: RE: Can't access tty problems (initramfs)
I apologize if I just don't understand it, but are your tty0 and ttyS0 the
same? Should that first one tty0 end in 4 0 ?
-----Original Message-----
From: busybox-bounces at busybox.net [mailto:busybox-bounces at busybox.net] On
Behalf Of Dallas Clement
Sent: Thursday, May 17, 2007 11:28 AM
To: busybox at busybox.net
Subject: ash: Can't access tty problems (initramfs)
I'm getting the infamous "Can't access tty; job control turned off"
message when I try to invoke the ash shell during my initial bootup.
I'm using busybox 1.5.0. I also understand that ash requires a
controlling tty rather than the console. Though, I don't understand all
the reasons.
If I don't define a console however, I get a kernel panic from
initramfs.
Could someone please give me some pointers on how tty and console should
be configured? I'm connected via my VGA port (not a serial port).
Here is the contents of my initramfs makefile:
dir /dev 755 0 0
nod /dev/tty0 666 0 5 c 5 0
nod /dev/tty1 666 0 5 c 4 1
nod /dev/tty2 666 0 5 c 4 2
nod /dev/tty3 666 0 5 c 4 3
nod /dev/tty4 666 0 5 c 4 4
nod /dev/tty5 666 0 5 c 4 5
nod /dev/tty6 666 0 5 c 4 6
nod /dev/tty7 666 0 5 c 4 7
nod /dev/tty8 666 0 5 c 4 8
nod /dev/ttyS0 666 0 5 c 5 0
nod /dev/console 644 0 0 c 5 1
nod /dev/null 666 0 0 c 1 3
nod /dev/hda 660 0 6 b 3 0
nod /dev/hda1 660 0 0 b 3 1
nod /dev/hdb 660 0 6 b 3 0
nod /dev/hdb1 660 0 0 b 3 1
nod /dev/hdf 660 0 6 b 3 0
nod /dev/hdf1 660 0 0 b 3 1
dir /bin 755 1000 1000
file /bin/busybox /home/dallas/initramfs/busybox 755 0 0
slink /bin/ash busybox 777 0 0
slink /bin/mkdir busybox 777 0 0
slink /bin/mount busybox 777 0 0
slink /bin/cat busybox 777 0 0
slink /bin/switch_root busybox 777 0 0
dir /root 700 0 0
dir /proc 755 0 0
dir /sys 755 0 0
dir /var 755 0 0
dir /var/lock 755 0 0
dir /tmp 755 0 0
dir /mnt 755 0 0
dir /mnt/realroot 755 0 0
dir /etc 755 0 0
file /etc/fstab /home/dallas/initramfs/fstab 755 0 0
file /init /home/dallas/initramfs/init.ash 755 0 0
_______________________________________________
busybox mailing list
busybox at busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
More information about the busybox
mailing list