From owner-cvs-sys Sun Jul 28 01:01:50 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA05273 for cvs-sys-outgoing; Sun, 28 Jul 1996 01:01:50 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA05134; Sun, 28 Jul 1996 00:58:57 -0700 (PDT) Date: Sun, 28 Jul 1996 00:58:57 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199607280758.AAA05134@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/msdosfs denode.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/07/28 00:58:57 Modified: sys/msdosfs denode.h Log: bzero reserved field into directory entry, junk here cause scandisk error under Win95 Revision Changes Path 1.9 +2 -1 src/sys/msdosfs/denode.h From owner-cvs-sys Sun Jul 28 13:31:48 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA08807 for cvs-sys-outgoing; Sun, 28 Jul 1996 13:31:48 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA08761; Sun, 28 Jul 1996 13:31:33 -0700 (PDT) Date: Sun, 28 Jul 1996 13:31:33 -0700 (PDT) From: John Dyson Message-Id: <199607282031.NAA08761@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/28 13:31:32 Modified: sys/i386/i386 pmap.c Log: Fix a problem that pmap update was not being done for kernel_pmap. Also remove some (currently) gratuitious tests for PG_V... This bug could have caused various anomolous (temporary) behavior. Revision Changes Path 1.111 +11 -13 src/sys/i386/i386/pmap.c From owner-cvs-sys Sun Jul 28 20:09:10 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA27061 for cvs-sys-outgoing; Sun, 28 Jul 1996 20:09:10 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA27045; Sun, 28 Jul 1996 20:08:58 -0700 (PDT) Date: Sun, 28 Jul 1996 20:08:58 -0700 (PDT) From: John Dyson Message-Id: <199607290308.UAA27045@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/28 20:08:57 Modified: sys/i386/i386 pmap.c Log: Fix an error in statement order in pmap_remove_pages, remove the pmap pte hint (for now), and general code cleanup. Revision Changes Path 1.112 +10 -39 src/sys/i386/i386/pmap.c From owner-cvs-sys Mon Jul 29 07:23:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA28487 for cvs-sys-outgoing; Mon, 29 Jul 1996 07:23:05 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA28459; Mon, 29 Jul 1996 07:22:49 -0700 (PDT) Date: Mon, 29 Jul 1996 07:22:49 -0700 (PDT) From: John Dyson Message-Id: <199607291422.HAA28459@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/29 07:22:48 Modified: sys/i386/i386 pmap.c Log: Fix a problem with a DEBUG section of code. Revision Changes Path 1.113 +1 -1 src/sys/i386/i386/pmap.c From owner-cvs-sys Mon Jul 29 20:09:13 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA11447 for cvs-sys-outgoing; Mon, 29 Jul 1996 20:09:13 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA11431; Mon, 29 Jul 1996 20:09:00 -0700 (PDT) Date: Mon, 29 Jul 1996 20:09:00 -0700 (PDT) From: John Dyson Message-Id: <199607300309.UAA11431@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm pmap.h swap_pager.c vm_fault.c vm_map.c vm_map.h vm_mmap.c vm_object.c vm_page.c vm_page.h vm_pageout.c vnode_pager.c src/sys/kern kern_exec.c kern_exit.c src/sys/i386/include pmap.h src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/29 20:08:59 Modified: sys/vm pmap.h swap_pager.c vm_fault.c vm_map.c vm_map.h vm_mmap.c vm_object.c vm_page.c vm_page.h vm_pageout.c vnode_pager.c sys/kern kern_exec.c kern_exit.c sys/i386/i386 pmap.c sys/i386/include pmap.h Log: Backed out the recent changes/enhancements to the VM code. The problem with the 'shell scripts' was found, but there was a 'strange' problem found with a 486 laptop that we could not find. This commit backs the code back to 25-jul, and will be re-entered after the snapshot in smaller (more easily tested) chunks. Revision Changes Path 1.14 +5 -5 src/sys/vm/pmap.h 1.70 +11 -18 src/sys/vm/swap_pager.c 1.56 +13 -6 src/sys/vm/vm_fault.c 1.54 +68 -77 src/sys/vm/vm_map.c 1.15 +1 -2 src/sys/vm/vm_map.h 1.49 +33 -196 src/sys/vm/vm_mmap.c 1.78 +3 -4 src/sys/vm/vm_object.c 1.62 +33 -16 src/sys/vm/vm_page.c 1.31 +5 -5 src/sys/vm/vm_page.h 1.84 +31 -29 src/sys/vm/vm_pageout.c 1.62 +4 -4 src/sys/vm/vnode_pager.c 1.46 +2 -2 src/sys/kern/kern_exec.c 1.35 +3 -2 src/sys/kern/kern_exit.c 1.114 +513 -393 src/sys/i386/i386/pmap.c 1.42 +6 -19 src/sys/i386/include/pmap.h From owner-cvs-sys Tue Jul 30 08:20:22 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA00756 for cvs-sys-outgoing; Tue, 30 Jul 1996 08:20:22 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA00714; Tue, 30 Jul 1996 08:20:11 -0700 (PDT) Date: Tue, 30 Jul 1996 08:20:11 -0700 (PDT) From: "Andrey A. Chernov" Message-Id: <199607301520.IAA00714@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/07/30 08:20:10 Modified: sys/i386/isa syscons.c Log: Fix GIO_ATTR ioctl return to match SYSV Revision Changes Path 1.160 +2 -2 src/sys/i386/isa/syscons.c From owner-cvs-sys Tue Jul 30 09:59:33 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA18249 for cvs-sys-outgoing; Tue, 30 Jul 1996 09:59:33 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA18234; Tue, 30 Jul 1996 09:59:24 -0700 (PDT) Date: Tue, 30 Jul 1996 09:59:24 -0700 (PDT) From: Bruce Evans Message-Id: <199607301659.JAA18234@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_clock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/07/30 09:59:23 Modified: sys/kern kern_clock.c Log: Fixed resource usage integrals. They were too large by a factor of of profhz/stathz when profiling was enabled. Revision Changes Path 1.26 +21 -20 src/sys/kern/kern_clock.c From owner-cvs-sys Tue Jul 30 11:00:40 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA22564 for cvs-sys-outgoing; Tue, 30 Jul 1996 11:00:40 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA22550; Tue, 30 Jul 1996 11:00:33 -0700 (PDT) Date: Tue, 30 Jul 1996 11:00:33 -0700 (PDT) From: Bruce Evans Message-Id: <199607301800.LAA22550@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_subr.c src/sys/miscfs/devfs devfs_tree.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/07/30 11:00:33 Modified: sys/kern vfs_subr.c sys/miscfs/devfs devfs_tree.c Log: Only use the special bdevvp() for DEVFS if DEVFS_ROOT is defined. This makes option DEVFS safe to use again (although mounting devfs is unsafe). Revision Changes Path 1.57 +3 -3 src/sys/kern/vfs_subr.c 1.27 +3 -1 src/sys/miscfs/devfs/devfs_tree.c From owner-cvs-sys Tue Jul 30 11:56:28 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA28346 for cvs-sys-outgoing; Tue, 30 Jul 1996 11:56:28 -0700 (PDT) Received: (from asami@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA28312; Tue, 30 Jul 1996 11:56:18 -0700 (PDT) Date: Tue, 30 Jul 1996 11:56:18 -0700 (PDT) From: Satoshi Asami Message-Id: <199607301856.LAA28312@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 if_ed98.h pc98_machdep.c pc98_machdep.h fd.c if_ep.c scd.c wd.c if_edreg.h src/sys/pc98/pc98/matcd matcd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 96/07/30 11:56:18 Modified: sys/pc98/pc98 fd.c if_ep.c scd.c wd.c sys/pc98/pc98/matcd matcd.c Added: sys/pc98/pc98 if_ed98.h pc98_machdep.c pc98_machdep.h Removed: sys/pc98/pc98 if_edreg.h Log: Another round of merge. Submitted by: The FreeBSD(98) Development Team Revision Changes Path 1.3 +3 -13 src/sys/pc98/pc98/fd.c 1.3 +2 -2 src/sys/pc98/pc98/if_ep.c 1.3 +3 -14 src/sys/pc98/pc98/scd.c 1.3 +26 -41 src/sys/pc98/pc98/wd.c 1.2 +3 -15 src/sys/pc98/pc98/matcd/matcd.c From owner-cvs-sys Tue Jul 30 12:17:17 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA29583 for cvs-sys-outgoing; Tue, 30 Jul 1996 12:17:17 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA29566; Tue, 30 Jul 1996 12:17:08 -0700 (PDT) Date: Tue, 30 Jul 1996 12:17:08 -0700 (PDT) From: Garrett Wollman Message-Id: <199607301917.MAA29566@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if_mib.c if_mib.h if.c if.h src/sys/conf files Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/07/30 12:17:08 Modified: sys/net if.c if.h sys/conf files Added: sys/net if_mib.c if_mib.h Log: Add better support for retrieving management information from network interfaces. This creates two new tables in the net.link.generic branch of the MIB; one contains (essentially) `ifdata' structures, and the other contains a blob provided by the interface (and presumably used to implement link-layer-specific MIB variables). A number of things have been moved around in the `ifnet' and `ifdata' structures, so NEW VERSIONS OF ifconfig(8) AND routed(8) ARE REQUIRED. (A simple recompile is all that's necessary.) I have a sample program which uses this interface for those interested in making use of it. Revision Changes Path 1.35 +3 -3 src/sys/net/if.c 1.32 +23 -7 src/sys/net/if.h 1.74 +1 -0 src/sys/conf/files From owner-cvs-sys Tue Jul 30 12:27:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA00246 for cvs-sys-outgoing; Tue, 30 Jul 1996 12:27:08 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA00231; Tue, 30 Jul 1996 12:26:57 -0700 (PDT) Date: Tue, 30 Jul 1996 12:26:57 -0700 (PDT) From: Bruce Evans Message-Id: <199607301926.MAA00231@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c src/sys/i386/include clock.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/07/30 12:26:57 Modified: sys/i386/isa clock.c sys/i386/include clock.h Log: Fixed the machdep.i8254_freq and machdep.i586_freq sysctls. Writes were handled bogusly. Centralized the setting of all the frequency variables. Set these variables atomically. Some new ones aren't used yet. Revision Changes Path 1.66 +41 -18 src/sys/i386/isa/clock.c 1.15 +6 -2 src/sys/i386/include/clock.h From owner-cvs-sys Tue Jul 30 12:50:48 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA01704 for cvs-sys-outgoing; Tue, 30 Jul 1996 12:50:48 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA01680; Tue, 30 Jul 1996 12:50:39 -0700 (PDT) Date: Tue, 30 Jul 1996 12:50:39 -0700 (PDT) From: Bruce Evans Message-Id: <199607301950.MAA01680@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa cy.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/07/30 12:50:38 Modified: sys/i386/isa cy.c Log: Synced with sio.c: added support for TIOCDCDTIMESTAMP and simplified timestamp code. Revision Changes Path 1.34 +32 -40 src/sys/i386/isa/cy.c From owner-cvs-sys Tue Jul 30 13:31:12 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA04653 for cvs-sys-outgoing; Tue, 30 Jul 1996 13:31:12 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA04614; Tue, 30 Jul 1996 13:30:55 -0700 (PDT) Date: Tue, 30 Jul 1996 13:30:55 -0700 (PDT) From: Bruce Evans Message-Id: <199607302030.NAA04614@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 autoconf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/07/30 13:30:54 Modified: sys/i386/i386 autoconf.c Log: Fixed longstanding bug of not checking `dumpdev' or setting `dumplo' early enough when the dump device is specified in the config file. Removed stale comment about configuration root and swap devices. Don't bother clearing dumplo when dumpdev is set to NODEV. Everything is controlled by dumpdev. Fixed the kern.dumpdev sysctl. Writes were handle bogusly. Revision Changes Path 1.56 +7 -10 src/sys/i386/i386/autoconf.c From owner-cvs-sys Wed Jul 31 02:27:16 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA18048 for cvs-sys-outgoing; Wed, 31 Jul 1996 02:27:16 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA18026; Wed, 31 Jul 1996 02:26:57 -0700 (PDT) Date: Wed, 31 Jul 1996 02:26:57 -0700 (PDT) From: David Greenman Message-Id: <199607310926.CAA18026@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 genassym.c swtch.s src/sys/sys proc.h src/sys/kern init_main.c kern_fork.c kern_synch.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/07/31 02:26:56 Modified: sys/i386/i386 genassym.c swtch.s sys/kern init_main.c kern_fork.c kern_synch.c sys/sys proc.h Log: Converted timer/run queues to 4.4BSD queue style. Removed old and unused sleep(). Implemented wakeup_one() which may be used in the future to combat the "thundering herd" problem for some special cases. Reviewed by: dyson Revision Changes Path 1.37 +3 -3 src/sys/i386/i386/genassym.c 1.38 +4 -20 src/sys/i386/i386/swtch.s 1.44 +6 -1 src/sys/kern/init_main.c 1.23 +1 -2 src/sys/kern/kern_fork.c 1.21 +72 -104 src/sys/kern/kern_synch.c 1.26 +4 -3 src/sys/sys/proc.h From owner-cvs-sys Wed Jul 31 03:35:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA21339 for cvs-sys-outgoing; Wed, 31 Jul 1996 03:35:57 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA21325; Wed, 31 Jul 1996 03:35:48 -0700 (PDT) Date: Wed, 31 Jul 1996 03:35:48 -0700 (PDT) From: David Greenman Message-Id: <199607311035.DAA21325@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_synch.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/07/31 03:35:48 Modified: sys/kern kern_synch.c Log: Changed wakeup_one() to continue looping, possibly waking up additional processes, until it finds one that is not swapped out. Submitted by: dyson Revision Changes Path 1.22 +5 -8 src/sys/kern/kern_synch.c From owner-cvs-sys Wed Jul 31 05:36:21 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA26623 for cvs-sys-outgoing; Wed, 31 Jul 1996 05:36:21 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA26609; Wed, 31 Jul 1996 05:36:13 -0700 (PDT) Date: Wed, 31 Jul 1996 05:36:13 -0700 (PDT) From: Bruce Evans Message-Id: <199607311236.FAA26609@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 genassym.c swtch.s src/sys/i386/include pcb.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/07/31 05:36:13 Modified: sys/i386/include pcb.h sys/i386/i386 genassym.c swtch.s Log: Eliminated pcb_inl. It was always 0 because context switches don't occur in interrupt handlers. Revision Changes Path 1.16 +1 -2 src/sys/i386/include/pcb.h 1.38 +1 -2 src/sys/i386/i386/genassym.c 1.39 +2 -7 src/sys/i386/i386/swtch.s From owner-cvs-sys Thu Aug 1 13:29:49 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14200 for cvs-sys-outgoing; Thu, 1 Aug 1996 13:29:49 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14028; Thu, 1 Aug 1996 13:29:32 -0700 (PDT) Date: Thu, 1 Aug 1996 13:29:32 -0700 (PDT) From: Garrett Wollman Message-Id: <199608012029.NAA14028@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include cpufunc.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/08/01 13:29:30 Modified: sys/i386/include cpufunc.h Log: Add an fls() inline function which does the opposite operation to ffs(). (That is to say, it searches in the opposite direction.) Revision Changes Path 1.54 +12 -1 src/sys/i386/include/cpufunc.h From owner-cvs-sys Thu Aug 1 13:32:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA15609 for cvs-sys-outgoing; Thu, 1 Aug 1996 13:32:05 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA15476; Thu, 1 Aug 1996 13:31:48 -0700 (PDT) Date: Thu, 1 Aug 1996 13:31:48 -0700 (PDT) From: Garrett Wollman Message-Id: <199608012031.NAA15476@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys libkern.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/08/01 13:31:48 Modified: sys/sys libkern.h Log: Declare fls() for the non-inline case. Defer writing the generic version until it actually matters. Revision Changes Path 1.12 +4 -1 src/sys/sys/libkern.h From owner-cvs-sys Thu Aug 1 15:00:46 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA02260 for cvs-sys-outgoing; Thu, 1 Aug 1996 15:00:46 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA02226; Thu, 1 Aug 1996 15:00:18 -0700 (PDT) Date: Thu, 1 Aug 1996 15:00:18 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199608012200.PAA02226@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern imgact_gzip.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/08/01 15:00:17 Modified: sys/kern imgact_gzip.c Log: Write protect the text segment of gzip'ed programs. Various other cleanups by phk. Reviewed by: phk Submitted by: Igor Khasilev Revision Changes Path 1.23 +21 -27 src/sys/kern/imgact_gzip.c From owner-cvs-sys Thu Aug 1 15:16:06 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA03052 for cvs-sys-outgoing; Thu, 1 Aug 1996 15:16:06 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA02876; Thu, 1 Aug 1996 15:14:03 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id QAA09205; Thu, 1 Aug 1996 16:13:59 -0600 (MDT) Date: Thu, 1 Aug 1996 16:13:59 -0600 (MDT) Message-Id: <199608012213.QAA09205@rocky.mt.sri.com> From: Nate Williams To: Poul-Henning Kamp Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern imgact_gzip.c In-Reply-To: <199608012200.PAA02226@freefall.freebsd.org> References: <199608012200.PAA02226@freefall.freebsd.org> Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Poul-Henning Kamp writes: > phk 96/08/01 15:00:17 > > Modified: sys/kern imgact_gzip.c > Log: > Write protect the text segment of gzip'ed programs. > Various other cleanups by phk. You could probably delete the TODO item in that file as well. :) Nate From owner-cvs-sys Thu Aug 1 15:40:14 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA04055 for cvs-sys-outgoing; Thu, 1 Aug 1996 15:40:14 -0700 (PDT) Received: (from nate@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA03977; Thu, 1 Aug 1996 15:38:35 -0700 (PDT) Date: Thu, 1 Aug 1996 15:38:35 -0700 (PDT) From: Nate Williams Message-Id: <199608012238.PAA03977@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa/pcvt pcvt_kbd.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/08/01 15:38:33 Modified: sys/i386/isa/pcvt pcvt_kbd.h Log: When I hit [Ctrl]+8, appeared 9 instead of 8. It may not be critical but surprised me. ;-) Submitted by: tacha@tera.fukui-med.ac.jp Obtained from: NetBSD/GNATS Revision Changes Path 1.6 +1 -1 src/sys/i386/isa/pcvt/pcvt_kbd.h From owner-cvs-sys Thu Aug 1 18:12:42 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA09473 for cvs-sys-outgoing; Thu, 1 Aug 1996 18:12:42 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA09378; Thu, 1 Aug 1996 18:11:11 -0700 (PDT) Date: Thu, 1 Aug 1996 18:11:11 -0700 (PDT) From: Peter Wemm Message-Id: <199608020111.SAA09378@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/conf newvers.sh Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/01 18:11:11 Branch: sys/conf RELENG_2_1_0 Modified: sys/conf newvers.sh Log: Now that 2.1.5-RELEASE is done, and the -stable code has had two commits, it's time to stop calling it -RELEASE anymore. Revert last change and set the "name" back to 2.1-STABLE again. Reviewed by: jkh (about a week ago) Revision Changes Path 1.16.4.6 +3 -3 src/sys/conf/newvers.sh From owner-cvs-sys Thu Aug 1 18:20:59 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA09939 for cvs-sys-outgoing; Thu, 1 Aug 1996 18:20:59 -0700 (PDT) Received: from orion.webspan.net (root@orion.webspan.net [206.154.70.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA09930; Thu, 1 Aug 1996 18:20:56 -0700 (PDT) Received: from localhost (gpalmer@localhost [127.0.0.1]) by orion.webspan.net (8.7.5/8.6.12) with SMTP id VAA06378; Thu, 1 Aug 1996 21:20:47 -0400 (EDT) X-Authentication-Warning: orion.webspan.net: Host gpalmer@localhost [127.0.0.1] didn't use HELO protocol To: Peter Wemm cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org From: "Gary Palmer" Subject: Re: cvs commit: src/sys/conf newvers.sh In-reply-to: Your message of "Thu, 01 Aug 1996 18:11:11 PDT." <199608020111.SAA09378@freefall.freebsd.org> Date: Thu, 01 Aug 1996 21:20:46 -0400 Message-ID: <6375.838948846@orion.webspan.net> Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote in message ID <199608020111.SAA09378@freefall.freebsd.org>: > peter 96/08/01 18:11:11 > > Branch: sys/conf RELENG_2_1_0 > Modified: sys/conf newvers.sh > Log: > Now that 2.1.5-RELEASE is done, and the -stable code has had two commits, > it's time to stop calling it -RELEASE anymore. Revert last change and > set the "name" back to 2.1-STABLE again. IMHo, wouldn't 2.1.5-STABLE be more appropriate? I'd have thought that it'd be nice to indicate a post-2.1.5-R state. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info From owner-cvs-sys Thu Aug 1 18:29:40 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA10213 for cvs-sys-outgoing; Thu, 1 Aug 1996 18:29:40 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA10208; Thu, 1 Aug 1996 18:29:35 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id SAA10245; Thu, 1 Aug 1996 18:29:08 -0700 (PDT) To: "Gary Palmer" cc: Peter Wemm , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/conf newvers.sh In-reply-to: Your message of "Thu, 01 Aug 1996 21:20:46 EDT." <6375.838948846@orion.webspan.net> Date: Thu, 01 Aug 1996 18:29:08 -0700 Message-ID: <10243.838949348@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > IMHo, wouldn't 2.1.5-STABLE be more appropriate? I'd have thought that > it'd be nice to indicate a post-2.1.5-R state. Hmmmm. That would be more consistent, yes. Jordan From owner-cvs-sys Thu Aug 1 20:15:01 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA14883 for cvs-sys-outgoing; Thu, 1 Aug 1996 20:15:01 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA14872; Thu, 1 Aug 1996 20:14:54 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id UAA02608; Thu, 1 Aug 1996 20:14:52 -0700 From: "Rodney W. Grimes" Message-Id: <199608020314.UAA02608@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/sys/conf newvers.sh To: peter@freefall.freebsd.org (Peter Wemm) Date: Thu, 1 Aug 1996 20:14:52 -0700 (PDT) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199608020111.SAA09378@freefall.freebsd.org> from Peter Wemm at "Aug 1, 96 06:11:11 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > peter 96/08/01 18:11:11 > > Branch: sys/conf RELENG_2_1_0 > Modified: sys/conf newvers.sh > Log: > Now that 2.1.5-RELEASE is done, and the -stable code has had two commits, > it's time to stop calling it -RELEASE anymore. Revert last change and > set the "name" back to 2.1-STABLE again. Error... 2.1.5-STABLE would be more correct. > Reviewed by: jkh (about a week ago) > > Revision Changes Path > 1.16.4.6 +3 -3 src/sys/conf/newvers.sh > -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-cvs-sys Thu Aug 1 20:27:19 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA15257 for cvs-sys-outgoing; Thu, 1 Aug 1996 20:27:19 -0700 (PDT) Received: from spinner.DIALix.COM (spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA15247; Thu, 1 Aug 1996 20:27:06 -0700 (PDT) Received: from spinner.DIALix.COM (localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.7.5/8.7.3) with ESMTP id LAA18782; Fri, 2 Aug 1996 11:26:36 +0800 (WST) Message-Id: <199608020326.LAA18782@spinner.DIALix.COM> X-Mailer: exmh version 1.6.6 3/24/96 To: "Jordan K. Hubbard" cc: "Gary Palmer" , Peter Wemm , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/conf newvers.sh In-reply-to: Your message of "Thu, 01 Aug 1996 18:29:08 MST." <10243.838949348@time.cdrom.com> Date: Fri, 02 Aug 1996 11:26:35 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Jordan K. Hubbard" wrote: > > IMHo, wouldn't 2.1.5-STABLE be more appropriate? I'd have thought that > > it'd be nice to indicate a post-2.1.5-R state. > > Hmmmm. That would be more consistent, yes. > > Jordan Ack, this is getting messy. :-( We have the tag RELENG_2_1_0 for the branch, which should have been RELENG_2_1. What is commonly called 2.1R is actually 2.1.0R, and is a point on the 2.1 branch. 2.1.5R is also a point on the 2.1 branch. -stable is a sup of the 2.1 branch as well, not a 2.1.5 branch. If it's going to be called 2.1.5-something, perhaps "2.1.5-MAINT"? After all, the 2.1 branch is now a "dead end" with no more development, and just bug fixes aka "maintenence". Cheers, -Peter From owner-cvs-sys Thu Aug 1 23:12:21 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA22134 for cvs-sys-outgoing; Thu, 1 Aug 1996 23:12:21 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA22065; Thu, 1 Aug 1996 23:10:51 -0700 (PDT) Date: Thu, 1 Aug 1996 23:10:51 -0700 (PDT) From: Peter Wemm Message-Id: <199608020610.XAA22065@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi od.c sd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/01 23:10:51 Modified: sys/scsi od.c sd.c Log: The sd and od drivers didn't check for negative block numbers (like wd.c does) before calling dscheck(). dscheck() doesn't appreciate this and calls Debugger() and returns without setting bp->b_error. This can happen when there is a casting error and offsets > 2G are converted to negative off_t's in the disk tools. (dumpfs used to do this). Revision Changes Path 1.20 +3 -3 src/sys/scsi/od.c 1.92 +3 -3 src/sys/scsi/sd.c From owner-cvs-sys Thu Aug 1 23:15:55 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA22242 for cvs-sys-outgoing; Thu, 1 Aug 1996 23:15:55 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA22200; Thu, 1 Aug 1996 23:14:27 -0700 (PDT) Date: Thu, 1 Aug 1996 23:14:27 -0700 (PDT) From: Peter Wemm Message-Id: <199608020614.XAA22200@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern subr_diskslice.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/01 23:14:27 Modified: sys/kern subr_diskslice.c Log: dscheck() was returning without setting bp->b_error when given a negative block number.. (assuming Debugger() returned). The disk drivers assume that dscheck() sets both error markers (bp->b_error and set B_ERROR in bp->b_flags) if it fails. Revision Changes Path 1.28 +2 -1 src/sys/kern/subr_diskslice.c From owner-cvs-sys Fri Aug 2 00:36:01 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA24755 for cvs-sys-outgoing; Fri, 2 Aug 1996 00:36:01 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA24728; Fri, 2 Aug 1996 00:35:54 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id RAA13989; Fri, 2 Aug 1996 17:27:54 +1000 Date: Fri, 2 Aug 1996 17:27:54 +1000 From: Bruce Evans Message-Id: <199608020727.RAA13989@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/scsi od.c sd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: sys/scsi od.c sd.c > Log: > The sd and od drivers didn't check for negative block numbers (like wd.c > does) before calling dscheck(). dscheck() doesn't appreciate this and wd.c is incorrect. It's stupid to repeat this check in all drivers. A complete check involves checking much more than the block number (see below). Note that all the cd drivers still haven't been converted to use dscheck(), so they call bounds_check_with_label(), and neither the drivers nor bounds_check_with_label() check for negative block numbers. > calls Debugger() and returns without setting bp->b_error. It should set bp->b_error = EINVAL. It does set bp->b_flags |= B_ERROR. This should be translated to bp->b_error = EIO if bp->b_error is 0. Perhaps the critical bug is in biodone() or physio() not doing this translation. physio() does the following: if (bp->b_flags & B_ERROR) { error = bp->b_error; goto doerror; } ... doerror: ... return (error); The translation seems to only be done in biowait(). I now think that there should be no translation. bp->b_flags & B_ERROR should never be set without setting bp->b_error to nonzero. > This can happen when there is a casting error and offsets > 2G are > converted to negative off_t's in the disk tools. (dumpfs used to do this). The bug for this is in physio(). physio() should check for unrepresentable block numbers (which can result from both negative off_t's and off_t's larger than 2**40) and the dscheck() should only check inside an `#ifdef DIAGNOSTIC' section (unless the check can be folded into normal checks). dscheck() also has various overflow possibilities for block numbers slightly less than the maximum. Overflows to a negative number may occur for adding the partition offset, adding the slice offset and adding the size. These were supposed to be checked for (at least on 2's complement machines) provided overflows don't trap and disk sizes are not near the maximum (maxsz is signless so disk regions than begin near the maximum appear to be entirely beyond the disk). I can't see any fatal errors in the check. If bp->b_blkno < 0, then the `sz <= 0' case is reached and dscheck() sets bp->b_error = EINVAL and bp->b_flags |= B_ERROR and returns an error. bounds_check_with_label() has the same overflow possibilities but they aren't checked for at all (maxsz is signed ...). Bogus bp->b_count's also have interesting overflow possibilities. E.g., bp->b_bcount = -1 is rounded "up" to sz = 0. Bruce From owner-cvs-sys Fri Aug 2 13:18:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA27411 for cvs-sys-outgoing; Fri, 2 Aug 1996 13:18:09 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA27370; Fri, 2 Aug 1996 13:17:53 -0700 (PDT) Date: Fri, 2 Aug 1996 13:17:53 -0700 (PDT) From: Bruce Evans Message-Id: <199608022017.NAA27370@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 microtime.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/08/02 13:17:51 Modified: sys/i386/i386 microtime.s Log: Reduced division by i586_ctr_rate to multiplication by i586_ctr_multiplier. Revision Changes Path 1.16 +4 -6 src/sys/i386/i386/microtime.s From owner-cvs-sys Fri Aug 2 14:16:43 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA01788 for cvs-sys-outgoing; Fri, 2 Aug 1996 14:16:43 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA01738; Fri, 2 Aug 1996 14:16:29 -0700 (PDT) Date: Fri, 2 Aug 1996 14:16:29 -0700 (PDT) From: Bruce Evans Message-Id: <199608022116.OAA01738@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include clock.h src/sys/i386/i386 identcpu.c perfmon.c src/sys/i386/isa clock.c random_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/08/02 14:16:29 Modified: sys/i386/i386 identcpu.c perfmon.c sys/i386/isa clock.c random_machdep.c Log: Eliminated i586_ctr_rate. Use i586_ctr_freq instead. Revision Changes Path 1.2 +3 -5 src/sys/i386/i386/identcpu.c 1.7 +3 -2 src/sys/i386/i386/perfmon.c 1.67 +6 -12 src/sys/i386/isa/clock.c 1.10 +2 -2 src/sys/i386/isa/random_machdep.c Modified: sys/i386/include clock.h Log: Eliminated i586_ctr_rate. Use i586_ctr_freq instead. Changed i586_ctr_bias from long long to u_int. Only the low 32 bits are used now that microtime uses a multiplication to do the scaling. Previously the high 32 bits had to match those of rdtsc() to prevent overflow traps and invalid timeval adjustments. Revision Changes Path 1.16 +6 -8 src/sys/i386/include/clock.h From owner-cvs-sys Fri Aug 2 17:22:11 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA12272 for cvs-sys-outgoing; Fri, 2 Aug 1996 17:22:11 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA12250; Fri, 2 Aug 1996 17:21:46 -0700 (PDT) Date: Fri, 2 Aug 1996 17:21:46 -0700 (PDT) From: Peter Wemm Message-Id: <199608030021.RAA12250@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa si.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/02 17:21:46 Modified: sys/i386/isa si.c Log: make si.c compile in kernels without COMPAT_43. Revision Changes Path 1.50 +5 -2 src/sys/i386/isa/si.c