Subject: Re: -current src on sun-lamp
To: None <briggs@mail.vt.edu>
From: Ken Nakata <kxn3796@hertz.njit.edu>
List: macbsd-development
Date: 07/20/1994 10:50:02
   From: briggs@puma.bevd.blacksburg.va.us (Allen Briggs)
   Date: Wed, 20 Jul 1994 08:23:51 -0400 (EDT)

   > When I down/upload files with kermit, I see messages like
   > "ioctl(,2,,)" once a packet or two.  It also appears when I'm hanging
   > up the modem.  I took a look at 7/7 src and the ser driver writes
   > messages when entering/exiting ioctl routine if DEBUG is defined.  I
   > suppose the message I see is basically the same.

   This is a message that shows up when the command that's sent to the
   driver is completely unknown.  It does that so that we can identify
   what commands the driver isn't supporting that it should.  I don't
   think that 2 is a valid command.  Could you poke around in kermit
   to see what ioctl call is generating that?  I know that when I was
   messing around with serial, there were some ioctl messages when I
   hung up the line, but I didn't get around to fixing them.

That ioctl command 2 turned out to be TCSAFLUSH (defined in
termios.h).  Is it one of these not-supported-yet ioctls, or are my
headers (BETA-1) and the kernel (071194) awfully out of sync?

The particular ioctl call is at the line 3873 in ckutio.c of ckermit
5A(189) distribution.  It is bracketed off by #ifdef BSD44 and #endif
(I did "make bsd44c" to build).

I think I saw some negative number with large magnitude, but very few
times.

I'll let you know if I find anything more.

Ken

------------------------------------------------------------------------------