Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!rice!sun-spots-request From: slevy@nic.mr.net (Stuart Levy) Newsgroups: comp.sys.sun Subject: Re: Sun 3 console question Keywords: SunOS Message-ID: <8902230102.AA18999@nic.MR.NET> Date: 5 Mar 89 22:51:13 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu Original-Date: Wed, 22 Feb 89 19:02:18 CST X-Sun-Spots-Digest: Volume 7, Issue 182, message 2 of 17 We've seen two problems which can cause Sun RS-232 consoles to hang up. One, some as-yet-undetermined programs can open /dev/kbd or /dev/mouse or both, causing the console serial port to get set to 1200 bps, odd parity, "keyboard" line discipline (!) as indicated by stty >/dev/console and pstat -t. To fix, try "stty new 9600 >/dev/console; reset >& /dev/console". To prevent, remove or rename /dev/kbd and /dev/mouse. This suggestion showed up on this list quite a while back. Another, recently discovered by some people here, it's possible to "steal" the console device using the TIOCCONS ioctl. It caught us when people were running xterm's on our server (to an X terminal) and happened to start a console one. This is hard to prevent without a kernel mod but you can ask people not to do it.