From owner-cvs-sys Sun Jun 22 02:34:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24149 for cvs-sys-outgoing; Sun, 22 Jun 1997 02:34:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24125; Sun, 22 Jun 1997 02:33:13 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA12414; Sun, 22 Jun 1997 02:32:33 -0700 (PDT) Date: Sun, 22 Jun 1997 02:32:33 -0700 (PDT) Message-Id: <199706220932.CAA12414@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pci - Imported sources Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/22 02:32:33 PDT src/sys/pci - Imported sources Update of /home/ncvs/src/sys/pci In directory freefall.freebsd.org:/tmp/cvs-serv12385 Log Message: Clean import of Matt Thomas's if_de.c driver as of 970508, rev 1.85. The slightly later one with optional if_media will be imported shortly as well. Obtained from: Matt Thomas via http://www.3am-software.com/ Status: Vendor Tag: MATT_THOMAS Release Tags: v970508 C src/sys/pci/if_de.c N src/sys/pci/if_devar.h N src/sys/pci/dc21040reg.h 1 conflicts created by this import. Use the following command to help the merge: cvs checkout -jMATT_THOMAS:yesterday -jMATT_THOMAS src/sys/pci From owner-cvs-sys Sun Jun 22 02:37:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24254 for cvs-sys-outgoing; Sun, 22 Jun 1997 02:37:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24231; Sun, 22 Jun 1997 02:37:34 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA12451; Sun, 22 Jun 1997 02:36:54 -0700 (PDT) Date: Sun, 22 Jun 1997 02:36:54 -0700 (PDT) Message-Id: <199706220936.CAA12451@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pci - Imported sources Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/22 02:36:54 PDT src/sys/pci - Imported sources Update of /home/ncvs/src/sys/pci In directory freefall.freebsd.org:/tmp/cvs-serv12432 Log Message: Clean import of if_de.c as of 970513, if_de.c rev 1.86. This should have optional if_media support. Obtained from: Matt Thomas via http://www.3am-software.com/ Status: Vendor Tag: MATT_THOMAS Release Tags: v970513 C src/sys/pci/if_de.c U src/sys/pci/if_devar.h U src/sys/pci/dc21040reg.h 1 conflicts created by this import. Use the following command to help the merge: cvs checkout -jMATT_THOMAS:yesterday -jMATT_THOMAS src/sys/pci From owner-cvs-sys Sun Jun 22 02:49:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24538 for cvs-sys-outgoing; Sun, 22 Jun 1997 02:49:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24515; Sun, 22 Jun 1997 02:49:25 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA12639; Sun, 22 Jun 1997 02:48:45 -0700 (PDT) Date: Sun, 22 Jun 1997 02:48:45 -0700 (PDT) Message-Id: <199706220948.CAA12639@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pci if_de.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/22 02:48:45 PDT Modified files: sys/pci if_de.c Log: Initial set of patches to get it to compile on >= 3.0. Most of the changes relative to the 2.2 compatable version are include file related, the new multicast interface (!) and the new PCI interface. This should work "as-is" but has not been tested (I have not been able to get a dc21x4x based card for testing). Revision Changes Path 1.65 +3632 -3073src/sys/pci/if_de.c From owner-cvs-sys Sun Jun 22 02:51:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24624 for cvs-sys-outgoing; Sun, 22 Jun 1997 02:51:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24600; Sun, 22 Jun 1997 02:50:49 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA12684; Sun, 22 Jun 1997 02:50:10 -0700 (PDT) Date: Sun, 22 Jun 1997 02:50:10 -0700 (PDT) Message-Id: <199706220950.CAA12684@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pci dc21040.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/22 02:50:09 PDT Removed files: sys/pci dc21040.h Log: Superceded by dc21040reg.h From owner-cvs-sys Sun Jun 22 03:07:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA25065 for cvs-sys-outgoing; Sun, 22 Jun 1997 03:07:25 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA25052; Sun, 22 Jun 1997 03:06:56 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id TAA11599; Sun, 22 Jun 1997 19:36:53 +0930 (CST) From: Michael Smith Message-Id: <199706221006.TAA11599@genesis.atrad.adelaide.edu.au> Subject: Re: cvs commit: src/sys/pci if_de.c In-Reply-To: <199706220948.CAA12639@freefall.freebsd.org> from Peter Wemm at "Jun 22, 97 02:48:45 am" To: peter@FreeBSD.ORG (Peter Wemm) Date: Sun, 22 Jun 1997 19:36:53 +0930 (CST) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (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 Wemm stands accused of saying: > peter 1997/06/22 02:48:45 PDT > > Modified files: > sys/pci if_de.c > Log: > Initial set of patches to get it to compile on >= 3.0. Most of the > changes relative to the 2.2 compatable version are include file > related, the new multicast interface (!) and the new PCI interface. > > This should work "as-is" but has not been tested (I have not been able > to get a dc21x4x based card for testing). Peter; if you areally this hard up for finding one, fer gossake reply to my mail so I can _send_ you one. I'll skip eating out this week 8) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-cvs-sys Sun Jun 22 03:15:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA25303 for cvs-sys-outgoing; Sun, 22 Jun 1997 03:15:02 -0700 (PDT) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA25287; Sun, 22 Jun 1997 03:14:37 -0700 (PDT) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id DAA25586; Sun, 22 Jun 1997 03:14:40 -0700 (PDT) To: Michael Smith cc: peter@FreeBSD.ORG (Peter Wemm), cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci if_de.c In-reply-to: Your message of "Sun, 22 Jun 1997 19:36:53 +0930." <199706221006.TAA11599@genesis.atrad.adelaide.edu.au> Date: Sun, 22 Jun 1997 03:14:38 -0700 Message-ID: <25582.866974478@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > This should work "as-is" but has not been tested (I have not been able > > to get a dc21x4x based card for testing). > > Peter; if you areally this hard up for finding one, fer gossake reply > to my mail so I can _send_ you one. I'll skip eating out this week 8) No need to skip eating out - I'd be happy to send Peter any number of these cards, an offer I've made several times. ;-) Jordan From owner-cvs-sys Sun Jun 22 05:05:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA29362 for cvs-sys-outgoing; Sun, 22 Jun 1997 05:05:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA29336; Sun, 22 Jun 1997 05:05:21 -0700 (PDT) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA14764; Sun, 22 Jun 1997 05:04:40 -0700 (PDT) Date: Sun, 22 Jun 1997 05:04:40 -0700 (PDT) Message-Id: <199706221204.FAA14764@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1997/06/22 05:04:40 PDT Modified files: sys/i386/isa syscons.c Log: The syscons driver doesn't really check the presence of the display adapter during the system boot. It always assumes there is at least a monochrome adapter. This is rather strange assumption. If there is no dispaly adapter, the console driver cannot be any good... In this patch, scinit() is split into two parts; the first part is now called scvidprobe() which will detect the presence of video card at the CGA or MONO buffer address and returns TRUE if found. It is called during sccnprobe() and scprobe(). Both will fail if no video card is found. The second part, whose name stays the same as before, scinit(), is called from sccninit() and scattach() to complete initialization of the found video card. The keyboard probe code is moved from scprobe() to sckbdprobe(); scprobe() now calls scvidprobe() and sckbdprobe() to carry out device probe. (This is rather a cosmetic change, but it sure makes the code look better organized.) The problem pointed out by Joerg. Revision Changes Path 1.217 +163 -67 src/sys/i386/isa/syscons.c From owner-cvs-sys Sun Jun 22 06:54:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA02462 for cvs-sys-outgoing; Sun, 22 Jun 1997 06:54:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA02373; Sun, 22 Jun 1997 06:51:48 -0700 (PDT) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA15204; Sun, 22 Jun 1997 06:51:07 -0700 (PDT) Date: Sun, 22 Jun 1997 06:51:07 -0700 (PDT) Message-Id: <199706221351.GAA15204@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk msmith 1997/06/22 06:51:06 PDT Modified files: sys/i386/i386 userconfig.c Log: From the submitted patch : The kernel with USERCONFIG_BOOT and VISUAL_USERCONFIG option presents the user the kernel configuration menu upon boot. The user can navigate the menu with cursor keys. I think it would be nice if the user can navigate and select a menu item with regular keys as well, so that the user who is using a serial console which is not so capable of esc sequences still can choose a menu item. With the following patch we can select an item by typing an item number, 1, 2, or 3, or mnemonic `s' to skip UserConfig, 'v' to enter the visual mode, and `c' to start the CLI mode. `p', `u', `n', and `d' will move cursor up and down. Submitted by: yokota Revision Changes Path 1.86 +34 -2 src/sys/i386/i386/userconfig.c From owner-cvs-sys Sun Jun 22 08:48:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA08210 for cvs-sys-outgoing; Sun, 22 Jun 1997 08:48:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA08156; Sun, 22 Jun 1997 08:48:00 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA15690; Sun, 22 Jun 1997 08:47:18 -0700 (PDT) Date: Sun, 22 Jun 1997 08:47:18 -0700 (PDT) Message-Id: <199706221547.IAA15690@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 machdep.c src/sys/vm vm_kern.c vm_kern.h vm_object.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/22 08:47:18 PDT Modified files: sys/i386/i386 machdep.c sys/vm vm_kern.c vm_kern.h vm_object.c Log: Kill some stale leftovers from the earlier attempts at SMP per-cpu pages Revision Changes Path 1.250 +1 -18 src/sys/i386/i386/machdep.c 1.37 +1 -6 src/sys/vm/vm_kern.c 1.15 +1 -2 src/sys/vm/vm_kern.h 1.94 +1 -6 src/sys/vm/vm_object.c From owner-cvs-sys Sun Jun 22 09:05:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA09402 for cvs-sys-outgoing; Sun, 22 Jun 1997 09:05:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA09320; Sun, 22 Jun 1997 09:05:07 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15993; Sun, 22 Jun 1997 09:04:24 -0700 (PDT) Date: Sun, 22 Jun 1997 09:04:24 -0700 (PDT) Message-Id: <199706221604.JAA15993@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/conf LINT SMP-GENERIC options.i386 src/sys/i386/i386 mp_apicdefs.s exception.s locore.s machdep.c microtime.s mp_machdep.c mpapic.c mpboot.s mplock.s pmap.c support.s swtch.s trap.c vm_machdep.c src/sys/i386/include apic.h ... Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/22 09:04:24 PDT Modified files: sys/i386/conf LINT SMP-GENERIC options.i386 sys/i386/i386 exception.s locore.s machdep.c microtime.s mp_machdep.c mpapic.c mpboot.s mplock.s pmap.c support.s swtch.s trap.c vm_machdep.c sys/i386/include apic.h asnames.h mpapic.h npx.h pcb.h pmap.h smp.h sys/i386/isa apic_vector.s intr_machdep.c npx.c sys/kern init_main.c init_smp.c kern_fork.c kern_shutdown.c kern_synch.c sys/sys kernel.h proc.h Added files: sys/i386/i386 mp_apicdefs.s Removed files: sys/i386/include smpasm.h Log: Preliminary support for per-cpu data pages. This eliminates a lot of #ifdef SMP type code. Things like _curproc reside in a data page that is unique on each cpu, eliminating the expensive macros like: #define curproc (SMPcurproc[cpunumber()]) There are some unresolved bootstrap and address space sharing issues at present, but Steve is waiting on this for other work. There is still some strictly temporary code present that isn't exactly pretty. This is part of a larger change that has run into some bumps, this part is standalone so it should be safe. The temporary code goes away when the full idle cpu support is finished. Reviewed by: fsmp, dyson Revision Changes Path 1.346 +1 -10 src/sys/i386/conf/LINT 1.4 +1 -4 src/sys/i386/conf/SMP-GENERIC 1.48 +1 -7 src/sys/i386/conf/options.i386 1.30 +2 -8 src/sys/i386/i386/exception.s 1.89 +46 -25 src/sys/i386/i386/locore.s 1.251 +19 -46 src/sys/i386/i386/machdep.c 1.24 +2 -6 src/sys/i386/i386/microtime.s 1.18 +109 -45 src/sys/i386/i386/mp_machdep.c 1.7 +31 -36 src/sys/i386/i386/mpapic.c 1.2 +5 -6 src/sys/i386/i386/mpboot.s 1.4 +10 -42 src/sys/i386/i386/mplock.s 1.146 +37 -64 src/sys/i386/i386/pmap.c 1.54 +27 -28 src/sys/i386/i386/support.s 1.53 +48 -42 src/sys/i386/i386/swtch.s 1.100 +4 -15 src/sys/i386/i386/trap.c 1.81 +1 -8 src/sys/i386/i386/vm_machdep.c 1.4 +1 -112 src/sys/i386/include/apic.h 1.4 +4 -7 src/sys/i386/include/asnames.h 1.8 +6 -8 src/sys/i386/include/mpapic.h 1.13 +3 -1 src/sys/i386/include/npx.h 1.23 +1 -9 src/sys/i386/include/pcb.h 1.51 +8 -8 src/sys/i386/include/pmap.h 1.11 +7 -35 src/sys/i386/include/smp.h 1.3 +12 -13 src/sys/i386/isa/apic_vector.s 1.3 +2 -2 src/sys/i386/isa/intr_machdep.c 1.46 +6 -7 src/sys/i386/isa/npx.c 1.65 +2 -6 src/sys/kern/init_main.c 1.7 +26 -20 src/sys/kern/init_smp.c 1.44 +14 -1 src/sys/kern/kern_fork.c 1.17 +7 -4 src/sys/kern/kern_shutdown.c 1.32 +3 -9 src/sys/kern/kern_synch.c 1.32 +1 -10 src/sys/sys/kernel.h 1.41 +1 -10 src/sys/sys/proc.h From owner-cvs-sys Sun Jun 22 12:05:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA17803 for cvs-sys-outgoing; Sun, 22 Jun 1997 12:05:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA17751; Sun, 22 Jun 1997 12:04:47 -0700 (PDT) From: Sean Eric Fagan Received: (from sef@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA19073; Sun, 22 Jun 1997 12:04:04 -0700 (PDT) Date: Sun, 22 Jun 1997 12:04:04 -0700 (PDT) Message-Id: <199706221904.MAA19073@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_xenix.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sef 1997/06/22 12:04:04 PDT Modified files: sys/i386/ibcs2 ibcs2_xenix.c Log: For the xenix_ftime() routine, don't use the native version of the struct -- the XENIX version is packed, and two bytes smaller than ours. So, define the structure, and have it packed. I used the __attribte__((packed)) modifier for this; I could also have surrounded the struct definition with #pragma pack(2) -- but that would have meant making ibcs2_timeb's definition outside the function. This may need to be revisited if we ever want to compile with a compiler other than gcc. (I also used 'unsigned long' instead of 'time_t' because I am writing to match an external specification -- and the definition of time_t could change.) Reviewed by: Steven Wallace Revision Changes Path 1.12 +8 -3 src/sys/i386/ibcs2/ibcs2_xenix.c From owner-cvs-sys Mon Jun 23 02:32:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24638 for cvs-sys-outgoing; Mon, 23 Jun 1997 02:32:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24578; Mon, 23 Jun 1997 02:31:54 -0700 (PDT) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA28003; Mon, 23 Jun 1997 02:31:06 -0700 (PDT) Date: Mon, 23 Jun 1997 02:31:06 -0700 (PDT) Message-Id: <199706230931.CAA28003@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/pc98 syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/06/23 02:31:06 PDT Modified files: sys/pc98/pc98 syscons.c Log: Synchronize with sys/i386/isa/syscons.c revision 1.217. Revision Changes Path 1.41 +174 -76 src/sys/pc98/pc98/syscons.c From owner-cvs-sys Mon Jun 23 02:33:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24694 for cvs-sys-outgoing; Mon, 23 Jun 1997 02:33:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24653; Mon, 23 Jun 1997 02:32:48 -0700 (PDT) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA28036; Mon, 23 Jun 1997 02:32:00 -0700 (PDT) Date: Mon, 23 Jun 1997 02:32:00 -0700 (PDT) Message-Id: <199706230932.CAA28036@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/06/23 02:32:00 PDT Modified files: sys/pc98/i386 userconfig.c Log: Synchronize with sys/i386/i386/userconfig.c revision 1.86. Revision Changes Path 1.30 +34 -2 src/sys/pc98/i386/userconfig.c From owner-cvs-sys Mon Jun 23 02:36:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24928 for cvs-sys-outgoing; Mon, 23 Jun 1997 02:36:59 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24878; Mon, 23 Jun 1997 02:36:37 -0700 (PDT) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA28128; Mon, 23 Jun 1997 02:35:49 -0700 (PDT) Date: Mon, 23 Jun 1997 02:35:49 -0700 (PDT) Message-Id: <199706230935.CAA28128@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/conf options.pc98 src/sys/pc98/i386 machdep.c microtime.s trap.c src/sys/pc98/pc98 npx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/06/23 02:35:48 PDT Modified files: sys/pc98/conf options.pc98 sys/pc98/i386 machdep.c microtime.s trap.c sys/pc98/pc98 npx.c Log: Synchronize with following changes: > Revision Changes Path > 1.250 +1 -18 src/sys/i386/i386/machdep.c > 1.48 +1 -7 src/sys/i386/conf/options.i386 > 1.251 +19 -46 src/sys/i386/i386/machdep.c > 1.24 +2 -6 src/sys/i386/i386/microtime.s > 1.100 +4 -15 src/sys/i386/i386/trap.c > 1.46 +6 -7 src/sys/i386/isa/npx.c Revision Changes Path 1.28 +1 -7 src/sys/pc98/conf/options.pc98 1.46 +19 -63 src/sys/pc98/i386/machdep.c 1.11 +2 -6 src/sys/pc98/i386/microtime.s 1.25 +4 -15 src/sys/pc98/i386/trap.c 1.21 +6 -7 src/sys/pc98/pc98/npx.c From owner-cvs-sys Mon Jun 23 14:52:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA03191 for cvs-sys-outgoing; Mon, 23 Jun 1997 14:52:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA03051; Mon, 23 Jun 1997 14:51:56 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA02295; Mon, 23 Jun 1997 14:51:04 -0700 (PDT) Date: Mon, 23 Jun 1997 14:51:04 -0700 (PDT) Message-Id: <199706232151.OAA02295@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/23 14:51:04 PDT Modified files: sys/vm vm_map.c Log: Don't try upgrading an existing exclusive lock in vm_map_user_pageable. This should close PR kern/3180. Also remove a bogus unconditional call to vm_map_unlock_read in vm_map_lookup. Revision Changes Path 1.78 +3 -16 src/sys/vm/vm_map.c From owner-cvs-sys Mon Jun 23 23:56:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA28351 for cvs-sys-outgoing; Mon, 23 Jun 1997 23:56:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA28323; Mon, 23 Jun 1997 23:56:26 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA09333; Mon, 23 Jun 1997 23:55:31 -0700 (PDT) Date: Mon, 23 Jun 1997 23:55:31 -0700 (PDT) Message-Id: <199706240655.XAA09333@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 mp_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/23 23:55:31 PDT Modified files: sys/i386/i386 mp_machdep.c Log: Fixed breakage for "default" configurations in mptable_pass1(). Revision Changes Path 1.19 +2 -2 src/sys/i386/i386/mp_machdep.c From owner-cvs-sys Tue Jun 24 00:49:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA00810 for cvs-sys-outgoing; Tue, 24 Jun 1997 00:49:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA00777; Tue, 24 Jun 1997 00:48:59 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA09696; Tue, 24 Jun 1997 00:48:03 -0700 (PDT) Date: Tue, 24 Jun 1997 00:48:03 -0700 (PDT) Message-Id: <199706240748.AAA09696@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 mp_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/24 00:48:03 PDT Modified files: sys/i386/i386 mp_machdep.c Log: Fix calculation of initial mplock value. We now use LOGICAL, not PHYSICAL, IDs to calculate the mplock. Revision Changes Path 1.20 +2 -2 src/sys/i386/i386/mp_machdep.c From owner-cvs-sys Tue Jun 24 02:42:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA05987 for cvs-sys-outgoing; Tue, 24 Jun 1997 02:42:33 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA05945; Tue, 24 Jun 1997 02:41:57 -0700 (PDT) From: David Greenman Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA10109; Tue, 24 Jun 1997 02:41:01 -0700 (PDT) Date: Tue, 24 Jun 1997 02:41:01 -0700 (PDT) Message-Id: <199706240941.CAA10109@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_malloc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 1997/06/24 02:41:01 PDT Modified files: sys/kern kern_malloc.c Log: Killed bogus kernacc() call in malloc() DIAGNOSTIC code. kernacc() by it's nature, locks the kernal_map, and this is deadly if kernal_map had been locked previous to a (net) interrupt. Revision Changes Path 1.27 +1 -8 src/sys/kern/kern_malloc.c From owner-cvs-sys Tue Jun 24 02:46:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA06177 for cvs-sys-outgoing; Tue, 24 Jun 1997 02:46:54 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA06155; Tue, 24 Jun 1997 02:46:33 -0700 (PDT) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA10163; Tue, 24 Jun 1997 02:45:36 -0700 (PDT) Date: Tue, 24 Jun 1997 02:45:36 -0700 (PDT) Message-Id: <199706240945.CAA10163@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 identcpu.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/06/24 02:45:36 PDT Modified files: sys/i386/i386 identcpu.c Log: Recognize AMD K5 PR166 and PR200 CPUs. Revision Changes Path 1.25 +7 -1 src/sys/i386/i386/identcpu.c From owner-cvs-sys Tue Jun 24 02:47:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA06209 for cvs-sys-outgoing; Tue, 24 Jun 1997 02:47:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA06179; Tue, 24 Jun 1997 02:46:55 -0700 (PDT) From: David Greenman Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA10181; Tue, 24 Jun 1997 02:45:58 -0700 (PDT) Date: Tue, 24 Jun 1997 02:45:58 -0700 (PDT) Message-Id: <199706240945.CAA10181@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_malloc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 1997/06/24 02:45:58 PDT Modified files: (Branch: RELENG_2_2) sys/kern kern_malloc.c Log: Brought in fix from rev 1.27: killed kernacc() call in malloc() DIAGNOSTIC code. Revision Changes Path 1.24.2.1 +1 -8 src/sys/kern/kern_malloc.c From owner-cvs-sys Tue Jun 24 03:05:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA06796 for cvs-sys-outgoing; Tue, 24 Jun 1997 03:05:00 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA06758; Tue, 24 Jun 1997 03:04:13 -0700 (PDT) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA10263; Tue, 24 Jun 1997 03:03:16 -0700 (PDT) Date: Tue, 24 Jun 1997 03:03:16 -0700 (PDT) Message-Id: <199706241003.DAA10263@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 identcpu.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/06/24 03:03:16 PDT Modified files: (Branch: RELENG_2_2) sys/i386/i386 identcpu.c Log: YMAFC (revision 1.25; recognize AMD K5 PR166 and PR200 CPUs). Revision Changes Path 1.7.2.6 +7 -1 src/sys/i386/i386/identcpu.c From owner-cvs-sys Tue Jun 24 05:36:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA12136 for cvs-sys-outgoing; Tue, 24 Jun 1997 05:36:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA12094; Tue, 24 Jun 1997 05:35:33 -0700 (PDT) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA11617; Tue, 24 Jun 1997 05:34:35 -0700 (PDT) Date: Tue, 24 Jun 1997 05:34:35 -0700 (PDT) Message-Id: <199706241234.FAA11617@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa syscons.c syscons.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1997/06/24 05:34:35 PDT Modified files: (Branch: RELENG_2_2) sys/i386/isa syscons.c syscons.h Log: YAMFC: incorporate changes in v1.206, v1.208 and v1.216 which have not been integrated into RELENG_2_2. With this merge, syscons.c and syscons.h are brought up to the level mostly on a par with v1.216 and v1.29. Revision Changes Path 1.182.2.19 +46 -26 src/sys/i386/isa/syscons.c 1.23.2.4 +4 -4 src/sys/i386/isa/syscons.h From owner-cvs-sys Tue Jun 24 10:27:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA26317 for cvs-sys-outgoing; Tue, 24 Jun 1997 10:27:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA26292; Tue, 24 Jun 1997 10:27:07 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA12675; Tue, 24 Jun 1997 10:26:08 -0700 (PDT) Date: Tue, 24 Jun 1997 10:26:08 -0700 (PDT) Message-Id: <199706241726.KAA12675@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 mp_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/24 10:26:08 PDT Modified files: sys/i386/i386 mp_machdep.c Log: Ensure that the boot CPU honours write protection in kernel mode. This fixes one of the problems noted in PR kern/3688. Revision Changes Path 1.21 +9 -1 src/sys/i386/i386/mp_machdep.c From owner-cvs-sys Tue Jun 24 11:22:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA28740 for cvs-sys-outgoing; Tue, 24 Jun 1997 11:22:44 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA28712; Tue, 24 Jun 1997 11:22:09 -0700 (PDT) From: John Hay Received: (from jhay@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA12837; Tue, 24 Jun 1997 11:21:10 -0700 (PDT) Date: Tue, 24 Jun 1997 11:21:10 -0700 (PDT) Message-Id: <199706241821.LAA12837@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_clock.c kern_time.c src/sys/sys kernel.h time.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jhay 1997/06/24 11:21:10 PDT Modified files: sys/kern kern_clock.c kern_time.c sys/sys kernel.h time.h Log: Add tickadj to struct clockinfo, like NetBSD and OpenBSD. NOTE: libc, time, kgmon and rpc.rstatd will have to be recompiled. Revision Changes Path 1.37 +2 -1 src/sys/kern/kern_clock.c 1.29 +1 -2 src/sys/kern/kern_time.c 1.33 +2 -1 src/sys/sys/kernel.h 1.15 +2 -1 src/sys/sys/time.h From owner-cvs-sys Tue Jun 24 18:03:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA18687 for cvs-sys-outgoing; Tue, 24 Jun 1997 18:03:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA18633; Tue, 24 Jun 1997 18:02:25 -0700 (PDT) From: Sean Eric Fagan Received: (from sef@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA16810; Tue, 24 Jun 1997 18:01:23 -0700 (PDT) Date: Tue, 24 Jun 1997 18:01:23 -0700 (PDT) Message-Id: <199706250101.SAA16810@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_misc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sef 1997/06/24 18:01:23 PDT Modified files: sys/i386/ibcs2 ibcs2_misc.c Log: Do The Right Thing when an iBCS2 program does getgroups(0, whatever) -- we were returning EFAULT, when it is a completely acceptable thing to do. Also, at the same time, be a *bit* optimizing and don't allocate any "stackgrap" memory if we're not going to use it. This is another Oracle-discovered problem. Submitted by: Steven Wallace Revision Changes Path 1.21 +6 -2 src/sys/i386/ibcs2/ibcs2_misc.c From owner-cvs-sys Wed Jun 25 00:35:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA07551 for cvs-sys-outgoing; Wed, 25 Jun 1997 00:35:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA07470; Wed, 25 Jun 1997 00:32:53 -0700 (PDT) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA22382; Wed, 25 Jun 1997 00:31:49 -0700 (PDT) Date: Wed, 25 Jun 1997 00:31:49 -0700 (PDT) Message-Id: <199706250731.AAA22382@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_mib.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/06/25 00:31:49 PDT Modified files: sys/kern kern_mib.c Log: Don't ever allow lowering the securelevel at all. Allowing it does nothing good except of opening a can of (potential or real) security holes. People maintaining a machine with higher security requirements need to be on the console anyway, so there's no point in not forcing them to reboot before starting maintenance. Agreed by: hackers, guido Revision Changes Path 1.9 +2 -2 src/sys/kern/kern_mib.c From owner-cvs-sys Wed Jun 25 01:34:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA10436 for cvs-sys-outgoing; Wed, 25 Jun 1997 01:34:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA10372; Wed, 25 Jun 1997 01:33:38 -0700 (PDT) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA22836; Wed, 25 Jun 1997 01:32:34 -0700 (PDT) Date: Wed, 25 Jun 1997 01:32:34 -0700 (PDT) Message-Id: <199706250832.BAA22836@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/nfs nfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 1997/06/25 01:32:34 PDT Modified files: sys/nfs nfs_vnops.c Log: Make nfs_lookup return a NULLVP on error so that DIAGNOSTIC kernels don't panic. Revision Changes Path 1.55 +8 -4 src/sys/nfs/nfs_vnops.c From owner-cvs-sys Wed Jun 25 01:37:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA10639 for cvs-sys-outgoing; Wed, 25 Jun 1997 01:37:00 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA10609; Wed, 25 Jun 1997 01:36:46 -0700 (PDT) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA22876; Wed, 25 Jun 1997 01:35:42 -0700 (PDT) Date: Wed, 25 Jun 1997 01:35:42 -0700 (PDT) Message-Id: <199706250835.BAA22876@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/nfs nfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 1997/06/25 01:35:41 PDT Modified files: sys/nfs nfs_bio.c Log: Avoid small synchronous writes when an application does lots of random-access short writes within a block (e.g. ld). Revision Changes Path 1.42 +115 -19 src/sys/nfs/nfs_bio.c From owner-cvs-sys Wed Jun 25 01:52:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA11330 for cvs-sys-outgoing; Wed, 25 Jun 1997 01:52:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA11307; Wed, 25 Jun 1997 01:52:03 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA23025; Wed, 25 Jun 1997 01:50:59 -0700 (PDT) Date: Wed, 25 Jun 1997 01:50:59 -0700 (PDT) Message-Id: <199706250850.BAA23025@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/include stdarg.h varargs.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/06/25 01:50:59 PDT Modified files: (Branch: RELENG_2_2) sys/i386/include stdarg.h varargs.h Log: YAMFC (fixed va_arg() to work for small args). Revision Changes Path 1.6.8.1 +8 -14 src/sys/i386/include/stdarg.h 1.2.12.2 +7 -10 src/sys/i386/include/varargs.h From owner-cvs-sys Wed Jun 25 04:17:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA17279 for cvs-sys-outgoing; Wed, 25 Jun 1997 04:17:33 -0700 (PDT) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA17274; Wed, 25 Jun 1997 04:17:22 -0700 (PDT) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.5/8.8.5) id LAA03564; Wed, 25 Jun 1997 11:18:12 +0200 (CEST) From: Mikael Karpberg Message-Id: <199706250918.LAA03564@ocean.campus.luth.se> Subject: Re: cvs commit: src/sys/kern kern_mib.c In-Reply-To: <199706250731.AAA22382@freefall.freebsd.org> from Joerg Wunsch at "Jun 25, 97 00:31:49 am" To: joerg@FreeBSD.ORG (Joerg Wunsch) Date: Wed, 25 Jun 1997 11:18:12 +0200 (CEST) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (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 According to Joerg Wunsch: > joerg 1997/06/25 00:31:49 PDT > > Modified files: > sys/kern kern_mib.c > Log: > Don't ever allow lowering the securelevel at all. Allowing it does > nothing good except of opening a can of (potential or real) security > holes. People maintaining a machine with higher security requirements > need to be on the console anyway, so there's no point in not forcing > them to reboot before starting maintenance. Being a security fix, will it be tagged into RELENG_2_2 also? /Mikael From owner-cvs-sys Wed Jun 25 12:09:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA09120 for cvs-sys-outgoing; Wed, 25 Jun 1997 12:09:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA09068; Wed, 25 Jun 1997 12:08:52 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA26570; Wed, 25 Jun 1997 12:07:45 -0700 (PDT) Date: Wed, 25 Jun 1997 12:07:45 -0700 (PDT) Message-Id: <199706251907.MAA26570@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/scsi scsi_driver.c scsi_driver.h scsiconf.h sd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/25 12:07:45 PDT Modified files: sys/scsi scsi_driver.c scsi_driver.h scsiconf.h sd.c Log: Introduce an advisory exclusive lock on the scsi link structure. Change sd_open, sd_close and sd_ioctl to use this lock to ensure serialization of some critical operations, thus avoiding some race conditions. Ideas picked from NetBSD (ccd and sd devices). This fixes one of the problems noted in PR kern/3688. Reviewed by: "Justin T. Gibbs" Revision Changes Path 1.24 +23 -1 src/sys/scsi/scsi_driver.c 1.12 +3 -1 src/sys/scsi/scsi_driver.h 1.55 +3 -1 src/sys/scsi/scsiconf.h 1.106 +18 -1 src/sys/scsi/sd.c From owner-cvs-sys Wed Jun 25 12:53:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA11224 for cvs-sys-outgoing; Wed, 25 Jun 1997 12:53:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA11107; Wed, 25 Jun 1997 12:50:54 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA26823; Wed, 25 Jun 1997 12:49:46 -0700 (PDT) Date: Wed, 25 Jun 1997 12:49:46 -0700 (PDT) Message-Id: <199706251949.MAA26823@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 vm_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/25 12:49:46 PDT Modified files: sys/i386/i386 vm_machdep.c Log: Block some interrupts during the call to pmap_zero_page in vm_page_zero_idle. This fixes some occurences of the problem reported in PR kern/3216: "panic: pmap_zero_page: CMAP busy" Revision Changes Path 1.82 +3 -1 src/sys/i386/i386/vm_machdep.c From owner-cvs-sys Wed Jun 25 13:10:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA11908 for cvs-sys-outgoing; Wed, 25 Jun 1997 13:10:55 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA11837; Wed, 25 Jun 1997 13:08:59 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA26896; Wed, 25 Jun 1997 13:07:51 -0700 (PDT) Date: Wed, 25 Jun 1997 13:07:51 -0700 (PDT) Message-Id: <199706252007.NAA26896@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/25 13:07:51 PDT Modified files: sys/i386/i386 pmap.c Log: Allow kernel configuration file to override PMAP_SHPGPERPROC. The default value (200) is too low in some environments, causing a fatal "panic: get_pv_entry: cannot get a pv_entry_t". The same panic might still occur due to temporary shortage of free physical memory (cf. PR i386/2431). Revision Changes Path 1.147 +3 -1 src/sys/i386/i386/pmap.c From owner-cvs-sys Wed Jun 25 13:22:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA12293 for cvs-sys-outgoing; Wed, 25 Jun 1997 13:22:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA12226; Wed, 25 Jun 1997 13:20:07 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA26963; Wed, 25 Jun 1997 13:18:59 -0700 (PDT) Date: Wed, 25 Jun 1997 13:18:59 -0700 (PDT) Message-Id: <199706252018.NAA26963@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/include vmparam.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/25 13:18:59 PDT Modified files: sys/i386/include vmparam.h Log: Allow the kernel configuration file to override the amount of memory available to the kernel (VM_KMEM_SIZE). The default (32 MB) is too low when having 512 MB or more physical memory in a server environment. This is relevant on systems where "panic: kmem_malloc: kmem_map too small" is a problem. Revision Changes Path 1.26 +3 -1 src/sys/i386/include/vmparam.h From owner-cvs-sys Wed Jun 25 14:06:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA14271 for cvs-sys-outgoing; Wed, 25 Jun 1997 14:06:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA14011; Wed, 25 Jun 1997 14:03:03 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA27191; Wed, 25 Jun 1997 14:01:54 -0700 (PDT) Date: Wed, 25 Jun 1997 14:01:54 -0700 (PDT) Message-Id: <199706252101.OAA27191@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pci pci.c src/sys/i386/include smp.h src/sys/i386/isa clock.c isa.c src/sys/i386/i386 mp_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/25 14:01:54 PDT Modified files: sys/pci pci.c Log: Modified to use renamed get_pci_apic_irq() -> pci_apic_pin() function. Revision Changes Path 1.77 +7 -5 src/sys/pci/pci.c Modified files: sys/i386/include smp.h Log: Modified to declare merged/renamed functions: - get_isa_apic_mask() -> isa_apic_mask() - get_isa_apic_irq() && get_eisa_apic_irq() -> isa_apic_pin() - get_pci_apic_irq() -> pci_apic_pin() Revision Changes Path 1.12 +4 -5 src/sys/i386/include/smp.h Modified files: sys/i386/isa clock.c isa.c Log: Modified to use merged/renamed functions: - get_isa_apic_mask() -> isa_apic_mask() - get_isa_apic_irq() && get_eisa_apic_irq() -> isa_apic_pin() Revision Changes Path 1.88 +30 -34 src/sys/i386/isa/clock.c 1.93 +5 -5 src/sys/i386/isa/isa.c Modified files: sys/i386/i386 mp_machdep.c Log: Merged/renamed functions: - get_isa_apic_mask() -> isa_apic_mask() - get_isa_apic_irq() && get_eisa_apic_irq() -> isa_apic_pin() - get_pci_apic_irq() -> pci_apic_pin() Revision Changes Path 1.22 +55 -81 src/sys/i386/i386/mp_machdep.c From owner-cvs-sys Wed Jun 25 14:10:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA14544 for cvs-sys-outgoing; Wed, 25 Jun 1997 14:10:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA14420; Wed, 25 Jun 1997 14:08:35 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA27261; Wed, 25 Jun 1997 14:07:26 -0700 (PDT) Date: Wed, 25 Jun 1997 14:07:26 -0700 (PDT) Message-Id: <199706252107.OAA27261@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/nfs nfs_syscalls.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/25 14:07:26 PDT Modified files: sys/nfs nfs_syscalls.c Log: Clear nfs_iodwant[myiod] when the nfsiod process exits due to a signal. Revision Changes Path 1.25 +2 -1 src/sys/nfs/nfs_syscalls.c From owner-cvs-sys Wed Jun 25 16:37:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA20363 for cvs-sys-outgoing; Wed, 25 Jun 1997 16:37:21 -0700 (PDT) Received: from bitbox.follo.net (eivind@bitbox.follo.net [194.198.43.36]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA20263; Wed, 25 Jun 1997 16:34:50 -0700 (PDT) Received: (from eivind@localhost) by bitbox.follo.net (8.8.5/8.7.3) id BAA01877; Thu, 26 Jun 1997 01:34:42 +0200 (MET DST) Date: Thu, 26 Jun 1997 01:34:42 +0200 (MET DST) Message-Id: <199706252334.BAA01877@bitbox.follo.net> From: Eivind Eklund To: Tor Egge CC: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG In-reply-to: Tor Egge's message of Wed, 25 Jun 1997 13:07:51 -0700 (PDT) Subject: Re: cvs commit: src/sys/i386/i386 pmap.c References: <199706252007.NAA26896@freefall.freebsd.org> Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > tegge 1997/06/25 13:07:51 PDT > > Modified files: > sys/i386/i386 pmap.c > Log: > Allow kernel configuration file to override PMAP_SHPGPERPROC. The default > value (200) is too low in some environments, causing a fatal > "panic: get_pv_entry: cannot get a pv_entry_t". The same panic might > still occur due to temporary shortage of free physical memory > (cf. PR i386/2431). Please merge this to RELENG_2_2 - the same problem occurs there. Thanks, Eivind. (And thanks for the help with this earlier) From owner-cvs-sys Wed Jun 25 17:09:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA21730 for cvs-sys-outgoing; Wed, 25 Jun 1997 17:09:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA21607; Wed, 25 Jun 1997 17:06:29 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA28334; Wed, 25 Jun 1997 17:05:19 -0700 (PDT) Date: Wed, 25 Jun 1997 17:05:19 -0700 (PDT) Message-Id: <199706260005.RAA28334@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/25 17:05:18 PDT Modified files: (Branch: RELENG_2_2) sys/i386/i386 pmap.c Log: Merge from -current: Allow kernel config file to override PMAP_SHPGPERPROC. Revision Changes Path 1.128.2.6 +3 -1 src/sys/i386/i386/pmap.c From owner-cvs-sys Wed Jun 25 17:26:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA22422 for cvs-sys-outgoing; Wed, 25 Jun 1997 17:26:02 -0700 (PDT) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA22416; Wed, 25 Jun 1997 17:25:53 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with SMTP id RAA27254; Wed, 25 Jun 1997 17:27:02 -0700 (PDT) Message-Id: <199706260027.RAA27254@implode.root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: Tor Egge cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/i386 vm_machdep.c In-reply-to: Your message of "Wed, 25 Jun 1997 12:49:46 PDT." <199706251949.MAA26823@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Wed, 25 Jun 1997 17:27:02 -0700 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >tegge 1997/06/25 12:49:46 PDT > > Modified files: > sys/i386/i386 vm_machdep.c > Log: > Block some interrupts during the call to pmap_zero_page in > vm_page_zero_idle. This fixes some occurences of the problem > reported in PR kern/3216: "panic: pmap_zero_page: CMAP busy" This change is wrong. pmap_zero_page() is called to zero-fill pages as the result of a page fault (trap 12). Page faults are NOT allowed in interrupts, so the real problem was the page fault, not what you fixed above. The change above is bad because it introduces long latencies in processing of interrupts, and this is bad. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Wed Jun 25 19:06:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA27612 for cvs-sys-outgoing; Wed, 25 Jun 1997 19:06:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA27573; Wed, 25 Jun 1997 19:05:45 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA28613; Wed, 25 Jun 1997 19:04:35 -0700 (PDT) Date: Wed, 25 Jun 1997 19:04:35 -0700 (PDT) Message-Id: <199706260204.TAA28613@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 vm_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/25 19:04:35 PDT Modified files: sys/i386/i386 vm_machdep.c Log: Back out a bad commit. Revision Changes Path 1.83 +1 -3 src/sys/i386/i386/vm_machdep.c From owner-cvs-sys Thu Jun 26 07:51:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA24515 for cvs-sys-outgoing; Thu, 26 Jun 1997 07:51:46 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA24449; Thu, 26 Jun 1997 07:50:40 -0700 (PDT) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA01898; Thu, 26 Jun 1997 07:49:25 -0700 (PDT) Date: Thu, 26 Jun 1997 07:49:25 -0700 (PDT) Message-Id: <199706261449.HAA01898@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pc98/pc98 clock.c pc98.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/06/26 07:49:25 PDT Modified files: sys/pc98/pc98 clock.c pc98.c Log: Synchronize with sys/i386/isa/clock.c and isa.c revisions 1.88 and 1.93, respectively. Revision Changes Path 1.26 +32 -36 src/sys/pc98/pc98/clock.c 1.32 +5 -5 src/sys/pc98/pc98/pc98.c From owner-cvs-sys Thu Jun 26 09:14:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA28238 for cvs-sys-outgoing; Thu, 26 Jun 1997 09:14:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA28213; Thu, 26 Jun 1997 09:14:09 -0700 (PDT) From: Alex Nash Received: (from alex@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA02150; Thu, 26 Jun 1997 09:12:54 -0700 (PDT) Date: Thu, 26 Jun 1997 09:12:54 -0700 (PDT) Message-Id: <199706261612.JAA02150@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/miscfs/procfs procfs_subr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 1997/06/26 09:12:54 PDT Modified files: sys/miscfs/procfs procfs_subr.c Log: Style fix my previous commit. Revision Changes Path 1.16 +2 -2 src/sys/miscfs/procfs/procfs_subr.c From owner-cvs-sys Thu Jun 26 09:15:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA28287 for cvs-sys-outgoing; Thu, 26 Jun 1997 09:15:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA28262; Thu, 26 Jun 1997 09:15:12 -0700 (PDT) From: Alex Nash Received: (from alex@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA02186; Thu, 26 Jun 1997 09:13:57 -0700 (PDT) Date: Thu, 26 Jun 1997 09:13:57 -0700 (PDT) Message-Id: <199706261613.JAA02186@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/miscfs/nullfs null_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 1997/06/26 09:13:57 PDT Modified files: sys/miscfs/nullfs null_vnops.c Log: Typo police. Revision Changes Path 1.19 +3 -3 src/sys/miscfs/nullfs/null_vnops.c From owner-cvs-sys Thu Jun 26 10:14:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA01366 for cvs-sys-outgoing; Thu, 26 Jun 1997 10:14:44 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA01338; Thu, 26 Jun 1997 10:14:15 -0700 (PDT) From: Alex Nash Received: (from alex@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA02516; Thu, 26 Jun 1997 10:13:00 -0700 (PDT) Date: Thu, 26 Jun 1997 10:13:00 -0700 (PDT) Message-Id: <199706261713.KAA02516@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/miscfs/nullfs null_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 1997/06/26 10:13:00 PDT Modified files: sys/miscfs/nullfs null_vnops.c Log: More comment cleanup. Revision Changes Path 1.20 +5 -5 src/sys/miscfs/nullfs/null_vnops.c From owner-cvs-sys Thu Jun 26 12:38:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA07608 for cvs-sys-outgoing; Thu, 26 Jun 1997 12:38:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA07560; Thu, 26 Jun 1997 12:37:22 -0700 (PDT) From: John Hay Received: (from jhay@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA02894; Thu, 26 Jun 1997 12:36:06 -0700 (PDT) Date: Thu, 26 Jun 1997 12:36:06 -0700 (PDT) Message-Id: <199706261936.MAA02894@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/conf files src/sys/netipx ipx.c ipx.h ipx_cksum.c 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 X-Loop: FreeBSD.org Precedence: bulk jhay 1997/06/26 12:36:06 PDT Modified files: sys/conf files sys/netipx ipx.c ipx.h ipx_cksum.c 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 Removed files: sys/netipx ipx_error.c ipx_error.h Log: Removed the #ifdef IPXERRORMSGS'ed code. Fix a lot of style errors that I introduced with the previous commit. Style fixes Submitted by: Bruce Evans Revision Changes Path 1.103 +0 -1 src/sys/conf/files 1.11 +63 -6 src/sys/netipx/ipx.c 1.13 +4 -4 src/sys/netipx/ipx.h 1.7 +1 -6 src/sys/netipx/ipx_cksum.c 1.9 +2 -2 src/sys/netipx/ipx_if.h 1.14 +6 -122 src/sys/netipx/ipx_input.c 1.16 +5 -12 src/sys/netipx/ipx_ip.c 1.11 +2 -2 src/sys/netipx/ipx_ip.h 1.8 +1 -5 src/sys/netipx/ipx_outputfl.c 1.10 +1 -4 src/sys/netipx/ipx_pcb.c 1.11 +2 -2 src/sys/netipx/ipx_pcb.h 1.11 +2 -17 src/sys/netipx/ipx_proto.c 1.8 +2 -30 src/sys/netipx/ipx_tun.c 1.15 +1 -6 src/sys/netipx/ipx_usrreq.c 1.7 +12 -3 src/sys/netipx/ipx_var.h 1.13 +3 -2 src/sys/netipx/spx.h 1.10 +1 -13 src/sys/netipx/spx_debug.c 1.10 +2 -2 src/sys/netipx/spx_debug.h 1.9 +2 -2 src/sys/netipx/spx_timer.h 1.14 +1 -59 src/sys/netipx/spx_usrreq.c 1.8 +2 -2 src/sys/netipx/spx_var.h From owner-cvs-sys Thu Jun 26 12:55:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA08463 for cvs-sys-outgoing; Thu, 26 Jun 1997 12:55:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA08427; Thu, 26 Jun 1997 12:55:17 -0700 (PDT) From: John Hay Received: (from jhay@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA02974; Thu, 26 Jun 1997 12:54:01 -0700 (PDT) Date: Thu, 26 Jun 1997 12:54:01 -0700 (PDT) Message-Id: <199706261954.MAA02974@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern uipc_socket2.c src/sys/sys protosw.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jhay 1997/06/26 12:54:01 PDT Modified files: (Branch: RELENG_2_2) sys/kern uipc_socket2.c sys/sys protosw.h Log: Merge the missing pru_* stub functions from current. This will make merging the ipx code a lot easier. Revision Changes Path 1.16.2.3 +44 -1 src/sys/kern/uipc_socket2.c 1.11.2.1 +10 -1 src/sys/sys/protosw.h From owner-cvs-sys Fri Jun 27 06:50:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA22426 for cvs-sys-outgoing; Fri, 27 Jun 1997 06:50:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA22279; Fri, 27 Jun 1997 06:47:44 -0700 (PDT) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA08463; Fri, 27 Jun 1997 06:46:22 -0700 (PDT) Date: Fri, 27 Jun 1997 06:46:22 -0700 (PDT) Message-Id: <199706271346.GAA08463@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/conf LINT src/sys/i386/i386 initcpu.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/06/27 06:46:21 PDT Modified files: sys/i386/conf LINT sys/i386/i386 initcpu.c Log: Added CPU_DIRECT_MAPPED_CACHE option which sets L1 cache in direct mapped mode on Cyrix 486DLC box. Revision Changes Path 1.347 +6 -1 src/sys/i386/conf/LINT 1.6 +4 -1 src/sys/i386/i386/initcpu.c From owner-cvs-sys Fri Jun 27 08:32:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA27136 for cvs-sys-outgoing; Fri, 27 Jun 1997 08:32:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA26972; Fri, 27 Jun 1997 08:30:17 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA09494; Fri, 27 Jun 1997 08:28:54 -0700 (PDT) Date: Fri, 27 Jun 1997 08:28:54 -0700 (PDT) Message-Id: <199706271528.IAA09494@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern uipc_socket.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/27 08:28:54 PDT Modified files: sys/kern uipc_socket.c Log: Don't accept insane values for SO_(SND|RCV)BUF, and the low water marks. Specifically, don't allow a value < 1 for any of them (it doesn't make sense), and don't let the low water mark be greater than the corresponding high water mark. Pre-Approved by: wollman Obtained from: NetBSD Revision Changes Path 1.27 +27 -4 src/sys/kern/uipc_socket.c From owner-cvs-sys Fri Jun 27 08:45:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA28121 for cvs-sys-outgoing; Fri, 27 Jun 1997 08:45:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA27989; Fri, 27 Jun 1997 08:43:28 -0700 (PDT) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA09679; Fri, 27 Jun 1997 08:42:06 -0700 (PDT) Date: Fri, 27 Jun 1997 08:42:06 -0700 (PDT) Message-Id: <199706271542.IAA09679@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_proc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1997/06/27 08:42:05 PDT Modified files: sys/kern kern_proc.c Log: Fill in some extra fields in the eproc structure. gdb uses this information to determine where the data segment in core dumps should be mapped. Reviewed by: Peter Wemm Revision Changes Path 1.27 +5 -1 src/sys/kern/kern_proc.c From owner-cvs-sys Fri Jun 27 11:33:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA06353 for cvs-sys-outgoing; Fri, 27 Jun 1997 11:33:54 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA06124; Fri, 27 Jun 1997 11:31:21 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA10525; Fri, 27 Jun 1997 11:29:57 -0700 (PDT) Date: Fri, 27 Jun 1997 11:29:57 -0700 (PDT) Message-Id: <199706271829.LAA10525@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 11:29:57 PDT Modified files: sys/i386/i386 machdep.c Log: Removed '#include ' line, no longer needed. Revision Changes Path 1.252 +2 -3 src/sys/i386/i386/machdep.c From owner-cvs-sys Fri Jun 27 12:14:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA08908 for cvs-sys-outgoing; Fri, 27 Jun 1997 12:14:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA08773; Fri, 27 Jun 1997 12:12:11 -0700 (PDT) From: Bill Paul Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA10921; Fri, 27 Jun 1997 12:10:47 -0700 (PDT) Date: Fri, 27 Jun 1997 12:10:47 -0700 (PDT) Message-Id: <199706271910.MAA10921@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/nfs nfs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 1997/06/27 12:10:47 PDT Modified files: sys/nfs nfs_vfsops.c Log: Fix a condition where nfs_statfs() can precipitate a panic. There is code that says this: nfsm_request(vp, NFSPROC_FSSTAT, p, cred); if (v3) nfsm_postop_attr(vp, retattr); if (!error) nfsm_dissect(sfp, struct nfs_statfs *, NFSX_STATFS(v3)); The problem here is that if error != 0, nfsm_dissect() will not be called, which leaves sfp == NULL. But nfs_statfs() does not bail out at this point: it continues processing until it tries to dereference sfp, which causes a panic. I was able to generate this crash under the following conditions: 1) Set up a machine as an NFS server and NFS client, with amd running (using NIS maps). /usr/local is exported, though any exported fs can can be used to trigger the bug. 2) Log in as normal user, with home directory mounted from a SunOS 4.1.3 NFS server via amd (along with a few other NFS filesystems from same machine). 3) Su to root and type the following: # mount localhost:/usr/local /mnt # df To fix the panic, I changed the code to read: if (!error) { nfsm_dissect(sfp, struct nfs_statfs *, NFSX_STATFS(v3)); } else goto nfsmout; This is a bit kludgy in that nfsmout is a label defined by the nfsm_subs.h macros, but these macros are themselves more than a little kludgy. This stops the machine from crashing, but does not fix the overall bug: 'error' somehow becomes 5 (EIO) when a statfs() is performed on the locally mounted NFS filesystem. This seems to only happen the first time the filesystem is accesed: on subsequent accesses, it seems to work fine again. Now, I know there's no practical use in mounting a local filesystem via NFS, but doing it shouldn't cause the system to melt down. Revision Changes Path 1.44 +5 -2 src/sys/nfs/nfs_vfsops.c From owner-cvs-sys Fri Jun 27 12:40:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA10932 for cvs-sys-outgoing; Fri, 27 Jun 1997 12:40:42 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA10776; Fri, 27 Jun 1997 12:37:54 -0700 (PDT) From: "Justin T. Gibbs" Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA11001; Fri, 27 Jun 1997 12:36:30 -0700 (PDT) Date: Fri, 27 Jun 1997 12:36:30 -0700 (PDT) Message-Id: <199706271936.MAA11001@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa if_ie.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 1997/06/27 12:36:29 PDT Modified files: sys/i386/isa if_ie.c Log: KNF cleanup. Revision Changes Path 1.43 +1605 -1597src/sys/i386/isa/if_ie.c From owner-cvs-sys Fri Jun 27 12:43:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA11135 for cvs-sys-outgoing; Fri, 27 Jun 1997 12:43:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA10958; Fri, 27 Jun 1997 12:41:01 -0700 (PDT) From: "Justin T. Gibbs" Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA11117; Fri, 27 Jun 1997 12:39:36 -0700 (PDT) Date: Fri, 27 Jun 1997 12:39:36 -0700 (PDT) Message-Id: <199706271939.MAA11117@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.reg aic7xxx.seq aic7xxx_asm.c aic7xxx_asm.h gram.y scan.l sequencer.h symbol.c symbol.h src/sys/i386/scsi aic7xxx.c aic7xxx.h src/sys/pci aic7870.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 1997/06/27 12:39:36 PDT Modified files: sys/dev/aic7xxx aic7xxx.reg aic7xxx.seq aic7xxx_asm.c aic7xxx_asm.h gram.y scan.l sequencer.h symbol.c symbol.h Log: Modify my copyright notice to allow the sequencer to be used with GPLed software (aka Linux). Fix a few bugs in the sequencer assembler. Make it easy to compiler the assembler with debugging turned on. Revision Changes Path 1.4 +11 -4 src/sys/dev/aic7xxx/aic7xxx.reg 1.74 +36 -39 src/sys/dev/aic7xxx/aic7xxx.seq 1.18 +32 -9 src/sys/dev/aic7xxx/aic7xxx_asm.c 1.3 +3 -3 src/sys/dev/aic7xxx/aic7xxx_asm.h 1.2 +3 -3 src/sys/dev/aic7xxx/gram.y 1.3 +16 -11 src/sys/dev/aic7xxx/scan.l 1.2 +10 -3 src/sys/dev/aic7xxx/sequencer.h 1.2 +3 -3 src/sys/dev/aic7xxx/symbol.c 1.2 +3 -3 src/sys/dev/aic7xxx/symbol.h Modified files: sys/i386/scsi aic7xxx.c aic7xxx.h sys/pci aic7870.c Log: Modify my copyright notice to allow the sequencer to be used with GPLed software (aka Linux). Revision Changes Path 1.119 +11 -4 src/sys/i386/scsi/aic7xxx.c 1.41 +11 -4 src/sys/i386/scsi/aic7xxx.h 1.53 +11 -4 src/sys/pci/aic7870.c From owner-cvs-sys Fri Jun 27 12:50:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA11563 for cvs-sys-outgoing; Fri, 27 Jun 1997 12:50:55 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA11557; Fri, 27 Jun 1997 12:50:51 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id FAA04210; Sat, 28 Jun 1997 05:47:51 +1000 Date: Sat, 28 Jun 1997 05:47:51 +1000 From: Bruce Evans Message-Id: <199706271947.FAA04210@godzilla.zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, wpaul@FreeBSD.ORG Subject: Re: cvs commit: src/sys/nfs nfs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > This is a bit kludgy in that nfsmout is a label defined by the nfsm_subs.h > macros, but these macros are themselves more than a little kludgy. This > stops the machine from crashing, but does not fix the overall bug: 'error' > somehow becomes 5 (EIO) when a statfs() is performed on the locally mounted > NFS filesystem. This seems to only happen the first time the filesystem > is accesed: on subsequent accesses, it seems to work fine again. I think the following fixes the bogus errno. The mkfifo bug also caused EIO instead of the correct errno. Bruce diff -c2 nfs_serv.c~ nfs_serv.c *** nfs_serv.c~ Sun Jun 15 01:24:55 1997 --- nfs_serv.c Sun Jun 15 01:25:14 1997 *************** *** 1668,1672 **** } nfsm_srvwcc_data(dirfor_ret, &dirfor, diraft_ret, &diraft); ! return (0); nfsmout: if (dirp) --- 1669,1673 ---- } nfsm_srvwcc_data(dirfor_ret, &dirfor, diraft_ret, &diraft); ! return (error); nfsmout: if (dirp) From owner-cvs-sys Fri Jun 27 13:23:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA13265 for cvs-sys-outgoing; Fri, 27 Jun 1997 13:23:19 -0700 (PDT) Received: (from wpaul@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA13103; Fri, 27 Jun 1997 13:19:26 -0700 (PDT) From: Bill Paul Message-Id: <199706272019.NAA13103@hub.freebsd.org> Subject: Re: cvs commit: src/sys/nfs nfs_vfsops.c To: bde@zeta.org.au (Bruce Evans) Date: Fri, 27 Jun 1997 13:19:25 -0700 (PDT) Cc: cvs-all@freebsd.org, cvs-committers@freebsd.org, cvs-sys@freebsd.org In-Reply-To: <199706271947.FAA04210@godzilla.zeta.org.au> from "Bruce Evans" at Jun 28, 97 05:47:51 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > This is a bit kludgy in that nfsmout is a label defined by the nfsm_subs.h > > macros, but these macros are themselves more than a little kludgy. This > > stops the machine from crashing, but does not fix the overall bug: 'error' > > somehow becomes 5 (EIO) when a statfs() is performed on the locally mounted > > NFS filesystem. This seems to only happen the first time the filesystem > > is accesed: on subsequent accesses, it seems to work fine again. > > I think the following fixes the bogus errno. The mkfifo bug also caused > EIO instead of the correct errno. > > Bruce > > diff -c2 nfs_serv.c~ nfs_serv.c > *** nfs_serv.c~ Sun Jun 15 01:24:55 1997 > --- nfs_serv.c Sun Jun 15 01:25:14 1997 > *************** > *** 1668,1672 **** > } > nfsm_srvwcc_data(dirfor_ret, &dirfor, diraft_ret, &diraft); > ! return (0); > nfsmout: > if (dirp) > --- 1669,1673 ---- > } > nfsm_srvwcc_data(dirfor_ret, &dirfor, diraft_ret, &diraft); > ! return (error); > nfsmout: > if (dirp) > Nope; I just built a kernel with this change and it still does it. I added a printf() nfs_vfsops() so I would check the value of 'error': Jun 27 16:09:36 mbone /vmunix: ERROR: 0 Jun 27 16:09:46 mbone last message repeated 12 times Jun 27 16:09:46 mbone /vmunix: ERROR: 5 <--- first time 'df' is run Jun 27 16:09:57 mbone /vmunix: ERROR: 0 <--- second I was wondering how a change to nfsrv_mknod() was supposed to fix this since I never call mknod() on the filesystem. That said, nfsrv_statfs() in the nfs_serv.c module also does things like: if (v3) nfsm_srvpostop_attr(getret, &at); if (error) return (0); Shouldn't this be: if (error) return(error); Or am I missing something. -Bill -Bill From owner-cvs-sys Fri Jun 27 14:01:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA15117 for cvs-sys-outgoing; Fri, 27 Jun 1997 14:01:00 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA15110; Fri, 27 Jun 1997 14:00:56 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id GAA05782; Sat, 28 Jun 1997 06:55:49 +1000 Date: Sat, 28 Jun 1997 06:55:49 +1000 From: Bruce Evans Message-Id: <199706272055.GAA05782@godzilla.zeta.org.au> To: bde@zeta.org.au, wpaul@FreeBSD.ORG Subject: Re: cvs commit: src/sys/nfs nfs_vfsops.c Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >I was wondering how a change to nfsrv_mknod() was supposed to fix this >since I never call mknod() on the filesystem. You mentioned a label `nfsmout' and it was near my fix so I assumed that my fix was in a general function. Actually `nfsmout' is used a lot and bugs near it are probably duplicated :(. >That said, nfsrv_statfs() in the nfs_serv.c module also does things >like: > > if (v3) > nfsm_srvpostop_attr(getret, &at); > if (error) > return (0); > >Shouldn't this be: > > if (error) > return(error); > >Or am I missing something. The error code seems to be returned indirectly in nfsm_reply(), and return(0) is common after nfsm_reply(). I guess some cases like the above break this by changing `error' after invoking nfsm_reply(). Note that there is only a problem here in the v3 case. Bruce From owner-cvs-sys Fri Jun 27 15:18:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA18235 for cvs-sys-outgoing; Fri, 27 Jun 1997 15:18:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA18107; Fri, 27 Jun 1997 15:15:17 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA11409; Fri, 27 Jun 1997 15:13:52 -0700 (PDT) Date: Fri, 27 Jun 1997 15:13:52 -0700 (PDT) Message-Id: <199706272213.PAA11409@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/include apic.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 15:13:51 PDT Modified files: sys/i386/include apic.h Log: Added fields to the LVT1/2 group. Revision Changes Path 1.5 +10 -1 src/sys/i386/include/apic.h From owner-cvs-sys Fri Jun 27 15:31:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA18876 for cvs-sys-outgoing; Fri, 27 Jun 1997 15:31:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA18719; Fri, 27 Jun 1997 15:28:45 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA11455; Fri, 27 Jun 1997 15:27:20 -0700 (PDT) Date: Fri, 27 Jun 1997 15:27:20 -0700 (PDT) Message-Id: <199706272227.PAA11455@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 mp_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 15:27:19 PDT Modified files: sys/i386/i386 mp_machdep.c Log: Program lint1 to handle NMIs. Till now NMIs would be ignored. Now an NMI is caught by the BSP. APs still ignore NMI, am working on code to allow a CPU to stop other CPUs via an IPI. Revision Changes Path 1.23 +24 -2 src/sys/i386/i386/mp_machdep.c From owner-cvs-sys Fri Jun 27 16:16:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA20964 for cvs-sys-outgoing; Fri, 27 Jun 1997 16:16:00 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA20889; Fri, 27 Jun 1997 16:13:57 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA12058; Fri, 27 Jun 1997 16:12:31 -0700 (PDT) Date: Fri, 27 Jun 1997 16:12:31 -0700 (PDT) Message-Id: <199706272312.QAA12058@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/include smp.h smptests.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 16:12:31 PDT Modified files: sys/i386/include smp.h smptests.h Log: Preliminaries for stop_cpus()/restart_cpus(). Both are turned off by default. Added macro for displaying POST codes from kernel. Revision Changes Path 1.13 +16 -3 src/sys/i386/include/smp.h 1.6 +8 -3 src/sys/i386/include/smptests.h From owner-cvs-sys Fri Jun 27 16:23:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA21289 for cvs-sys-outgoing; Fri, 27 Jun 1997 16:23:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA21183; Fri, 27 Jun 1997 16:21:10 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA12115; Fri, 27 Jun 1997 16:19:45 -0700 (PDT) Date: Fri, 27 Jun 1997 16:19:45 -0700 (PDT) Message-Id: <199706272319.QAA12115@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 locore.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 16:19:45 PDT Modified files: sys/i386/i386 locore.s Log: Added other_cpus to CPU private page. This variable is a bitmap showing all CPUs present EXCEPT the CPU owning the variable. In other words, it is equal to the global bitmap 'all_cpus' minus its own bit. Revision Changes Path 1.90 +4 -2 src/sys/i386/i386/locore.s From owner-cvs-sys Fri Jun 27 16:28:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA21473 for cvs-sys-outgoing; Fri, 27 Jun 1997 16:28:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA21374; Fri, 27 Jun 1997 16:26:04 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA12157; Fri, 27 Jun 1997 16:24:39 -0700 (PDT) Date: Fri, 27 Jun 1997 16:24:39 -0700 (PDT) Message-Id: <199706272324.QAA12157@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 db_interface.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 16:24:39 PDT Modified files: sys/i386/i386 db_interface.c Log: Experimental calls to stop_cpus()/restart_cpus() within breakpoint calls. Turned off by default in smptests.h. Revision Changes Path 1.30 +20 -1 src/sys/i386/i386/db_interface.c From owner-cvs-sys Fri Jun 27 16:36:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA21841 for cvs-sys-outgoing; Fri, 27 Jun 1997 16:36:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA21717; Fri, 27 Jun 1997 16:34:43 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA12208; Fri, 27 Jun 1997 16:33:18 -0700 (PDT) Date: Fri, 27 Jun 1997 16:33:18 -0700 (PDT) Message-Id: <199706272333.QAA12208@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 mp_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 16:33:18 PDT Modified files: sys/i386/i386 mp_machdep.c Log: Added POST code output to various points of the startup code. General cleanup. New functions to stop/start CPUs via IPIs: - int stop_cpus( u_int map ); - int restart_cpus( u_int map ); Turned off by default, enabled via smptests.h:TEST_CPUSTOP. Current version has a BUG, perhaps a deadlock? Revision Changes Path 1.24 +175 -22 src/sys/i386/i386/mp_machdep.c From owner-cvs-sys Fri Jun 27 16:41:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA22093 for cvs-sys-outgoing; Fri, 27 Jun 1997 16:41:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA21966; Fri, 27 Jun 1997 16:39:58 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA12263; Fri, 27 Jun 1997 16:38:33 -0700 (PDT) Date: Fri, 27 Jun 1997 16:38:33 -0700 (PDT) Message-Id: <199706272338.QAA12263@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern init_smp.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 16:38:33 PDT Modified files: sys/kern init_smp.c Log: Initialize private variable other_cpus during AP boot. Revision Changes Path 1.8 +4 -1 src/sys/kern/init_smp.c From owner-cvs-sys Fri Jun 27 16:51:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA22457 for cvs-sys-outgoing; Fri, 27 Jun 1997 16:51:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA22347; Fri, 27 Jun 1997 16:49:31 -0700 (PDT) From: Steve Passe Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA12326; Fri, 27 Jun 1997 16:48:05 -0700 (PDT) Date: Fri, 27 Jun 1997 16:48:05 -0700 (PDT) Message-Id: <199706272348.QAA12326@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa apic_vector.s intr_machdep.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 1997/06/27 16:48:05 PDT Modified files: sys/i386/isa apic_vector.s intr_machdep.h Log: apic_vector.s: - added Xcpustop IPI code to support stop_cpus()/restart_cpus(). it is off by default, enable via smptests.h:TEST_CPUSTOP intr_machdep.h: - moved +ICULEN to lower level. - added entry for Xcpustop. Revision Changes Path 1.4 +76 -1 src/sys/i386/isa/apic_vector.s 1.2 +9 -2 src/sys/i386/isa/intr_machdep.h From owner-cvs-sys Sat Jun 28 00:58:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA10689 for cvs-sys-outgoing; Sat, 28 Jun 1997 00:58:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA10661; Sat, 28 Jun 1997 00:57:42 -0700 (PDT) From: KATO Takenori Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA17843; Sat, 28 Jun 1997 00:56:13 -0700 (PDT) Date: Sat, 28 Jun 1997 00:56:13 -0700 (PDT) Message-Id: <199706280756.AAA17843@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/conf LINT src/sys/i386/i386 initcpu.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 1997/06/28 00:56:13 PDT Modified files: (Branch: RELENG_2_2) sys/i386/conf LINT sys/i386/i386 initcpu.c Log: YAMFC (CPU_DIRECT_MAPPED_CACHE support). Revision Changes Path 1.286.2.24 +6 -1 src/sys/i386/conf/LINT 1.5.2.2 +4 -1 src/sys/i386/i386/initcpu.c From owner-cvs-sys Sat Jun 28 02:25:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA13343 for cvs-sys-outgoing; Sat, 28 Jun 1997 02:25:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA13312; Sat, 28 Jun 1997 02:24:37 -0700 (PDT) From: John Hay Received: (from jhay@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA19332; Sat, 28 Jun 1997 02:23:08 -0700 (PDT) Date: Sat, 28 Jun 1997 02:23:08 -0700 (PDT) Message-Id: <199706280923.CAA19332@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/conf files src/sys/net if_ethersubr.c if_fddisubr.c src/sys/netipx ipx.c ipx.h ipx_cksum.c 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 ... Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jhay 1997/06/28 02:23:07 PDT Modified files: (Branch: RELENG_2_2) sys/conf files sys/net if_ethersubr.c if_fddisubr.c sys/netipx ipx.c ipx.h ipx_cksum.c 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 Removed files: (Branch: RELENG_2_2) sys/netipx ipx_error.c ipx_error.h Log: Merge the ipx changes from current. Revision Changes Path 1.80.2.10 +0 -1 src/sys/conf/files 1.26.2.2 +11 -3 src/sys/net/if_ethersubr.c 1.9.2.4 +11 -3 src/sys/net/if_fddisubr.c 1.4.4.1 +98 -66 src/sys/netipx/ipx.c 1.7.4.1 +35 -77 src/sys/netipx/ipx.h 1.3.4.1 +5 -4 src/sys/netipx/ipx_cksum.c 1.5.4.1 +3 -7 src/sys/netipx/ipx_if.h 1.9.2.1 +161 -147 src/sys/netipx/ipx_input.c 1.9.2.1 +64 -56 src/sys/netipx/ipx_ip.c 1.6.2.1 +1 -12 src/sys/netipx/ipx_ip.h 1.4.4.1 +130 -26 src/sys/netipx/ipx_outputfl.c 1.5.4.1 +67 -37 src/sys/netipx/ipx_pcb.c 1.5.4.2 +7 -7 src/sys/netipx/ipx_pcb.h 1.5.2.1 +23 -21 src/sys/netipx/ipx_proto.c 1.4.4.1 +2 -30 src/sys/netipx/ipx_tun.c 1.7.2.2 +215 -198 src/sys/netipx/ipx_usrreq.c 1.3.4.1 +53 -8 src/sys/netipx/ipx_var.h 1.7.4.1 +4 -21 src/sys/netipx/spx.h 1.6.2.1 +15 -25 src/sys/netipx/spx_debug.c 1.6.2.1 +2 -2 src/sys/netipx/spx_debug.h 1.5.4.1 +2 -6 src/sys/netipx/spx_timer.h 1.8.2.1 +456 -353 src/sys/netipx/spx_usrreq.c 1.4.4.1 +2 -13 src/sys/netipx/spx_var.h From owner-cvs-sys Sat Jun 28 02:34:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA13634 for cvs-sys-outgoing; Sat, 28 Jun 1997 02:34:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA13603; Sat, 28 Jun 1997 02:33:46 -0700 (PDT) From: John Hay Received: (from jhay@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA19423; Sat, 28 Jun 1997 02:32:18 -0700 (PDT) Date: Sat, 28 Jun 1997 02:32:18 -0700 (PDT) Message-Id: <199706280932.CAA19423@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/conf LINT Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jhay 1997/06/28 02:32:17 PDT Modified files: (Branch: RELENG_2_2) sys/i386/conf LINT Log: Oops, almost missed the LINT file in my ipx merge from current. Revision Changes Path 1.286.2.25 +1 -3 src/sys/i386/conf/LINT