Date: Sat, 8 Jan 2000 06:28:33 -0500 From: Peeter Pirn <peeter@rhubarb.fwi.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: getty: tcgetattr /dev/ttyc0: Inappropriate ioctl for device Message-ID: <20000108062833.A634@rhubarb.fwi.com> In-Reply-To: <20000107223832.B1319@rhubarb.fwi.com>; from Peeter Pirn on Fri, Jan 07, 2000 at 10:38:32PM -0500 References: <20000107223832.B1319@rhubarb.fwi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Here's the solution. In /etc/ttys, I changed ttyc0 "/usr/libexec/getty std.9600" wy60 on insecure to ttyc00 "/usr/libexec/getty std.9600" wy60 on insecure and then ran `kill -HUP 1'. I still have a question, though. Here's some of what I see when I list tty-s in /dev: crw-rw-rw- 1 root wheel 1, 0 Jan 8 06:19 /dev/tty -rw------- 1 root wheel 29 Jan 7 19:52 /dev/ttyc0 crw------- 1 peeter tty 48, 0 Jan 8 06:21 /dev/ttyc00 crw------- 1 root wheel 48, 1 Jan 7 19:55 /dev/ttyc01 crw------- 1 root wheel 48, 2 Jan 7 19:55 /dev/ttyc02 crw------- 1 root wheel 48, 3 Jan 7 19:55 /dev/ttyc03 crw------- 1 root wheel 48, 4 Jan 7 19:56 /dev/ttyc04 The /dev/ttyc0 is not a character device. Do I need to clean it up? If so, how do I go about this? > > I see the following message on the console after rebooting or > after `kill -HUP 1': > > getty: tcgetattr /dev/ttyc0: Inappropriate ioctl for device > > This is followed by: > > init: getty repeating too quickly on port /dev/ttyc0, sleeping > 30 secs > > This happens whether or not the terminal is connected. > > CONFIGURATION: > > On bootup, cy0 is detected properly: > > cy0 irq 10 maddr 0xd4000 msize 8192 on isa > > As root in /dev, I have already run: > > ./MAKEDEV ttyc0 > > My /etc/ttys entry is: > > ttyc0 "/usr/libexec/getty std.9600" wy60 on insecure > -- Peeter Pirn - peeter@rhubarb.fwi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000108062833.A634>