From owner-cvs-sys Sun Dec 24 00:10:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA11995 for cvs-sys-outgoing; Sun, 24 Dec 1995 00:10:57 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA11988 Sun, 24 Dec 1995 00:10:54 -0800 (PST) Date: Sun, 24 Dec 1995 00:10:54 -0800 (PST) From: David Greenman Message-Id: <199512240810.AAA11988@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/24 00:10:53 Modified: sys/i386/i386 locore.s machdep.c microtime.s support.s sys/i386/include clock.h cputypes.h sys/i386/isa clock.c Log: Add Pentium Pro CPU detection and special handling. For now, all the optimizations we have for 586s also apply to 686s...this will be fine- tuned in the future as appropriate. Revision Changes Path 1.57 +12 -5 src/sys/i386/i386/locore.s 1.163 +30 -23 src/sys/i386/i386/machdep.c 1.12 +3 -3 src/sys/i386/i386/microtime.s 1.28 +8 -8 src/sys/i386/i386/support.s 1.8 +5 -5 src/sys/i386/include/clock.h 1.4 +3 -1 src/sys/i386/include/cputypes.h 1.43 +4 -4 src/sys/i386/isa/clock.c From owner-cvs-sys Sun Dec 24 00:11:50 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA12075 for cvs-sys-outgoing; Sun, 24 Dec 1995 00:11:50 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA12067 Sun, 24 Dec 1995 00:11:48 -0800 (PST) Date: Sun, 24 Dec 1995 00:11:48 -0800 (PST) From: David Greenman Message-Id: <199512240811.AAA12067@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC LINT Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/24 00:11:47 Modified: sys/i386/conf GENERIC LINT Log: Added I686_CPU. Revision Changes Path 1.56 +2 -1 src/sys/i386/conf/GENERIC 1.226 +2 -1 src/sys/i386/conf/LINT From owner-cvs-sys Sun Dec 24 00:13:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA12204 for cvs-sys-outgoing; Sun, 24 Dec 1995 00:13:27 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA12196 Sun, 24 Dec 1995 00:13:26 -0800 (PST) Date: Sun, 24 Dec 1995 00:13:26 -0800 (PST) From: David Greenman Message-Id: <199512240813.AAA12196@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC LINT Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/24 00:13:25 Modified: sys/i386/conf GENERIC LINT Log: Added device fxp0 (device driver for Intel EtherExpress Pro/100). Revision Changes Path 1.57 +2 -1 src/sys/i386/conf/GENERIC 1.227 +2 -1 src/sys/i386/conf/LINT From owner-cvs-sys Sun Dec 24 17:02:37 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA16057 for cvs-sys-outgoing; Sun, 24 Dec 1995 17:02:37 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA16047 Sun, 24 Dec 1995 17:02:35 -0800 (PST) Date: Sun, 24 Dec 1995 17:02:35 -0800 (PST) From: David Greenman Message-Id: <199512250102.RAA16047@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/24 17:02:34 Modified: sys/i386/i386 machdep.c Log: Fix typo in CPUCLASS. Revision Changes Path 1.164 +2 -2 src/sys/i386/i386/machdep.c From owner-cvs-sys Sun Dec 24 23:24:18 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA06831 for cvs-sys-outgoing; Sun, 24 Dec 1995 23:24:18 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA06824 Sun, 24 Dec 1995 23:24:16 -0800 (PST) Date: Sun, 24 Dec 1995 23:24:16 -0800 (PST) From: Bruce Evans Message-Id: <199512250724.XAA06824@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys vnode.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/24 23:24:15 Modified: sys/sys vnode.h Log: Removed redundant (incompletely staticized) declararations. Revision Changes Path 1.28 +1 -4 src/sys/sys/vnode.h From owner-cvs-sys Sun Dec 24 23:38:53 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA07364 for cvs-sys-outgoing; Sun, 24 Dec 1995 23:38:53 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA07357 Sun, 24 Dec 1995 23:38:49 -0800 (PST) Date: Sun, 24 Dec 1995 23:38:49 -0800 (PST) From: Bruce Evans Message-Id: <199512250738.XAA07357@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/include apm_bios.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/24 23:38:48 Modified: sys/i386/apm apm.c sys/i386/conf LINT sys/i386/include apm_bios.h Log: Fixed staticizing. Some functions aren't static but depend on the undocumented previously unLINTed option `APM_SLOWSTART'. Revision Changes Path 1.22 +10 -4 src/sys/i386/apm/apm.c 1.228 +2 -1 src/sys/i386/conf/LINT 1.7 +7 -1 src/sys/i386/include/apm_bios.h From owner-cvs-sys Mon Dec 25 06:40:53 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA18221 for cvs-sys-outgoing; Mon, 25 Dec 1995 06:40:53 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA18214 Mon, 25 Dec 1995 06:40:51 -0800 (PST) Date: Mon, 25 Dec 1995 06:40:51 -0800 (PST) From: David Greenman Message-Id: <199512251440.GAA18214@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 locore.s Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/25 06:40:51 Modified: sys/i386/i386 locore.s Log: Fix a lable goofup I made in the previous P6 support changes. Revision Changes Path 1.58 +3 -3 src/sys/i386/i386/locore.s From owner-cvs-sys Mon Dec 25 17:07:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA10069 for cvs-sys-outgoing; Mon, 25 Dec 1995 17:07:45 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA10062 Mon, 25 Dec 1995 17:07:43 -0800 (PST) Date: Mon, 25 Dec 1995 17:07:43 -0800 (PST) From: Bruce Evans Message-Id: <199512260107.RAA10062@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys time.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/25 17:07:43 Modified: sys/kern kern_time.c sys/sys time.h Log: Finished staticizing of timevalfix(). Revision Changes Path 1.14 +3 -1 src/sys/kern/kern_time.c 1.6 +1 -2 src/sys/sys/time.h From owner-cvs-sys Mon Dec 25 17:21:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA10447 for cvs-sys-outgoing; Mon, 25 Dec 1995 17:21:42 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA10440 Mon, 25 Dec 1995 17:21:40 -0800 (PST) Date: Mon, 25 Dec 1995 17:21:40 -0800 (PST) From: Bruce Evans Message-Id: <199512260121.RAA10440@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern subr_prof.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/25 17:21:40 Modified: sys/kern subr_prof.c Log: Unstaticized addupc_task(). It is supposed to be called from trap(). See the comments for addupc_intr() and the NetBSD implementation. We use dummy versions of fuswintr() and susiwintr(), so addupc_intr() always pushes the work to trap() (this is inefficient), and trap() calls the special i386 function addupc() instead of addupc_task(). addupc() is more efficient than addupc_intr(), so some of the lost efficiency is recovered. However, addupc() may be broken on plain i386's since it doesn't check for write permission like copyout(). Revision Changes Path 1.15 +2 -2 src/sys/kern/subr_prof.c From owner-cvs-sys Mon Dec 25 17:38:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA11158 for cvs-sys-outgoing; Mon, 25 Dec 1995 17:38:51 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA11145 Mon, 25 Dec 1995 17:38:39 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id RAA07153; Mon, 25 Dec 1995 17:38:38 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.7.3/8.6.5) with SMTP id RAA06046; Mon, 25 Dec 1995 17:38:40 -0800 (PST) Message-Id: <199512260138.RAA06046@corbin.Root.COM> To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern subr_prof.c In-reply-to: Your message of "Mon, 25 Dec 95 17:21:40 PST." <199512260121.RAA10440@freefall.freebsd.org> From: David Greenman Reply-To: davidg@Root.COM Date: Mon, 25 Dec 1995 17:38:40 -0800 Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > efficiency is recovered. However, addupc() may be broken on plain > i386's since it doesn't check for write permission like copyout(). Are you going to fix this? By replacing the use of it with addupc_task? -DG From owner-cvs-sys Mon Dec 25 18:26:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA12596 for cvs-sys-outgoing; Mon, 25 Dec 1995 18:26:57 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA12591 Mon, 25 Dec 1995 18:26:48 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id NAA14941; Tue, 26 Dec 1995 13:22:49 +1100 Date: Tue, 26 Dec 1995 13:22:49 +1100 From: Bruce Evans Message-Id: <199512260222.NAA14941@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, davidg@Root.COM Subject: Re: cvs commit: src/sys/kern subr_prof.c Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >> efficiency is recovered. However, addupc() may be broken on plain >> i386's since it doesn't check for write permission like copyout(). > Are you going to fix this? By replacing the use of it with addupc_task? I wasn't sure that it's actually broken. The profile buffer could be validated in profil() (it should be in user space and writable). Then I think it could only be invalidated by a weird mmap() that makes it readonly. However, no up front validation is done. pr_size could be 4G. The whole NetBSD implementation should be copied but that's more than I want to do right now. BTW, I'd like to be able to statistically profile processes that don't have profiling built into them. The interface should be like ktrace's. The main difficulty is mapping in the profiling buffer for another process. The addupc_intr()/addupc_task() interface should be able to handle this (slowly) simply by switching to the other process. However, the process arg to these functions is bogus - these functions call copyout() and other functions that only work if p == curproc. Bruce From owner-cvs-sys Tue Dec 26 04:50:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA02117 for cvs-sys-outgoing; Tue, 26 Dec 1995 04:50:27 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA02109 Tue, 26 Dec 1995 04:50:26 -0800 (PST) Date: Tue, 26 Dec 1995 04:50:26 -0800 (PST) From: Bruce Evans Message-Id: <199512261250.EAA02109@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa random_machdep.c random.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/26 04:50:25 Modified: sys/i386/conf files.i386 Added: sys/i386/isa random_machdep.c Removed: sys/i386/isa random.c Log: Renamed isa/random.c to isa/random_machdep.c to avoid a conflict with libkern/random.c. Revision Changes Path 1.120 +2 -2 src/sys/i386/conf/files.i386 From owner-cvs-sys Tue Dec 26 05:58:36 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA03620 for cvs-sys-outgoing; Tue, 26 Dec 1995 05:58:36 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA03609 Tue, 26 Dec 1995 05:58:33 -0800 (PST) Date: Tue, 26 Dec 1995 05:58:33 -0800 (PST) From: Bruce Evans Message-Id: <199512261358.FAA03609@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/libkern Makefile Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/26 05:58:32 Modified: sys Makefile sys/i386/conf Makefile.i386 files.i386 sys/i386/i386 support.s Removed: sys/libkern Makefile Log: Removed almost all traces of libkern.a. The objects that were in libkern.a are now specified by listing their source files in files.${MACHINE}. The list is machine-dependent to save space. All the necessary object for each machine must be linked into the kernel in case an lkm wants one. Revision Changes Path 1.4 +2 -2 src/sys/Makefile 1.72 +4 -26 src/sys/i386/conf/Makefile.i386 1.121 +18 -1 src/sys/i386/conf/files.i386 1.29 +1 -20 src/sys/i386/i386/support.s From owner-cvs-sys Tue Dec 26 06:01:22 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03828 for cvs-sys-outgoing; Tue, 26 Dec 1995 06:01:22 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03813 Tue, 26 Dec 1995 06:01:20 -0800 (PST) Date: Tue, 26 Dec 1995 06:01:20 -0800 (PST) From: Bruce Evans Message-Id: <199512261401.GAA03813@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/26 06:01:19 Modified: sys/i386/conf LINT Log: Removed nonexistent option AUTO_EOI_1. Revision Changes Path 1.229 +2 -6 src/sys/i386/conf/LINT From owner-cvs-sys Tue Dec 26 08:03:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA08006 for cvs-sys-outgoing; Tue, 26 Dec 1995 08:03:39 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA07996 Tue, 26 Dec 1995 08:03:37 -0800 (PST) Date: Tue, 26 Dec 1995 08:03:37 -0800 (PST) From: Joerg Wunsch Message-Id: <199512261603.IAA07996@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern sysv_shm.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk joerg 95/12/26 08:03:34 Modified: sys/kern sysv_shm.c Log: I report a problem about shmget(). (I'm using FreeBSD-2.1.0R) int shmget(key_t key, int size, int shmflg); If the 'key' has already existed in the system and set 'shmflg' as '(IPC_CREAT|IPC_EXC)', then shmget() must return the error 'EEXIST'. Submitted by: m_tanaka@pa.yokogawa.co.jp (Mihoko Tanaka) Revision Changes Path 1.16 +2 -2 src/sys/kern/sysv_shm.c From owner-cvs-sys Tue Dec 26 08:05:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA08184 for cvs-sys-outgoing; Tue, 26 Dec 1995 08:05:16 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA08176 Tue, 26 Dec 1995 08:05:14 -0800 (PST) Date: Tue, 26 Dec 1995 08:05:14 -0800 (PST) From: Joerg Wunsch Message-Id: <199512261605.IAA08176@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern sysv_shm.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk joerg 95/12/26 08:05:12 Branch: sys/kern RELENG_2_1_0 Modified: sys/kern sysv_shm.c Log: I report a problem about shmget(). (I'm using FreeBSD-2.1.0R) int shmget(key_t key, int size, int shmflg); If the 'key' has already existed in the system and set 'shmflg' as '(IPC_CREAT|IPC_EXC)', then shmget() must return the error 'EEXIST'. Submitted by: m_tanaka@pa.yokogawa.co.jp (Mihoko Tanaka) Revision Changes Path 1.5.4.2 +2 -2 src/sys/kern/sysv_shm.c From owner-cvs-sys Tue Dec 26 13:08:50 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA16075 for cvs-sys-outgoing; Tue, 26 Dec 1995 13:08:50 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA16059 Tue, 26 Dec 1995 13:08:45 -0800 (PST) Date: Tue, 26 Dec 1995 13:08:45 -0800 (PST) From: Peter Wemm Message-Id: <199512262108.NAA16059@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/26 13:08:44 Modified: sys/scsi scsiconf.c Log: Add an entry for the NEC CDROM:55 drive to stop it answering all 7 LUNS. Revision Changes Path 1.44 +11 -1 src/sys/scsi/scsiconf.c From owner-cvs-sys Wed Dec 27 03:22:18 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA18973 for cvs-sys-outgoing; Wed, 27 Dec 1995 03:22:18 -0800 (PST) Received: (from markm@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA18958 Wed, 27 Dec 1995 03:22:11 -0800 (PST) Date: Wed, 27 Dec 1995 03:22:11 -0800 (PST) From: Mark Murray Message-Id: <199512271122.DAA18958@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa random_machdep.c vector.s Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk markm 95/12/27 03:22:09 Modified: sys/i386/i386 mem.c Log: Modify the ioctl to handle revectored interrupts for the entropy gatherers. Revision Changes Path 1.28 +30 -5 src/sys/i386/i386/mem.c Modified: sys/i386/include random.h Log: Clean up and make more universal. Next version of random device. Revision Changes Path 1.2 +16 -5 src/sys/i386/include/random.h Modified: sys/i386/isa random_machdep.c vector.s Log: random_machdep.c: New version, also includes revectored interrupts, rather than hooking permanently. vector.s: : Remove the interrupt hook. This is done dynamically, now. Revision Changes Path 1.2 +244 -203 src/sys/i386/isa/random_machdep.c 1.16 +1 -9 src/sys/i386/isa/vector.s From owner-cvs-sys Wed Dec 27 03:36:17 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA19451 for cvs-sys-outgoing; Wed, 27 Dec 1995 03:36:17 -0800 (PST) Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA19445 Wed, 27 Dec 1995 03:36:07 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.7.3/8.6.9) with ESMTP id NAA13524; Wed, 27 Dec 1995 13:36:02 +0200 (SAT) Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.3/8.6.9) with SMTP id NAA03212; Wed, 27 Dec 1995 13:35:45 +0200 (SAT) Message-Id: <199512271135.NAA03212@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host mark@localhost [127.0.0.1] didn't use HELO protocol To: Mark Murray cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa random_machdep.c vector.s Date: Wed, 27 Dec 1995 13:35:44 +0200 From: Mark Murray Sender: owner-cvs-sys@freebsd.org Precedence: bulk HEADS UP! 1) You will need to recompile usr.sbin/rndcontrol. 2) It is now possible to shoot yourself in the foot by hooking _any_ interrupt, so PLEASE BE CAREFUL! Only those interupts which trickle in should be used. Good choices: Intelligent SCSI controllers, Ethernet cards on not-too-busy nets and with fast CPUs, Console keyboard (EXCELLENT choice if it is used a lot) etc Bad choices: IDE controller (unless intelligent - ie it interrupts seldom) COM (serial) ports used for IP. Floppy controller. Sytem clocks. etc I am writing this up (slowly), so do not fear - it will be explained. :-) Mark Murray wrote: > markm 95/12/27 03:22:09 > > Modified: sys/i386/i386 mem.c > Log: > Modify the ioctl to handle revectored interrupts for the entropy gatherers. > > Revision Changes Path > 1.28 +30 -5 src/sys/i386/i386/mem.c > > Modified: sys/i386/include random.h > Log: > Clean up and make more universal. Next version of random device. > > Revision Changes Path > 1.2 +16 -5 src/sys/i386/include/random.h > > Modified: sys/i386/isa random_machdep.c vector.s > Log: > random_machdep.c: New version, also includes revectored interrupts, rather > than hooking permanently. > vector.s: : Remove the interrupt hook. This is done dynamically, now. > > Revision Changes Path > 1.2 +244 -203 src/sys/i386/isa/random_machdep.c > 1.16 +1 -9 src/sys/i386/isa/vector.s -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key From owner-cvs-sys Wed Dec 27 07:25:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA27698 for cvs-sys-outgoing; Wed, 27 Dec 1995 07:25:39 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA27691 Wed, 27 Dec 1995 07:25:34 -0800 (PST) Date: Wed, 27 Dec 1995 07:25:34 -0800 (PST) From: Joerg Wunsch Message-Id: <199512271525.HAA27691@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys sem.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk joerg 95/12/27 07:25:32 Modified: sys/kern kern_exit.c sysv_sem.c sys/sys sem.h Log: Call semexit() from exit(), in order to process `undo vectors'. This function has actually never been called. Revision Changes Path 1.22 +5 -1 src/sys/kern/kern_exit.c 1.13 +1 -2 src/sys/kern/sysv_sem.c 1.7 +6 -1 src/sys/sys/sem.h From owner-cvs-sys Wed Dec 27 07:56:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA29705 for cvs-sys-outgoing; Wed, 27 Dec 1995 07:56:40 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA29553 Wed, 27 Dec 1995 07:55:02 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id QAA13817; Wed, 27 Dec 1995 16:54:59 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id QAA05801; Wed, 27 Dec 1995 16:54:58 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id QAA03914; Wed, 27 Dec 1995 16:53:32 +0100 (MET) From: J Wunsch Message-Id: <199512271553.QAA03914@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/sys sem.h To: joerg@freefall.freebsd.org (Joerg Wunsch) Date: Wed, 27 Dec 1995 16:53:31 +0100 (MET) Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199512271525.HAA27691@freefall.freebsd.org> from "Joerg Wunsch" at Dec 27, 95 07:25:34 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk As Joerg Wunsch wrote: > > joerg 95/12/27 07:25:32 > > Modified: sys/kern kern_exit.c sysv_sem.c > sys/sys sem.h > Log: > Call semexit() from exit(), in order to process `undo vectors'. > This function has actually never been called. Sorry, i forgot: Submitted-by: Mihoko Tanaka -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-sys Wed Dec 27 08:16:13 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA00896 for cvs-sys-outgoing; Wed, 27 Dec 1995 08:16:13 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA00888 Wed, 27 Dec 1995 08:16:07 -0800 (PST) Date: Wed, 27 Dec 1995 08:16:07 -0800 (PST) From: Bruce Evans Message-Id: <199512271616.IAA00888@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/apm apm.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/27 08:16:06 Modified: sys/i386/apm apm.c Log: Finished removing MACH_KERNEL stuff. Revision Changes Path 1.23 +1 -6 src/sys/i386/apm/apm.c From owner-cvs-sys Wed Dec 27 09:07:17 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA03234 for cvs-sys-outgoing; Wed, 27 Dec 1995 09:07:17 -0800 (PST) Received: (from pst@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA03227 Wed, 27 Dec 1995 09:07:15 -0800 (PST) Date: Wed, 27 Dec 1995 09:07:15 -0800 (PST) From: Paul Traina Message-Id: <199512271707.JAA03227@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk pst 95/12/27 09:07:14 Modified: sys/scsi scsiconf.c Log: Add NEC CDR 210 to list of devices with broken LUN support Revision Changes Path 1.45 +9 -1 src/sys/scsi/scsiconf.c From owner-cvs-sys Wed Dec 27 10:54:56 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA08606 for cvs-sys-outgoing; Wed, 27 Dec 1995 10:54:56 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA08599 Wed, 27 Dec 1995 10:54:53 -0800 (PST) Date: Wed, 27 Dec 1995 10:54:53 -0800 (PST) From: David Greenman Message-Id: <199512271854.KAA08599@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 support.s Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/27 10:54:53 Modified: sys/i386/i386 support.s Log: Update bcopyb & bcopy to reflect changes I made in the libc version of bcopy: Be smarter about handling overlapped copies and only go backwards if it is really necessary. Going backwards on a P6 is much slower than forwards and it's a little slower on a P5. Also moved the count mask and 'std' down a few lines - it's a couple percent faster this way on a P5. Revision Changes Path 1.30 +12 -7 src/sys/i386/i386/support.s From owner-cvs-sys Wed Dec 27 17:31:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA00835 for cvs-sys-outgoing; Wed, 27 Dec 1995 17:31:42 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA00828 Wed, 27 Dec 1995 17:31:41 -0800 (PST) Date: Wed, 27 Dec 1995 17:31:41 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199512280131.RAA00828@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern sysv_sem.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk jkh 95/12/27 17:31:40 Modified: sys/kern sysv_sem.c Log: Gack - if you're going to call semexit() from elsewhere, it shouldn't be static.. :-) Revision Changes Path 1.14 +2 -2 src/sys/kern/sysv_sem.c From owner-cvs-sys Thu Dec 28 01:36:25 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA24298 for cvs-sys-outgoing; Thu, 28 Dec 1995 01:36:25 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA24221 Thu, 28 Dec 1995 01:35:59 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA00995; Thu, 28 Dec 1995 10:35:48 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA12973; Thu, 28 Dec 1995 10:35:48 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id IAA01623; Thu, 28 Dec 1995 08:58:34 +0100 (MET) From: J Wunsch Message-Id: <199512280758.IAA01623@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/kern sysv_sem.c To: jkh@freefall.freebsd.org (Jordan K. Hubbard) Date: Thu, 28 Dec 1995 08:58:33 +0100 (MET) Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199512280131.RAA00828@freefall.freebsd.org> from "Jordan K. Hubbard" at Dec 27, 95 05:31:41 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk As Jordan K. Hubbard wrote: > > jkh 95/12/27 17:31:40 > > Modified: sys/kern sysv_sem.c > Log: > Gack - if you're going to call semexit() from elsewhere, it shouldn't > be static.. :-) Ooops, thanks! I've killed the static declaration, but not the definition... <:-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-sys Thu Dec 28 03:58:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA00525 for cvs-sys-outgoing; Thu, 28 Dec 1995 03:58:40 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA00515 Thu, 28 Dec 1995 03:58:38 -0800 (PST) Date: Thu, 28 Dec 1995 03:58:38 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199512281158.DAA00515@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa rc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk ache 95/12/28 03:58:37 Modified: sys/i386/isa rc.c Log: Add more disc_optim calls to track line disc changes Revision Changes Path 1.20 +3 -0 src/sys/i386/isa/rc.c From owner-cvs-sys Thu Dec 28 05:04:07 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA03318 for cvs-sys-outgoing; Thu, 28 Dec 1995 05:04:07 -0800 (PST) Received: (from se@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA03311 Thu, 28 Dec 1995 05:04:05 -0800 (PST) Date: Thu, 28 Dec 1995 05:04:05 -0800 (PST) From: Stefan Esser Message-Id: <199512281304.FAA03311@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/pci ncr.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk se 95/12/28 05:04:05 Modified: sys/pci ncr.c Log: Preserve SIGP bit when clearing INTF condition. Submitted by: Gerard Roudier Revision Changes Path 1.53 +3 -3 src/sys/pci/ncr.c From owner-cvs-sys Thu Dec 28 09:09:20 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA17572 for cvs-sys-outgoing; Thu, 28 Dec 1995 09:09:20 -0800 (PST) Received: (from markm@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA17558 Thu, 28 Dec 1995 09:09:18 -0800 (PST) Date: Thu, 28 Dec 1995 09:09:18 -0800 (PST) From: Mark Murray Message-Id: <199512281709.JAA17558@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa random_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk markm 95/12/28 09:09:16 Modified: sys/i386/isa random_machdep.c Log: 1) Add #include to catch some 586 #defines 2) swap the 2 arguments to outb (kato) Pointed out by: Kato Takenori Revision Changes Path 1.3 +3 -2 src/sys/i386/isa/random_machdep.c From owner-cvs-sys Thu Dec 28 12:50:49 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA28606 for cvs-sys-outgoing; Thu, 28 Dec 1995 12:50:49 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA28601 Thu, 28 Dec 1995 12:50:42 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id MAA25236; Thu, 28 Dec 1995 12:50:33 -0800 From: "Rodney W. Grimes" Message-Id: <199512282050.MAA25236@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/sys/pci ncr.c To: se@freefall.freebsd.org (Stefan Esser) Date: Thu, 28 Dec 1995 12:50:33 -0800 (PST) Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199512281304.FAA03311@freefall.freebsd.org> from "Stefan Esser" at Dec 28, 95 05:04:05 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > > se 95/12/28 05:04:05 > > Modified: sys/pci ncr.c > Log: > Preserve SIGP bit when clearing INTF condition. Can you expand upon the ramifications of this fix? Ie, how does the problem it fix manifest itself, symptoms, etc. Thanks, -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-cvs-sys Thu Dec 28 13:02:02 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA29118 for cvs-sys-outgoing; Thu, 28 Dec 1995 13:02:02 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA29102 Thu, 28 Dec 1995 13:01:59 -0800 (PST) Date: Thu, 28 Dec 1995 13:01:59 -0800 (PST) From: David Greenman Message-Id: <199512282101.NAA29102@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 locore.s Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/28 13:01:57 Modified: sys/i386/i386 locore.s Log: Fix one more label that I overlooked with the P6 support. Sigh. Revision Changes Path 1.59 +2 -2 src/sys/i386/i386/locore.s From owner-cvs-sys Thu Dec 28 13:56:59 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02837 for cvs-sys-outgoing; Thu, 28 Dec 1995 13:56:59 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02829 Thu, 28 Dec 1995 13:56:56 -0800 (PST) Date: Thu, 28 Dec 1995 13:56:56 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199512282156.NAA02829@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/nfs nfs_vfsops.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 95/12/28 13:56:53 Modified: sys/nfs nfs_vfsops.c Log: Don't print swap server as root server. Submitted by: Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund) Revision Changes Path 1.26 +2 -2 src/sys/nfs/nfs_vfsops.c From owner-cvs-sys Thu Dec 28 14:07:33 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA03435 for cvs-sys-outgoing; Thu, 28 Dec 1995 14:07:33 -0800 (PST) Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA03421 Thu, 28 Dec 1995 14:07:08 -0800 (PST) Received: by Sysiphos id AA06029 (5.67b/IDA-1.5); Thu, 28 Dec 1995 23:05:50 +0100 Message-Id: <199512282205.AA06029@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Thu, 28 Dec 1995 23:05:50 +0100 In-Reply-To: "Rodney W. Grimes" "Re: cvs commit: src/sys/pci ncr.c" (Dec 28, 12:50) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: "Rodney W. Grimes" Subject: Re: cvs commit: src/sys/pci ncr.c Cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, Andrew Russell , Dmitry Kohmanyuk , Joakim Henriksson , Karl Wiebe , Rich Beerman Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk On Dec 28, 12:50, "Rodney W. Grimes" wrote: } Subject: Re: cvs commit: src/sys/pci ncr.c } > } > se 95/12/28 05:04:05 } > } > Modified: sys/pci ncr.c } > Log: } > Preserve SIGP bit when clearing INTF condition. } } Can you expand upon the ramifications of this fix? Ie, how does the } problem it fix manifest itself, symptoms, etc. This is supposed to fix the timeouts (which eventually lead to bus resets) observed on a few systems over the last few months, e.g.: % ncr0: SCSI phase error fixup: CCB already dequeued (0xf06bdc00) % ncr0:2: ERROR (80:100) (e-a9-23) (e0/13) @ (1214:0e000000). % script cmd = c0000001 % reg: da 10 00 13 47 e0 03 1f 00 0e 82 a9 80 00 01 00. % ncr0: handshake timeout I've never had it happen on my system, but Gerard Roudier managed to reproduce the problem under Linux (when doing the Linux port :) and suggested a fix, which made his system work reliable. In a way, I'm surprised this fix makes any difference at all, but I've got to believe it ... (It's kind of hard to believe, since the NCR is polled once a second, and SIGP is set to 1 on these occasions. For this reason it should have hardly any effect, if it was in fact possible to reset SIGP. But I neither observed that kind of a few seconds sleep nor the corresponding console message written by the timeout handler.) The interrupt register (sist) contains a number of status bits, and writing a 1 to some bit acknowledges recognition of the corresponding interrupt condition. Now it seems, that SIGP (which makes the NCR start execution if set) can be reset by writing a 0 into it's bit position. I don't have the NCR manual here right now, and I can't check whether this is in fact documented behaviour, but the patch seems to fix the problem. The previous code assumed that writing 0 bits to any of the registers was a NOP, but it might in fact be true, that the SIGP bit is special, and does react not only on a 1 being written (as documented), but also on a 0 ... I'm sure that this change can't break anything, since writing a 1 to SIGP is allowed at any time. It will just wake up the NCR if it was sleeping, and if nothing is to be done, it will go to sleep again. People who might see an improvement are: Andrew Russell David Greenman Dmitry Kohmanyuk Joakim Henriksson Karl Wiebe Rich Beerman Satoshi Asami Some reported about single failures and I'm not sure their reports have not been caused by transient effects. I'm CCing this message to the above list of people, and I'd like to hear whether the problem did still exist with a recent version of the NCR driver, and whether the fix does help them ... (David reported a single failure, and I suppose it didn't repeat ??? And Satoshi reported timeouts with fsck. In most cases the problems were solved by disabling tags or upgrading the drive's firmware ...) Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se From owner-cvs-sys Thu Dec 28 15:34:38 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA08293 for cvs-sys-outgoing; Thu, 28 Dec 1995 15:34:38 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA08284 Thu, 28 Dec 1995 15:34:33 -0800 (PST) Date: Thu, 28 Dec 1995 15:34:33 -0800 (PST) From: David Greenman Message-Id: <199512282334.PAA08284@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/sys buf.h systm.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/28 15:34:32 Modified: sys/i386/i386 machdep.c support.s sys/i386/include cpufunc.h sys/sys buf.h systm.h Log: Made bzero a function vector and added a 586/686 optimized version of bzero. Deprecated blkclr (removed it). Removed some old cruft from cpufunc.h. The optimized bzero was submitted by Torbjorn Granlund The kernel adaption and other changes by me. Revision Changes Path 1.165 +8 -1 src/sys/i386/i386/machdep.c 1.31 +70 -17 src/sys/i386/i386/support.s 1.44 +1 -61 src/sys/i386/include/cpufunc.h 1.26 +2 -2 src/sys/sys/buf.h 1.28 +2 -3 src/sys/sys/systm.h From owner-cvs-sys Thu Dec 28 16:30:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA10759 for cvs-sys-outgoing; Thu, 28 Dec 1995 16:30:11 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA10750 Thu, 28 Dec 1995 16:30:09 -0800 (PST) Date: Thu, 28 Dec 1995 16:30:09 -0800 (PST) From: Peter Wemm Message-Id: <199512290030.QAA10750@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa aha1542.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 95/12/28 16:30:08 Modified: sys/i386/isa aha1542.c Log: Add the attempted DMA address to the 'DMA beyond end of ISA' message so that we can see if it's a small distance beyond the end, or way out. This may give some clues as to whether it is being caused by something coalescing the transfers in spite of the bounce buffers, or simply because of buffer corruption. (The BT driver seems to occasionally get hit by from this too, except that it does not trap the transfer, and the system panics later with vm_bounce_page_free.) This "event" usually happens to me during a savecore (on the rare occasion that a kernel coredump is actually taken after a crash - the lack of kernel core dumps is another problem...). Revision Changes Path 1.54 +3 -2 src/sys/i386/isa/aha1542.c From owner-cvs-sys Thu Dec 28 17:12:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA12120 for cvs-sys-outgoing; Thu, 28 Dec 1995 17:12:08 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA12112 Thu, 28 Dec 1995 17:12:06 -0800 (PST) Date: Thu, 28 Dec 1995 17:12:06 -0800 (PST) From: David Greenman Message-Id: <199512290112.RAA12112@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/netinet tcp_var.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/28 17:12:04 Modified: sys/netinet tcp_var.h Log: Remove some bogus externs. Revision Changes Path 1.26 +1 -4 src/sys/netinet/tcp_var.h From owner-cvs-sys Thu Dec 28 18:04:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA16080 for cvs-sys-outgoing; Thu, 28 Dec 1995 18:04:27 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA16063 Thu, 28 Dec 1995 18:04:23 -0800 (PST) Date: Thu, 28 Dec 1995 18:04:23 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199512290204.SAA16063@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC LINT Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk jkh 95/12/28 18:04:22 Modified: sys/i386/conf GENERIC LINT Log: Make a couple of options that hurt when they're removed more carefully noted. Revision Changes Path 1.58 +3 -2 src/sys/i386/conf/GENERIC 1.230 +11 -6 src/sys/i386/conf/LINT From owner-cvs-sys Fri Dec 29 00:04:36 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06124 for cvs-sys-outgoing; Fri, 29 Dec 1995 00:04:36 -0800 (PST) Received: (from markm@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06117 Fri, 29 Dec 1995 00:04:34 -0800 (PST) Date: Fri, 29 Dec 1995 00:04:34 -0800 (PST) From: Mark Murray Message-Id: <199512290804.AAA06117@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa random_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk markm 95/12/29 00:04:34 Modified: sys/i386/include random.h sys/i386/isa random_machdep.c Log: 1) ifdef out some unused functions (for now) 2) improve 586 support 3) add 686 support 4) clean up comments etc Submitted by: bde Revision Changes Path 1.3 +7 -0 src/sys/i386/include/random.h 1.4 +26 -20 src/sys/i386/isa/random_machdep.c From owner-cvs-sys Fri Dec 29 05:19:09 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA19876 for cvs-sys-outgoing; Fri, 29 Dec 1995 05:19:09 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA19867 Fri, 29 Dec 1995 05:19:02 -0800 (PST) Date: Fri, 29 Dec 1995 05:19:02 -0800 (PST) From: Bruce Evans Message-Id: <199512291319.FAA19867@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa/ic esp.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/29 05:19:00 Added: sys/i386/isa/ic esp.h Log: Oops, this should have been committed with the other Hayes ESP changes. From owner-cvs-sys Fri Dec 29 05:21:18 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA20026 for cvs-sys-outgoing; Fri, 29 Dec 1995 05:21:18 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA20017 Fri, 29 Dec 1995 05:21:15 -0800 (PST) Date: Fri, 29 Dec 1995 05:21:15 -0800 (PST) From: Bruce Evans Message-Id: <199512291321.FAA20017@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/gnu/i386/isa dgb.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/29 05:21:14 Modified: sys/gnu/i386/isa dgb.c Log: Fixed erroneous resending of the output buffer. Fixed panics for events on nonexistent ports. Fixed devconf class initialization and devconf state tracking. Submitted by: Serge A. Babkin Revision Changes Path 1.15 +34 -11 src/sys/gnu/i386/isa/dgb.c From owner-cvs-sys Fri Dec 29 14:12:20 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA17500 for cvs-sys-outgoing; Fri, 29 Dec 1995 14:12:20 -0800 (PST) Received: (from sos@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA17491 Fri, 29 Dec 1995 14:12:17 -0800 (PST) Date: Fri, 29 Dec 1995 14:12:17 -0800 (PST) From: Soren Schmidt Message-Id: <199512292212.OAA17491@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/linux linux.h linux_ioctl.c linux_ipc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk sos 95/12/29 14:12:16 Modified: lkm/linux Makefile Log: Added SYSVSHM define Revision Changes Path 1.2 +2 -2 src/lkm/linux/Makefile Modified: sys/i386/linux linux.h linux_ioctl.c linux_ipc.c Log: My first shot at get sound to work on the emulator. Inspired by the work Amancio Hasty has done, but implemented somewhat differently. Revision Changes Path 1.3 +19 -1 src/sys/i386/linux/linux.h 1.4 +63 -2 src/sys/i386/linux/linux_ioctl.c 1.4 +45 -5 src/sys/i386/linux/linux_ipc.c From owner-cvs-sys Fri Dec 29 14:17:22 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA17928 for cvs-sys-outgoing; Fri, 29 Dec 1995 14:17:22 -0800 (PST) Received: (from sos@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA17920 Fri, 29 Dec 1995 14:17:19 -0800 (PST) Date: Fri, 29 Dec 1995 14:17:19 -0800 (PST) From: Soren Schmidt Message-Id: <199512292217.OAA17920@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa wcd.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk sos 95/12/29 14:17:18 Modified: sys/i386/isa wcd.c Log: Fixed a bug with the ATAPI_STATIC option, so it compiles again. Revision Changes Path 1.21 +8 -3 src/sys/i386/isa/wcd.c From owner-cvs-sys Fri Dec 29 16:42:32 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA00349 for cvs-sys-outgoing; Fri, 29 Dec 1995 16:42:32 -0800 (PST) Received: (from sos@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA00342 Fri, 29 Dec 1995 16:42:29 -0800 (PST) Date: Fri, 29 Dec 1995 16:42:29 -0800 (PST) From: Soren Schmidt Message-Id: <199512300042.QAA00342@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_ioctl.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk sos 95/12/29 16:42:27 Modified: sys/i386/linux linux_ioctl.c Log: Oops, forgot a little difference between my src-tree and ours... Revision Changes Path 1.5 +2 -2 src/sys/i386/linux/linux_ioctl.c From owner-cvs-sys Fri Dec 29 19:53:06 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA25181 for cvs-sys-outgoing; Fri, 29 Dec 1995 19:53:06 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA25173 Fri, 29 Dec 1995 19:53:03 -0800 (PST) Date: Fri, 29 Dec 1995 19:53:03 -0800 (PST) From: Bruce Evans Message-Id: <199512300353.TAA25173@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa sio.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/29 19:53:02 Modified: sys/i386/isa sio.c Log: Restored likely_com_ports[] from rev.1.122 so that Hayes ESP support at least compiles. Revision Changes Path 1.132 +3 -1 src/sys/i386/isa/sio.c From owner-cvs-sys Fri Dec 29 23:24:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04573 for cvs-sys-outgoing; Fri, 29 Dec 1995 23:24:27 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04563 Fri, 29 Dec 1995 23:24:21 -0800 (PST) Date: Fri, 29 Dec 1995 23:24:21 -0800 (PST) From: Bruce Evans Message-Id: <199512300724.XAA04563@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/libkern mcount.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 95/12/29 23:24:20 Modified: sys/libkern mcount.c Log: Copied mcount.c from the library again. #include'ing it via a relative path to a possibly-nonexistent place didn't work well enough. Sigh. Revision Changes Path 1.6 +325 -3 src/sys/libkern/mcount.c From owner-cvs-sys Sat Dec 30 05:56:31 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA18909 for cvs-sys-outgoing; Sat, 30 Dec 1995 05:56:31 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA18901 Sat, 30 Dec 1995 05:56:30 -0800 (PST) Date: Sat, 30 Dec 1995 05:56:30 -0800 (PST) From: Joerg Wunsch Message-Id: <199512301356.FAA18901@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/scsi cd.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk joerg 95/12/30 05:56:29 Modified: sys/scsi cd.c Log: Use a medium_type field of 0 (Default), instead of the value that was obtained by the MOSE SENSE command. SONY drives are too stupid to eat their own food. Submitted by: stu@solaris.com (Stu Phillips) While i was at it, i've removed two bogus channel numbers in the``set mono'' command, that kept my Toshiba drive complaining. Also remove Julian's misspelling of `stereo'. Revision Changes Path 1.55 +9 -3 src/sys/scsi/cd.c From owner-cvs-sys Sat Dec 30 15:13:38 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA23669 for cvs-sys-outgoing; Sat, 30 Dec 1995 15:13:38 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA23661 Sat, 30 Dec 1995 15:13:36 -0800 (PST) Date: Sat, 30 Dec 1995 15:13:36 -0800 (PST) From: David Greenman Message-Id: <199512302313.PAA23661@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 95/12/30 15:13:35 Modified: sys/i386/i386 machdep.c Log: In memory test, cast pointer as "volatile int *", not "int *" to make sure that gcc doesn't cache the value used in the test. Pointed out by Erich Boleyn . Revision Changes Path 1.166 +9 -9 src/sys/i386/i386/machdep.c