From owner-cvs-sys Sun Oct 29 01:46:22 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA09224 for cvs-sys-outgoing; Sun, 29 Oct 1995 01:46:22 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA09215 ; Sun, 29 Oct 1995 01:46:15 -0800 Date: Sun, 29 Oct 1995 01:46:15 -0800 From: David Greenman Message-Id: <199510290946.BAA09215@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci aic7870.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/10/29 01:46:14 Branch: sys/dev/aic7xxx RELENG_2_1_0 sys/i386/scsi RELENG_2_1_0 sys/pci RELENG_2_1_0 Modified: sys/dev/aic7xxx aic7xxx.seq sys/i386/scsi aic7xxx.c aic7xxx.h sys/pci aic7870.c Log: Brought in Justin's recent fixes: Work correctly with aha-2940U, fix timeout time (was 1 tick rather than 2 seconds). From owner-cvs-sys Sun Oct 29 01:51:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA09625 for cvs-sys-outgoing; Sun, 29 Oct 1995 01:51:57 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA09616 ; Sun, 29 Oct 1995 01:51:51 -0800 Date: Sun, 29 Oct 1995 01:51:51 -0800 From: Poul-Henning Kamp Message-Id: <199510290951.BAA09616@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys user.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/10/29 01:51:50 Modified: sys/sys user.h Log: Don't include things more than once :-) From owner-cvs-sys Sun Oct 29 02:36:55 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA12674 for cvs-sys-outgoing; Sun, 29 Oct 1995 02:36:55 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA12650 ; Sun, 29 Oct 1995 02:36:39 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id VAA02686; Sun, 29 Oct 1995 21:32:48 +1100 Date: Sun, 29 Oct 1995 21:32:48 +1100 From: Bruce Evans Message-Id: <199510291032.VAA02686@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/sys user.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk > Modified: sys/sys user.h > Log: > Don't include things more than once :-) Most includes of in the kernel are bogus too. It seems to be mostly included by device drivers to get at non-vm stuff that happens to be included by . E.g., lpt.c includes it only to get KERNBASE sio.c includes it only to get TRUE/FALSE Bruce From owner-cvs-sys Sun Oct 29 03:11:14 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA13968 for cvs-sys-outgoing; Sun, 29 Oct 1995 03:11:14 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA13948 ; Sun, 29 Oct 1995 03:10:59 -0800 Date: Sun, 29 Oct 1995 03:10:59 -0800 From: David Greenman Message-Id: <199510291110.DAA13948@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/conf Makefile.i386 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/10/29 03:10:58 Modified: sys/i386/conf Makefile.i386 Log: Use the new config(8) %SFILES token to auto-generate the SFILES list. Note: THIS REQUIRES THAT YOU REBUILD CONFIG(8)!!! From owner-cvs-sys Sun Oct 29 03:38:05 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA15532 for cvs-sys-outgoing; Sun, 29 Oct 1995 03:38:05 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA15522 ; Sun, 29 Oct 1995 03:37:58 -0800 Date: Sun, 29 Oct 1995 03:37:58 -0800 From: Bruce Evans Message-Id: <199510291137.DAA15522@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 mem.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/29 03:37:57 Modified: sys/i386/i386 mem.c Log: Fix mmioctl() for !DEVRANDOM case. mmioctl() is a function, not a pointer to a function. From owner-cvs-sys Sun Oct 29 07:33:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA27571 for cvs-sys-outgoing; Sun, 29 Oct 1995 07:33:57 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA27560 ; Sun, 29 Oct 1995 07:33:42 -0800 Date: Sun, 29 Oct 1995 07:33:42 -0800 From: Poul-Henning Kamp Message-Id: <199510291533.HAA27560@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci if_pdq.c pdq.c pdq_os.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/10/29 07:33:38 Modified: sys/i386/i386 db_disasm.c math_emu.h math_emulate.c sys/kern kern_acct.c subr_log.c tty_snoop.c uipc_mbuf.c vfs_bio.c vfs_cache.c vfs_cluster.c vfs_conf.c vnode_if.sh sys/miscfs/kernfs kernfs_vnops.c sys/msdosfs denode.h msdosfs_conv.c msdosfs_fat.c msdosfs_vnops.c sys/net if_disc.c if_ethersubr.c if_ppp.c if_tun.c route.c sys/netinet in.c in_pcb.c in_rmx.c ip_fw.c ip_mroute.c sys/nfs nfs.h nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c nfs_subs.c nfs_syscalls.c nfs_vnops.c nfsnode.h sys/pci if_pdq.c pdq.c pdq_os.h Log: Second batch of cleanup changes. This time mostly making a lot of things static and some unused variables here and there. From owner-cvs-sys Sun Oct 29 08:10:17 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA29292 for cvs-sys-outgoing; Sun, 29 Oct 1995 08:10:17 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA29281 ; Sun, 29 Oct 1995 08:10:09 -0800 Date: Sun, 29 Oct 1995 08:10:09 -0800 From: Bruce Evans Message-Id: <199510291610.IAA29281@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa wcd.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/29 08:10:08 Modified: sys/i386/isa wcd.c Log: Made wcdattach() non-static again. It is called from atapi.c. The modularization of the wd/wcd/atapi driver is ugly. Added prototypes. From owner-cvs-sys Sun Oct 29 09:34:33 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA07267 for cvs-sys-outgoing; Sun, 29 Oct 1995 09:34:33 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA07236 ; Sun, 29 Oct 1995 09:34:20 -0800 Date: Sun, 29 Oct 1995 09:34:20 -0800 From: Bruce Evans Message-Id: <199510291734.JAA07236@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa wd.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/29 09:34:19 Modified: sys/i386/isa wd.c Log: Made wcstart() non-static again. It is called from atapi.c. The modularization of the wd/wcd/atapi driver is ugly. Include cons.h from a less bogus place. Removed an ARGSUSED. Unused args are normal for devswitch functions and lint was informed about them for about 5 functions out of 1000. Lint should be informed about them, if at all, in some other way. From owner-cvs-sys Sun Oct 29 11:33:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA14061 for cvs-sys-outgoing; Sun, 29 Oct 1995 11:33:45 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id LAA14054 ; Sun, 29 Oct 1995 11:33:38 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA25580; Sun, 29 Oct 1995 14:33:37 -0500 Date: Sun, 29 Oct 1995 14:33:37 -0500 From: "Garrett A. Wollman" Message-Id: <9510291933.AA25580@halloran-eldar.lcs.mit.edu> To: Poul-Henning Kamp Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: cvs commit: src/sys/pci if_pdq.c pdq.c pdq_os.h In-Reply-To: <199510291533.HAA27560@freefall.freebsd.org> References: <199510291533.HAA27560@freefall.freebsd.org> Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk < said: > Second batch of cleanup changes. > This time mostly making a lot of things static and some unused > variables here and there. I assume you are actually checking that the variables really are unused and not just ``unused in my kernel configuration'', right? -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-cvs-sys Sun Oct 29 11:49:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA14679 for cvs-sys-outgoing; Sun, 29 Oct 1995 11:49:16 -0800 Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id LAA14668 ; Sun, 29 Oct 1995 11:49:07 -0800 Received: by Sysiphos id AA25515 (5.67b/IDA-1.5); Sun, 29 Oct 1995 20:48:47 +0100 Message-Id: <199510291948.AA25515@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Sun, 29 Oct 1995 20:48:46 +0100 In-Reply-To: David Greenman "Re: cvs commit: src/sys/pci if_de.c" (Oct 28, 4:25) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: davidg@Root.COM Subject: Re: cvs commit: src/sys/pci if_de.c Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, matt@lkg.dec.com Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk On Oct 28, 4:25, David Greenman wrote: } Subject: Re: cvs commit: src/sys/pci if_de.c } >There is a global variable for the purpose of determining } >the maximum burst length. It is currently initialized to } >4 longwords, but I guess having it default to 8 would be } >Ok. (We reduced it to 4 because of a problem reported by } >Matt Thomas with an old Saturn chip set revision). } } So what is the conclusion - is it safe to increase the default burst size } to 8 longwords, or does this indeed cause problems for the Saturn chipset? I've never seen a problem with 8 longwords, the limitation to 4 was put in on Matt's advise, since he made them responsible for problems he had observed ... The NCR uses the burst length as a mask. If so many low order bits are zero, it will start another burst. I.e. it won't cross cache boundaries. Wolfgang's old ASUS SP3 (with the old rev. of the Saturn) worked fine with 8 longwords, too, BTW. Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se From owner-cvs-sys Sun Oct 29 13:30:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA19116 for cvs-sys-outgoing; Sun, 29 Oct 1995 13:30:42 -0800 Received: (from olah@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA19090 ; Sun, 29 Oct 1995 13:30:28 -0800 Date: Sun, 29 Oct 1995 13:30:28 -0800 From: Andras Olah Message-Id: <199510292130.NAA19090@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet tcp_usrreq.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk olah 95/10/29 13:30:27 Modified: sys/netinet tcp_usrreq.c Log: Start the 2MSL timer when the socket is closed and the TCP connection is in the FIN_WAIT_2 state in order to prevent the conn. hanging there forever. Reviewed by: davidg, olah Submitted by: Arne Henrik Juul Obtained from: bugs@netbsd.org From owner-cvs-sys Mon Oct 30 01:49:19 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA15314 for cvs-sys-outgoing; Mon, 30 Oct 1995 01:49:19 -0800 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id BAA15297 ; Mon, 30 Oct 1995 01:49:03 -0800 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0t9qpx-0003wVC; Mon, 30 Oct 95 01:49 PST Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id KAA02657; Mon, 30 Oct 1995 10:49:10 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: "Garrett A. Wollman" cc: Poul-Henning Kamp , CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pci if_pdq.c pdq.c pdq_os.h In-reply-to: Your message of "Sun, 29 Oct 1995 14:33:37 EST." <9510291933.AA25580@halloran-eldar.lcs.mit.edu> Date: Mon, 30 Oct 1995 10:49:10 +0100 Message-ID: <2655.815046550@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk > < said: > > > Second batch of cleanup changes. > > This time mostly making a lot of things static and some unused > > variables here and there. > > I assume you are actually checking that the variables really are > unused and not just ``unused in my kernel configuration'', right? of course not! :-) I'm checking that GENERIC, LINT and my own config compiles. If something isn't included in one of those: toobad. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-sys Mon Oct 30 09:01:53 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA00981 for cvs-sys-outgoing; Mon, 30 Oct 1995 09:01:53 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA00966 ; Mon, 30 Oct 1995 09:01:43 -0800 Date: Mon, 30 Oct 1995 09:01:43 -0800 From: Bruce Evans Message-Id: <199510301701.JAA00966@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/include spl.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/30 09:01:41 Modified: sys/i386/include spl.h Log: Mask netisrs during softtty isrs. This may fix PR 798. SLIP and PPP line discipline interrupt handlers more or less expect to be called at spltty() == splimp(), although they have internal splimp()s that are bogus if this expectation is satisfied. They are called at splsoftty() from many tty drivers, so they were not protected from being reentered from their own netisrs. They certainly don't expect that but are apparently remarkably robust if it occurs. The problem in PR 798 seems to be caused by pppstart() being reentered and finishing off the output in progress by following the (stale) sc->sc_outm pointer. Then the original pppstart() finds garbage in m2 after MFREE(m, m2). slstart() doesn't have internal state like sc_outm so reentry of it probably only causes out of order and dropped packets. From owner-cvs-sys Mon Oct 30 09:13:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA01348 for cvs-sys-outgoing; Mon, 30 Oct 1995 09:13:40 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA01336 ; Mon, 30 Oct 1995 09:13:29 -0800 Date: Mon, 30 Oct 1995 09:13:29 -0800 From: Bruce Evans Message-Id: <199510301713.JAA01336@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 db_disasm.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/30 09:13:27 Modified: sys/i386/i386 db_disasm.c Log: Removed bogus statics in declarations that don't allocate storage. Added prototypes. From owner-cvs-sys Mon Oct 30 09:17:04 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA01523 for cvs-sys-outgoing; Mon, 30 Oct 1995 09:17:04 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA01512 ; Mon, 30 Oct 1995 09:16:58 -0800 Date: Mon, 30 Oct 1995 09:16:58 -0800 From: Bruce Evans Message-Id: <199510301716.JAA01512@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty_pty.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/30 09:16:57 Modified: sys/kern tty_pty.c Log: Removed an annoying redundant declaration that I added in the previous revision. From owner-cvs-sys Mon Oct 30 09:46:34 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA05281 for cvs-sys-outgoing; Mon, 30 Oct 1995 09:46:34 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA05262 ; Mon, 30 Oct 1995 09:46:19 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA00822; Tue, 31 Oct 1995 04:42:12 +1100 Date: Tue, 31 Oct 1995 04:42:12 +1100 From: Bruce Evans Message-Id: <199510301742.EAA00822@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/include spl.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >bde 95/10/30 09:01:41 > Modified: sys/i386/include spl.h > Log: > Mask netisrs during softtty isrs. This may fix PR 798. SLIP and PPP > line discipline interrupt handlers more or less expect to be called at > spltty() == splimp(), although they have internal splimp()s that are > bogus if this expectation is satisfied. They are called at splsoftty() > from many tty drivers, so they were not protected from being reentered > from their own netisrs. They certainly don't expect that but are > apparently remarkably robust if it occurs. The problem in PR 798 seems > to be caused by pppstart() being reentered and finishing off the output > in progress by following the (stale) sc->sc_outm pointer. Then the > original pppstart() finds garbage in m2 after MFREE(m, m2). slstart() > doesn't have internal state like sc_outm so reentry of it probably only > causes out of order and dropped packets. This change, and possibly related ones, should be in 2.1. Sigh. I hope there are no further spl bugs like this, but it would be safer to run softtty isrs at spltty() == splimp() and mask netisrs and softtty isrs during all h/w isrs. I don't want to do the latter forever (I want softtty isrs to have higher priority than slow bio isrs like wdintr...) because I think netisr latency is more important than h/w isr latency for local devices. Bruce From owner-cvs-sys Mon Oct 30 09:56:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA05714 for cvs-sys-outgoing; Mon, 30 Oct 1995 09:56:40 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA05700 ; Mon, 30 Oct 1995 09:56:34 -0800 Date: Mon, 30 Oct 1995 09:56:34 -0800 From: Bruce Evans Message-Id: <199510301756.JAA05700@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vnode_pager.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/30 09:56:33 Modified: sys/vm vnode_pager.c Log: Don't pass an extra trailing arg to some functions. Added the prototypes that found this bug. From owner-cvs-sys Mon Oct 30 12:20:55 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA13796 for cvs-sys-outgoing; Mon, 30 Oct 1995 12:20:55 -0800 Received: (from guido@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA13786 ; Mon, 30 Oct 1995 12:20:50 -0800 Date: Mon, 30 Oct 1995 12:20:50 -0800 From: Guido van Rooij Message-Id: <199510302020.MAA13786@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/conf Makefile.i386 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk guido 95/10/30 12:20:50 Modified: sys/i386/conf Makefile.i386 Log: When moving kernel to kernel.old, also change kern.bootfile.to kernel.old. This is a solution for only the first install on a running system, but it's better than it is now. From owner-cvs-sys Mon Oct 30 14:39:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA21485 for cvs-sys-outgoing; Mon, 30 Oct 1995 14:39:51 -0800 Received: (from markm@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA21463 ; Mon, 30 Oct 1995 14:39:37 -0800 Date: Mon, 30 Oct 1995 14:39:37 -0800 From: Mark Murray Message-Id: <199510302239.OAA21463@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 mem.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk markm 95/10/30 14:39:36 Modified: sys/i386/i386 mem.c Log: Security fix - do not allow anyone but root to choose the interrupts used in the the randomising process. (This is a change to the /dev/random ioctl())) From owner-cvs-sys Mon Oct 30 16:39:07 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA27960 for cvs-sys-outgoing; Mon, 30 Oct 1995 16:39:07 -0800 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA27940 ; Mon, 30 Oct 1995 16:38:59 -0800 Date: Mon, 30 Oct 1995 16:38:59 -0800 From: Julian Elischer Message-Id: <199510310038.QAA27940@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netipx ipx.h ipx_error.h ipx_if.h ipx_input.c ipx_ip.c ipx_pcb.h ipx_usrreq.c spx.h spx_debug.h spx_timer.h spx_usrreq.c spx_var.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk julian 95/10/30 16:38:58 Modified: sys/netipx ipx.h ipx_error.h ipx_if.h ipx_input.c ipx_ip.c ipx_pcb.h ipx_usrreq.c spx.h spx_debug.h spx_timer.h spx_usrreq.c spx_var.h Log: Submitted by: Mike Mitchell revise prototypes etc. cleanups (probably more coming) From owner-cvs-sys Mon Oct 30 16:46:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA28341 for cvs-sys-outgoing; Mon, 30 Oct 1995 16:46:51 -0800 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA28324 ; Mon, 30 Oct 1995 16:46:45 -0800 Date: Mon, 30 Oct 1995 16:46:45 -0800 From: Julian Elischer Message-Id: <199510310046.QAA28324@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netipx ipx_ip.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk julian 95/10/30 16:46:45 Added: sys/netipx ipx_ip.h Log: Submitted by: Mike mitchell add prototypes htat are related to ipx.ip tunnelling From owner-cvs-sys Mon Oct 30 23:43:12 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA26743 for cvs-sys-outgoing; Mon, 30 Oct 1995 23:43:12 -0800 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA26726 ; Mon, 30 Oct 1995 23:42:56 -0800 Date: Mon, 30 Oct 1995 23:42:56 -0800 From: Julian Elischer Message-Id: <199510310742.XAA26726@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci if_vx.c if_vxreg.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk julian 95/10/30 23:42:55 Modified: sys/conf files sys/i386/conf LINT Added: sys/pci if_vx.c if_vxreg.h Log: Reviewed by: not yet Submitted by: fgray@rice.edu this driver hasn't been checked but as a separate module, bringing it in won't break anything else and it't the best way of testing it...... julian From owner-cvs-sys Mon Oct 30 23:51:54 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA27059 for cvs-sys-outgoing; Mon, 30 Oct 1995 23:51:54 -0800 Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA27053 ; Mon, 30 Oct 1995 23:51:51 -0800 Received: from localhost (localhost [127.0.0.1]) by precipice.shockwave.com (8.6.12/8.6.12) with SMTP id XAA15475; Mon, 30 Oct 1995 23:51:11 -0800 Message-Id: <199510310751.XAA15475@precipice.shockwave.com> To: Julian Elischer cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pci if_vx.c if_vxreg.h In-reply-to: Your message of "Mon, 30 Oct 1995 23:42:56 PST." <199510310742.XAA26726@freefall.freebsd.org> Date: Mon, 30 Oct 1995 23:51:10 -0800 From: Paul Traina Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk Um, not to be a jerk... but I see no man page as part of this commit. I think one is necessary given that the behavior is significantly different than the if_ep driver. Paul From: Julian Elischer Subject: cvs commit: src/sys/pci if_vx.c if_vxreg.h julian 95/10/30 23:42:55 Modified: sys/conf files sys/i386/conf LINT Added: sys/pci if_vx.c if_vxreg.h Log: Reviewed by: not yet Submitted by: fgray@rice.edu this driver hasn't been checked but as a separate module, bringing it in wo >>n't break anything else and it't the best way of testing it...... julian From owner-cvs-sys Tue Oct 31 00:38:50 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA02825 for cvs-sys-outgoing; Tue, 31 Oct 1995 00:38:50 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA02816 ; Tue, 31 Oct 1995 00:38:47 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.12) id AAA15150; Tue, 31 Oct 1995 00:38:18 -0800 From: Julian Elischer Message-Id: <199510310838.AAA15150@ref.tfs.com> Subject: Re: cvs commit: src/sys/pci if_vx.c if_vxreg.h To: pst@shockwave.com (Paul Traina) Date: Tue, 31 Oct 1995 00:38:17 -0800 (PST) Cc: julian@freefall.freebsd.org, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, fgray@rice.edu In-Reply-To: <199510310751.XAA15475@precipice.shockwave.com> from "Paul Traina" at Oct 30, 95 11:51:10 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 755 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk I'll mention it to the author.. :) > > Um, not to be a jerk... but I see no man page as part of this commit. > I think one is necessary given that the behavior is significantly different > than the if_ep driver. > > Paul > > From: Julian Elischer > Subject: cvs commit: src/sys/pci if_vx.c if_vxreg.h > julian 95/10/30 23:42:55 > > Modified: sys/conf files > sys/i386/conf LINT > Added: sys/pci if_vx.c if_vxreg.h > Log: > Reviewed by: not yet > Submitted by: fgray@rice.edu > this driver hasn't been checked but as a separate module, bringing it in wo > >>n't > break anything else and it't the best way of testing it...... > > julian > From owner-cvs-sys Tue Oct 31 02:46:00 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA17941 for cvs-sys-outgoing; Tue, 31 Oct 1995 02:46:00 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA17925 ; Tue, 31 Oct 1995 02:45:52 -0800 Date: Tue, 31 Oct 1995 02:45:52 -0800 From: Peter Wemm Message-Id: <199510311045.CAA17925@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/ufs/mfs mfs_vnops.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/10/31 02:45:51 Modified: sys/ufs/mfs mfs_vnops.c Log: mfs_open could panic with false identification: panic("mfs_ioctl: .... From owner-cvs-sys Tue Oct 31 04:14:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA28912 for cvs-sys-outgoing; Tue, 31 Oct 1995 04:14:03 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA28844 ; Tue, 31 Oct 1995 04:13:52 -0800 Date: Tue, 31 Oct 1995 04:13:52 -0800 From: Poul-Henning Kamp Message-Id: <199510311213.EAA28844@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/isofs/cd9660 cd9660_node.h cd9660_vfsops.c cd9660_vnops.c iso.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/10/31 04:13:50 Modified: sys/isofs/cd9660 cd9660_node.h cd9660_vfsops.c cd9660_vnops.c iso.h Log: Make a lot of stuff static. From owner-cvs-sys Tue Oct 31 09:21:15 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA08204 for cvs-sys-outgoing; Tue, 31 Oct 1995 09:21:15 -0800 Received: (from joerg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA08188 ; Tue, 31 Oct 1995 09:21:02 -0800 Date: Tue, 31 Oct 1995 09:21:02 -0800 From: Joerg Wunsch Message-Id: <199510311721.JAA08188@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi scsi_sense.c scsiconf.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk joerg 95/10/31 09:21:01 Modified: sys/i386/conf GENERIC LINT Log: Include the "od" driver. Modified: sys/i386/i386 swapgeneric.c Log: Minor correction for the "od" driver. Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama) Modified: sys/scsi scsi_sense.c scsiconf.c Log: Include the "od" driver. (Oops, forgot to cvs add the driver file itself. Will do this after this commit.) Make scsiconf more flexible about recognizing ``foreign'' devices. This part needs to be rewritten some day to allow for matches whithou strict version number checks, but either Julian as Peter seem to be too busy right now, so i'm finally commiting the version that's working for me stable now for several months, as an interim workaround. Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama) From owner-cvs-sys Tue Oct 31 10:29:04 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA15025 for cvs-sys-outgoing; Tue, 31 Oct 1995 10:29:04 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA15012 ; Tue, 31 Oct 1995 10:28:57 -0800 Date: Tue, 31 Oct 1995 10:28:57 -0800 From: Poul-Henning Kamp Message-Id: <199510311828.KAA15012@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa pcicx.c pcic.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/10/31 10:28:56 Modified: sys/i386/conf LINT files.i386 Added: sys/i386/isa pcicx.c Removed: sys/i386/isa pcic.c Log: Get pccard stuff into LINT. rename i386/isa/pcic.c to .../pcicx.c this file will go away when the if_ze and if_zp dies. From owner-cvs-sys Tue Oct 31 10:42:02 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA16145 for cvs-sys-outgoing; Tue, 31 Oct 1995 10:42:02 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA16107 ; Tue, 31 Oct 1995 10:41:51 -0800 Date: Tue, 31 Oct 1995 10:41:51 -0800 From: Poul-Henning Kamp Message-Id: <199510311841.KAA16107@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/10/31 10:41:51 Modified: sys/i386/isa if_ed.c if_ix.c if_lnc.c if_lnc.h sys/i386/isa/ic i82586.h sys/i386/scsi aic7xxx.c Log: Cleanup, make things static. From owner-cvs-sys Tue Oct 31 11:22:37 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18580 for cvs-sys-outgoing; Tue, 31 Oct 1995 11:22:37 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18569 ; Tue, 31 Oct 1995 11:22:33 -0800 Date: Tue, 31 Oct 1995 11:22:33 -0800 From: Peter Wemm Message-Id: <199510311922.LAA18569@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net if_sl.c slcompress.c slcompress.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk hsu 95/10/31 11:22:33 Modified: sys/net if_sl.c slcompress.c slcompress.h Log: slcompress: split one of the functions into two parts, to allow use by both if_sl and if_ppp (from ppp-2.2), eliminating the nearly identical pppcompress.[ch] code. Add maximum VJ compression states argument to sl_compress_init(). if_sl: call sl_compress_init() with the extra argument. From owner-cvs-sys Tue Oct 31 11:27:56 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18800 for cvs-sys-outgoing; Tue, 31 Oct 1995 11:27:56 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18790 ; Tue, 31 Oct 1995 11:27:52 -0800 Date: Tue, 31 Oct 1995 11:27:52 -0800 From: Bruce Evans Message-Id: <199510311927.LAA18790@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/31 11:27:52 Modified: sys/kern tty.c Log: Fixed initialization of TS_CONNECTED bit in t_state. It wasn't set in open() when CLOCAL is set unless carrier is present. Fixed initialization of line discipline. It lived across opens. Lines that started with the wrong discipline probably didn't work at all, because TS_ISOPEN is only set by TTYDISC. From owner-cvs-sys Tue Oct 31 11:29:14 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18876 for cvs-sys-outgoing; Tue, 31 Oct 1995 11:29:14 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA18871 ; Tue, 31 Oct 1995 11:29:07 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id DAA25395; Wed, 1 Nov 1995 03:28:54 +0800 Date: Wed, 1 Nov 1995 03:28:53 +0800 (WST) From: Peter Wemm To: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/net if_sl.c slcompress.c slcompress.h In-Reply-To: <199510311922.LAA18569@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk On Tue, 31 Oct 1995, Peter Wemm wrote: > > hsu 95/10/31 11:22:33 ^^^ AARGH! Not again??? -Peter From owner-cvs-sys Tue Oct 31 11:38:47 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA19257 for cvs-sys-outgoing; Tue, 31 Oct 1995 11:38:47 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA19239 ; Tue, 31 Oct 1995 11:38:31 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id LAA02733; Tue, 31 Oct 1995 11:38:29 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id LAA09627; Tue, 31 Oct 1995 11:33:29 -0800 Message-Id: <199510311933.LAA09627@corbin.Root.COM> To: Peter Wemm cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/net if_sl.c slcompress.c slcompress.h In-reply-to: Your message of "Wed, 01 Nov 95 03:28:53 +0800." From: David Greenman Reply-To: davidg@Root.COM Date: Tue, 31 Oct 1995 11:33:28 -0800 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >On Tue, 31 Oct 1995, Peter Wemm wrote: >> >> hsu 95/10/31 11:22:33 > ^^^ AARGH! Not again??? > >-Peter It's really ODD that this seems to only happen to you... Why is CVS thinking that you are hsu? -DG From owner-cvs-sys Tue Oct 31 11:40:47 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA19379 for cvs-sys-outgoing; Tue, 31 Oct 1995 11:40:47 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA19373 ; Tue, 31 Oct 1995 11:40:41 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id LAA02742; Tue, 31 Oct 1995 11:40:33 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id LAA09641; Tue, 31 Oct 1995 11:35:33 -0800 Message-Id: <199510311935.LAA09641@corbin.Root.COM> To: Peter Wemm cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern tty_subr.c In-reply-to: Your message of "Tue, 31 Oct 95 11:00:06 PST." <199510311900.LAA17702@freefall.freebsd.org> From: David Greenman Reply-To: davidg@Root.COM Date: Tue, 31 Oct 1995 11:35:32 -0800 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >hsu 95/10/31 11:00:05 > > Modified: sys/kern tty_subr.c > Log: > Make a putc()/b_to_q() to a clist that hasn't had cblocks reserved > non-fatal. I've make it return an appropriate error to the caller instead > of panic()ing. > > Handling an error condition is inherently more friendly than exploding > the kernel.. :-) The new behavior is a little closer to traditional > clists, potentially making porting a little simpler. > > Suggested by: bde (many months ago, I've been using this for a while..) It's really strange that you should be committing this now - wcarchive just crashed because of this only a few minutes before your commit! (I'm sure you had nothing to do with it...right? :-)) -DG From owner-cvs-sys Tue Oct 31 11:48:49 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA19833 for cvs-sys-outgoing; Tue, 31 Oct 1995 11:48:49 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA19825 ; Tue, 31 Oct 1995 11:48:39 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id DAA25507; Wed, 1 Nov 1995 03:48:19 +0800 Date: Wed, 1 Nov 1995 03:48:19 +0800 (WST) From: Peter Wemm To: David Greenman cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern tty_subr.c In-Reply-To: <199510311935.LAA09641@corbin.Root.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk On Tue, 31 Oct 1995, David Greenman wrote: > >hsu 95/10/31 11:00:05 ( ^^^^ aargh!!! ) > > Modified: sys/kern tty_subr.c > > Log: > > Make a putc()/b_to_q() to a clist that hasn't had cblocks reserved > > non-fatal. I've make it return an appropriate error to the caller instead > > of panic()ing. > > > > Handling an error condition is inherently more friendly than exploding > > the kernel.. :-) The new behavior is a little closer to traditional > > clists, potentially making porting a little simpler. > > > > Suggested by: bde (many months ago, I've been using this for a while..) > > It's really strange that you should be committing this now - wcarchive just > crashed because of this only a few minutes before your commit! > (I'm sure you had nothing to do with it...right? :-)) Honest, I swear I never knew.. Oh wow.. Perhaps I should go out and buy a lottery ticket or something... :-) :-) (or keep clear of mirrors/black cats etc - I'm not sure if this is a good or bad omen... :-) I used to have this problem occasionally with the specialix driver, and in the end the interrupt routine had to do a lot of tests to attempt to intuit whether or not he cblocks were currently reserved or not. The thought occurred to me this morning that the driver that is in -current has only been seriously stress tested with this modification in the kernel. -Peter > -DG > From owner-cvs-sys Tue Oct 31 12:07:41 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA20694 for cvs-sys-outgoing; Tue, 31 Oct 1995 12:07:41 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA20684 ; Tue, 31 Oct 1995 12:07:33 -0800 Date: Tue, 31 Oct 1995 12:07:33 -0800 From: Peter Wemm Message-Id: <199510312007.MAA20684@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net - Imported sources Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/10/31 12:07:33 (peter/633/peter) Branch: sys/net 1.1.2 Log: Import the FreeBSD specific kernel parts of the ppp-2.2 package.. This is the unmodified files vendor branch import, the working stuff will follow shortly.. Status: Vendor Tag: MACKERAS Release Tags: ppp_2_2 C src/sys/net/if_ppp.h N src/sys/net/ppp_tty.c N src/sys/net/if_pppvar.h C src/sys/net/if_ppp.c N src/sys/net/ppp_comp.h N src/sys/net/ppp_defs.h N src/sys/net/bsd_comp.c 2 conflicts created by this import. Use the following command to help the merge: ccvs checkout -jMACKERAS:yesterday -jMACKERAS src/sys/net From owner-cvs-sys Tue Oct 31 12:24:20 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA21397 for cvs-sys-outgoing; Tue, 31 Oct 1995 12:24:20 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA21388 ; Tue, 31 Oct 1995 12:24:16 -0800 Date: Tue, 31 Oct 1995 12:24:16 -0800 From: Peter Wemm Message-Id: <199510312024.MAA21388@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net if_ppp.c if_ppp.h if_pppvar.h ppp_comp.h ppp_defs.h ppp_tty.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk hsu 95/10/31 12:24:15 (hsu/633/peter) Modified: sys/net if_ppp.c if_ppp.h if_pppvar.h ppp_comp.h ppp_defs.h ppp_tty.c Log: Merge/update ppp-2.2 kernel parts onto mainline. Note that the old if_ppp.c has been split in half into if_ppp.c and ppp_tty.c From owner-cvs-sys Tue Oct 31 12:24:36 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA21447 for cvs-sys-outgoing; Tue, 31 Oct 1995 12:24:36 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA21412 ; Tue, 31 Oct 1995 12:24:24 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id MAA02878; Tue, 31 Oct 1995 12:24:23 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id MAA09861; Tue, 31 Oct 1995 12:19:16 -0800 Message-Id: <199510312019.MAA09861@corbin.Root.COM> To: Peter Wemm cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern tty_subr.c In-reply-to: Your message of "Tue, 31 Oct 95 11:00:06 PST." <199510311900.LAA17702@freefall.freebsd.org> From: David Greenman Reply-To: davidg@Root.COM Date: Tue, 31 Oct 1995 12:19:16 -0800 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >hsu 95/10/31 11:00:05 > > Modified: sys/kern tty_subr.c > Log: > Make a putc()/b_to_q() to a clist that hasn't had cblocks reserved > non-fatal. I've make it return an appropriate error to the caller instead > of panic()ing. > > Handling an error condition is inherently more friendly than exploding > the kernel.. :-) The new behavior is a little closer to traditional > clists, potentially making porting a little simpler. > > Suggested by: bde (many months ago, I've been using this for a while..) I just looked at these changes and it appears that you preserve the data being putc()'d/b_to_q()'d rather than dropping it on the floor. It probably would be better to toss it out, otherwise you might cause an infinite loop trying to write it. I don't think the situation will change for the better, so not tossing out with b_to_q() seems to only result in the data staying in the uio struct [see the callers of b_to_q()] (for example) which would result in the process doing the writing to loop trying to do the output. I'm tired, however, and may have analyzed this incorrectly. -DG From owner-cvs-sys Tue Oct 31 12:33:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA21922 for cvs-sys-outgoing; Tue, 31 Oct 1995 12:33:27 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA21912 ; Tue, 31 Oct 1995 12:33:25 -0800 Date: Tue, 31 Oct 1995 12:33:25 -0800 From: Peter Wemm Message-Id: <199510312033.MAA21912@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/conf files Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/10/31 12:33:24 (peter/633/peter) Modified: sys/conf files Log: Update the file list for the new ppp files.. From owner-cvs-sys Tue Oct 31 12:41:19 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA22276 for cvs-sys-outgoing; Tue, 31 Oct 1995 12:41:19 -0800 Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA22270 ; Tue, 31 Oct 1995 12:41:15 -0800 Received: from localhost (localhost [127.0.0.1]) by precipice.shockwave.com (8.6.12/8.6.12) with SMTP id MAA29147; Tue, 31 Oct 1995 12:39:03 -0800 Message-Id: <199510312039.MAA29147@precipice.shockwave.com> To: Peter Wemm cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/net if_sl.c slcompress.c slcompress.h In-reply-to: Your message of "Tue, 31 Oct 1995 11:22:33 PST." <199510311922.LAA18569@freefall.freebsd.org> Date: Tue, 31 Oct 1995 12:39:02 -0800 From: Paul Traina Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk Urk! (a) hsu strikes again? (b) this means that slcompress.[ch] are required for ppp, you need to fix the configuration stuff From: Peter Wemm Subject: cvs commit: src/sys/net if_sl.c slcompress.c slcompress.h hsu 95/10/31 11:22:33 Modified: sys/net if_sl.c slcompress.c slcompress.h Log: slcompress: split one of the functions into two parts, to allow use by both if_sl and if_ppp (from ppp-2.2), eliminating the nearly identical pppcompress.[ch] code. Add maximum VJ compression states argument to sl_compress_init(). if_sl: call sl_compress_init() with the extra argument. From owner-cvs-sys Tue Oct 31 12:41:36 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA22332 for cvs-sys-outgoing; Tue, 31 Oct 1995 12:41:36 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA22323 ; Tue, 31 Oct 1995 12:41:34 -0800 Date: Tue, 31 Oct 1995 12:41:34 -0800 From: Peter Wemm Message-Id: <199510312041.MAA22323@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net bsd_comp.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/10/31 12:41:34 (peter/633/peter) Modified: sys/net bsd_comp.c Log: Drat.. Missed this one, which #includes ppp-comp.h, not ppp_comp.h From owner-cvs-sys Tue Oct 31 12:51:35 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA22732 for cvs-sys-outgoing; Tue, 31 Oct 1995 12:51:35 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA22722 ; Tue, 31 Oct 1995 12:51:26 -0800 Date: Tue, 31 Oct 1995 12:51:26 -0800 From: Peter Wemm Message-Id: <199510312051.MAA22722@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net bsd_comp.c pppcompress.c pppcompress.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/10/31 12:51:25 (peter/633/peter) Modified: sys/net bsd_comp.c Removed: sys/net pppcompress.c pppcompress.h Log: Remove the old pppcompress files (btw: these look net-2 derived) commit merge for bsd_comp.c - I missed this with a *ppp* wildcard. From owner-cvs-sys Tue Oct 31 12:54:36 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA23024 for cvs-sys-outgoing; Tue, 31 Oct 1995 12:54:36 -0800 Received: (from pst@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA23015 ; Tue, 31 Oct 1995 12:54:34 -0800 Date: Tue, 31 Oct 1995 12:54:34 -0800 From: Paul Traina Message-Id: <199510312054.MAA23015@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/msdosfs bootsect.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk pst 95/10/31 12:54:33 (pst/577/pst) Modified: sys/msdosfs bootsect.h Log: Pad out MSDOS boot block to 512 bytes (bugfix only) Submitted by: Andreas Haakh, ah@alman.RoBIN.de From owner-cvs-sys Tue Oct 31 13:04:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA23409 for cvs-sys-outgoing; Tue, 31 Oct 1995 13:04:11 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA23398 ; Tue, 31 Oct 1995 13:04:01 -0800 Date: Tue, 31 Oct 1995 13:04:01 -0800 From: Peter Wemm Message-Id: <199510312104.NAA23398@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa isa.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk tweten 95/10/31 13:03:59 (tweten/633/peter) Modified: sys/i386/isa isa.c Log: We no longer need the spltty() == splimp() hack if PPP is configured into the kernel. ppp_tty.c goes to some lengths to minimise the inter-layer calling (including a soft ISR). ppp_tty.c takes care of the soft masking that was needed still. (I've discovered that bugs in this area show up within an hour if the masking was not correct.. :-} This combination has proven stable on specialix serial ports, although there was some concern about the softtty parts of sio/cy and netisr colliding - but Bruce has fixed that now) From owner-cvs-sys Tue Oct 31 13:18:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA24283 for cvs-sys-outgoing; Tue, 31 Oct 1995 13:18:16 -0800 Received: (from joerg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA24264 ; Tue, 31 Oct 1995 13:18:03 -0800 Date: Tue, 31 Oct 1995 13:18:03 -0800 From: Joerg Wunsch Message-Id: <199510312118.NAA24264@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/nfs nfs.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk joerg 95/10/31 13:18:02 (joerg/548/joerg) Modified: sys/nfs nfs.h Log: Include a prerequisite header (so this is consistent again with the NFSv2 state). From owner-cvs-sys Tue Oct 31 13:57:34 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA27060 for cvs-sys-outgoing; Tue, 31 Oct 1995 13:57:34 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA27041 ; Tue, 31 Oct 1995 13:57:11 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id FAA28492; Wed, 1 Nov 1995 05:56:58 +0800 Date: Wed, 1 Nov 1995 05:56:58 +0800 (WST) From: Peter Wemm To: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa isa.c In-Reply-To: <199510312104.NAA23398@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk On Tue, 31 Oct 1995, Peter Wemm wrote: > tweten 95/10/31 13:03:59 (tweten/633/peter) OK.. Anybody got any idea why "getlogin" is failing on the tail end of a rsh? sub build_header { local($version) = @_; local($header); delete $ENV{'TZ'}; local($sec,$min,$hour,$mday,$mon,$year) = localtime(time); $version = ''; $login = getlogin || (getpwuid($<))[0] || die("Unknown user $<.\n"); ^^^^^^^^ $header = sprintf("%-8s %s %02d/%02d/%02d %02d:%02d:%02d (%s/%d/%s)", $login, $version, $year%100, $mon+1, $mday, $hour, $min, $sec, getlogin, $<, (getpwuid($<))[0]); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } Since freefall isn't sharing uid's, I'd like to remove the getlogin as a defensive measure. I still want to know why it's possible for me to run a non-setuid program on the end of a rsh, and that non-setuid program somehow gets a different name from it's getlogin() system call. There has got to be a kernel bug there somewhere.. (I've seen similar things happen with XFree86's xdm). -Peter From owner-cvs-sys Tue Oct 31 14:47:48 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA29338 for cvs-sys-outgoing; Tue, 31 Oct 1995 14:47:48 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA29329 ; Tue, 31 Oct 1995 14:47:37 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.12) id OAA20647; Tue, 31 Oct 1995 14:47:22 -0800 From: Julian Elischer Message-Id: <199510312247.OAA20647@ref.tfs.com> Subject: Re: cvs commit: src/sys/scsi od.c To: joerg@freefall.freebsd.org (Joerg Wunsch) Date: Tue, 31 Oct 1995 14:47:21 -0800 (PST) Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199510311726.JAA08622@freefall.freebsd.org> from "Joerg Wunsch" at Oct 31, 95 09:26:00 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 673 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk the cd driver handles non 512 byte sectors.. > > joerg 95/10/31 09:25:59 > > Added: sys/scsi od.c > Log: > The "od" driver. While the name is suggesting the use for > magneto-optical devices, it's scope can (and should) be widened to > cover all removable type 0 (direct) devices as well, since this class > of devices is sharing the same principles. Things like suport for > media eject etc. will be supported later. (Shunsuke is also working > on the problems arising out of the use of media with physical block > size != 512 bytes (which is not uncommon for MODs). > > Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama) > From owner-cvs-sys Tue Oct 31 15:07:48 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA00310 for cvs-sys-outgoing; Tue, 31 Oct 1995 15:07:48 -0800 Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id PAA00258 ; Tue, 31 Oct 1995 15:07:22 -0800 Received: by sovcom.kiae.su id AA26015 (5.65.kiae-1 ); Wed, 1 Nov 1995 02:02:42 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Wed, 1 Nov 95 02:02:42 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.12/8.6.12) id CAA01409; Wed, 1 Nov 1995 02:01:47 +0300 To: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, Peter Wemm References: <199510311900.LAA17702@freefall.freebsd.org> In-Reply-To: <199510311900.LAA17702@freefall.freebsd.org>; from Peter Wemm at Tue, 31 Oct 1995 11:00:06 -0800 Message-Id: Organization: Olahm Ha-Yetzirah Date: Wed, 1 Nov 1995 02:01:46 +0300 (MSK) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: cvs commit: src/sys/kern tty_subr.c Lines: 12 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 483 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk In message <199510311900.LAA17702@freefall.freebsd.org> Peter Wemm writes: >hsu 95/10/31 11:00:05 ^^^ Maybe you have the same UID as hsu? I saw already 3 such commits. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-cvs-sys Tue Oct 31 15:36:59 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA02244 for cvs-sys-outgoing; Tue, 31 Oct 1995 15:36:59 -0800 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA02234 ; Tue, 31 Oct 1995 15:36:48 -0800 Date: Tue, 31 Oct 1995 15:36:48 -0800 From: Julian Elischer Message-Id: <199510312336.PAA02234@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netipx ipx.c ipx.h ipx_cksum.c ipx_error.c ipx_error.h ipx_if.h ipx_input.c ipx_ip.c ipx_ip.h ipx_outputfl.c ipx_pcb.c ipx_pcb.h ipx_proto.c ipx_tun.c ipx_usrreq.c ipx_var.h spx.h spx_debug.c spx_debug.h spx_timer.h spx_usrreq.c spx_var.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk julian 95/10/31 15:36:47 Modified: sys/i386/conf LINT sys/netipx ipx.c ipx.h ipx_cksum.c ipx_error.c ipx_error.h ipx_if.h ipx_input.c ipx_ip.c ipx_ip.h ipx_outputfl.c ipx_pcb.c ipx_pcb.h ipx_proto.c ipx_tun.c ipx_usrreq.c ipx_var.h spx.h spx_debug.c spx_debug.h spx_timer.h spx_usrreq.c spx_var.h Log: Submitted by: Mike Mitchell (mitchell@ref.tfs.com) these patches bring the ipx code up to the point that it compiles cleanly with the -W arguments suggested by bruce. From owner-cvs-sys Tue Oct 31 16:58:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA07183 for cvs-sys-outgoing; Tue, 31 Oct 1995 16:58:51 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA07173 ; Tue, 31 Oct 1995 16:58:45 -0800 Date: Tue, 31 Oct 1995 16:58:45 -0800 From: Peter Wemm Message-Id: <199511010058.QAA07173@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net if_ppp.c ppp_tty.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/10/31 16:58:45 Modified: sys/net if_ppp.c ppp_tty.c Log: Re-Zap unused variables in their new location.. :-) From owner-cvs-sys Tue Oct 31 21:56:50 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA23214 for cvs-sys-outgoing; Tue, 31 Oct 1995 21:56:50 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA23199 ; Tue, 31 Oct 1995 21:56:40 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id QAA17404; Wed, 1 Nov 1995 16:55:00 +1100 Date: Wed, 1 Nov 1995 16:55:00 +1100 From: Bruce Evans Message-Id: <199511010555.QAA17404@godzilla.zeta.org.au> To: davidg@Root.COM, peter@jhome.dialix.com Subject: Re: cvs commit: src/sys/kern tty_subr.c Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >I used to have this problem occasionally with the specialix driver, and in >the end the interrupt routine had to do a lot of tests to attempt to >intuit whether or not he cblocks were currently reserved or not. The That's why I don't like silently ignoring the problem. Reporting it nastily should have been good for getting drivers fixed. si.c was relying on TS_CONNECTED but TS_CONNECTED isn't set quite right for it. TS_CONNECTED shouldn't be set in ttymodem() unless TS_ISOPEN is set. If you fix this, then change the recent fix to ttyopen() to set TS_CONNECTED if carrier is on as well as if CLOCAL is set. Bruce From owner-cvs-sys Tue Oct 31 22:41:49 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA26015 for cvs-sys-outgoing; Tue, 31 Oct 1995 22:41:49 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA26000 ; Tue, 31 Oct 1995 22:41:39 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id HAA04974 ; Wed, 1 Nov 1995 07:41:33 +0100 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id HAA17872 ; Wed, 1 Nov 1995 07:41:33 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.1/keltia-uucp-2.6) id XAA14359; Tue, 31 Oct 1995 23:56:49 +0100 (MET) From: Ollivier Robert Message-Id: <199510312256.XAA14359@keltia.freenix.fr> Subject: Re: cvs commit: src/sys/i386/isa isa.c To: peter@jhome.dialix.com (Peter Wemm) Date: Tue, 31 Oct 1995 23:56:48 +0100 (MET) Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: from "Peter Wemm" at Nov 1, 95 05:56:58 am X-Operating-System: FreeBSD 2.2-CURRENT ctm#1275 X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk It seems that Peter Wemm said: > OK.. Anybody got any idea why "getlogin" is failing on the tail end of a > rsh? Maybe because from a fast look at rshd's code, it doesn't seem to update the utmp file (it does not call login/logout) ? -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #5: Mon Oct 30 00:03:29 MET 1995 From owner-cvs-sys Tue Oct 31 23:31:34 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA28680 for cvs-sys-outgoing; Tue, 31 Oct 1995 23:31:34 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA28660 ; Tue, 31 Oct 1995 23:31:12 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id PAA01036; Wed, 1 Nov 1995 15:30:28 +0800 Date: Wed, 1 Nov 1995 15:30:28 +0800 (WST) From: Peter Wemm To: Ollivier Robert cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa isa.c In-Reply-To: <199510312256.XAA14359@keltia.freenix.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk On Tue, 31 Oct 1995, Ollivier Robert wrote: > It seems that Peter Wemm said: > > OK.. Anybody got any idea why "getlogin" is failing on the tail end of a > > rsh? > > Maybe because from a fast look at rshd's code, it doesn't seem to update the > utmp file (it does not call login/logout) ? On SYSV system, getlogin() fetches data from the utmp file. Maybe older BSD systems did it too. Now, it's done by the kernel in a "secure" fashion with setlogin()/getlogin(). setlogin() stores the full name in the session strutures in the kernel, and I think once it's set it's not supposed to be able to be changed except by root.. it doesn't depend on the security of your utmp file anymore. It's used by a lot of things for authentication/accounting purposes. What bothers me, is how a non-setuid process suddenly got a new getlogin name. Maybe it's a perl bug (but it does little more than a strdup(getlogin()) - it'd be hard for that code to have a bug..), or a libc bug with the static buffer getting munched. However, I think the kernel has something to do with it because of another unrelated problem... If you log in as root and start XFree86 3.1.2 xdm and check the result of the 'logname' command and verify that the xdm has detached from your tty and session, the moment somebody logs in on the xdm login, the original (supposedly detached) session suddenly has it's getlogin() result changed.. I do not know if it's the same bug but it suggests to me that something fishy is going on. BTW: rshd does call setlogin(), and syslogs an error return if it fails. I've checked freefall's /var/log/messages and the warning is not there. -Peter > -- > Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net > FreeBSD keltia.freenix.fr 2.2-CURRENT #5: Mon Oct 30 00:03:29 MET 1995 > From owner-cvs-sys Tue Oct 31 23:47:50 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA29285 for cvs-sys-outgoing; Tue, 31 Oct 1995 23:47:50 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA29269 ; Tue, 31 Oct 1995 23:47:35 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id PAA01090; Wed, 1 Nov 1995 15:46:21 +0800 Date: Wed, 1 Nov 1995 15:46:21 +0800 (WST) From: Peter Wemm To: Bruce Evans cc: davidg@Root.COM, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern tty_subr.c In-Reply-To: <199511010555.QAA17404@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk On Wed, 1 Nov 1995, Bruce Evans wrote: > >I used to have this problem occasionally with the specialix driver, and in > >the end the interrupt routine had to do a lot of tests to attempt to > >intuit whether or not he cblocks were currently reserved or not. The > > That's why I don't like silently ignoring the problem. Reporting it > nastily should have been good for getting drivers fixed. si.c was > relying on TS_CONNECTED but TS_CONNECTED isn't set quite right for it. > TS_CONNECTED shouldn't be set in ttymodem() unless TS_ISOPEN is set. > If you fix this, then change the recent fix to ttyopen() to set > TS_CONNECTED if carrier is on as well as if CLOCAL is set. > > Bruce My main thoughts on the issue is that it doesn't _need_ to panic.. :-) The system can quite safely recover from it. Yes, a nasty message is a good idea, but bombing the kernel seems a little drastic. Cheers, -Peter From owner-cvs-sys Wed Nov 1 00:51:49 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA03496 for cvs-sys-outgoing; Wed, 1 Nov 1995 00:51:49 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA03477 ; Wed, 1 Nov 1995 00:51:25 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA27722; Wed, 1 Nov 1995 09:51:13 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA03493; Wed, 1 Nov 1995 09:51:12 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id JAA16876; Wed, 1 Nov 1995 09:50:03 +0100 From: J Wunsch Message-Id: <199511010850.JAA16876@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/i386/isa isa.c To: peter@jhome.dialix.com (Peter Wemm) Date: Wed, 1 Nov 1995 09:50:03 +0100 (MET) Cc: roberto@keltia.freenix.fr, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Peter Wemm" at Nov 1, 95 03:30:28 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 655 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk As Peter Wemm wrote: > What bothers me, is how a non-setuid process suddenly got a new getlogin > name. Maybe it's a perl bug (but it does little more than a > strdup(getlogin()) - it'd be hard for that code to have a bug..), or a libc > bug with the static buffer getting munched. case O_GETLOGIN: #ifdef HAS_GETLOGIN if (!(tmps = getlogin())) goto say_undef; str_set(str,tmps); #else fatal("Unsupported function getlogin"); #endif break; -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-sys Wed Nov 1 07:03:14 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA17613 for cvs-sys-outgoing; Wed, 1 Nov 1995 07:03:14 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA17603 ; Wed, 1 Nov 1995 07:03:06 -0800 Date: Wed, 1 Nov 1995 07:03:06 -0800 From: Peter Wemm Message-Id: <199511011503.HAA17603@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/conf Makefile.i386 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/11/01 07:03:05 Modified: sys/i386/conf Makefile.i386 Log: Add a DRIVER_S= definition that config wants to use for assembler source. This was copied from NORMAL_S.. From owner-cvs-sys Wed Nov 1 08:00:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA19732 for cvs-sys-outgoing; Wed, 1 Nov 1995 08:00:11 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA19704 ; Wed, 1 Nov 1995 07:59:58 -0800 Date: Wed, 1 Nov 1995 07:59:58 -0800 From: Peter Wemm Message-Id: <199511011559.HAA19704@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty_subr.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/11/01 07:59:58 Modified: sys/kern tty_subr.c Log: Clean up the previous commit I did on this file. The Jury has not reached a verdict yet on this approach - a better fix may be thought of, but for now this works. From owner-cvs-sys Wed Nov 1 09:18:36 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA22561 for cvs-sys-outgoing; Wed, 1 Nov 1995 09:18:36 -0800 Received: (from wollman@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA22547 ; Wed, 1 Nov 1995 09:18:29 -0800 Date: Wed, 1 Nov 1995 09:18:29 -0800 From: "Garrett A. Wollman" Message-Id: <199511011718.JAA22547@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet in.h ip_input.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk wollman 95/11/01 09:18:28 Modified: sys/netinet in.h ip_input.c Log: Instrument the IP input queue with two new read-only MIB entries: net.inet.ip.intr-queue-maxlen (=== ipintrq.ifq_maxlen) and net.inet.ip.intr-queue-drops (=== ipintrq.ifq_drops) There should probably be a standard way of getting the same information going the other way. From owner-cvs-sys Wed Nov 1 22:42:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA18012 for cvs-sys-outgoing; Wed, 1 Nov 1995 22:42:57 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA18001 ; Wed, 1 Nov 1995 22:42:49 -0800 Date: Wed, 1 Nov 1995 22:42:49 -0800 From: David Greenman Message-Id: <199511020642.WAA18001@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm swap_pager.c vm_fault.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk root 95/11/01 22:42:48 Modified: sys/vm swap_pager.c vm_fault.c Log: Move page fixups (pmap_clear_modify, etc) that happen after paging input completes out of vm_fault and into the pagers. This get rid of some redundancy and improves the architecture. Reviewed by: John Dyson From owner-cvs-sys Thu Nov 2 00:37:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA21721 for cvs-sys-outgoing; Thu, 2 Nov 1995 00:37:27 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA21712 ; Thu, 2 Nov 1995 00:37:25 -0800 Date: Thu, 2 Nov 1995 00:37:25 -0800 From: Peter Wemm Message-Id: <199511020837.AAA21712@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty_subr.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk hsu 95/11/02 00:37:24 Modified: sys/kern tty_subr.c Log: Make putc and b_to_q deal with clists with no reserved blocks in a more civilised manner than panicing. This only happens as a result of another state botch somewhere else, eg: from a tty driver calling putc or b_to_q on a closed device. Apparently, it's also been implicated in a panic with a status (^T) event on ptys. This change should pretty well be in it's final form now. From owner-cvs-sys Thu Nov 2 01:53:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA24286 for cvs-sys-outgoing; Thu, 2 Nov 1995 01:53:03 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA24252 ; Thu, 2 Nov 1995 01:52:45 -0800 Date: Thu, 2 Nov 1995 01:52:45 -0800 From: Peter Wemm Message-Id: <199511020952.BAA24252@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk pete 95/11/02 01:52:43 Modified: sys/i386/i386 machdep.c Log: When the sync-on-shutdown fails to clear all buffers, this bit of code can print them out. I have seen that MFS can leave BUSY buffers, preventing a clean reboot... From owner-cvs-sys Thu Nov 2 23:54:09 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA27021 for cvs-sys-outgoing; Thu, 2 Nov 1995 23:54:09 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA27010 ; Thu, 2 Nov 1995 23:54:01 -0800 Date: Thu, 2 Nov 1995 23:54:01 -0800 From: David Greenman Message-Id: <199511030754.XAA27010@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet tcp_usrreq.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/02 23:54:00 Branch: sys/netinet RELENG_2_1_0 Modified: sys/netinet tcp_usrreq.c Log: Brought in fix from rev 1.17: start 2MSL timer for FIN_WAIT_2. From owner-cvs-sys Thu Nov 2 23:59:23 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA27234 for cvs-sys-outgoing; Thu, 2 Nov 1995 23:59:23 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA27224 ; Thu, 2 Nov 1995 23:59:20 -0800 Date: Thu, 2 Nov 1995 23:59:20 -0800 From: David Greenman Message-Id: <199511030759.XAA27224@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net route.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/02 23:59:20 Branch: sys/net RELENG_2_1_0 Modified: sys/net route.c Log: Brought in fix from rev 1.26: autodelete a cloned route if it gets in the way of adding a new route. Reviewed by: wollman From owner-cvs-sys Fri Nov 3 00:01:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27387 for cvs-sys-outgoing; Fri, 3 Nov 1995 00:01:11 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27378 ; Fri, 3 Nov 1995 00:01:07 -0800 Date: Fri, 3 Nov 1995 00:01:07 -0800 From: David Greenman Message-Id: <199511030801.AAA27378@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/03 00:01:07 Branch: sys/kern RELENG_2_1_0 Modified: sys/kern tty.c Log: Brought in fix from rev 1.71: initialize TS_CONNECTED and line discipline properly. Reviewed by: bde From owner-cvs-sys Fri Nov 3 00:05:14 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27605 for cvs-sys-outgoing; Fri, 3 Nov 1995 00:05:14 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27596 ; Fri, 3 Nov 1995 00:05:08 -0800 Date: Fri, 3 Nov 1995 00:05:08 -0800 From: David Greenman Message-Id: <199511030805.AAA27596@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern tty_subr.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/03 00:05:07 Branch: sys/kern RELENG_2_1_0 Modified: sys/kern tty_subr.c Log: Brought in revs 1.15-1.17: lessen severity of no pre-allocated cblocks for a tty to a printf rather than a panic. Reviewed by: bde, peter From owner-cvs-sys Fri Nov 3 00:07:26 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27765 for cvs-sys-outgoing; Fri, 3 Nov 1995 00:07:26 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27754 ; Fri, 3 Nov 1995 00:07:22 -0800 Date: Fri, 3 Nov 1995 00:07:22 -0800 From: David Greenman Message-Id: <199511030807.AAA27754@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa pcibus.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/03 00:07:21 Branch: sys/i386/isa RELENG_2_1_0 Modified: sys/i386/isa pcibus.c Log: Add a special case check to allow Acer PCI chipsets to work with FreeBSD. Submitted by: se From owner-cvs-sys Fri Nov 3 00:42:32 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA28744 for cvs-sys-outgoing; Fri, 3 Nov 1995 00:42:32 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA28730 ; Fri, 3 Nov 1995 00:42:23 -0800 Date: Fri, 3 Nov 1995 00:42:23 -0800 From: Peter Wemm Message-Id: <199511030842.AAA28730@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net if_ppp.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/11/03 00:42:23 Modified: sys/net if_ppp.c Log: Fix the incomplete merge for the IPX code - the internals are different. Note, the IPX in pppd support is not really there. I suspect that it may work if you ifconfig it up manually. From owner-cvs-sys Fri Nov 3 10:33:52 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA22112 for cvs-sys-outgoing; Fri, 3 Nov 1995 10:33:52 -0800 Received: (from wollman@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA22102 ; Fri, 3 Nov 1995 10:33:48 -0800 Date: Fri, 3 Nov 1995 10:33:48 -0800 From: "Garrett A. Wollman" Message-Id: <199511031833.KAA22102@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk wollman 95/11/03 10:33:47 Modified: sys/sys sysctl.h Log: Make somaxconn (maximum backlog in a listen(2) request) and sb_max (maximum size of a socket buffer) tunable. Modified: sys/kern uipc_socket.c uipc_socket2.c Log: Make somaxconn (maximum backlog in a listen(2) request) and sb_max (maximum size of a socket buffer) tunable. Permit callers of listen(2) to specify a negative backlog, which is translated into somaxconn. Previously, a negative backlog was silently translated into 0. From owner-cvs-sys Fri Nov 3 14:08:25 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA07627 for cvs-sys-outgoing; Fri, 3 Nov 1995 14:08:25 -0800 Received: (from olah@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA07588 ; Fri, 3 Nov 1995 14:08:15 -0800 Date: Fri, 3 Nov 1995 14:08:15 -0800 From: Andras Olah Message-Id: <199511032208.OAA07588@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet tcp_output.c tcp_usrreq.c tcp_var.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk olah 95/11/03 14:08:14 Modified: sys/netinet tcp_output.c tcp_usrreq.c tcp_var.h Log: Fix a logical error in T/TCP: when we actively open a connection, we have to decide whether to send a CC or CCnew option in our SYN segment depending on the contents of our TAO cache. This decision has to be made once when the connection starts. The earlier code delayed this decision until the segment was assembled in tcp_output() and retransmitted SYN segments could have different CC options. Reviewed by: Richard Stevens, davidg, wollman From owner-cvs-sys Fri Nov 3 14:19:59 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA09099 for cvs-sys-outgoing; Fri, 3 Nov 1995 14:19:59 -0800 Received: (from olah@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA09081 ; Fri, 3 Nov 1995 14:19:52 -0800 Date: Fri, 3 Nov 1995 14:19:52 -0800 From: Andras Olah Message-Id: <199511032219.OAA09081@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet tcp_timer.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk olah 95/11/03 14:19:52 Modified: sys/netinet tcp_timer.c Log: Setting the TF_ACKNOW flag was redundant in the REXMT timeout because tcp_output() checks for the condition snd_nxt == snd_una. Reviewed by: davidg, wollman, olah Suggested by: Richard Stevens From owner-cvs-sys Fri Nov 3 14:32:07 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA11105 for cvs-sys-outgoing; Fri, 3 Nov 1995 14:32:07 -0800 Received: (from olah@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA11080 ; Fri, 3 Nov 1995 14:31:57 -0800 Date: Fri, 3 Nov 1995 14:31:57 -0800 From: Andras Olah Message-Id: <199511032231.OAA11080@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet tcp_input.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk olah 95/11/03 14:31:56 Modified: sys/netinet tcp_input.c Log: Cosmetic changes to processing of segments in the SYN_SENT state: - remove a redundant condition; - complete all validity checks on segment before calling soisconnected(so). Reviewed by: Richard Stevens, davidg, wollman From owner-cvs-sys Fri Nov 3 23:57:23 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA11943 for cvs-sys-outgoing; Fri, 3 Nov 1995 23:57:23 -0800 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA11917 ; Fri, 3 Nov 1995 23:57:15 -0800 Date: Fri, 3 Nov 1995 23:57:15 -0800 From: Julian Elischer Message-Id: <199511040757.XAA11917@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci if_vx.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk julian 95/11/03 23:57:15 Modified: sys/pci if_vx.c Log: Submitted by: bde IFF_NOTRAILERS doesn't exist any more in current (driver came from 2.0.5) now compiles again. From owner-cvs-sys Sat Nov 4 01:04:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA19730 for cvs-sys-outgoing; Sat, 4 Nov 1995 01:04:16 -0800 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA19663 ; Sat, 4 Nov 1995 01:03:53 -0800 Date: Sat, 4 Nov 1995 01:03:53 -0800 From: Julian Elischer Message-Id: <199511040903.BAA19663@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netipx ipx.c ipx.h ipx_cksum.c ipx_error.c ipx_error.h ipx_if.h ipx_input.c ipx_ip.c ipx_ip.h ipx_outputfl.c ipx_pcb.c ipx_pcb.h ipx_proto.c ipx_tun.c ipx_usrreq.c ipx_var.h spx.h spx_debug.c spx_debug.h spx_timer.h spx_usrreq.c spx_var.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk julian 95/11/04 01:03:51 Modified: sys/netipx ipx.c ipx.h ipx_cksum.c ipx_error.c ipx_error.h ipx_if.h ipx_input.c ipx_ip.c ipx_ip.h ipx_outputfl.c ipx_pcb.c ipx_pcb.h ipx_proto.c ipx_tun.c ipx_usrreq.c ipx_var.h spx.h spx_debug.c spx_debug.h spx_timer.h spx_usrreq.c spx_var.h Log: Suggested by: bde clear up some confusion about Id: lines on behalf of the author From owner-cvs-sys Sat Nov 4 02:35:38 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA02439 for cvs-sys-outgoing; Sat, 4 Nov 1995 02:35:38 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA02405 ; Sat, 4 Nov 1995 02:35:29 -0800 Date: Sat, 4 Nov 1995 02:35:29 -0800 From: Bruce Evans Message-Id: <199511041035.CAA02405@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern vfs_syscalls.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 02:35:28 Modified: sys/sys filedesc.h sys/kern vfs_syscalls.c Log: Prototype getvnode() in the right place (where ibcs2_stat.c can see it). From owner-cvs-sys Sat Nov 4 02:51:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA04721 for cvs-sys-outgoing; Sat, 4 Nov 1995 02:51:08 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA04699 ; Sat, 4 Nov 1995 02:50:58 -0800 Date: Sat, 4 Nov 1995 02:50:58 -0800 From: David Greenman Message-Id: <199511041050.CAA04699@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/04 02:50:58 Modified: sys/kern kern_prot.c Log: Return EINVAL if the number of groups is less than 1 in setgroups(). Obtained from: 4.4BSD-Lite2 From owner-cvs-sys Sat Nov 4 02:55:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA05021 for cvs-sys-outgoing; Sat, 4 Nov 1995 02:55:03 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA04997 ; Sat, 4 Nov 1995 02:54:56 -0800 Date: Sat, 4 Nov 1995 02:54:56 -0800 From: Bruce Evans Message-Id: <199511041054.CAA04997@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa/sound sb16_midi.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 02:54:55 Modified: sys/i386/isa/sound sb16_midi.c Log: Moved a nested extern declaration to a less bogus place to hide a warning. From owner-cvs-sys Sat Nov 4 03:12:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA06707 for cvs-sys-outgoing; Sat, 4 Nov 1995 03:12:51 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA06687 ; Sat, 4 Nov 1995 03:12:44 -0800 Date: Sat, 4 Nov 1995 03:12:44 -0800 From: Bruce Evans Message-Id: <199511041112.DAA06687@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi ssc.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 03:12:44 Modified: sys/scsi ssc.c Log: Fixed the type of sscstrategy() (return void). Removed sscdump() (it was never used). Removed sscpsize() (it was never used, and returned a bogus value (ENXIO = 6 means a size of 6)). From owner-cvs-sys Sat Nov 4 05:25:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA18679 for cvs-sys-outgoing; Sat, 4 Nov 1995 05:25:45 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA18668 ; Sat, 4 Nov 1995 05:25:35 -0800 Date: Sat, 4 Nov 1995 05:25:35 -0800 From: Bruce Evans Message-Id: <199511041325.FAA18668@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys conf.h snoop.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 05:25:34 Modified: sys/dev/vn vn.c sys/gnu/i386/isa dgb.c sys/i386/i386 conf.c sys/i386/isa cy.c fd.c mcd.c pcaudio.c rc.c scd.c si.c sio.c wdreg.h sys/i386/isa/matcd matcd.c sys/i386/isa/sound soundcard.c sys/kern tty_pty.c sys/net bpf.h if_tun.c sys/pccard pccard.c sys/scsi scsi_driver.h st.c sys/sys conf.h snoop.h Added: sys/i386/include conf.h Log: Moved prototypes for devswitch functions from conf.c and driver sources to . conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized. From owner-cvs-sys Sat Nov 4 05:52:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA19814 for cvs-sys-outgoing; Sat, 4 Nov 1995 05:52:42 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA19789 ; Sat, 4 Nov 1995 05:52:34 -0800 Date: Sat, 4 Nov 1995 05:52:34 -0800 From: Bruce Evans Message-Id: <199511041352.FAA19789@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 mem.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 05:52:32 Modified: sys/i386/i386 mem.c Log: Finished(?) moving prototypes for devswitch functions to . One was hidden in an ifdef. Continued cleaning up not so new init stuff. Removed some more /*ARGSUSED*/ for devswitch functions. From owner-cvs-sys Sat Nov 4 06:00:18 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA20336 for cvs-sys-outgoing; Sat, 4 Nov 1995 06:00:18 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA20303 ; Sat, 4 Nov 1995 06:00:05 -0800 Date: Sat, 4 Nov 1995 06:00:05 -0800 From: Bruce Evans Message-Id: <199511041400.GAA20303@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa/pcvt pcvt_hdr.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 06:00:04 Modified: sys/i386/isa/pcvt pcvt_hdr.h Log: Always declare vga_move_charset(). It doesn't depend on option XSERVER. From owner-cvs-sys Sat Nov 4 06:43:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA23295 for cvs-sys-outgoing; Sat, 4 Nov 1995 06:43:39 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA23280 ; Sat, 4 Nov 1995 06:43:32 -0800 Date: Sat, 4 Nov 1995 06:43:32 -0800 From: Bruce Evans Message-Id: <199511041443.GAA23280@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c aic7xxx.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 06:43:31 Modified: sys/pci aic7870.c sys/i386/scsi aic7xxx.c aic7xxx.h Log: Fixed the type of ahcintr(). The type of an ISA interrupt handler is incompatible with the type of a PCI interrupt handler. A new entry point `ahc_pci_intr()' is used for PCI. ISA and PCI interrupts are penalized equally (:-) by calling a common handler `ahc_intr()'. This should be reorganized. Some strings now name the wrong function... From owner-cvs-sys Sat Nov 4 07:06:15 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA24670 for cvs-sys-outgoing; Sat, 4 Nov 1995 07:06:15 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA24646 ; Sat, 4 Nov 1995 07:05:56 -0800 Date: Sat, 4 Nov 1995 07:05:56 -0800 From: Bruce Evans Message-Id: <199511041505.HAA24646@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci if_pdq.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 07:05:54 Modified: sys/pci if_pdq.c Log: Fixed the type of feaintr(). The type of an EISA interrupt handler is incompatible with the type of a PCI interrupt handler. Fixed the type of pdc_pci_ifintr(). The type of a PCI interrupt handler is too generic to pass arbitrary struct pointers. From owner-cvs-sys Sat Nov 4 08:01:19 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA00926 for cvs-sys-outgoing; Sat, 4 Nov 1995 08:01:19 -0800 Received: (from markm@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA00883 ; Sat, 4 Nov 1995 08:00:59 -0800 Date: Sat, 4 Nov 1995 08:00:59 -0800 From: Mark Murray Message-Id: <199511041600.IAA00883@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa random.c syscons.c vector.s Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk markm 95/11/04 08:00:58 Modified: sys/i386/i386 machdep.c mem.c sys/i386/isa random.c syscons.c vector.s Log: Remove the #ifdev DEVRANDOM's, as promised. /dev/random is now a part of the kernel! you will need to make the device in /dev: sh MAKEDEV random and take a look at some test code in src/tools/test/random. From owner-cvs-sys Sat Nov 4 09:08:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA07914 for cvs-sys-outgoing; Sat, 4 Nov 1995 09:08:40 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAB07878 ; Sat, 4 Nov 1995 09:08:20 -0800 Date: Sat, 4 Nov 1995 09:08:20 -0800 From: Bruce Evans Message-Id: <199511041708.JAB07878@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa/sound sound_calls.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/04 09:08:16 Modified: share/mk bsd.kmod.mk sys/i386/include conf.h npx.h sys/i386/isa aha1542.c aha1742.c aic6360.c bt742a.c cy.c fd.c if_ed.c if_eg.c if_el.c if_ep.c if_fe.c if_ix.c if_le.c lpt.c mse.c ncr5380.c rc.c seagate.c si.c sio.c syscons.h ultra14f.c wd7000.c wdreg.h sys/i386/isa/pcvt pcvt_hdr.h sys/i386/isa/sound sound_calls.h Log: Added `#include "ioconf.h"' to and cleaned up the misplaced extern declarations (mostly prototypes of interrupt handlers) that this exposed. The prototypes should be moved back to the driver sources when the functions are staticalized. Added idempotency guards to . "ioconf.h" can't be included when building LKMs so define a wart in bsd.kmod.mk to help guard against including it. From owner-cvs-sys Sat Nov 4 10:10:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA13393 for cvs-sys-outgoing; Sat, 4 Nov 1995 10:10:39 -0800 Received: from aslan.cdrom.com (aslan.cdrom.com [192.216.223.142]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA13386 ; Sat, 4 Nov 1995 10:10:32 -0800 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by aslan.cdrom.com (8.6.12/8.6.9) with SMTP id MAA27910; Sat, 4 Nov 1995 12:35:53 -0800 Message-Id: <199511042035.MAA27910@aslan.cdrom.com> X-Authentication-Warning: aslan.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: Bruce Evans cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/scsi aic7xxx.c aic7xxx.h In-reply-to: Your message of "Sat, 04 Nov 1995 06:43:32 PST." <199511041443.GAA23280@freefall.freebsd.org> Date: Sat, 04 Nov 1995 12:35:53 -0800 From: "Justin T. Gibbs" Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >bde 95/11/04 06:43:31 > > Modified: sys/pci aic7870.c > sys/i386/scsi aic7xxx.c aic7xxx.h > Log: > Fixed the type of ahcintr(). The type of an ISA interrupt handler is > incompatible with the type of a PCI interrupt handler. A new entry > point `ahc_pci_intr()' is used for PCI. ISA and PCI interrupts are > penalized equally (:-) by calling a common handler `ahc_intr()'. This > should be reorganized. Some strings now name the wrong function... Can you back this out please? I have the new EISA code almost ready to go (later today hopefully) and it will remove this problem. Well, actually, the eisa code expects interrupt handlers to return NULL, but I expect the PCI code to lose its support for shared edge triggered interrupts very soon. -- Justin T. Gibbs =========================================== Software Developer - Walnut Creek CDROM FreeBSD: Turning PCs into workstations =========================================== From owner-cvs-sys Sat Nov 4 10:17:31 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA13993 for cvs-sys-outgoing; Sat, 4 Nov 1995 10:17:31 -0800 Received: from aslan.cdrom.com (aslan.cdrom.com [192.216.223.142]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA13977 ; Sat, 4 Nov 1995 10:17:27 -0800 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by aslan.cdrom.com (8.6.12/8.6.9) with SMTP id MAA27945; Sat, 4 Nov 1995 12:43:02 -0800 Message-Id: <199511042043.MAA27945@aslan.cdrom.com> X-Authentication-Warning: aslan.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: Bruce Evans cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pci if_pdq.c In-reply-to: Your message of "Sat, 04 Nov 1995 07:05:56 PST." <199511041505.HAA24646@freefall.freebsd.org> Date: Sat, 04 Nov 1995 12:43:02 -0800 From: "Justin T. Gibbs" Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >bde 95/11/04 07:05:54 > > Modified: sys/pci if_pdq.c > Log: > Fixed the type of feaintr(). The type of an EISA interrupt handler is > incompatible with the type of a PCI interrupt handler. > > Fixed the type of pdc_pci_ifintr(). The type of a PCI interrupt handler > is too generic to pass arbitrary struct pointers. I thought that the point of the PCI interrupt handler type was to allow you to pass arbitrary struct pointers. Hmm. Now I'm confused. I want to pass (struct ach_data *)'s to the aic7xxx interrupt routine. What should be the type of an EISA interrupt handler to deal with this. Right now I'm using "void (*func)(void *)". -- Justin T. Gibbs =========================================== Software Developer - Walnut Creek CDROM FreeBSD: Turning PCs into workstations =========================================== From owner-cvs-sys Sat Nov 4 10:37:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA15700 for cvs-sys-outgoing; Sat, 4 Nov 1995 10:37:27 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA15687 ; Sat, 4 Nov 1995 10:37:17 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id FAA02381; Sun, 5 Nov 1995 05:32:27 +1100 Date: Sun, 5 Nov 1995 05:32:27 +1100 From: Bruce Evans Message-Id: <199511041832.FAA02381@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, gibbs@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/scsi aic7xxx.c aic7xxx.h Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >> Modified: sys/pci aic7870.c >> sys/i386/scsi aic7xxx.c aic7xxx.h >> Log: >> Fixed the type of ahcintr(). The type of an ISA interrupt handler is >> incompatible with the type of a PCI interrupt handler. A new entry >Can you back this out please? I have the new EISA code almost ready to >go (later today hopefully) and it will remove this problem. Well, No, the old version no longer compiles. >actually, the eisa code expects interrupt handlers to return NULL, but >I expect the PCI code to lose its support for shared edge triggered >interrupts very soon. You may have more problems with all the other [E]ISA interrupt handlers that return void and are now prototyped in a central machine-generated file so that it is harder to vary them. Bruce From owner-cvs-sys Sat Nov 4 10:55:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA17104 for cvs-sys-outgoing; Sat, 4 Nov 1995 10:55:11 -0800 Received: from aslan.cdrom.com (aslan.cdrom.com [192.216.223.142]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA17093 ; Sat, 4 Nov 1995 10:55:04 -0800 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by aslan.cdrom.com (8.6.12/8.6.9) with SMTP id NAA28013; Sat, 4 Nov 1995 13:21:53 -0800 Message-Id: <199511042121.NAA28013@aslan.cdrom.com> X-Authentication-Warning: aslan.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: Bruce Evans cc: bde@freefall.freebsd.org, gibbs@freefall.freebsd.org, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/scsi aic7xxx.c aic7xxx.h In-reply-to: Your message of "Sun, 05 Nov 1995 05:32:27 +1100." <199511041832.FAA02381@godzilla.zeta.org.au> Date: Sat, 04 Nov 1995 13:21:53 -0800 From: "Justin T. Gibbs" Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >>> Modified: sys/pci aic7870.c >>> sys/i386/scsi aic7xxx.c aic7xxx.h >>> Log: >>> Fixed the type of ahcintr(). The type of an ISA interrupt handler is >>> incompatible with the type of a PCI interrupt handler. A new entry > >>Can you back this out please? I have the new EISA code almost ready to >>go (later today hopefully) and it will remove this problem. Well, > >No, the old version no longer compiles. My version of the driver is very different than the one you modified, so this just increases the number of conflicts. :( >>actually, the eisa code expects interrupt handlers to return NULL, but >>I expect the PCI code to lose its support for shared edge triggered >>interrupts very soon. > >You may have more problems with all the other [E]ISA interrupt handlers >that return void and are now prototyped in a central machine-generated >file so that it is harder to vary them. > >Bruce Opps, I meant they return void. The only driver that should be using the new EISA stuff is the aic7xxx driver, so I don't anticipate problems with other EISA drivers until my new eisaconf stuff is reviewed, and I plunge into converting all of the drivers doing their own EISA probes to using it. I guess I'll have to fire off a SUP and see how you are auto-generating the prototypes. Why the move to a central file? -- Justin T. Gibbs =========================================== Software Developer - Walnut Creek CDROM FreeBSD: Turning PCs into workstations =========================================== From owner-cvs-sys Sat Nov 4 11:12:23 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18875 for cvs-sys-outgoing; Sat, 4 Nov 1995 11:12:23 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA18847 ; Sat, 4 Nov 1995 11:12:12 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA03120; Sun, 5 Nov 1995 06:09:48 +1100 Date: Sun, 5 Nov 1995 06:09:48 +1100 From: Bruce Evans Message-Id: <199511041909.GAA03120@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, gibbs@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pci if_pdq.c Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >> Fixed the type of pdc_pci_ifintr(). The type of a PCI interrupt handler >> is too generic to pass arbitrary struct pointers. >I thought that the point of the PCI interrupt handler type was to allow >you to pass arbitrary struct pointers. Hmm. Now I'm confused. I want >to pass (struct ach_data *)'s to the aic7xxx interrupt routine. What >should be the type of an EISA interrupt handler to deal with this. Right >now I'm using "void (*func)(void *)". `void *' is correct but pdc_pci_ifintr() used `struct foo *'. `void *' can only be used (standards conformantly) to pass arbitrary struct pointers if there are implicit or explicit casts to and from the struct pointers. Prototypes usually give implicit casts in one direction only. Interrupt handlers that take a `void *' arg have to convert it back to what the know it to have been converted from. (Registration of a handler does an implicit cast from a `cookie *' to a `void *' and stores the result in a higher level struct; calling the handler passes this result unchanged; the handler converts back to the original `cookie *'. Note that it would be too much trouble to make the higher level code convert back to a `cookie *'. You would have to tell the higher level all about the type of the cookie and you would be limited to types that are known when the higher level is compiled. For similar reasons, it us too much trouble to use variant function types.) In practice, all struct pointer types usually have the same representation and this representation is (slightly less) usually the same as for `void *', so it usually works at runtime to confuse struct pointers with `void *'s. However, it doesn't work at compile time unless you lie to the compiler. Not lieing is easiest in this case essentially because there are relatively few interrupt handler types. Bruce From owner-cvs-sys Sat Nov 4 11:32:26 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA20660 for cvs-sys-outgoing; Sat, 4 Nov 1995 11:32:26 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA20646 ; Sat, 4 Nov 1995 11:32:18 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA03590; Sun, 5 Nov 1995 06:31:42 +1100 Date: Sun, 5 Nov 1995 06:31:42 +1100 From: Bruce Evans Message-Id: <199511041931.GAA03590@godzilla.zeta.org.au> To: bde@zeta.org.au, gibbs@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/scsi aic7xxx.c aic7xxx.h Cc: CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >I guess I'll have to fire off a SUP and see how you are auto-generating the >prototypes. Why the move to a central file? Prototypes for interrupt handlers have been generated in "ioconf.h" for more than a year. I decided to use the declarations there based on the principle that extern declarations should be in exactly one header file. Bruce From owner-cvs-sys Sat Nov 4 11:49:17 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA22786 for cvs-sys-outgoing; Sat, 4 Nov 1995 11:49:17 -0800 Received: from aslan.cdrom.com (aslan.cdrom.com [192.216.223.142]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA22775 ; Sat, 4 Nov 1995 11:49:11 -0800 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by aslan.cdrom.com (8.6.12/8.6.9) with SMTP id OAA28163; Sat, 4 Nov 1995 14:17:51 -0800 Message-Id: <199511042217.OAA28163@aslan.cdrom.com> X-Authentication-Warning: aslan.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: Bruce Evans cc: gibbs@freefall.freebsd.org, CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/scsi aic7xxx.c aic7xxx.h In-reply-to: Your message of "Sun, 05 Nov 1995 06:31:42 +1100." <199511041931.GAA03590@godzilla.zeta.org.au> Date: Sat, 04 Nov 1995 14:17:51 -0800 From: "Justin T. Gibbs" Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >>I guess I'll have to fire off a SUP and see how you are auto-generating the >>prototypes. Why the move to a central file? > >Prototypes for interrupt handlers have been generated in "ioconf.h" for >more than a year. I decided to use the declarations there based on the >principle that extern declarations should be in exactly one header file. > >Bruce Ahh. This I didn't know. -- Justin T. Gibbs =========================================== Software Developer - Walnut Creek CDROM FreeBSD: Turning PCs into workstations =========================================== From owner-cvs-sys Sat Nov 4 20:54:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA18017 for cvs-sys-outgoing; Sat, 4 Nov 1995 20:54:11 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA18007 ; Sat, 4 Nov 1995 20:54:02 -0800 Date: Sat, 4 Nov 1995 20:54:02 -0800 From: "Justin T. Gibbs" Message-Id: <199511050454.UAA18007@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi scsi_base.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/04 20:54:00 Added: sys/dev/aic7xxx aic7xxx_reg.h Log: Move aic7xxx register definitions from i386/scsi/aic7xxx.c to this file. The hope is to make the sequencer and kernel code share this file, but some work on our sequencer assembler will be needed first. Modified: sys/i386/conf files.i386 Log: Move aic7770.c to i386/eisa. It is the first driver to use the new eisaconf. Modified: sys/i386/eisa aic7770.c eisaconf.c eisaconf.h Removed: sys/i386/eisa eisadevs.c Log: This is a totally new implementation of eisaconf. It will hopefully be the beginning of our move to a more dynamic (configuration manager) based setup for all drivers. Everything seems to work except for some devconf problems. Only the aic7xxx driver will be using this interface until it is reviewed, revised and accepted as a good configuration interface. Adapt aic7770.c to use new eisaconf. eisadevs.c is replaced by a linker set. Modified: sys/i386/i386 autoconf.c sys/i386/include devconf.h Log: Modifications for the new eisaconf. Modified: sys/i386/isa isa.c isa_device.h Removed: sys/i386/isa aic7770.c Log: Remove old eisaconf cruft from the eisa files. The old eisaconf kludged in here to do some conflict detection. The new code doesn't do conflict detection yet, but it will be implemented in another way. aic7770.c moved to i386/eisa Modified: sys/i386/scsi aic7xxx.c aic7xxx.h Log: Move aic7xxx register definitions to sys/dev/aic7xxx/aic7xxx_reg.h. Start the revamp of the initialiation process. New routines include ahc_alloc, ahc_free, and ahc_reset. These help divide the work of staring up a board more logically between probe and attach. ahcintr now takes a (void *) and returns int. The pci code uses it directly. Until the PCI code for shared edged triggered interrupts is removed, the eisa code uses a stub (ahc_eisa_intr) that throws away the int returned by ahcintr. Use MHz instead of MB/s for printing out sync rates. Print out "aic7880" instead of "aic7870" for the new aic7880 chips. Modified: sys/pci aic7870.c Log: Conform to new probe/attach interface exported by aic7xxx.c. Use ahcintr directly as interrupt handler. Modified: sys/scsi scsi_base.c Log: Oops. Didn't mean for this to get in here. I'll revert it after this commit.