From owner-cvs-sys Sun Mar 3 00:42:39 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA28653 for cvs-sys-outgoing; Sun, 3 Mar 1996 00:42:39 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA28637 Sun, 3 Mar 1996 00:42:31 -0800 (PST) Date: Sun, 3 Mar 1996 00:42:31 -0800 (PST) From: Peter Wemm Message-Id: <199603030842.AAA28637@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa if_ar.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/03 00:42:30 Modified: sys/i386/isa if_ar.c Log: Make the handshake lines do the right thing. This is untested by the author but others say it's working. (DTR etc) Closes PR#884 Submitted-by: John Hay Revision Changes Path 1.6 +14 -13 src/sys/i386/isa/if_ar.c From owner-cvs-sys Sun Mar 3 10:51:41 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA07015 for cvs-sys-outgoing; Sun, 3 Mar 1996 10:51:41 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA06997 Sun, 3 Mar 1996 10:51:35 -0800 (PST) Date: Sun, 3 Mar 1996 10:51:35 -0800 (PST) From: Peter Wemm Message-Id: <199603031851.KAA06997@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys vnode.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/03 10:51:35 Modified: sys/sys vnode.h Log: Add missing prototype for newly public vn_vmio_open function, next to vn_vmio_close. Revision Changes Path 1.31 +3 -1 src/sys/sys/vnode.h From owner-cvs-sys Sun Mar 3 10:53:16 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA07130 for cvs-sys-outgoing; Sun, 3 Mar 1996 10:53:16 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA07116 Sun, 3 Mar 1996 10:53:12 -0800 (PST) Date: Sun, 3 Mar 1996 10:53:12 -0800 (PST) From: Peter Wemm Message-Id: <199603031853.KAA07116@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/03 10:53:11 Modified: sys/vm vm_map.c Log: Remove the #ifdef notyet from the prototype of vm_map_simplify. John re-enabled the function but missed the prototype, causing a warning. Revision Changes Path 1.35 +1 -3 src/sys/vm/vm_map.c From owner-cvs-sys Sun Mar 3 11:08:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA07838 for cvs-sys-outgoing; Sun, 3 Mar 1996 11:08:08 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA07760 Sun, 3 Mar 1996 11:07:52 -0800 (PST) Date: Sun, 3 Mar 1996 11:07:52 -0800 (PST) From: Peter Wemm Message-Id: <199603031907.LAA07760@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux.h linux_ioctl.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/03 11:07:51 Modified: sys/i386/linux linux.h linux_ioctl.c Log: Add support for the old-style Linux termio (not termios) TCGETA etc. Also, LINUX_POSIX_VDISABLE is \0, FreeBSD's is 0xff. Convert between them. This enables some more programs to run, including the Livingston Portmaster utilities (PMtools). Submitted by: Robert Sanders Revision Changes Path 1.6 +4 -2 src/sys/i386/linux/linux.h 1.7 +72 -2 src/sys/i386/linux/linux_ioctl.c From owner-cvs-sys Sun Mar 3 11:48:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA09989 for cvs-sys-outgoing; Sun, 3 Mar 1996 11:48:57 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA09955 Sun, 3 Mar 1996 11:48:48 -0800 (PST) Date: Sun, 3 Mar 1996 11:48:48 -0800 (PST) From: John Dyson Message-Id: <199603031948.LAA09955@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_fork.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/03 11:48:47 Modified: sys/kern kern_fork.c Log: Keep fork from over extending the number of processes. Since u_map is sized exactly for maxproc, the occasional overrunning the maxproc limit can cause problems. Revision Changes Path 1.18 +11 -2 src/sys/kern/kern_fork.c From owner-cvs-sys Sun Mar 3 12:07:01 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA10872 for cvs-sys-outgoing; Sun, 3 Mar 1996 12:07:01 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA10854 Sun, 3 Mar 1996 12:06:55 -0800 (PST) Date: Sun, 3 Mar 1996 12:06:55 -0800 (PST) From: Peter Wemm Message-Id: <199603032006.MAA10854@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern imgact_aout.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/03 12:06:54 Modified: sys/kern imgact_aout.c Log: Deal with NetBSD byte-swapped a.out magic when checking the MID to exclude linux binaries from the *BSD a.out loader. This is a hack, but lets me run static NetBSD binaries. Dynamic binaries are a much bigger problem because the shared libraries would conflict with our native libraries, so a /compat/netbsd alternate namespace and translation would be needed. Revision Changes Path 1.24 +4 -2 src/sys/kern/imgact_aout.c From owner-cvs-sys Sun Mar 3 13:11:33 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA13579 for cvs-sys-outgoing; Sun, 3 Mar 1996 13:11:33 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA13550 Sun, 3 Mar 1996 13:11:11 -0800 (PST) Date: Sun, 3 Mar 1996 13:11:11 -0800 (PST) From: John Dyson Message-Id: <199603032111.NAA13550@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys rlist.h src/sys/kern subr_rlist.c src/sys/vm swap_pager.c swap_pager.h vm_swap.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/03 13:11:09 Modified: sys/kern subr_rlist.c sys/sys rlist.h sys/vm swap_pager.c swap_pager.h vm_swap.c Log: In order to fix some concurrency problems with the swap pager early on in the FreeBSD development, I had made a global lock around the rlist code. This was bogus, and now the lock is maintained on a per resource list basis. This now allows the rlist code to be used for almost any non-interrupt level application. Revision Changes Path 1.17 +31 -29 src/sys/kern/subr_rlist.c 1.9 +13 -5 src/sys/sys/rlist.h 1.62 +2 -2 src/sys/vm/swap_pager.c 1.15 +2 -1 src/sys/vm/swap_pager.h 1.35 +2 -1 src/sys/vm/vm_swap.c From owner-cvs-sys Sun Mar 3 18:04:42 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA25630 for cvs-sys-outgoing; Sun, 3 Mar 1996 18:04:42 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA25614 Sun, 3 Mar 1996 18:04:26 -0800 (PST) Date: Sun, 3 Mar 1996 18:04:26 -0800 (PST) From: John Dyson Message-Id: <199603040204.SAA25614@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/03 18:04:26 Modified: sys/vm vm_map.c Log: Fix a problem that pages in a mapped region were not always properly invalidated. Now we traverse the object shadow chain properly. Revision Changes Path 1.36 +17 -1 src/sys/vm/vm_map.c From owner-cvs-sys Sun Mar 3 20:56:41 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA03818 for cvs-sys-outgoing; Sun, 3 Mar 1996 20:56:41 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA03803 Sun, 3 Mar 1996 20:56:30 -0800 (PST) Date: Sun, 3 Mar 1996 20:56:30 -0800 (PST) From: David Greenman Message-Id: <199603040456.UAA03803@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in_rmx.c ip_icmp.c ip_output.c ip_var.h tcp_input.c tcp_output.c tcp_subr.c tcp_var.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 96/03/03 20:56:30 Branch: sys/netinet RELENG_2_1_0 Modified: sys/netinet in_rmx.c ip_icmp.c ip_output.c ip_var.h tcp_input.c tcp_output.c tcp_subr.c tcp_var.h Log: Brought in Path MTU Discovery implementation from main branch. This has been running on wcarchive now for several weeks and makes a substantial improvement in TCP performance. Revision Changes Path 1.13.4.3 +7 -1 src/sys/netinet/in_rmx.c 1.7.4.2 +81 -1 src/sys/netinet/ip_icmp.c 1.19.4.5 +32 -1 src/sys/netinet/ip_output.c 1.10.4.2 +2 -1 src/sys/netinet/ip_var.h 1.25.4.4 +4 -30 src/sys/netinet/tcp_input.c 1.11.4.4 +31 -8 src/sys/netinet/tcp_output.c 1.11.4.2 +82 -1 src/sys/netinet/tcp_subr.c 1.11.4.4 +20 -17 src/sys/netinet/tcp_var.h From owner-cvs-sys Sun Mar 3 23:13:46 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA08571 for cvs-sys-outgoing; Sun, 3 Mar 1996 23:13:46 -0800 (PST) Received: from irz301.inf.tu-dresden.de ([141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA08495 Sun, 3 Mar 1996 23:13:19 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA02600; Mon, 4 Mar 1996 08:13:15 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA03401; Mon, 4 Mar 1996 08:13:26 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id QAA01202; Sat, 2 Mar 1996 16:29:12 +0100 (MET) From: J Wunsch Message-Id: <199603021529.QAA01202@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/kern subr_prf.c To: gpalmer@freefall.freebsd.org (Gary Palmer) Date: Sat, 2 Mar 1996 16:29:12 +0100 (MET) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199602282142.NAA15862@freefall.freebsd.org> from "Gary Palmer" at Feb 28, 96 01:42:19 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk As Gary Palmer wrote: > Modified: sys/i386/conf LINT > sys/kern subr_prf.c > Log: > Add a new option: DDB_UNATTENDED. Stops machine dropping into DDB > when it panics, but leaving activation of DDB from the console > unaffected. I would have loved to see a sysctl variable for this instead. This way, i don't need a dozen of different kernels, but could for example disable DDB fallbacks before leaving for a vacation or longer business trip. -- 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 Mon Mar 4 03:15:30 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA21639 for cvs-sys-outgoing; Mon, 4 Mar 1996 03:15:30 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA21617 Mon, 4 Mar 1996 03:15:22 -0800 (PST) Date: Mon, 4 Mar 1996 03:15:22 -0800 (PST) From: Peter Wemm Message-Id: <199603041115.DAA21617@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_ioctl.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/04 03:15:21 Modified: sys/i386/linux linux_ioctl.c Log: Add support for LINUX_TCSETAW and LINUX_TCSETAF, which Linux-pine uses. Submitted by: Robert Sanders Revision Changes Path 1.8 +9 -1 src/sys/i386/linux/linux_ioctl.c From owner-cvs-sys Mon Mar 4 03:27:37 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA22895 for cvs-sys-outgoing; Mon, 4 Mar 1996 03:27:37 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA22880 Mon, 4 Mar 1996 03:27:29 -0800 (PST) Received: from localhost.DIALix.oz.au (peter@localhost.DIALix.oz.au [127.0.0.1]) by jhome.DIALix.COM (8.7.4/8.7.3) with SMTP id TAA02681; Mon, 4 Mar 1996 19:09:30 +0800 (WST) Message-Id: <199603041109.TAA02681@jhome.DIALix.COM> X-Authentication-Warning: jhome.DIALix.COM: Host peter@localhost.DIALix.oz.au [127.0.0.1] didn't use HELO protocol To: J Wunsch cc: gpalmer@freefall.freebsd.org (Gary Palmer), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/kern subr_prf.c In-reply-to: Your message of "Sat, 02 Mar 1996 16:29:12 +0100." <199603021529.QAA01202@uriah.heep.sax.de> Date: Mon, 04 Mar 1996 19:09:30 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >As Gary Palmer wrote: > >> Modified: sys/i386/conf LINT >> sys/kern subr_prf.c >> Log: >> Add a new option: DDB_UNATTENDED. Stops machine dropping into DDB >> when it panics, but leaving activation of DDB from the console >> unaffected. > >I would have loved to see a sysctl variable for this instead. This >way, i don't need a dozen of different kernels, but could for example >disable DDB fallbacks before leaving for a vacation or longer business >trip. > >-- >cheers, J"org I agree.. It is amazingly simple to add sysctl variables after PHK's upgrade of the sysctl code. It's now as simple as adding two (or three) lines to the code.. One #include, an int variable and a SYSCTL_INT(.. OID_AUTO..) line. Cheers, -Peter From owner-cvs-sys Mon Mar 4 04:10:13 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA25714 for cvs-sys-outgoing; Mon, 4 Mar 1996 04:10:13 -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 EAA25707 Mon, 4 Mar 1996 04:10:08 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id XAA11681; Mon, 4 Mar 1996 23:04:30 +1100 Date: Mon, 4 Mar 1996 23:04:30 +1100 From: Bruce Evans Message-Id: <199603041204.XAA11681@godzilla.zeta.org.au> To: j@uriah.heep.sax.de, peter@jhome.dialix.com Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/kern subr_prf.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, gpalmer@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >>> Add a new option: DDB_UNATTENDED. Stops machine dropping into DDB >>>... >>I would have loved to see a sysctl variable for this instead. This >>... >I agree.. It is amazingly simple to add sysctl variables after PHK's upgrade >of the sysctl code. It's now as simple as adding two (or three) lines to the >code.. One #include, an int variable and a SYSCTL_INT(.. OID_AUTO..) line. It's almost as simple as echo "set ddb_unattended = 1" | gdb -k -w /kernel /dev/mem :-). Only variables that need a procdedure to set dependent variables can't be handled using gdb. Using a single variable to control debugger entries is actually not simple. Debugger() is called from 18 modules and you don't want to have to change all of these and all future callers to test the variable and decide what to do. The variable should probably be tested in Debugger() (panic if it is set), but then you need a separate entry point(s) to force ordinary entry to ddb from the console(s). Similarly for other entries to ddb (for stray trace traps, breakpoints, and other exceptions). Similarly if cons_unavail is set. Bruce From owner-cvs-sys Mon Mar 4 04:41:49 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA27657 for cvs-sys-outgoing; Mon, 4 Mar 1996 04:41:49 -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 EAA27650 Mon, 4 Mar 1996 04:41:47 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by Root.COM (8.6.12/8.6.5) with SMTP id EAA17868; Mon, 4 Mar 1996 04:40:55 -0800 Message-Id: <199603041240.EAA17868@Root.COM> X-Authentication-Warning: implode.Root.COM: Host localhost didn't use HELO protocol To: Bruce Evans cc: j@uriah.heep.sax.de, peter@jhome.dialix.com, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, gpalmer@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/kern subr_prf.c In-reply-to: Your message of "Mon, 04 Mar 1996 23:04:30 +1100." <199603041204.XAA11681@godzilla.zeta.org.au> From: David Greenman Reply-To: davidg@Root.COM Date: Mon, 04 Mar 1996 04:40:55 -0800 Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >>>> Add a new option: DDB_UNATTENDED. Stops machine dropping into DDB >>>>... >>>I would have loved to see a sysctl variable for this instead. This >>>... > >>I agree.. It is amazingly simple to add sysctl variables after PHK's upgrade >>of the sysctl code. It's now as simple as adding two (or three) lines to the >>code.. One #include, an int variable and a SYSCTL_INT(.. OID_AUTO..) line. > >It's almost as simple as > > echo "set ddb_unattended = 1" | gdb -k -w /kernel /dev/mem > >:-). Only variables that need a procdedure to set dependent variables >can't be handled using gdb. > >Using a single variable to control debugger entries is actually not >simple. Debugger() is called from 18 modules and you don't want to >have to change all of these and all future callers to test the variable >and decide what to do. The variable should probably be tested in >Debugger() (panic if it is set), but then you need a separate entry >point(s) to force ordinary entry to ddb from the console(s). >Similarly for other entries to ddb (for stray trace traps, breakpoints, >and other exceptions). Similarly if cons_unavail is set. All that we really need is a "ddb_on_panic" sysctl variable. The other cases I (and I'm sure most others) don't care about. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Mon Mar 4 04:47:16 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA27964 for cvs-sys-outgoing; Mon, 4 Mar 1996 04:47:16 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA27950 Mon, 4 Mar 1996 04:47:07 -0800 (PST) Date: Mon, 4 Mar 1996 04:47:07 -0800 (PST) From: David Greenman Message-Id: <199603041247.EAA27950@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_fork.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk davidg 96/03/04 04:47:07 Branch: sys/kern RELENG_2_1_0 Modified: sys/kern kern_fork.c Log: Brought in fix from rev 1.18: Fix for u_map allocation failure panic. Revision Changes Path 1.12.4.1 +11 -2 src/sys/kern/kern_fork.c From owner-cvs-sys Mon Mar 4 06:27:32 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA02993 for cvs-sys-outgoing; Mon, 4 Mar 1996 06:27:32 -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 GAA02988 Mon, 4 Mar 1996 06:27:27 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id BAA16598; Tue, 5 Mar 1996 01:22:32 +1100 Date: Tue, 5 Mar 1996 01:22:32 +1100 From: Bruce Evans Message-Id: <199603041422.BAA16598@godzilla.zeta.org.au> To: bde@zeta.org.au, davidg@Root.COM Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/kern subr_prf.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, gpalmer@freefall.freebsd.org, j@uriah.heep.sax.de, peter@jhome.dialix.com Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >>Using a single variable to control debugger entries is actually not >>simple. Debugger() is called from 18 modules and you don't want to >>have to change all of these and all future callers to test the variable >>and decide what to do. The variable should probably be tested in >>Debugger() (panic if it is set), but then you need a separate entry >>point(s) to force ordinary entry to ddb from the console(s). >>Similarly for other entries to ddb (for stray trace traps, breakpoints, >>and other exceptions). Similarly if cons_unavail is set. > All that we really need is a "ddb_on_panic" sysctl variable. The other >cases I (and I'm sure most others) don't care about. panic() usually isn't called until after ddb returns (if ddb is installed). E.g., trap() calls kdb_trap() in ddb for all fatal traps. Thus preventing panic() from calling Debugger() doesn't help much. Bruce From owner-cvs-sys Mon Mar 4 07:58:41 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA11253 for cvs-sys-outgoing; Mon, 4 Mar 1996 07:58:41 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA11235 Mon, 4 Mar 1996 07:58:28 -0800 (PST) Date: Mon, 4 Mar 1996 07:58:28 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199603041558.HAA11235@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa lpt.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 96/03/04 07:58:27 Modified: sys/i386/isa lpt.c Log: Validate the length before we trust it. Submitted by: Andrew.Gordon@net-tel.co.uk Revision Changes Path 1.50 +3 -1 src/sys/i386/isa/lpt.c From owner-cvs-sys Mon Mar 4 08:03:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11569 for cvs-sys-outgoing; Mon, 4 Mar 1996 08:03:29 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11543 Mon, 4 Mar 1996 08:03:20 -0800 (PST) Date: Mon, 4 Mar 1996 08:03:20 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199603041603.IAA11543@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa lpt.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk phk 96/03/04 08:03:19 Branch: sys/i386/isa RELENG_2_1_0 Modified: sys/i386/isa lpt.c Log: Validate length before we trust it. Submitted by: Andrew.Gordon@net-tel.co.uk Revision Changes Path 1.30.4.8 +3 -1 src/sys/i386/isa/lpt.c From owner-cvs-sys Mon Mar 4 11:46:34 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA22483 for cvs-sys-outgoing; Mon, 4 Mar 1996 11:46:34 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA22463 Mon, 4 Mar 1996 11:46:18 -0800 (PST) Date: Mon, 4 Mar 1996 11:46:18 -0800 (PST) From: Peter Wemm Message-Id: <199603041946.LAA22463@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_misc.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/04 11:46:17 Branch: sys/i386/linux RELENG_2_1_0 Modified: sys/i386/linux linux_misc.c Log: Make time(0) work.. Netscape's scroll bars dont work without it. Revision Changes Path 1.1.4.2 +2 -2 src/sys/i386/linux/linux_misc.c From owner-cvs-sys Mon Mar 4 11:48:47 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA22743 for cvs-sys-outgoing; Mon, 4 Mar 1996 11:48:47 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA22721 Mon, 4 Mar 1996 11:48:40 -0800 (PST) Date: Mon, 4 Mar 1996 11:48:40 -0800 (PST) From: Peter Wemm Message-Id: <199603041948.LAA22721@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_dummy.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/04 11:48:40 Branch: sys/i386/linux RELENG_2_1_0 Modified: sys/i386/linux linux_dummy.c Log: Whack a #ifdef DEBUG around the printf about syslog being replaced by a sigreturn, There's up to 20 of these per second, and syslogd is fsync()'ing the /var/log/messages file.. :-( This is "expected behavior" for the level of code in -stable. Revision Changes Path 1.1.4.1 +3 -1 src/sys/i386/linux/linux_dummy.c From owner-cvs-sys Mon Mar 4 12:59:11 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA27053 for cvs-sys-outgoing; Mon, 4 Mar 1996 12:59:11 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA27029 Mon, 4 Mar 1996 12:58:49 -0800 (PST) Date: Mon, 4 Mar 1996 12:58:49 -0800 (PST) From: Peter Wemm Message-Id: <199603042058.MAA27029@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux syscalls.master Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/04 12:58:48 Modified: sys/i386/linux syscalls.master Log: Oops.. I was wrong about the change to sigsuspend. The library interface is different to the syscall under Linux, back this out. Use correct arg type for linux_utime() Revision Changes Path 1.2 +4 -3 src/sys/i386/linux/syscalls.master From owner-cvs-sys Mon Mar 4 13:03:28 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA27556 for cvs-sys-outgoing; Mon, 4 Mar 1996 13:03:28 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA27534 Mon, 4 Mar 1996 13:03:15 -0800 (PST) Date: Mon, 4 Mar 1996 13:03:15 -0800 (PST) From: Peter Wemm Message-Id: <199603042103.NAA27534@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_misc.c linux_proto.h linux_signal.c linux_syscall.h linux_sysent.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/04 13:03:14 Modified: sys/i386/linux linux_misc.c linux_proto.h linux_signal.c linux_syscall.h linux_sysent.c Log: update linux_times() and linux_utime() emulation, fix sigsuspend() (actually back out my recent change there) and regen the syscall tables.. Revision Changes Path 1.14 +43 -14 src/sys/i386/linux/linux_misc.c 1.2 +4 -2 src/sys/i386/linux/linux_proto.h 1.6 +6 -3 src/sys/i386/linux/linux_signal.c 1.2 +1 -1 src/sys/i386/linux/linux_syscall.h 1.6 +2 -2 src/sys/i386/linux/linux_sysent.c From owner-cvs-sys Mon Mar 4 16:22:26 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA11617 for cvs-sys-outgoing; Mon, 4 Mar 1996 16:22:26 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA11604 Mon, 4 Mar 1996 16:22:22 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.4/8.6.9) with SMTP id QAA24495; Mon, 4 Mar 1996 16:20:35 -0800 (PST) To: Peter Wemm cc: J Wunsch , gpalmer@freefall.freebsd.org (Gary Palmer), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/kern subr_prf.c In-reply-to: Your message of "Mon, 04 Mar 1996 19:09:30 +0800." <199603041109.TAA02681@jhome.DIALix.COM> Date: Mon, 04 Mar 1996 16:20:35 -0800 Message-ID: <24493.825985235@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > I agree.. It is amazingly simple to add sysctl variables after PHK's upgrade > of the sysctl code. It's now as simple as adding two (or three) lines to the > code.. One #include, an int variable and a SYSCTL_INT(.. OID_AUTO..) line. Hmmmm. Can you add new variables at runtime, or is an NT-style registry still going to be a necessary evil for unifying the kernel dynamic information? Jordan From owner-cvs-sys Mon Mar 4 20:54:03 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA01126 for cvs-sys-outgoing; Mon, 4 Mar 1996 20:54:03 -0800 (PST) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA01086 Mon, 4 Mar 1996 20:53:52 -0800 (PST) Date: Mon, 4 Mar 1996 20:53:52 -0800 (PST) From: Nate Williams Message-Id: <199603050453.UAA01086@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/apm/apm_init real_prot.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk nate 96/03/04 20:53:52 Branch: sys/i386/apm/apm_init RELENG_2_1_0 Modified: sys/i386/apm/apm_init real_prot.h Log: Bring in changes from -current. revision 1.4 date: 1996/01/30 22:53:13; author: mpp; state: Exp; lines: +2 -2 Fix a bunch of spelling errors in the comment fields of a bunch of system include files. Revision Changes Path 1.3.4.1 +2 -2 src/sys/i386/apm/apm_init/real_prot.h From owner-cvs-sys Mon Mar 4 21:51:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA06944 for cvs-sys-outgoing; Mon, 4 Mar 1996 21:51:09 -0800 (PST) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA06893 Mon, 4 Mar 1996 21:50:57 -0800 (PST) Date: Mon, 4 Mar 1996 21:50:57 -0800 (PST) From: Nate Williams Message-Id: <199603050550.VAA06893@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/apm apm.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk nate 96/03/04 21:50:56 Branch: sys/i386/apm RELENG_2_1_0 Modified: sys/i386/apm apm.c Log: Removed MACH_KERNEL ifdef's to bring the code closer in-line with -current. DEVFS and static changes have not yet been brought in. Revision Changes Path 1.12.4.2 +3 -135 src/sys/i386/apm/apm.c From owner-cvs-sys Mon Mar 4 22:41:43 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA15492 for cvs-sys-outgoing; Mon, 4 Mar 1996 22:41:43 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id WAA15439 Mon, 4 Mar 1996 22:41:22 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0ttqQx-0003vrC; Mon, 4 Mar 96 22:41 PST Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id GAA02306; Tue, 5 Mar 1996 06:41:21 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: "Jordan K. Hubbard" cc: Peter Wemm , J Wunsch , gpalmer@freefall.freebsd.org (Gary Palmer), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/kern subr_prf.c In-reply-to: Your message of "Mon, 04 Mar 1996 16:20:35 PST." <24493.825985235@time.cdrom.com> Date: Tue, 05 Mar 1996 06:41:19 +0000 Message-ID: <2304.826008079@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > > I agree.. It is amazingly simple to add sysctl variables after PHK's upgrad e > > of the sysctl code. It's now as simple as adding two (or three) lines to t he > > code.. One #include, an int variable and a SYSCTL_INT(.. OID_AUTO..) line. > > Hmmmm. Can you add new variables at runtime, or is an NT-style > registry still going to be a necessary evil for unifying the kernel > dynamic information? I have a prototype of the dynamic sysctl code, it's not quite what I want and I still have some panic-style bugs in it, but it's on the way. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-sys Tue Mar 5 20:32:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA01037 for cvs-sys-outgoing; Tue, 5 Mar 1996 20:32:25 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA00894 Tue, 5 Mar 1996 20:31:54 -0800 (PST) Date: Tue, 5 Mar 1996 20:31:54 -0800 (PST) From: John Dyson Message-Id: <199603060431.UAA00894@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm swap_pager.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/05 20:31:52 Modified: sys/vm swap_pager.c Log: Fix a problem in the swap pager that caused some of the pages that were paged in under low swap space conditions to both loose their backing store and their dirty bits. This would cause pages to be demand zeroed under certain conditions in low VM space conditions and consequential sig-11's or sig-10's. This situation was made worse lately when the level for swap space reclaim threshold was increased. Revision Changes Path 1.63 +9 -9 src/sys/vm/swap_pager.c From owner-cvs-sys Wed Mar 6 15:21:06 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA09018 for cvs-sys-outgoing; Wed, 6 Mar 1996 15:21:06 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA08960 Wed, 6 Mar 1996 15:20:44 -0800 (PST) Date: Wed, 6 Mar 1996 15:20:44 -0800 (PST) From: Bruce Evans Message-Id: <199603062320.PAA08960@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa isa.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 96/03/06 15:20:43 Branch: sys/i386/isa RELENG_2_1_0 Modified: sys/i386/isa isa.c Log: Brought in fix from rev 1.57: don't forget the (1 << intr) bit. Submitted by: gibbs Revision Changes Path 1.50.4.3 +2 -1 src/sys/i386/isa/isa.c From owner-cvs-sys Thu Mar 7 21:16:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA11561 for cvs-sys-outgoing; Thu, 7 Mar 1996 21:16:09 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA11487 Thu, 7 Mar 1996 21:15:57 -0800 (PST) Date: Thu, 7 Mar 1996 21:15:57 -0800 (PST) From: Bruce Evans Message-Id: <199603080515.VAA11487@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot asm.S table.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 96/03/07 21:15:56 Modified: sys/i386/boot/biosboot asm.S table.c Log: Fixed restoring segment descriptors in prot_to_real(). The descriptors must have limit 0xffff and attribute G = 0 (byte granularity) as well as other properties that they already had (see e.g., the Intel i486 manual section 22.5). Not restoring them broke Ctrl-Alt-Del in the bootstrap for my ASUS P55TP4XE system, probably because the Award BIOS does anti-tracing stuff involving inaccessible %esp's. asm.S: Don't use lret in prot_to_real(). This reduces the risk of using an incompletely intialized stack segment and saves space. Submitted by: "K.Higashino" (on 13 Jan 1995!) reworked by me Revision Changes Path 1.7 +11 -10 src/sys/i386/boot/biosboot/asm.S 1.9 +2 -2 src/sys/i386/boot/biosboot/table.c From owner-cvs-sys Thu Mar 7 21:44:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA13424 for cvs-sys-outgoing; Thu, 7 Mar 1996 21:44:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA13323 Thu, 7 Mar 1996 21:43:48 -0800 (PST) Date: Thu, 7 Mar 1996 21:43:48 -0800 (PST) From: Bruce Evans Message-Id: <199603080543.VAA13323@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot asm.S Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 96/03/07 21:43:47 Modified: sys/i386/boot/biosboot asm.S Log: Load %fs with the flat data segment selector while in protected mode. This will be used for convenient access to the BIOS variables. Revision Changes Path 1.8 +7 -3 src/sys/i386/boot/biosboot/asm.S From owner-cvs-sys Thu Mar 7 22:11:48 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA15425 for cvs-sys-outgoing; Thu, 7 Mar 1996 22:11:48 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA15408 Thu, 7 Mar 1996 22:11:36 -0800 (PST) Date: Thu, 7 Mar 1996 22:11:36 -0800 (PST) From: Bruce Evans Message-Id: <199603080611.WAA15408@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot io.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 96/03/07 22:11:35 Modified: sys/i386/boot/biosboot io.c Log: Made the timeouts in gets() machine-independent. Use the BIOS tick counter instead of the BIOS time call to save space. Reworked the anti-noise timeout to avoid duplicating code. The timeout in the outer loop is now restarted after every noise timeout, so it is now possible for the total timeout to be infinite; previously, the maximum total timeout was 150000 seconds. Revision Changes Path 1.17 +35 -31 src/sys/i386/boot/biosboot/io.c From owner-cvs-sys Thu Mar 7 22:29:18 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA16849 for cvs-sys-outgoing; Thu, 7 Mar 1996 22:29:18 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA16835 Thu, 7 Mar 1996 22:29:10 -0800 (PST) Date: Thu, 7 Mar 1996 22:29:10 -0800 (PST) From: Bruce Evans Message-Id: <199603080629.WAA16835@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot Makefile boot.c io.c probe_keyboard.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 96/03/07 22:29:10 Modified: sys/i386/boot/biosboot Makefile boot.c io.c probe_keyboard.c Log: Probe the keyboard if PROBE_KEYBOARD is defined instead of when `notyet' is defined and FORCE_COMCONSOLE isn't defined. Don't compile any keyboard probing code if PROBE_KEYBOARD isn't defined. Makefile: Removed -I paths. They weren't used, and the one to /sys hasn't worked since the source directory was moved down one level. Revision Changes Path 1.38 +6 -3 src/sys/i386/boot/biosboot/Makefile 1.47 +6 -6 src/sys/i386/boot/biosboot/boot.c 1.18 +3 -1 src/sys/i386/boot/biosboot/io.c 1.6 +3 -3 src/sys/i386/boot/biosboot/probe_keyboard.c From owner-cvs-sys Thu Mar 7 23:28:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA20370 for cvs-sys-outgoing; Thu, 7 Mar 1996 23:28:08 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA20258 Thu, 7 Mar 1996 23:27:55 -0800 (PST) Date: Thu, 7 Mar 1996 23:27:55 -0800 (PST) From: Bruce Evans Message-Id: <199603080727.XAA20258@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot asm.S Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 96/03/07 23:27:54 Modified: sys/i386/boot/biosboot asm.S Log: Saved 14 bytes by avoiding gas braindamage and 8 bytes by better instruction selection, for a total of 16 bytes after padding. Whee. Revision Changes Path 1.9 +22 -23 src/sys/i386/boot/biosboot/asm.S From owner-cvs-sys Fri Mar 8 03:07:19 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA29618 for cvs-sys-outgoing; Fri, 8 Mar 1996 03:07:19 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA29599 Fri, 8 Mar 1996 03:07:11 -0800 (PST) Date: Fri, 8 Mar 1996 03:07:11 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199603081107.DAA29599@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if_tun.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk ache 96/03/08 03:07:10 Modified: sys/net if_tun.h Log: Make user-level PPP on-demand with dynamic IP actually work. Story so fr: 1) PPP on-demand with static IP works. 2) PPP on-demand with dynamic IP says "Host is down" on any IP request The problem is that tun driver check its READY state by *first* ifconfig address. i.e.: set ifaddr works (static IP) and set ifaddr 0 not works (dynamic IP) because first address is equal 0. Since tun is always POINTOPOINT interface, dst address is more meaningfull. I change checking to second (dst) address in READY test. PPP on-demand finally works. Revision Changes Path 1.5 +1 -1 src/sys/net/if_tun.h From owner-cvs-sys Fri Mar 8 03:48:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA04989 for cvs-sys-outgoing; Fri, 8 Mar 1996 03:48:29 -0800 (PST) Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA04648 Fri, 8 Mar 1996 03:45:48 -0800 (PST) Received: by sequent.kiae.su id AA02008 (5.65.kiae-2 ); Fri, 8 Mar 1996 14:35:55 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Fri, 8 Mar 96 14:35:54 +0300 Received: (from ache@localhost) by astral.msk.su (8.7.4/8.7.3) id OAA00532; Fri, 8 Mar 1996 14:34:47 +0300 (MSK) Message-Id: <199603081134.OAA00532@astral.msk.su> Subject: Re: cvs commit: src/sys/net if_tun.h To: ache@freefall.freebsd.org (Andrey A. Chernov) Date: Fri, 8 Mar 1996 14:34:47 +0300 (MSK) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199603081107.DAA29599@freefall.freebsd.org> from "Andrey A. Chernov" at "Mar 8, 96 03:07:11 am" From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL11 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > ache 96/03/08 03:07:10 > > Modified: sys/net if_tun.h > Log: > Make user-level PPP on-demand with dynamic IP actually work. > Story so fr: > 1) PPP on-demand with static IP works. > 2) PPP on-demand with dynamic IP says "Host is down" on any IP request ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I miss "dialing to host not occurse, because tun interface not accumulate/output any packets, it not ready" here. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-cvs-sys Fri Mar 8 04:43:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA10869 for cvs-sys-outgoing; Fri, 8 Mar 1996 04:43:25 -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 EAA10863 Fri, 8 Mar 1996 04:43:23 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by Root.COM (8.6.12/8.6.5) with SMTP id EAA00945; Fri, 8 Mar 1996 04:43:47 -0800 Message-Id: <199603081243.EAA00945@Root.COM> X-Authentication-Warning: implode.Root.COM: Host localhost didn't use HELO protocol To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/boot/biosboot asm.S table.c In-reply-to: Your message of "Thu, 07 Mar 1996 21:15:57 PST." <199603080515.VAA11487@freefall.freebsd.org> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 08 Mar 1996 04:43:47 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >bde 96/03/07 21:15:56 > > Modified: sys/i386/boot/biosboot asm.S table.c > Log: > Fixed restoring segment descriptors in prot_to_real(). The descriptors > must have limit 0xffff and attribute G = 0 (byte granularity) as well > as other properties that they already had (see e.g., the Intel i486 > manual section 22.5). Not restoring them broke Ctrl-Alt-Del in the > bootstrap for my ASUS P55TP4XE system, probably because the Award BIOS > does anti-tracing stuff involving inaccessible %esp's. > > asm.S: > Don't use lret in prot_to_real(). This reduces the risk of using an > incompletely intialized stack segment and saves space. > > Submitted by: "K.Higashino" (on 13 Jan 1995!) > reworked by me This should be brought into -stable. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Fri Mar 8 22:42:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA26881 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:42:23 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA26853 Fri, 8 Mar 1996 22:42:18 -0800 (PST) Date: Fri, 8 Mar 1996 22:42:18 -0800 (PST) From: John Dyson Message-Id: <199603090642.WAA26853@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:42:17 Modified: sys/kern vfs_vnops.c Log: Remove a now unnecessary function prototype. Revision Changes Path 1.25 +1 -3 src/sys/kern/vfs_vnops.c From owner-cvs-sys Fri Mar 8 22:43:26 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA26967 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:43:26 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA26951 Fri, 8 Mar 1996 22:43:21 -0800 (PST) Date: Fri, 8 Mar 1996 22:43:21 -0800 (PST) From: John Dyson Message-Id: <199603090643.WAA26951@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:43:21 Modified: sys/kern vfs_subr.c Log: Put the "free vnode isn't" check back in the right place. Revision Changes Path 1.53 +3 -3 src/sys/kern/vfs_subr.c From owner-cvs-sys Fri Mar 8 22:47:00 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27258 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:47:00 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27243 Fri, 8 Mar 1996 22:46:54 -0800 (PST) Date: Fri, 8 Mar 1996 22:46:54 -0800 (PST) From: John Dyson Message-Id: <199603090646.WAA27243@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:46:53 Modified: sys/kern vfs_bio.c Log: Correct handling of dirty pages in I/O buffers. The case where pages residing in a buffer that had been dirtied by a process was being handled incorrectly. The pages were mistakenly placed into the cache queue. This would likely have the effect of mmaped page modifications being lost when I/O system calls were being used simultaneously to the same locations in a file. Submitted by: davidg Revision Changes Path 1.88 +9 -3 src/sys/kern/vfs_bio.c From owner-cvs-sys Fri Mar 8 22:48:37 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27473 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:48:37 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27457 Fri, 8 Mar 1996 22:48:28 -0800 (PST) Date: Fri, 8 Mar 1996 22:48:28 -0800 (PST) From: John Dyson Message-Id: <199603090648.WAA27457@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_fault.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:48:28 Modified: sys/vm vm_fault.c Log: Set the page valid bits in fewer places, as opposed to being scattered in various places. Revision Changes Path 1.42 +3 -5 src/sys/vm/vm_fault.c From owner-cvs-sys Fri Mar 8 22:52:15 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27727 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:52:15 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27711 Fri, 8 Mar 1996 22:52:08 -0800 (PST) Date: Fri, 8 Mar 1996 22:52:08 -0800 (PST) From: John Dyson Message-Id: <199603090652.WAA27711@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:52:08 Modified: sys/vm vm_map.c Log: Fix two problems: The pmap_remove in vm_map_clean incorrectly unmapped the entire map entry. The new vm_map_simplify_entry code had an error (the offset of the combined map entry was not set correctly.) Submitted by: Alan Cox Revision Changes Path 1.37 +3 -2 src/sys/vm/vm_map.c From owner-cvs-sys Fri Mar 8 22:53:37 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27856 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:53:37 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27820 Fri, 8 Mar 1996 22:53:29 -0800 (PST) Date: Fri, 8 Mar 1996 22:53:29 -0800 (PST) From: John Dyson Message-Id: <199603090653.WAA27820@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_pageout.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:53:28 Modified: sys/vm vm_pageout.c Log: Fix a calculation for a paging parameter. Revision Changes Path 1.67 +2 -2 src/sys/vm/vm_pageout.c From owner-cvs-sys Fri Mar 8 22:54:49 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27963 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:54:49 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27947 Fri, 8 Mar 1996 22:54:44 -0800 (PST) Date: Fri, 8 Mar 1996 22:54:44 -0800 (PST) From: John Dyson Message-Id: <199603090654.WAA27947@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm device_pager.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:54:43 Modified: sys/vm device_pager.c Log: Add a missing initialization of the hold_count for device pager ficticiouse pages. Revision Changes Path 1.21 +2 -1 src/sys/vm/device_pager.c From owner-cvs-sys Fri Mar 8 22:56:51 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA28100 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:56:51 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA28072 Fri, 8 Mar 1996 22:56:42 -0800 (PST) Date: Fri, 8 Mar 1996 22:56:42 -0800 (PST) From: John Dyson Message-Id: <199603090656.WAA28072@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_page.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:56:41 Modified: sys/vm vm_page.c Log: Modify a threshold for waking up the pageout daemon. Also, add a consistancy check for making sure that held pages aren't freed (DG). Revision Changes Path 1.49 +7 -3 src/sys/vm/vm_page.c From owner-cvs-sys Fri Mar 8 22:58:00 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA28195 for cvs-sys-outgoing; Fri, 8 Mar 1996 22:58:00 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA28174 Fri, 8 Mar 1996 22:57:54 -0800 (PST) Date: Fri, 8 Mar 1996 22:57:54 -0800 (PST) From: John Dyson Message-Id: <199603090657.WAA28174@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_glue.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 22:57:54 Modified: sys/vm vm_glue.c Log: Delay forking a process until there are more pages available. It was possible to deadlock with the low threshold that we had used. Revision Changes Path 1.42 +2 -2 src/sys/vm/vm_glue.c From owner-cvs-sys Fri Mar 8 23:01:27 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA28434 for cvs-sys-outgoing; Fri, 8 Mar 1996 23:01:27 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA28420 Fri, 8 Mar 1996 23:01:22 -0800 (PST) Date: Fri, 8 Mar 1996 23:01:22 -0800 (PST) From: John Dyson Message-Id: <199603090701.XAA28420@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 23:01:22 Modified: sys/i386/i386 pmap.c Log: Correct some new and older lurking bugs. Hold count wasn't being handled correctly. Fix some incorrect code that was included to improve performance. Significantly simplify the pmap_use_pt and pmap_unuse_pt subroutines. Add some more diagnostic code. Revision Changes Path 1.78 +212 -118 src/sys/i386/i386/pmap.c From owner-cvs-sys Fri Mar 8 23:02:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA28512 for cvs-sys-outgoing; Fri, 8 Mar 1996 23:02:57 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA28497 Fri, 8 Mar 1996 23:02:53 -0800 (PST) Date: Fri, 8 Mar 1996 23:02:53 -0800 (PST) From: John Dyson Message-Id: <199603090702.XAA28497@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/specfs spec_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/08 23:02:53 Modified: sys/miscfs/specfs spec_vnops.c Log: Make sure that the zero flag is cleared upon completion of paging I/O. Revision Changes Path 1.28 +2 -1 src/sys/miscfs/specfs/spec_vnops.c From owner-cvs-sys Fri Mar 8 23:14:04 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA29023 for cvs-sys-outgoing; Fri, 8 Mar 1996 23:14:04 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA29005 Fri, 8 Mar 1996 23:13:59 -0800 (PST) Date: Fri, 8 Mar 1996 23:13:59 -0800 (PST) From: Peter Wemm Message-Id: <199603090713.XAA29005@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi scsiconf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk peter 96/03/08 23:13:58 Modified: sys/scsi scsiconf.c Log: Fix broken SCSI_DELAY option.. (missing #include "opt_scsi.h") Pointed out by: Boyd Faulkner Revision Changes Path 1.56 +3 -1 src/sys/scsi/scsiconf.c From owner-cvs-sys Sat Mar 9 10:59:12 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA16579 for cvs-sys-outgoing; Sat, 9 Mar 1996 10:59:12 -0800 (PST) Received: (from rgrimes@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA16561 Sat, 9 Mar 1996 10:59:02 -0800 (PST) Date: Sat, 9 Mar 1996 10:59:02 -0800 (PST) From: "Rodney W. Grimes" Message-Id: <199603091859.KAA16561@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa rc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk rgrimes 96/03/09 10:59:02 Modified: sys/i386/isa rc.c Log: Convert a timeout loop from 100 iterations of 15uS to 50 iterations of 30uS so that really fast systems stop getting timeout messages from the Riscom driver. Reviewed by: ache, peter@nmti.com (Peter da Silva) Revision Changes Path 1.21 +2 -2 src/sys/i386/isa/rc.c From owner-cvs-sys Sat Mar 9 11:03:45 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA16910 for cvs-sys-outgoing; Sat, 9 Mar 1996 11:03:45 -0800 (PST) Received: (from rgrimes@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA16896 Sat, 9 Mar 1996 11:03:38 -0800 (PST) Date: Sat, 9 Mar 1996 11:03:38 -0800 (PST) From: "Rodney W. Grimes" Message-Id: <199603091903.LAA16896@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa rc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk rgrimes 96/03/09 11:03:38 Branch: sys/i386/isa RELENG_2_1_0 Modified: sys/i386/isa rc.c Log: Bring in revision 1.21, timeout fix. Reviewed by: ache, peter@nmti.com (Peter da Silva) Revision Changes Path 1.1.4.2 +2 -2 src/sys/i386/isa/rc.c From owner-cvs-sys Sat Mar 9 11:18:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA17663 for cvs-sys-outgoing; Sat, 9 Mar 1996 11:18:09 -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 LAA17658 Sat, 9 Mar 1996 11:18:03 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id LAA10171; Sat, 9 Mar 1996 11:17:24 -0800 From: "Rodney W. Grimes" Message-Id: <199603091917.LAA10171@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/sys/i386/isa rc.c To: rgrimes@freefall.freebsd.org (Rodney W. Grimes) Date: Sat, 9 Mar 1996 11:17:24 -0800 (PST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199603091859.KAA16561@freefall.freebsd.org> from "Rodney W. Grimes" at Mar 9, 96 10:59:02 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 X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk > > rgrimes 96/03/09 10:59:02 > > Modified: sys/i386/isa rc.c > Log: > Convert a timeout loop from 100 iterations of 15uS to 50 > iterations of 30uS so that really fast systems stop getting > timeout messages from the Riscom driver. > > Reviewed by: ache, peter@nmti.com (Peter da Silva) > > Revision Changes Path > 1.21 +2 -2 src/sys/i386/isa/rc.c Note that this patch really points to a problem in DELAY(X) for X smaller than 20. Right now the DELAY code does an X=-20 and never really goes into the DELAY loop. It seems that on 133Mhz and faster Pentium systems the assumed overhead time of 20uS is no longer valid and something needs to be done to correct this. This is especially true when calling short DELAY's in a loop since that all ends up running from the internal cache. If you spot DELAY being called in an loop some place with values of 20 or below I suggest that the code be corrected to do what I did here or we are going to see more of these types of problems as system speeds increase. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-cvs-sys Sat Mar 9 12:11:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA20474 for cvs-sys-outgoing; Sat, 9 Mar 1996 12:11:29 -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 MAA20468 Sat, 9 Mar 1996 12:11:25 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id HAA22595; Sun, 10 Mar 1996 07:09:03 +1100 Date: Sun, 10 Mar 1996 07:09:03 +1100 From: Bruce Evans Message-Id: <199603092009.HAA22595@godzilla.zeta.org.au> To: rgrimes@freefall.freebsd.org, rgrimes@gndrsh.aac.dev.com Subject: Re: cvs commit: src/sys/i386/isa rc.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk >Note that this patch really points to a problem in DELAY(X) for X >smaller than 20. Right now the DELAY code does an X=-20 and never >really goes into the DELAY loop. >It seems that on 133Mhz and faster Pentium systems the assumed overhead >time of 20uS is no longer valid and something needs to be done to >correct this. This is especially true when calling short DELAY's in >a loop since that all ends up running from the internal cache. >If you spot DELAY being called in an loop some place with values of >20 or below I suggest that the code be corrected to do what I did here >or we are going to see more of these types of problems as system >speeds increase. Very short delays should only have been used when the precise delay isn't critical. It isn't practical to guarantee a maximum delay (slow machines take several usec just to call DELAY(), and interrupts may extend the delay for several thousand usec). Perhaps DELAY() should guarantee a minimal delay. This would make all the stupid timeout loops with DELAY(SMALL) give huge timeouts on slow machines :-(. Bruce From owner-cvs-sys Sat Mar 9 16:50:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA09904 for cvs-sys-outgoing; Sat, 9 Mar 1996 16:50:25 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA09888 Sat, 9 Mar 1996 16:50:19 -0800 (PST) Date: Sat, 9 Mar 1996 16:50:19 -0800 (PST) From: Bruce Evans Message-Id: <199603100050.QAA09888@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot asm.S table.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk bde 96/03/09 16:50:19 Branch: sys/i386/boot/biosboot RELENG_2_1_0 Modified: sys/i386/boot/biosboot asm.S table.c Log: Brought in fixes for restoring segment registers in prot_to_real() from asm.S (rev 1.7) and table.c (rev 1.9). Revision Changes Path 1.6.4.1 +11 -10 src/sys/i386/boot/biosboot/asm.S 1.7.4.2 +2 -2 src/sys/i386/boot/biosboot/table.c From owner-cvs-sys Sat Mar 9 18:10:41 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA14626 for cvs-sys-outgoing; Sat, 9 Mar 1996 18:10:41 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA14609 Sat, 9 Mar 1996 18:10:29 -0800 (PST) Date: Sat, 9 Mar 1996 18:10:29 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199603100210.SAA14609@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa isa.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: owner-cvs-sys@FreeBSD.ORG Precedence: bulk jkh 96/03/09 18:10:28 Modified: sys/i386/isa isa.c Log: Don't print DMA busy messages - the sound code apparently runs afoul of this without actually providing useful information and works nonetheless. Submitted by: Jim Lowe Revision Changes Path 1.64 +7 -1 src/sys/i386/isa/isa.c From owner-cvs-sys Sat Mar 9 23:13:28 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA29697 for cvs-sys-outgoing; Sat, 9 Mar 1996 23:13:28 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA29681 Sat, 9 Mar 1996 23:13:18 -0800 (PST) Date: Sat, 9 Mar 1996 23:13:18 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199603100713.XAA29681@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/eisa aha1742.c eisaconf.c src/sys/i386/isa aha1542.c aic6360.c isa.c ncr5380.c seagate.c ultra14f.c src/sys/i386/scsi aic7xxx.c aic7xxx.h bt.c src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/pci aic7870.c ncr.c src/sys/scsi cd.c ch.c od.c pt.c scsi_base.c scsi_driver.c scsi_driver.h scsi_ioctl.c scsiconf.c scsiconf.h sctarg.c sd.c st.c worm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/03/09 23:13:17 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h Log: Reset the DMA control register whenever we reset the sequencer. Clear LASTPHASE on busfree so the kernel driver can tell that the sequencer is idle. Fix some comments to reflect reality. Revision Changes Path 1.31 +18 -44 src/sys/dev/aic7xxx/aic7xxx.seq 1.6 +4 -4 src/sys/dev/aic7xxx/aic7xxx_reg.h Modified: sys/i386/eisa aha1742.c eisaconf.c Log: aha1742.c: Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. eisaconf.c: Cosmetic formatting chagnes. Revision Changes Path 1.52 +5 -5 src/sys/i386/eisa/aha1742.c 1.17 +4 -4 src/sys/i386/eisa/eisaconf.c Modified: sys/i386/isa aha1542.c aic6360.c isa.c ncr5380.c seagate.c ultra14f.c sys/scsi cd.c ch.c od.c pt.c scsi_base.c scsi_driver.c scsi_driver.h scsi_ioctl.c scsiconf.c scsiconf.h sctarg.c sd.c st.c worm.c Log: Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. Revision Changes Path 1.56 +5 -5 src/sys/i386/isa/aha1542.c 1.20 +5 -5 src/sys/i386/isa/aic6360.c 1.65 +1 -3 src/sys/i386/isa/isa.c 1.11 +5 -5 src/sys/i386/isa/ncr5380.c 1.17 +6 -6 src/sys/i386/isa/seagate.c 1.46 +5 -5 src/sys/i386/isa/ultra14f.c 1.67 +52 -52 src/sys/scsi/cd.c 1.30 +31 -31 src/sys/scsi/ch.c 1.14 +19 -19 src/sys/scsi/od.c 1.14 +5 -5 src/sys/scsi/pt.c 1.36 +45 -45 src/sys/scsi/scsi_base.c 1.14 +4 -4 src/sys/scsi/scsi_driver.c 1.6 +2 -2 src/sys/scsi/scsi_driver.h 1.21 +2 -2 src/sys/scsi/scsi_ioctl.c 1.57 +11 -11 src/sys/scsi/scsiconf.c 1.40 +53 -59 src/sys/scsi/scsiconf.h 1.14 +6 -6 src/sys/scsi/sctarg.c 1.86 +23 -23 src/sys/scsi/sd.c 1.63 +79 -79 src/sys/scsi/st.c 1.25 +16 -16 src/sys/scsi/worm.c Modified: sys/i386/scsi aic7xxx.c aic7xxx.h bt.c Log: bt.c, aic7xxx.c: Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. aic7xxx.c: Fix the reset code. Instead of queing up all of the SCBs that timeout during timeout processing, we take the first and have it champion the effort. Any other scbs that timeout during timeout handling are given another lifetime to complete in the hopes that once timeout handing is finished, they will complete normally. If one of these SCBs times out a second time, we panic and Justin tries again. The other major change is to queue flag aborted SCBs during timeout handling, and "ahc_done" them all at once as soon as we have the controller back into a sane state. Calling ahc_done any earlier will cause the SCSI subsystem to toss the command right back at us and the attempt to queue the command will conflict with what the timeout routine is trying to accomplish. The aic7xxx driver will now respond to bus resets initiated by other devices. Revision Changes Path 1.56 +237 -232 src/sys/i386/scsi/aic7xxx.c 1.22 +4 -1 src/sys/i386/scsi/aic7xxx.h 1.8 +6 -6 src/sys/i386/scsi/bt.c Modified: sys/pci aic7870.c ncr.c Log: aic7870.c, ncr.c: Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. aic7870.c: Handle Seeprom data a little better. Revision Changes Path 1.26 +9 -10 src/sys/pci/aic7870.c 1.65 +6 -10 src/sys/pci/ncr.c