[busybox] No such device tty2, tty3, tty4 on embedded system

Alessandro Rubini rubini-list at gnudd.com
Tue May 20 08:29:30 PDT 2008


> I use busybox on embedded system: PowerPC 405GP Walnut board
> which only has a serial port for debugging.

So you have no display, and no text console on the display.

> My busybox is built with default menuconfig settings and make it
> into Ramdisk form.

So, it looks like your inittab includes entries to run getty on the
text terminals.

> Can't open /dev/tty4: No such file or directory
> Can't open /dev/tty2: No such device or address
> Can't open /dev/tty3: No such device or address

/dev/tty2 and /dev/tty3 exist on the filesystem but there is no associated
driver (no display, no text terminal). /dev/tty4 is not existing in the
filesystem.

>  The error message will show again and again.

You should fix your inittab so init won't try to run the getty process
on those devices.

/alessandro


More information about the busybox mailing list