From owner-cvs-sys Sun May 14 04:01:32 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA06245 for cvs-sys-outgoing; Sun, 14 May 1995 04:01:32 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA06233 ; Sun, 14 May 1995 04:01:24 -0700 Date: Sun, 14 May 1995 04:01:24 -0700 From: David Greenman Message-Id: <199505141101.EAA06233@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa if_ed.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/14 04:01:23 Modified: sys/i386/isa if_ed.c Log: After carefully reading three reference documents, and analyzing the 802.3 frames generated by the DC21040 (which does automatic padding of less-than-minimum frames) and the frames generated by the 'ed' driver, I've found that there is indeed a bug in the size of "ETHER_MIN_LEN" as reported by several people, John Hay being the most recent. The driver was actually setting the length to 6+6+2+50 (64 bytes), which when adding in the CRC (which is automatically appended to the frame and not included in the length), the minimum frame is 4 bytes larger than it is supposed to be. All of this is confirmed by tcpdump showing 50 bytes of data for minimum frames from the 'ed' cards and 46 bytes from 'de' cards. This analysis has also revealed that there is garbage in the un-filled in portion at the end of the minimum frames from the 'ed' driver; I don't plan to fix this. From owner-cvs-sys Sun May 14 12:19:11 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA23192 for cvs-sys-outgoing; Sun, 14 May 1995 12:19:11 -0700 Received: (from nate@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA23181 ; Sun, 14 May 1995 12:19:08 -0700 Date: Sun, 14 May 1995 12:19:08 -0700 From: Nate Williams Message-Id: <199505141919.MAA23181@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys mman.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk nate 95/05/14 12:19:08 Modified: sys/sys mman.h Log: Prototype for madvise() is missing from sys/mman.h Submitted by: Kai Vorma From owner-cvs-sys Sun May 14 12:37:39 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA24496 for cvs-sys-outgoing; Sun, 14 May 1995 12:37:39 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA24472 ; Sun, 14 May 1995 12:37:33 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id MAA04233; Sun, 14 May 1995 12:37:28 -0700 From: "Rodney W. Grimes" Message-Id: <199505141937.MAA04233@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/sys mman.h To: nate@freefall.cdrom.com (Nate Williams) Date: Sun, 14 May 1995 12:37:28 -0700 (PDT) Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199505141919.MAA23181@freefall.cdrom.com> from "Nate Williams" at May 14, 95 12:19:08 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 651 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > nate 95/05/14 12:19:08 > > Modified: sys/sys mman.h > Log: > Prototype for madvise() is missing from sys/mman.h > > Submitted by: Kai Vorma BANG!!! From the FREEZE document: 2) All kernel bug fixes are to be reviewed by David Greenman *before* they are committed. Any patches that David himself originates will need to be reviewed by someone else before he commits them, this is a sanity check on all changes to the kernel. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Sun May 14 13:11:49 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA27210 for cvs-sys-outgoing; Sun, 14 May 1995 13:11:49 -0700 Received: from trout.sri.MT.net (trout.sri.MT.net [204.182.243.12]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA27178 ; Sun, 14 May 1995 13:11:34 -0700 Received: (from nate@localhost) by trout.sri.MT.net (8.6.11/8.6.11) id OAA23760; Sun, 14 May 1995 14:15:31 -0600 Date: Sun, 14 May 1995 14:15:31 -0600 From: Nate Williams Message-Id: <199505142015.OAA23760@trout.sri.MT.net> To: "Rodney W. Grimes" Cc: nate@freefall.cdrom.com (Nate Williams), CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/sys mman.h In-Reply-To: <199505141937.MAA04233@gndrsh.aac.dev.com> References: <199505141919.MAA23181@freefall.cdrom.com> <199505141937.MAA04233@gndrsh.aac.dev.com> Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > nate 95/05/14 12:19:08 > > > > Modified: sys/sys mman.h > > Log: > > Prototype for madvise() is missing from sys/mman.h > > > > Submitted by: Kai Vorma > > BANG!!! From the FREEZE document: > > 2) All kernel bug fixes are to be reviewed by David Greenman *before* > they are committed. This isn't a *kernel* bug fix, and *couldn't* possibly cause any sort of kernel problems since madvise() is a user function. Prototyping a function can only be considered a bug-fix and nothing else. Nate From owner-cvs-sys Sun May 14 13:23:20 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA28280 for cvs-sys-outgoing; Sun, 14 May 1995 13:23:20 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA28256 ; Sun, 14 May 1995 13:23:10 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id NAA04490; Sun, 14 May 1995 13:22:53 -0700 From: "Rodney W. Grimes" Message-Id: <199505142022.NAA04490@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/sys mman.h To: nate@trout.sri.MT.net (Nate Williams) Date: Sun, 14 May 1995 13:22:53 -0700 (PDT) Cc: nate@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199505142015.OAA23760@trout.sri.MT.net> from "Nate Williams" at May 14, 95 02:15:31 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1599 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > > > nate 95/05/14 12:19:08 > > > > > > Modified: sys/sys mman.h > > > Log: > > > Prototype for madvise() is missing from sys/mman.h > > > > > > Submitted by: Kai Vorma > > > > BANG!!! From the FREEZE document: > > > > 2) All kernel bug fixes are to be reviewed by David Greenman *before* > > they are committed. > > This isn't a *kernel* bug fix, and *couldn't* possibly cause any sort of > kernel problems since madvise() is a user function. Prototyping a > function can only be considered a bug-fix and nothing else. If the code lives in /usr/src/sys, it *IS* a kernel change, no if's and's or buts about it. Madvice is implemented in the kernel via a system call isn't it?? thump:rgrimes {148} kfind -i madvise ./kern/init_sysent.c:int madvise(); ./kern/init_sysent.c: { 3, madvise }, /* 75 = madvise */ ./kern/syscalls.c: "madvise", /* 75 = madvise */ ./kern/syscalls.master:75 STD 3 BSD madvise ./sys/mman.h: * Advice to madvise ./sys/syscall-hide.h:HIDE_BSD(madvise) ./sys/syscall.h:#define SYS_madvise 75 ./vm/vm_extern.h:int madvise __P((struct proc *, void *, int *)); ./vm/vm_mmap.c:struct madvise_args { ./vm/vm_mmap.c:madvise(p, uap, retval) ./vm/vm_mmap.c: struct madvise_args *uap; thump:rgrimes {149} Note we already had a prototype for it in vm/vm_extern.h. This was also a non-critical item. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Sun May 14 15:25:21 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA02532 for cvs-sys-outgoing; Sun, 14 May 1995 15:25:21 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA02519 ; Sun, 14 May 1995 15:25:14 -0700 Date: Sun, 14 May 1995 15:25:14 -0700 From: David Greenman Message-Id: <199505142225.PAA02519@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/include cpufunc.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/14 15:25:13 Modified: sys/i386/include cpufunc.h Log: Added apersand constraint to make sure that the source and destination registers aren't combined. Reviewed by: Bruce Evans and David Greenman Submitted by: John Dyson From owner-cvs-sys Mon May 15 00:31:16 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA20607 for cvs-sys-outgoing; Mon, 15 May 1995 00:31:16 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA20597 ; Mon, 15 May 1995 00:31:11 -0700 Date: Mon, 15 May 1995 00:31:11 -0700 From: David Greenman Message-Id: <199505150731.AAA20597@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/ufs/ufs ufs_vnops.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/15 00:31:10 Modified: sys/ufs/ufs ufs_vnops.c Log: From Bruce Evans: I ran into another manifestation of the problem reported in PR 211 and fixed it. Try this: as non-root: cd /tmp; mkdir x y x/z as root: chown root /tmp/x/z as non-root: cd /tmp/x; mv z ../y # EACCES as expected as root: cd /tmp/x; mv z ../y # EINVAL NOT as expected This is because ufs_rename() sets IN_RENAME and fails to clear it. Reviewed by: davidg Submitted by: bde From owner-cvs-sys Mon May 15 01:39:54 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA22188 for cvs-sys-outgoing; Mon, 15 May 1995 01:39:54 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA22173 ; Mon, 15 May 1995 01:39:39 -0700 Date: Mon, 15 May 1995 01:39:39 -0700 From: David Greenman Message-Id: <199505150839.BAA22173@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/15 01:39:38 Modified: etc rc sbin/mount mount.8 sys/kern vfs_syscalls.c sys/ufs/ffs ffs_vfsops.c Log: Fixed incompleteness that would allow dirty filesystems to get mounted when the single user shell was terminated. These changes disallow mounting or R/W upgrading filesystems that are dirty unless "-f" (force) option is used with mount. /etc/rc has been modified to abort the startup if one or more non-nfs partitions fail to mount. Reviewed by: Poul-Henning Kamp, Rod Grimes From owner-cvs-sys Mon May 15 15:27:57 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA18508 for cvs-sys-outgoing; Mon, 15 May 1995 15:27:57 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA18494 ; Mon, 15 May 1995 15:27:50 -0700 Date: Mon, 15 May 1995 15:27:50 -0700 From: David Greenman Message-Id: <199505152227.PAA18494@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys disklabel.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/15 15:27:49 Modified: sys/sys disklabel.h Log: Removed extraneous comma. Reviewed by: Bruce Evans From owner-cvs-sys Mon May 15 15:55:43 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA19389 for cvs-sys-outgoing; Mon, 15 May 1995 15:55:43 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA19366 ; Mon, 15 May 1995 15:55:19 -0700 Date: Mon, 15 May 1995 15:55:19 -0700 From: David Greenman Message-Id: <199505152255.PAA19366@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys domain.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/15 15:55:19 Modified: sys/sys domain.h Log: Removed unnecessary extern declaration that was causing compiler warnings. Reviewed by: Garrett Wollman From owner-cvs-sys Mon May 15 15:57:58 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA19448 for cvs-sys-outgoing; Mon, 15 May 1995 15:57:58 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA19438 ; Mon, 15 May 1995 15:57:54 -0700 Date: Mon, 15 May 1995 15:57:54 -0700 From: David Greenman Message-Id: <199505152257.PAA19438@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net rtsock.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/15 15:57:54 Modified: sys/net rtsock.c Log: Fixed route reference count bug that squirmed in during the the routing-socket code upgrade from Berkeley.. Submitted by: Garrett Wollman via Peter Wemm via Cornell From owner-cvs-sys Mon May 15 18:28:49 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA23989 for cvs-sys-outgoing; Mon, 15 May 1995 18:28:49 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA23978 ; Mon, 15 May 1995 18:28:31 -0700 Date: Mon, 15 May 1995 18:28:31 -0700 From: David Greenman Message-Id: <199505160128.SAA23978@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet igmp.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/15 18:28:30 Modified: sys/netinet igmp.c Log: These diffs modify the behaviour of multicast clients to conform with the IGMPv2 spec. This fixes the following bugs: o ntohs() on a char provides silly results o timer needs to be scaled to units of PR_FASTHZ; this was being done inconsistenly so now it gets done when it is initialized. Reviewed by: Garrett Wollman Submitted by: Bill Fenner From owner-cvs-sys Tue May 16 00:52:25 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA02006 for cvs-sys-outgoing; Tue, 16 May 1995 00:52:25 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA01993 ; Tue, 16 May 1995 00:52:18 -0700 Date: Tue, 16 May 1995 00:52:18 -0700 From: David Greenman Message-Id: <199505160752.AAA01993@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys disklabel.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/16 00:52:18 Modified: sys/i386/isa wd.c sys/sys disklabel.h Log: Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support. Reviewed by: Bruce Evans Submitted by: Poul-Henning Kamp From owner-cvs-sys Wed May 17 00:06:22 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA24970 for cvs-sys-outgoing; Wed, 17 May 1995 00:06:22 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA24949 ; Wed, 17 May 1995 00:06:04 -0700 Date: Wed, 17 May 1995 00:06:04 -0700 From: David Greenman Message-Id: <199505170706.AAA24949@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c aic7xxx.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/17 00:06:03 Modified: sys/dev/aic7xxx aic7xxx.seq sys/i386/scsi aic7xxx.c aic7xxx.h Log: Fixes to the aic7xxx sequencer code and device driver from Justin Gibbs: 1) If a target initiated a sync negotiation with us and happened to chose a value above 15, the old code inadvertantly truncated it with an "& 0x0f". If the periferal picked something really bad like 0x32, you'd end up with an offset of 2 which would hang the drive since it didn't expect to ever get something so low. We now do a MIN(maxoffset, given_offset). 2) In the case of Wide cards, we were turning on sync transfers after a sucessfull wide negotiation. Now we leave the offset alone in the per target scratch space (which implies asyncronous transfers since we initialize it that way) until a syncronous negotation occurs. 3) We were advertizing a max offset of 15 instead of 8 for wide devices. 4) If the upper level SCSI code sent down a "SCSI_RESET", it would hang the system because we would end up sending a null command to the sequencer. Now we handle SCSI_RESET correctly by having the sequencer interrupt us when it is about to fill the message buffer so that we can fill it in ourselves. The sequencer will also "simulate" a command complete for these "message only" SCBs so that the kernel driver can finish up properly. The cdplay utility will send a "SCSI_REST" to the cdplayer if you use the reset command. 5) The code that handles SCSIINTs was broken in that if more than one type of error was true at once, we'd do outbs without the card being paused. The else clause after the busfree case was also an accident waiting to happen. I've now turned this into an if, else if, else type of thing, since in most cases when we handle one type of error, it should be okay to ignore the rest (ie if we have a SELTO, who cares if there was a parity error on the transaction?), but the section should really be rewritten after 2.0.5. This fix was the least obtrusive way to patch the problem. 6) Only tag either SDTR or WDTR negotiation on an SCB. The real problem is that I don't account for the case when an SCB that is tagged to do a particular type of negotiation completes or SELTOs (selection timeout) without the negotiation taking place, so the accounting of sdtrpending and wdtrpending gets screwed up. In the wide case, if we tag it to do both wdtr and sdtr, it only performs wdtr (since wdtr must occur first and we spread out the negotiation over two commands) so we always have sdtrpending set for that target and we never do a real SDTR. I fill properly fix the accounting after 2.0.5 goes out the door, but this works (as confirmed by Dan) on wide targets. Other stuff that is also included: 1) Don't do a bzero when recycling SCBs. The only thing that must explicitly be set to zero is the scb control byte which is done in ahc_get_scb. We also need to set the SG_list_pointer and SG_list_count to 0 for commands that do not transfer data. 2) Mask the interrupt type printout for the aic7870 case. The bit we were using to determine interrupt type is only valid for the aic7770. Submitted by: Justin Gibbs From owner-cvs-sys Wed May 17 00:37:59 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA26181 for cvs-sys-outgoing; Wed, 17 May 1995 00:37:59 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA26167 ; Wed, 17 May 1995 00:37:54 -0700 Date: Wed, 17 May 1995 00:37:54 -0700 From: Bruce Evans Message-Id: <199505170737.AAA26167@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/boot/kzipboot head.S Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/05/17 00:37:54 Modified: sys/i386/boot/kzipboot head.S Log: Reviewed by: phk Submitted by: DI. Christian Gusenbauer The `howto' arg to boot() was not supplied, so it was stack garbage (actually the return address in the boot program). I didn't use the submitted fix. From owner-cvs-sys Wed May 17 00:39:46 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA26296 for cvs-sys-outgoing; Wed, 17 May 1995 00:39:46 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA26284 ; Wed, 17 May 1995 00:39:45 -0700 Date: Wed, 17 May 1995 00:39:45 -0700 From: Bruce Evans Message-Id: <199505170739.AAA26284@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/boot/kzipboot boot.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/05/17 00:39:44 Modified: sys/i386/boot/kzipboot boot.c Log: Reviewed by: phk serial_putchar() always hung if it was called and the serial port existed, so booting with -h hung when the above bug was fixed. Previously, setting -h did nothing but -h was sometimes the default due to the stack garbage bug. From owner-cvs-sys Wed May 17 06:15:44 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA02919 for cvs-sys-outgoing; Wed, 17 May 1995 06:15:44 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA02909 ; Wed, 17 May 1995 06:15:40 -0700 Date: Wed, 17 May 1995 06:15:40 -0700 From: David Greenman Message-Id: <199505171315.GAA02909@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa if_lnc.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/17 06:15:39 Modified: sys/i386/isa if_lnc.c Log: Changed read_csr and write_csr to static so that they don't clash with another driver. Reviewed by: Paul Richards Submitted by: Brian Litzinger From owner-cvs-sys Wed May 17 19:59:35 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA22942 for cvs-sys-outgoing; Wed, 17 May 1995 19:59:35 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA22929 ; Wed, 17 May 1995 19:59:28 -0700 Date: Wed, 17 May 1995 19:59:28 -0700 From: David Greenman Message-Id: <199505180259.TAA22929@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm device_pager.c swap_pager.c vm_fault.c vm_mmap.c vnode_pager.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/17 19:59:27 Modified: sys/vm device_pager.c swap_pager.c vm_fault.c vm_mmap.c vnode_pager.c Log: Accessing pages beyond the end of a mapped file results in internal inconsistencies in the VM system that eventually lead to a panic. These changes fix the behavior to conform to the behavior in SunOS, which is to deny faults to pages beyond the EOF (returning SIGBUS). Internally, this is implemented by requiring faults to be within the object size boundaries. These changes exposed another bug, namely that passing in an offset to mmap when trying to map an unnamed anonymous region also results in internal inconsistencies. In this case, the offset is forced to zero. Reviewed by: John Dyson and others From owner-cvs-sys Wed May 17 22:10:02 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA25130 for cvs-sys-outgoing; Wed, 17 May 1995 22:10:02 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA25114 ; Wed, 17 May 1995 22:09:56 -0700 Date: Wed, 17 May 1995 22:09:56 -0700 From: David Greenman Message-Id: <199505180509.WAA25114@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_swap.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/17 22:09:56 Modified: sys/vm vm_swap.c Log: Fixed a bug that managed to slip in during Poul's dynamic swap partition changes. The check for nswap was bogus, but the code was so convoluted that it was difficult to tell. It's better now. :-) Reviewed by: David Greenman (extensively), and John Dyson Submitted by: Poul-Henning Kamp, w/tweaks by me. From owner-cvs-sys Thu May 18 03:34:03 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA02371 for cvs-sys-outgoing; Thu, 18 May 1995 02:17:32 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA02352 ; Thu, 18 May 1995 02:17:11 -0700 Date: Thu, 18 May 1995 02:17:11 -0700 From: David Greenman Message-Id: <199505180917.CAA02352@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 vm_machdep.c Sender: cvs-sys-owner@FreeBSD.org Precedence: bulk davidg 95/05/18 02:17:08 Modified: sys/i386/conf LINT sys/i386/i386 vm_machdep.c Log: Added "BROKEN_KEYBOARD_RESET" option to disable using the keyboard reset in cpu_reset(). Some MBs don't deal with this properly. Submitted by: Rod Grimes From owner-cvs-sys Thu May 18 15:45:41 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA23511 for cvs-sys-outgoing; Thu, 18 May 1995 15:45:41 -0700 Received: (from phk@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA23501 ; Thu, 18 May 1995 15:45:36 -0700 Date: Thu, 18 May 1995 15:45:36 -0700 From: Poul-Henning Kamp Message-Id: <199505182245.PAA23501@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa diskslice_machdep.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk phk 95/05/18 15:45:35 Modified: sys/i386/isa diskslice_machdep.c Log: Make the "information" slice printfs if(bootverbose). Fix the message about Ontrack. From owner-cvs-sys Thu May 18 16:09:45 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA25182 for cvs-sys-outgoing; Thu, 18 May 1995 16:09:45 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA25166 ; Thu, 18 May 1995 16:09:33 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id QAA15371; Thu, 18 May 1995 16:09:06 -0700 From: "Rodney W. Grimes" Message-Id: <199505182309.QAA15371@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/i386/isa diskslice_machdep.c To: phk@freefall.cdrom.com (Poul-Henning Kamp) Date: Thu, 18 May 1995 16:09:06 -0700 (PDT) Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199505182245.PAA23501@freefall.cdrom.com> from "Poul-Henning Kamp" at May 18, 95 03:45:36 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 363 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > > phk 95/05/18 15:45:35 > > Modified: sys/i386/isa diskslice_machdep.c > Log: > Make the "information" slice printfs if(bootverbose). > Fix the message about Ontrack. Reviewed by:???? -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-cvs-sys Thu May 18 20:27:21 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA09828 for cvs-sys-outgoing; Thu, 18 May 1995 20:27:21 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA09814 ; Thu, 18 May 1995 20:27:11 -0700 Date: Thu, 18 May 1995 20:27:11 -0700 From: David Greenman Message-Id: <199505190327.UAA09814@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_swap.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/18 20:27:10 Modified: sys/isofs/cd9660 cd9660_vfsops.c sys/kern init_main.c sys/ufs/ffs ffs_vfsops.c sys/ufs/mfs mfs_vfsops.c sys/vm vm_swap.c Log: NFS diskless operation was broken because swapdev_vp wasn't initialized. These changes solve the problem in a general way by moving the initialization out of the individual fs_mountroot's and into swaponvp(). Submitted by: Poul-Henning Kamp From owner-cvs-sys Fri May 19 01:34:25 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA16266 for cvs-sys-outgoing; Fri, 19 May 1995 01:34:25 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA16248 ; Fri, 19 May 1995 01:33:51 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id SAA23888; Fri, 19 May 1995 18:24:23 +1000 Date: Fri, 19 May 1995 18:24:23 +1000 From: Bruce Evans Message-Id: <199505190824.SAA23888@godzilla.zeta.org.au> To: phk@freefall.cdrom.com, rgrimes@gndrsh.aac.dev.com Subject: Re: cvs commit: src/sys/i386/isa diskslice_machdep.c Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Sender: cvs-sys-owner@freebsd.org Precedence: bulk >> phk 95/05/18 15:45:35 >> >> Modified: sys/i386/isa diskslice_machdep.c >> Log: >> Make the "information" slice printfs if(bootverbose). >> Fix the message about Ontrack. >Reviewed by:???? Review: bootverbose is for controlling boots and should not be used in a routine that is called from open() and ioctl(). I suggest hiding the "OK" messages using TRACE(()) and printing the error messages if (dp->dp_typ == DOSPTYP_386BSD || dsi_debug). Bruce From owner-cvs-sys Fri May 19 09:03:08 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA25425 for cvs-sys-outgoing; Fri, 19 May 1995 09:03:08 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA25419 ; Fri, 19 May 1995 09:03:07 -0700 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id JAA04882; Fri, 19 May 1995 09:02:13 -0700 From: Poul-Henning Kamp Message-Id: <199505191602.JAA04882@ref.tfs.com> Subject: Re: cvs commit: src/sys/i386/isa diskslice_machdep.c To: bde@zeta.org.au (Bruce Evans) Date: Fri, 19 May 1995 09:02:13 -0700 (PDT) Cc: phk@freefall.cdrom.com, rgrimes@gndrsh.aac.dev.com, CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199505190824.SAA23888@godzilla.zeta.org.au> from "Bruce Evans" at May 19, 95 06:24:23 pm Content-Type: text Content-Length: 786 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > >> phk 95/05/18 15:45:35 > >> > >> Modified: sys/i386/isa diskslice_machdep.c > >> Log: > >> Make the "information" slice printfs if(bootverbose). > >> Fix the message about Ontrack. > > >Reviewed by:???? > > Review: bootverbose is for controlling boots and should not be used in > a routine that is called from open() and ioctl(). I suggest hiding > the "OK" messages using TRACE(()) and printing the error messages if > (dp->dp_typ == DOSPTYP_386BSD || dsi_debug). bootverbose is for controlling kernel verbosity, and has the name because it is settable from the boot prompt. -- Poul-Henning Kamp -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant' From owner-cvs-sys Sat May 20 20:27:23 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA22614 for cvs-sys-outgoing; Sat, 20 May 1995 20:27:23 -0700 Received: (from phk@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA22601 ; Sat, 20 May 1995 20:27:16 -0700 Date: Sat, 20 May 1995 20:27:16 -0700 From: Poul-Henning Kamp Message-Id: <199505210327.UAA22601@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot disk.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk phk 95/05/20 20:27:15 Modified: sys/i386/boot/biosboot disk.c Log: Now I could finally test this change: bad144 is now relative to the partition.