tty control in single user mode?

From: Saar Picker <saarp_at_uclink4.berkeley.edu>
Date: Mon, 19 Apr 1999 15:31:16 -0700

Hi all,

This is sort of a wierd request. I'm trying to create a DU boot cdrom. For
some reason, though, it is impossible to open more than one terminal session.
The two things I've tried are setting up networking and running sshd and
running an X server with xterms. When connecting to the single-user machine
with ssh or when opening an xterm, character input is not recognized (ie. you
type and no characters show up). When I use alphatrace on the processes, I see
stuff like this:

[254]: open ("/dev/tty", O_WRONLY, 00) = -1 (No such device or address)
[254]: ioctl (8, 0x20007461<Void,TIOCSCTTY,0>, 0) = -1 (Not a typewriter)
[254]: send (3, 0x11fffd0e8="<27>Apr 19 13:24:06 sshd[254]: error: open
/dev/tty
 failed - could not set contr"...118, ) = -1 (Destination address required)

The devices exist and seem to be working.

What I'm wondering is am I failing to start up some vital kernel-related
process or setting some kinda of kernel configuration parameter? Is there a
reason only one shell is accepting input?

Thanks,

-Saar

-- 
====================================================================
 Saar Picker                            saarp_at_socrates.berkeley.edu
 CCS/SDA - Administrative Unix                       (510) 643-8168
 UC Berkeley                                         261 Evans Hall
====================================================================
Received on Mon Apr 19 1999 - 22:34:03 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT