Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Can't access tty; job control turned off.
@ 2007-08-21 13:46 Rolf Blindheim
  2007-08-21 15:02 ` Brad House
  0 siblings, 1 reply; 2+ messages in thread
From: Rolf Blindheim @ 2007-08-21 13:46 UTC (permalink / raw)
  To: buildroot

Hello.
Not sure if this is the proper place to ask, but I'm getting nowhere with 
other forums, goggle, etc..
I've created a toolchain from todays buildroot-snapshot, leaving all the 
default settings just to make sure I'm not screwing up something. The image 
builds fine. I'm booting with a custom linux-2.6.21.5 kernel, which seems to 
work as expected too.
The image is supposed to work on an embedded device, running the AMD Geode x86 
CPU. The boot is working as intended, with switch_root and tmpfs, etc, but 
when init is initializing the problem is that I get no login prompt. sysinit 
can't pull /sbin/getty on /dev/tty1 with the default inittab which comes with 
buildroot/busybox. 
after adding ::sysinit:/bin/ash in /etc/inittab, I get a shell running 
on /dev/console, but along comes:

/bin/ash: can't access tty; job control turned off

I've read every post I can imagine on the subject, but there is something here 
I just don't get.
I'd really appreciate any hints, preferable solutions ;) on this.. I'm so 
stuck with this, and my time is running out soon..
All device nodes are created properly in /dev from /sys.
Please let me know if I've forget to include some information.


-- 
Rolf Blindheim
<rolf@elektronix.no>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070821/044db1db/attachment.pgp 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Can't access tty; job control turned off.
  2007-08-21 13:46 [Buildroot] Can't access tty; job control turned off Rolf Blindheim
@ 2007-08-21 15:02 ` Brad House
  0 siblings, 0 replies; 2+ messages in thread
From: Brad House @ 2007-08-21 15:02 UTC (permalink / raw)
  To: buildroot


> The image is supposed to work on an embedded device, running the AMD Geode x86 
> CPU. The boot is working as intended, with switch_root and tmpfs, etc, but 
> when init is initializing the problem is that I get no login prompt. sysinit 
> can't pull /sbin/getty on /dev/tty1 with the default inittab which comes with 
> buildroot/busybox. 
> after adding ::sysinit:/bin/ash in /etc/inittab, I get a shell running 
> on /dev/console, but along comes:
> 
> /bin/ash: can't access tty; job control turned off
> 
> I've read every post I can imagine on the subject, but there is something here 
> I just don't get.
> I'd really appreciate any hints, preferable solutions ;) on this.. I'm so 
> stuck with this, and my time is running out soon..
> All device nodes are created properly in /dev from /sys.
> Please let me know if I've forget to include some information.

Are you sure your device nodes are infact created properly?
I've seen some setups where the device nodes look like they are
there, but infact, they are files by the same name, not device
nodes.  Are you using udev, or mdev with busybox?

I've got a geode system (soekris net4801) running the latest svn
and all is working fine. I use udev, personally.  You do have to
edit your /etc/inittab though, as you need to add:
ttyS0::respawn:/sbin/getty -L ttyS0 19200 vt100
To make getty listen on ttyS0, since the standard tty's won't work.

Also, what are your bootargs for the kernel? You should at least have
the console specified:
console=ttyS0,19200n8

-Brad

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-21 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 13:46 [Buildroot] Can't access tty; job control turned off Rolf Blindheim
2007-08-21 15:02 ` Brad House

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