From owner-cvs-sys Sun Jun 4 02:16:05 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA04953 for cvs-sys-outgoing; Sun, 4 Jun 1995 02:16:05 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA04938 ; Sun, 4 Jun 1995 02:15:48 -0700 Date: Sun, 4 Jun 1995 02:15:48 -0700 From: David Greenman Message-Id: <199506040915.CAA04938@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci aic7870.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 02:15:46 Modified: sys/i386/scsi aic7xxx.c aic7xxx.h sys/pci aic7870.c Log: Fixes from Justin: 1) Fixes tagged queuing for a large number of drives (Seagate, Fujitsu and Quantum Grand Prix drives have been tested successfully). The core of the patch is to setup an I_T_L nexus (initiator_target_lun) instead of an I_T_L_T (initiator_target_tun_tag) nexus for all request sense messages. It seems that these drives attempt to hold off tagged requests until the sense is retrieve, causeing them to return BUSY or QUEUE_FULL status if you do an I_T_L_T nexus. This patch should only affect those who use the AHC_TAGENABLE kernel config option. 2) Adds support for the aic7850 motherboard SCSI controller. THe 7850 is software compatible with the 7870 chip except that it has only 3 SCBs (ugh) and of course a differnt PCI ID string. 3) Move some common initialization code above the SEQINT switch case in the interrupt routine to avoid code duplication. Use be consistent and always use u_char instead of "unsigned char" (I've only done this for this section of code). 4) Make debugging printfs uniform and always inform the user of the unit channel and target of the error if possible. Use sc_print_addr when possible (we have a sc_link structure) so that we get the actuall device name printed. Submitted by: Justin Gibbs From owner-cvs-sys Sun Jun 4 06:53:37 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA10364 for cvs-sys-outgoing; Sun, 4 Jun 1995 06:53:37 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA10354 ; Sun, 4 Jun 1995 06:53:29 -0700 Date: Sun, 4 Jun 1995 06:53:29 -0700 From: David Greenman Message-Id: <199506041353.GAA10354@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_object.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 06:53:28 Modified: sys/vm vm_object.c Log: Fixed a bug that would cause a hang or panic if an object clean operation happend while the file vnode was locked by another process. This happens because the call to vget() wasn't checked for failure so the clean operation would happen without the lock and then the corresponding vput() would release the lock it didn't have and give up a vnode reference it didn't have (which could result in an in-use vnode being freed). The problem would only be seen during an msync() of the mapped file or when the file fell off the object cache (although this latter case is unlikely because the file's object would have to be OBJ_WRITEABLE, and thus shouldn't be on the object cache list). Reviewed by: John Dyson From owner-cvs-sys Sun Jun 4 09:12:54 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA15111 for cvs-sys-outgoing; Sun, 4 Jun 1995 09:12:54 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA15101 ; Sun, 4 Jun 1995 09:12:51 -0700 Date: Sun, 4 Jun 1995 09:12:51 -0700 From: David Greenman Message-Id: <199506041612.JAA15101@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net if_ppp.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 09:12:50 Modified: sys/net if_ppp.c Log: Unspam Garrett's change in rev 1.3 to add the multicast ioctl support. Reviewed by: Garrett Wollman From owner-cvs-sys Sun Jun 4 09:28:48 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA15425 for cvs-sys-outgoing; Sun, 4 Jun 1995 09:28:48 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA15415 ; Sun, 4 Jun 1995 09:28:44 -0700 Date: Sun, 4 Jun 1995 09:28:44 -0700 From: David Greenman Message-Id: <199506041628.JAA15415@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 09:28:44 Modified: sys/kern tty.c Log: Remove t_timeout from ttysleep() call in ttwrite() (undo part of revision 1.44). Nonblocking writes can't return EWOULDBLOCK so there is no point in timing out. Fixes PR 445. Submitted by: Bruce Evans From owner-cvs-sys Sun Jun 4 09:45:27 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA16173 for cvs-sys-outgoing; Sun, 4 Jun 1995 09:45:27 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA16161 ; Sun, 4 Jun 1995 09:45:23 -0700 Date: Sun, 4 Jun 1995 09:45:23 -0700 From: David Greenman Message-Id: <199506041645.JAA16161@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 09:45:22 Modified: sys/kern tty.c Log: Avoid calling t_oproc() in ttywait() when the call would do little or nothing except possibly cause livelock. This will be fixed better later. Submitted by: Bruce Evans From owner-cvs-sys Sun Jun 4 09:58:48 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA17104 for cvs-sys-outgoing; Sun, 4 Jun 1995 09:58:48 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA17090 ; Sun, 4 Jun 1995 09:58:45 -0700 Date: Sun, 4 Jun 1995 09:58:45 -0700 From: David Greenman Message-Id: <199506041658.JAA17090@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern imgact_aout.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 09:58:45 Modified: sys/kern imgact_aout.c Log: In the COMPAT_LINUX case, fix a bug that broke BSDI compatibility. Submitted by: Justin Gibbs From owner-cvs-sys Sun Jun 4 10:54:31 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA22718 for cvs-sys-outgoing; Sun, 4 Jun 1995 10:54:31 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA22708 ; Sun, 4 Jun 1995 10:54:27 -0700 Date: Sun, 4 Jun 1995 10:54:27 -0700 From: David Greenman Message-Id: <199506041754.KAA22708@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 10:54:26 Modified: sys/i386/scsi aic7xxx.c Log: Print the board type correctly as 7870 when it's a 7870... Submitted by: Justin Gibbs From owner-cvs-sys Sun Jun 4 11:21:48 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA23950 for cvs-sys-outgoing; Sun, 4 Jun 1995 11:21:48 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA23926 ; Sun, 4 Jun 1995 11:21:41 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id LAA19792; Sun, 4 Jun 1995 11:21:21 -0700 From: "Rodney W. Grimes" Message-Id: <199506041821.LAA19792@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/pci aic7870.c To: davidg@freefall.cdrom.com (David Greenman) Date: Sun, 4 Jun 1995 11:21:21 -0700 (PDT) Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199506040915.CAA04938@freefall.cdrom.com> from "David Greenman" at Jun 4, 95 02:15:48 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 460 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > davidg 95/06/04 02:15:46 > > Modified: sys/i386/scsi aic7xxx.c aic7xxx.h > sys/pci aic7870.c > Log: > Fixes from Justin: > > 1) Fixes tagged queuing for a large number of drives (Seagate, Fujitsu and ... > Submitted by: Justin Gibbs Reviewed by: Rod Grimes -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Sun Jun 4 15:02:14 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA09161 for cvs-sys-outgoing; Sun, 4 Jun 1995 15:02:14 -0700 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id PAA09147 ; Sun, 4 Jun 1995 15:02:07 -0700 Received: by sequent.kiae.su id AA06014 (5.65.kiae-2 ); Mon, 5 Jun 1995 02:01:58 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Mon, 5 Jun 95 02:01:57 +0400 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id BAA06688; Mon, 5 Jun 1995 01:46:06 +0400 To: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com, David Greenman Cc: Bruce Evans References: <199506041628.JAA15415@freefall.cdrom.com> In-Reply-To: <199506041628.JAA15415@freefall.cdrom.com>; from David Greenman at Sun, 4 Jun 1995 09:28:44 -0700 Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 5 Jun 1995 01:46:05 +0400 (MSD) X-Mailer: Mail/@ [v2.37 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA=?= =?KOI8-R?Q?=FE=C5=D2=CE=CF=D7=?= aka "Andrey A. Chernov, Black Mage" X-Class: Fast Subject: Re: cvs commit: src/sys/kern tty.c Lines: 53 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1845 Sender: cvs-sys-owner@freebsd.org Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- In message <199506041628.JAA15415@freefall.cdrom.com> David Greenman writes: >davidg 95/06/04 09:28:44 > Modified: sys/kern tty.c > Log: > Remove t_timeout from ttysleep() call in ttwrite() (undo part of revision > 1.44). Nonblocking writes can't return EWOULDBLOCK so there is no point > in timing out. > Fixes PR 445. > Submitted by: Bruce Evans I disagree. 1) Variant before "fix" can't affect default case: if you don't set t_timeout directly, it is equal to zero (acts completely like in old case). I don't see PR 445 right now, but can say that this fix can't fix PR unless t_timeout sets directly by user. If user sets t_timeout directly to non-zero, he must know what he do. 2) This "fix" break non-default case (purpose of t_timeout as introduced), i.e. if process issue write operation on modem with hanging CTS, process hangs forever. From very practical reasons I prefer return of EWOULDBLOCK than hanging forever... If you try to run modem spool site with about 200 numbers, hanged modems becomes real pain. 3) t_timeout is very special case and already was non-standard as invented, so I consider this fix like attepmt of void standartization with big blood. Please, back out it. - -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBL9IpmuJgpPLZnQjrAQH/6QQA6OS+LPDpLjElqpW+qXnAsE5WAA3HDW1I XdTTMIW+USPsAtJS+wRKEiY/fw4Jmd2+TaXapmHVt9qTmJcGU2PzB3r1+0wLXLIg Df9pL41+2Yf8/C60z9yqx/uHYz7imI8if3n02KkPuEnrtT8SRt6T8ycP4wpAPqNE tBa4A/W5Q9k= =xB2Q -----END PGP SIGNATURE----- From owner-cvs-sys Sun Jun 4 17:22:12 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA24617 for cvs-sys-outgoing; Sun, 4 Jun 1995 17:22:12 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA24596 ; Sun, 4 Jun 1995 17:22:06 -0700 Date: Sun, 4 Jun 1995 17:22:06 -0700 From: David Greenman Message-Id: <199506050022.RAA24596@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 exception.s trap.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 17:22:06 Modified: sys/i386/i386 exception.s trap.c Log: Various fixes for linux compatibility. Submitted by: Soren Schmidt From owner-cvs-sys Sun Jun 4 18:23:15 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA28913 for cvs-sys-outgoing; Sun, 4 Jun 1995 18:23:15 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA28901 ; Sun, 4 Jun 1995 18:23:12 -0700 Date: Sun, 4 Jun 1995 18:23:12 -0700 From: David Greenman Message-Id: <199506050123.SAA28901@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/04 18:23:11 Modified: sys/kern tty.c Log: Restore Andrew's change in rev 1.44 for t_timeout. I can't see how that could have caused PR 445 unless the user specifically mis-configured 'comcontrol' in rc.serial. t_timeout is only set/cleared via the TIOCSDRAINWAIT ioctl and defaults to 0. Reviewed by: Andrew Chernov From owner-cvs-sys Sun Jun 4 19:35:42 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA05205 for cvs-sys-outgoing; Sun, 4 Jun 1995 19:35:42 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id TAA05164 ; Sun, 4 Jun 1995 19:35:16 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id MAA12166; Mon, 5 Jun 1995 12:32:56 +1000 Date: Mon, 5 Jun 1995 12:32:56 +1000 From: Bruce Evans Message-Id: <199506050232.MAA12166@godzilla.zeta.org.au> To: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com, davidg@freefall.cdrom.com Subject: Re: cvs commit: src/sys/kern tty.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk > Modified: sys/kern tty.c > Log: > Restore Andrew's change in rev 1.44 for t_timeout. I can't see how that > could have caused PR 445 unless the user specifically mis-configured > 'comcontrol' in rc.serial. t_timeout is only set/cleared via the > TIOCSDRAINWAIT ioctl and defaults to 0. > > Reviewed by: Andrew Chernov I haven't reviewed Andrey's comments yet :-(. Of course the user must have mis-configured dtrwait. It isn't documented anywhere that using dtrwait may break the non-blocking behaviour of writes to ttys. Bruce From owner-cvs-sys Mon Jun 5 04:09:07 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA19156 for cvs-sys-outgoing; Mon, 5 Jun 1995 04:09:07 -0700 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id EAA19143 ; Mon, 5 Jun 1995 04:08:50 -0700 Received: by sequent.kiae.su id AA09590 (5.65.kiae-2 ); Mon, 5 Jun 1995 15:05:27 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Mon, 5 Jun 95 15:05:25 +0400 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id PAA00700; Mon, 5 Jun 1995 15:04:15 +0400 To: CVS-commiters@freefall.cdrom.com, Bruce Evans , cvs-sys@freefall.cdrom.com, davidg@freefall.cdrom.com References: <199506050232.MAA12166@godzilla.zeta.org.au> In-Reply-To: <199506050232.MAA12166@godzilla.zeta.org.au>; from Bruce Evans at Mon, 5 Jun 1995 12:32:56 +1000 Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 5 Jun 1995 15:04:14 +0400 (MSD) X-Mailer: Mail/@ [v2.37 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA?= =?KOI8-R?Q?=FE=C5=D2=CE=CF=D7?= aka "Andrey A. Chernov, Black Mage" X-Class: Fast Subject: Re: cvs commit: src/sys/kern tty.c Lines: 62 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 2168 Sender: cvs-sys-owner@freebsd.org Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- In message <199506050232.MAA12166@godzilla.zeta.org.au> Bruce Evans writes: >> Modified: sys/kern tty.c >> Log: >> Restore Andrew's change in rev 1.44 for t_timeout. I can't see how that >> could have caused PR 445 unless the user specifically mis-configured >> 'comcontrol' in rc.serial. t_timeout is only set/cleared via the >> TIOCSDRAINWAIT ioctl and defaults to 0. >> >> Reviewed by: Andrew Chernov >I haven't reviewed Andrey's comments yet :-(. >Of course the user must have mis-configured dtrwait. It isn't ^^^^^^^ drainwait >documented anywhere that using dtrwait may break the non-blocking ^^^^^^^ drainwait >behaviour of writes to ttys. >Bruce Bruce, at this stage only critical bugfix allowed. Your fix not close PR, correct way to close it is not use t_timeout or set it to some big value, f.e. 5-10 mins. Your fix is questionable and need discussion: I dislike your idea of having two separate timeouts for modem hang, I prefer one big timeout for all modem hangs on writes. Modem hang is one state and we don't need two or more timeouts to handle it differently on exit and on writes, it is unneded complexity. I agree with you that right now not all places checked and left this work until after release time. I agree with you that non-blocking writes can't return EWOULDBLOCK, as correct fix I suggest to change EWOULDBLOCK to EIO. Right after tsleep: if (error == EWOULDBLOCK) error = EIO; Bruce and David, please review this thing for commit as fixing wrong error return code of write. - -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBL9Lkq+JgpPLZnQjrAQHmggP7BImGYocpSBwKEFyu0TIArPWSow2eoWSR KZfvbsDgB8pJU+bee8QWfLiJLqwEngdom8xAH26RjW5Ezng6LcHzIUJ4McNvPZ0C KpOpeht6ZWk0dU/DYvuWNngImdrAMOg27Ffkk+V2B7vYDthRYoVZyOgTu6CXLj7q V21IfGI2DRk= =dKqg -----END PGP SIGNATURE----- From owner-cvs-sys Mon Jun 5 04:47:25 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA21245 for cvs-sys-outgoing; Mon, 5 Jun 1995 04:47:25 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id EAA21226 ; Mon, 5 Jun 1995 04:47:16 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id VAA28604; Mon, 5 Jun 1995 21:43:44 +1000 Date: Mon, 5 Jun 1995 21:43:44 +1000 From: Bruce Evans Message-Id: <199506051143.VAA28604@godzilla.zeta.org.au> To: ache@astral.msk.su, bde@zeta.org.au, cvs-sys@freefall.cdrom.com, davidg@freefall.cdrom.com Subject: Re: cvs commit: src/sys/kern tty.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk >Your fix is questionable and need discussion: I dislike your idea >of having two separate timeouts for modem hang, I prefer >one big timeout for all modem hangs on writes. Modem hang is >one state and we don't need two or more timeouts to handle >it differently on exit and on writes, it is unneded complexity. We need separate timeouts to minimize breaking of standards. POSIX specifies that write() to any devices that supports blocking writes shall block if O_NONBLOCK is clear. We are already beyond the standard from supporting CRTSCTS (which allows ininite blockage) and drainwait (which allows canceling the infinite blockage). I want writes to block forever and exits not to block forever. Timeouts are a reasonable way of controlling the behaviour. >I agree with you that right now not all places checked and left >this work until after release time. >I agree with you that non-blocking writes can't return EWOULDBLOCK, >as correct fix I suggest to change EWOULDBLOCK to EIO. >Right after tsleep: > if (error == EWOULDBLOCK) > error = EIO; >Bruce and David, please review this thing for commit >as fixing wrong error return code of write. It's too close to release to decide. You've been testing long enough with error EWOULDBLOCK to notice serious problems with it. Bruce From owner-cvs-sys Mon Jun 5 10:15:47 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA14321 for cvs-sys-outgoing; Mon, 5 Jun 1995 10:15:47 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA14308 ; Mon, 5 Jun 1995 10:15:43 -0700 Date: Mon, 5 Jun 1995 10:15:43 -0700 From: David Greenman Message-Id: <199506051715.KAA14308@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/05 10:15:43 Modified: sys/i386/conf GENERIC Log: Removed eg driver, speaker, and vn devices to help reduce the size of the GENERIC kernel. Reviewed by: Jordan Hubbard, Poul-Henning Kamp From owner-cvs-sys Mon Jun 5 14:50:55 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA11365 for cvs-sys-outgoing; Mon, 5 Jun 1995 14:50:55 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA11350 ; Mon, 5 Jun 1995 14:50:45 -0700 Date: Mon, 5 Jun 1995 14:50:45 -0700 From: "Jordan K. Hubbard" Message-Id: <199506052150.OAA11350@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC Sender: cvs-sys-owner@freebsd.org Precedence: bulk jkh 95/06/05 14:50:44 Modified: sys/i386/conf GENERIC Log: Take ppp out of the GENERIC kernel to save space. We don't use it from GENERIC. From owner-cvs-sys Mon Jun 5 14:55:57 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA11826 for cvs-sys-outgoing; Mon, 5 Jun 1995 14:55:57 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA11784 ; Mon, 5 Jun 1995 14:55:43 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id OAA24434; Mon, 5 Jun 1995 14:55:18 -0700 From: "Rodney W. Grimes" Message-Id: <199506052155.OAA24434@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/i386/conf GENERIC To: jkh@freefall.cdrom.com (Jordan K. Hubbard) Date: Mon, 5 Jun 1995 14:55:18 -0700 (PDT) Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199506052150.OAA11350@freefall.cdrom.com> from "Jordan K. Hubbard" at Jun 5, 95 02:50:45 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 663 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > jkh 95/06/05 14:50:44 > > Modified: sys/i386/conf GENERIC > Log: > Take ppp out of the GENERIC kernel to save space. > We don't use it from GENERIC. You just broke my 5 station test bed :-(. I use ppp lines and GENERIC kernels in it as all machines go out of here with a serial port in them. [Running ppp at 115k baud is fine for what I need it for and saves me a pile of ethernet cards!]. Though the floppy install stuff may not support ppp, the GENERIC kernel sure should!!! -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Mon Jun 5 15:05:57 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA12816 for cvs-sys-outgoing; Mon, 5 Jun 1995 15:05:57 -0700 Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA12783 ; Mon, 5 Jun 1995 15:05:50 -0700 Received: from localhost (localhost [127.0.0.1]) by precipice.shockwave.com (8.6.11/8.6.9) with SMTP id PAA01474; Mon, 5 Jun 1995 15:04:42 -0700 Message-Id: <199506052204.PAA01474@precipice.shockwave.com> To: "Rodney W. Grimes" cc: jkh@freefall.cdrom.com (Jordan K. Hubbard), CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/i386/conf GENERIC In-reply-to: Your message of "Mon, 05 Jun 1995 14:55:18 PDT." <199506052155.OAA24434@gndrsh.aac.dev.com> Date: Mon, 05 Jun 1995 15:04:42 -0700 From: Paul Traina Sender: cvs-sys-owner@freebsd.org Precedence: bulk I agree with Rod on this one. Perhaps it is time to bring back FLOPPY? A generic kernel should really handle every _basic_ type of device driver we have (e.g. leaving out voxware is ok, pulling out ppp and eg0 devices isn't). From: "Rodney W. Grimes" Subject: Re: cvs commit: src/sys/i386/conf GENERIC > > jkh 95/06/05 14:50:44 > > Modified: sys/i386/conf GENERIC > Log: > Take ppp out of the GENERIC kernel to save space. > We don't use it from GENERIC. You just broke my 5 station test bed :-(. I use ppp lines and GENERIC kernels in it as all machines go out of here with a serial port in them. [Running ppp at 115k baud is fine for what I need it for and saves me a pile of ethernet cards!]. Though the floppy install stuff may not support ppp, the GENERIC kernel sure should!!! -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Mon Jun 5 17:54:40 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA18231 for cvs-sys-outgoing; Mon, 5 Jun 1995 17:54:40 -0700 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id RAA18224 ; Mon, 5 Jun 1995 17:54:36 -0700 X-Authentication-Warning: freefall.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: "Rodney W. Grimes" cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/i386/conf GENERIC In-reply-to: Your message of "Mon, 05 Jun 95 14:55:18 PDT." <199506052155.OAA24434@gndrsh.aac.dev.com> Date: Mon, 05 Jun 1995 17:54:36 -0700 Message-ID: <18223.802400076@freefall.cdrom.com> From: "Jordan K. Hubbard" Sender: cvs-sys-owner@freebsd.org Precedence: bulk > You just broke my 5 station test bed :-(. I use ppp lines and > GENERIC kernels in it as all machines go out of here with a serial > port in them. [Running ppp at 115k baud is fine for what I need > it for and saves me a pile of ethernet cards!]. A) It's hardly too much to suggest that you use a custom kernel for testing.. :-) B) You can still use the /usr/bin/ppp program to establish your ppp links, and probably with less effort once you have an /etc/ppp/options file all tricked out. So don't say that "we don't support PPP in the GENERIC kernel", we do! Just in a different way.. C) For hard-wired lines where ppp is overkill, there's still SLIP. Jordan From owner-cvs-sys Mon Jun 5 18:14:38 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA18968 for cvs-sys-outgoing; Mon, 5 Jun 1995 18:14:38 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA18962 ; Mon, 5 Jun 1995 18:14:30 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id SAA24766; Mon, 5 Jun 1995 18:14:05 -0700 From: "Rodney W. Grimes" Message-Id: <199506060114.SAA24766@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/i386/conf GENERIC To: jkh@freefall.cdrom.com (Jordan K. Hubbard) Date: Mon, 5 Jun 1995 18:14:05 -0700 (PDT) Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <18223.802400076@freefall.cdrom.com> from "Jordan K. Hubbard" at Jun 5, 95 05:54:36 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2093 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > > You just broke my 5 station test bed :-(. I use ppp lines and > > GENERIC kernels in it as all machines go out of here with a serial > > port in them. [Running ppp at 115k baud is fine for what I need > > it for and saves me a pile of ethernet cards!]. > > A) It's hardly too much to suggest that you use a custom kernel for > testing.. :-) > Except that does little to try and make sure our ``GENERIC'' kernel has maximal test time on it from the official test technician :-). [By the way, do I report to Julian E. or Paul R. in that capacity now???] > B) You can still use the /usr/bin/ppp program to establish your ppp links, > and probably with less effort once you have an /etc/ppp/options file > all tricked out. So don't say that "we don't support PPP in > the GENERIC kernel", we do! Just in a different way.. Umm.. you've got me over a barrell there, okay I shall convert my stuff to work with the usr/bin/ppp stuff. > C) For hard-wired lines where ppp is overkill, there's still SLIP. But I test slip code 24x7 on my incoming line to the building, so I figured the test bed would be a good place to test ppp :-). [Trying to maximize test coverage and all, maybe I should make 2 statitions slip and 3 stations ppp since I don't update my main box very often :-)] This is all getting tore apart and moved some time this week, so I will reconfigure it then. For now I just have another site specific patch that puts my test bed one more step away from production code :-). Anybody known where I can get a 200MHz capabile 15pin VGA switch box, I am starting to need high end XFree86 setup capability for system shipments often enough now that I figured I would upgrade my equipment there so I don't have to keep stealing my work monitor to do the final check on things. [I know I could do it with a BNC switch box but do you have any idea how much a 5 connector 5:1 BNC video switch box costs!!!] -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Mon Jun 5 20:59:15 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA24737 for cvs-sys-outgoing; Mon, 5 Jun 1995 20:59:15 -0700 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id UAA24730 ; Mon, 5 Jun 1995 20:59:08 -0700 X-Authentication-Warning: freefall.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: "Rodney W. Grimes" cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/i386/conf GENERIC In-reply-to: Your message of "Mon, 05 Jun 95 18:14:05 PDT." <199506060114.SAA24766@gndrsh.aac.dev.com> Date: Mon, 05 Jun 1995 20:59:08 -0700 Message-ID: <24729.802411148@freefall.cdrom.com> From: "Jordan K. Hubbard" Sender: cvs-sys-owner@freebsd.org Precedence: bulk > Except that does little to try and make sure our ``GENERIC'' kernel > has maximal test time on it from the official test technician :-). > [By the way, do I report to Julian E. or Paul R. in that capacity > now???] Julian E, I believe. Julian, you still with us? I'm ready to devise the test plan with you now! :-) Jordan From owner-cvs-sys Wed Jun 7 00:25:13 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA05480 for cvs-sys-outgoing; Wed, 7 Jun 1995 00:25:13 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA05469 ; Wed, 7 Jun 1995 00:25:11 -0700 Date: Wed, 7 Jun 1995 00:25:11 -0700 From: David Greenman Message-Id: <199506070725.AAA05469@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/nfs nfs_serv.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/07 00:25:11 Modified: sys/nfs nfs_serv.c Log: Backed out one part of rev 1.13. In this one case, two references to the vnode are gained, but only one reference to the object is gained. The object reference is (correctly) lost by the nfsrv_vrele() at the exit point of the nfsrv_link function. The bug is easily seen by doing a standard "link" operation to a 2.0.5 server (ln foo bar). The system will immediately panic with "object deallocated too many times". This fixes the panic reported today by ohki@gssm.otsuka.tsukuba.ac.jp. (will be) Reviewed by: John Dyson From owner-cvs-sys Wed Jun 7 04:21:05 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA14478 for cvs-sys-outgoing; Wed, 7 Jun 1995 04:21:05 -0700 Received: from pigeon.cf.ac.uk (pigeon.cf.ac.uk [131.251.0.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id EAA14462 ; Wed, 7 Jun 1995 04:20:50 -0700 Received: from thor.cf.ac.uk by pigeon.cf.ac.uk with SMTP (PP) id <17243-0@pigeon.cf.ac.uk>; Wed, 7 Jun 1995 12:18:06 +0100 From: Paul Richards Message-Id: <21323.9506071118@thor.cf.ac.uk> Subject: Re: cvs commit: src/sys/i386/conf GENERIC To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Wed, 7 Jun 1995 12:18:59 +0100 (BST) Cc: jkh@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199506052155.OAA24434@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Jun 5, 95 02:55:18 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1654 Sender: cvs-sys-owner@freebsd.org Precedence: bulk In reply to Rodney W. Grimes who said > > > > > jkh 95/06/05 14:50:44 > > > > Modified: sys/i386/conf GENERIC > > Log: > > Take ppp out of the GENERIC kernel to save space. > > We don't use it from GENERIC. > > You just broke my 5 station test bed :-(. I use ppp lines and > GENERIC kernels in it as all machines go out of here with a serial > port in them. [Running ppp at 115k baud is fine for what I need > it for and saves me a pile of ethernet cards!]. > > Though the floppy install stuff may not support ppp, the GENERIC > kernel sure should!!! > Umm, what am I missing here? Are you removing PPP from the installation process, if so that's very bad news for me. Guess I'm going to have to learn about dial-up connections pretty quickly :-) When you connect to Demon in the UK you never know which machine will be at the other end so I can't set the ip address for the other end of my slip link. Using PPP is the only way I get all this to work since PPP finds out what the address at the other end is and sets up the routing table automatically. How to I set up SLIP to work with Demon, Gary? Actually, I run into other problems with SLIP, after running slattach nothing happens, I get a message "waiting for carrier on cua00", which is odd because the modem is definitely connected to the Demon account and I don't get this problem with PPP. I really miss my JANET connection, hope we get our leased line at work soon :-) -- Paul Richards, Bluebird Computer Systems. FreeBSD core team member. Internet: paul@FreeBSD.org, http://www.freebsd.org/~paul Phone: 0370 462071 (Mobile), +44 1222 457651 (home) From owner-cvs-sys Wed Jun 7 05:36:56 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA17072 for cvs-sys-outgoing; Wed, 7 Jun 1995 05:36:56 -0700 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id FAA17062 ; Wed, 7 Jun 1995 05:36:50 -0700 X-Authentication-Warning: freefall.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: Paul Richards cc: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes), CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/i386/conf GENERIC In-reply-to: Your message of "Wed, 07 Jun 95 12:18:59 BST." <21323.9506071118@thor.cf.ac.uk> Date: Wed, 07 Jun 1995 05:36:50 -0700 Message-ID: <17061.802528610@freefall.cdrom.com> From: "Jordan K. Hubbard" Sender: cvs-sys-owner@freebsd.org Precedence: bulk > Umm, what am I missing here? Are you removing PPP from the installation > process, if so that's very bad news for me. No, I'm not. I'm just changing the way it's used (and definitely for the better, if you've ever used ijppp). > When you connect to Demon in the UK you never know which machine will > be at the other end so I can't set the ip address for the other end > of my slip link. Using PPP is the only way I get all this to work since > PPP finds out what the address at the other end is and sets up the routing > table automatically. No problem at all. Jordan From owner-cvs-sys Thu Jun 8 03:26:42 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA07831 for cvs-sys-outgoing; Thu, 8 Jun 1995 03:26:42 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA07813 ; Thu, 8 Jun 1995 03:26:32 -0700 Date: Thu, 8 Jun 1995 03:26:32 -0700 From: David Greenman Message-Id: <199506081026.DAA07813@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa fd.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/08 03:26:30 Modified: sys/i386/isa fd.c Log: Moved initialization of fdblk down a few lines so that tape is checked for (and rejected) first. Fixes panic that results from fd->ft not being initialized. Submitted by: Joerg Wunsch From owner-cvs-sys Thu Jun 8 20:21:29 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA09207 for cvs-sys-outgoing; Thu, 8 Jun 1995 20:21:29 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA09191 ; Thu, 8 Jun 1995 20:21:21 -0700 Date: Thu, 8 Jun 1995 20:21:21 -0700 From: David Greenman Message-Id: <199506090321.UAA09191@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet tcp_usrreq.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/08 20:21:19 Modified: sys/netinet tcp_usrreq.c Log: Return error if in_pcbladdr() fails. Not doing so could result in a panic or unusual behavior under certain cicumstances. Submitted by: Matt Dillon From owner-cvs-sys Thu Jun 8 20:29:33 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA09739 for cvs-sys-outgoing; Thu, 8 Jun 1995 20:29:33 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA09728 ; Thu, 8 Jun 1995 20:29:26 -0700 Date: Thu, 8 Jun 1995 20:29:26 -0700 From: David Greenman Message-Id: <199506090329.UAA09728@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/08 20:29:25 Modified: sys/i386/isa clock.c Log: Look only at the appropriate rtc clock/ram valid bit. The others are undefined and if they weren't 0, resulted in the sytem clock not being set. Submitted by: Akira SAWADA From owner-cvs-sys Fri Jun 9 11:07:42 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA21330 for cvs-sys-outgoing; Fri, 9 Jun 1995 11:07:42 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA21171 ; Fri, 9 Jun 1995 11:06:55 -0700 Date: Fri, 9 Jun 1995 11:06:55 -0700 From: David Greenman Message-Id: <199506091806.LAA21171@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci aic7870.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/09 11:06:55 Modified: sys/i386/scsi aic7xxx.c sys/pci aic7870.c Log: 1) SCSI_RESID_VALID was not getting set in xs->flags so even though the aic7xxx driver was doing the right thing, it was getting ignored by the upper level scsi code. This may affect tape drives, so I consider this a critical fix. 2) xs->status was not set to zero during the initialization of a command. Although I don't think this should be the client's (ie the driver's) responsibility, it seems that it currently is, so it needs to be cleared. Without this change, the upper level scsi code will attempt to interpret the sense information on every command complete (since xs->status is usually left at 2, "check sense"). This gives a slight performance increase, as well as stops fooling /sbin/scsi into thinking there was an error on the command. 3) Document that we support the aic7850 controllers in the aic7870.c header. Aic7870.c should probably become aic78xx.c sometime down the road. Submitted by: Justin Gibbs From owner-cvs-sys Fri Jun 9 11:12:13 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA22431 for cvs-sys-outgoing; Fri, 9 Jun 1995 11:12:13 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA22421 ; Fri, 9 Jun 1995 11:12:10 -0700 Date: Fri, 9 Jun 1995 11:12:10 -0700 From: David Greenman Message-Id: <199506091812.LAA22421@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa if_el.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/06/09 11:12:10 Modified: sys/i386/isa if_el.c Log: Added a missing break which caused interface flag changes to panic the machine. Submitted by: Stefan Petri