From owner-cvs-src@FreeBSD.ORG Sun Nov 16 00:01:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50C1616A4CE; Sun, 16 Nov 2003 00:01:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC21243FA3; Sun, 16 Nov 2003 00:01:58 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAG81wXJ049546; Sun, 16 Nov 2003 00:01:58 -0800 (PST) (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAG81w63049545; Sun, 16 Nov 2003 00:01:58 -0800 (PST) (envelope-from mckusick) Message-Id: <200311160801.hAG81w63049545@repoman.freebsd.org> From: Kirk McKusick Date: Sun, 16 Nov 2003 00:01:58 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/dump main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 08:01:59 -0000 mckusick 2003/11/16 00:01:58 PST FreeBSD src repository Modified files: sbin/dump main.c Log: Convert the live dump command (`dump -L') to use mksnap_ffs instead of trying to directly create the snapshot itself. This change allows users logged into the system as operator to run live dumps. Note that dump no longer tries to create the snapshot in the root of the filesystem, but rather in a .snap directory in the root of the filesystem. The reason is that the operator is usually not permitted to write into the root of the filesystem. The newfs command and background fsck have both been modified to create a .snap directory in the root of the filesystem, but if neither of these have been run, then the .snap directory must be created manually by the superuser before a live dump can be run. The .snap directory should be owned by user root and group operator and set to mode 770. Revision Changes Path 1.55 +7 -11 src/sbin/dump/main.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 00:11:01 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E31A16A4CE; Sun, 16 Nov 2003 00:11:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58FA743FCB; Sun, 16 Nov 2003 00:11:00 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAG8B0XJ050826; Sun, 16 Nov 2003 00:11:00 -0800 (PST) (envelope-from green@repoman.freebsd.org) Received: (from green@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAG8B0Jp050823; Sun, 16 Nov 2003 00:11:00 -0800 (PST) (envelope-from green) Message-Id: <200311160811.hAG8B0Jp050823@repoman.freebsd.org> From: Brian Feldman Date: Sun, 16 Nov 2003 00:10:59 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf kmod.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 08:11:01 -0000 green 2003/11/16 00:10:59 PST FreeBSD src repository Modified files: sys/conf kmod.mk Log: As mentioned by warner, previous revision (opt_ddb.h) was just a fluke -- I'm having bad luck with different parts of the sys tree being checked out at slightly different times. Back it out, noting it doesn't cause harm in any case. Tinderbox also makes these things more fun. Revision Changes Path 1.148 +1 -3 src/sys/conf/kmod.mk From owner-cvs-src@FreeBSD.ORG Sun Nov 16 00:39:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BEE416A4CE; Sun, 16 Nov 2003 00:39:46 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17C5943FBD; Sun, 16 Nov 2003 00:39:43 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id hAG8deFw016417; Sun, 16 Nov 2003 00:39:40 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id hAG8ddhf016415; Sun, 16 Nov 2003 00:39:39 -0800 (PST) (envelope-from rizzo) Date: Sun, 16 Nov 2003 00:39:39 -0800 From: Luigi Rizzo To: Peter Jeremy Message-ID: <20031116003939.A10853@xorpc.icir.org> References: <200311142102.hAEL2Nen073186@repoman.freebsd.org> <20031114153145.A54064@xorpc.icir.org> <3FB593F5.1053E7E2@pipeline.ch> <20031115002921.B68056@xorpc.icir.org> <3FB60181.4256A519@pipeline.ch> <20031116014814.GB74756@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031116014814.GB74756@server.vk2pj.dyndns.org>; from peterjeremy@optushome.com.au on Sun, Nov 16, 2003 at 12:48:14PM +1100 cc: Andre Oppermann cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_var.h ip_fastfwd.c ip_flow.c ip_flow.h ip_input.c ip_output.c src/sys/sys mbuf.h src/sys/conf files src/sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c if_ppp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 08:39:46 -0000 On Sun, Nov 16, 2003 at 12:48:14PM +1100, Peter Jeremy wrote: ... > >I will try to measure that with more precision. You did have > >code which was able to record and timestamp events several > >thousand times per second. Do still have that code somewhere? there is some MD code in the RELENG_4 tree, the kernel option you need is "options KERN_TIMESTAMP" and a description on how to use it is in sys/i386/include/param.h Note that you have to be careful when timing very short sections of code, because the CPU can execute instruction out of order so something like rdtsc(); rdtsc() might result in the second timing call being executed before the section of code in the middle is complete. There is some nonintuitive instruction (which i now forget) to flush the execution pipeline which can be used around the section of code you want to time. In an SMP environment this code probably will not work well because it does not consider parallel access to the counters, nor the CPU where events occur (probably you could use a per-cpu index, and then in many cases you only care about relative measurements of events on the same CPU). cheers luigi > I've done similar things a couple of times using circular buffers > along the following lines: > > #define RING_SIZE (1 << some_suitable_value) > int next_entry; > struct entry { > some_time_t now; > foo_t event; > } ring[RING_SIZE]; > > void __inline insert_event(foo_t event) > { > int ix; > /* following two lines need to be atomic to make this re-entrant */ > ix = next_entry; > next_entry = (ix + 1) & (RING_SIZE - 1); > ring[ix].now = read_time(); > ring[ix].event = event; > } > > In userland, mmap(2) next_entry and ring to unload the events. Pick > RING_SIZE and the time types to suit requirements. The TSC has the > lowest overhead but worst jitter. > > Peter From owner-cvs-src@FreeBSD.ORG Sun Nov 16 00:41:25 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43AF816A4CE; Sun, 16 Nov 2003 00:41:25 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B368643FAF; Sun, 16 Nov 2003 00:41:24 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAG8fOXJ052047; Sun, 16 Nov 2003 00:41:24 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAG8fOVC052046; Sun, 16 Nov 2003 00:41:24 -0800 (PST) (envelope-from njl) Message-Id: <200311160841.hAG8fOVC052046@repoman.freebsd.org> From: Nate Lawson Date: Sun, 16 Nov 2003 00:41:24 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/ancontrol ancontrol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 08:41:25 -0000 njl 2003/11/16 00:41:24 PST FreeBSD src repository Modified files: usr.sbin/ancontrol ancontrol.c Log: Remove an annoying printf that somehow leaked into rev 1.21. Revision Changes Path 1.22 +0 -1 src/usr.sbin/ancontrol/ancontrol.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 00:41:53 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14CE316A4D1; Sun, 16 Nov 2003 00:41:53 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C0DE43FB1; Sun, 16 Nov 2003 00:41:52 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id hAG8fpFw016717; Sun, 16 Nov 2003 00:41:51 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id hAG8fpw2016716; Sun, 16 Nov 2003 00:41:51 -0800 (PST) (envelope-from rizzo) Date: Sun, 16 Nov 2003 00:41:51 -0800 From: Luigi Rizzo To: Peter Jeremy Message-ID: <20031116004151.B10853@xorpc.icir.org> References: <200311142102.hAEL2Nen073186@repoman.freebsd.org> <20031114153145.A54064@xorpc.icir.org> <3FB593F5.1053E7E2@pipeline.ch> <20031115002921.B68056@xorpc.icir.org> <3FB60181.4256A519@pipeline.ch> <20031116014814.GB74756@server.vk2pj.dyndns.org> <20031116003939.A10853@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031116003939.A10853@xorpc.icir.org>; from rizzo@icir.org on Sun, Nov 16, 2003 at 12:39:39AM -0800 cc: Andre Oppermann cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_var.h ip_fastfwd.c ip_flow.c ip_flow.h ip_input.c ip_output.c src/sys/sys mbuf.h src/sys/conf files src/sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c if_ppp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 08:41:53 -0000 On Sun, Nov 16, 2003 at 12:39:39AM -0800, Luigi Rizzo wrote: ... > might result in the second timing call being executed before > the section of code in the middle is complete. There is > some nonintuitive instruction (which i now forget) to flush the follow up to myself -- the instruction is "cpuid" cheers luigi From owner-cvs-src@FreeBSD.ORG Sun Nov 16 01:54:15 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8232E16A4CE; Sun, 16 Nov 2003 01:54:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE3D743F75; Sun, 16 Nov 2003 01:54:13 -0800 (PST) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAG9sDXJ061413; Sun, 16 Nov 2003 01:54:13 -0800 (PST) (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAG9sD8h061412; Sun, 16 Nov 2003 01:54:13 -0800 (PST) (envelope-from simokawa) Message-Id: <200311160954.hAG9sD8h061412@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Sun, 16 Nov 2003 01:54:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/modules/dcons Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 09:54:15 -0000 simokawa 2003/11/16 01:54:13 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/modules/dcons Makefile Log: Fix build on alpha. Noticed by: tinderbox & imp Revision Changes Path 1.1.2.2 +2 -1 src/sys/modules/dcons/Makefile From owner-cvs-src@FreeBSD.ORG Sun Nov 16 03:52:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EF2616A4CF; Sun, 16 Nov 2003 03:52:28 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C9743FA3; Sun, 16 Nov 2003 03:52:27 -0800 (PST) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGBqRXJ068718; Sun, 16 Nov 2003 03:52:27 -0800 (PST) (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGBqQP7068717; Sun, 16 Nov 2003 03:52:26 -0800 (PST) (envelope-from akiyama) Message-Id: <200311161152.hAGBqQP7068717@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 16 Nov 2003 03:52:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man4 miibus.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 11:52:28 -0000 akiyama 2003/11/16 03:52:26 PST FreeBSD src repository Modified files: share/man/man4 miibus.4 Log: Add rue(4) into list of miibus-using drivers and reference. MFC after: 1 week Revision Changes Path 1.7 +3 -0 src/share/man/man4/miibus.4 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 03:58:22 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD54916A4CF; Sun, 16 Nov 2003 03:58:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2536F43FD7; Sun, 16 Nov 2003 03:58:22 -0800 (PST) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGBwLXJ068958; Sun, 16 Nov 2003 03:58:21 -0800 (PST) (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGBwLwb068957; Sun, 16 Nov 2003 03:58:21 -0800 (PST) (envelope-from akiyama) Message-Id: <200311161158.hAGBwLwb068957@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 16 Nov 2003 03:58:21 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb ucom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 11:58:22 -0000 akiyama 2003/11/16 03:58:21 PST FreeBSD src repository Modified files: sys/dev/usb ucom.c Log: Add missing ioctl functions. MFC after: 1 week Revision Changes Path 1.35 +19 -4 src/sys/dev/usb/ucom.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 04:05:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D3A816A4CF; Sun, 16 Nov 2003 04:05:12 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D46C343F3F; Sun, 16 Nov 2003 04:05:11 -0800 (PST) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGC5BXJ070155; Sun, 16 Nov 2003 04:05:11 -0800 (PST) (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGC5BmT070154; Sun, 16 Nov 2003 04:05:11 -0800 (PST) (envelope-from akiyama) Message-Id: <200311161205.hAGC5BmT070154@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 16 Nov 2003 04:05:11 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb uplcom.c usbdevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:05:12 -0000 akiyama 2003/11/16 04:05:11 PST FreeBSD src repository Modified files: sys/dev/usb uplcom.c usbdevs Log: Add vendor IDs, and device IDs supported by uplcom(4). - SOURCENEXT Corp. KeikaiDenwa 8 [1] - SOUECENEXT Corp. KeikaiDenwa 8 with charger [2] - HAL Corp. Crossam2+USB [3] Submitted by: [1] Ryo ONODERA [2] Masaki Mizutani [3] FUJISHIMA Satsuki MFC after: 1 week Revision Changes Path 1.15 +6 -0 src/sys/dev/usb/uplcom.c 1.143 +9 -0 src/sys/dev/usb/usbdevs From owner-cvs-src@FreeBSD.ORG Sun Nov 16 04:07:02 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C61C16A4CF; Sun, 16 Nov 2003 04:07:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC6E043FCB; Sun, 16 Nov 2003 04:07:01 -0800 (PST) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGC71XJ070360; Sun, 16 Nov 2003 04:07:01 -0800 (PST) (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGC71sC070359; Sun, 16 Nov 2003 04:07:01 -0800 (PST) (envelope-from akiyama) Message-Id: <200311161207.hAGC71sC070359@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 16 Nov 2003 04:07:01 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb usbdevs.h usbdevs_data.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:07:02 -0000 akiyama 2003/11/16 04:07:01 PST FreeBSD src repository Modified files: sys/dev/usb usbdevs.h usbdevs_data.h Log: Regen. Revision Changes Path 1.151 +10 -1 src/sys/dev/usb/usbdevs.h 1.151 +31 -1 src/sys/dev/usb/usbdevs_data.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 04:13:40 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 615E016A4CF; Sun, 16 Nov 2003 04:13:40 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBF4D43F3F; Sun, 16 Nov 2003 04:13:39 -0800 (PST) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGCDdXJ070722; Sun, 16 Nov 2003 04:13:39 -0800 (PST) (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGCDd8K070721; Sun, 16 Nov 2003 04:13:39 -0800 (PST) (envelope-from akiyama) Message-Id: <200311161213.hAGCDd8K070721@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 16 Nov 2003 04:13:39 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb ubsa.c umct.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:13:40 -0000 akiyama 2003/11/16 04:13:39 PST FreeBSD src repository Modified files: sys/dev/usb ubsa.c umct.c Log: Apply some fixups in the driver_t's. MFC after: 1 week Revision Changes Path 1.11 +1 -1 src/sys/dev/usb/ubsa.c 1.5 +1 -1 src/sys/dev/usb/umct.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 04:20:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3944716A4CF; Sun, 16 Nov 2003 04:20:04 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FB6143FBF; Sun, 16 Nov 2003 04:20:02 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id hAGCJrg05155; Sun, 16 Nov 2003 07:19:53 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sun, 16 Nov 2003 07:19:53 -0500 (EST) From: Jeff Roberson To: Luigi Rizzo In-Reply-To: <20031116003939.A10853@xorpc.icir.org> Message-ID: <20031116071813.S10222-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Andre Oppermann cc: Peter Jeremy cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_var.h ip_fastfwd.c ip_flow.c ip_flow.h ip_input.c ip_output.c src/sys/sys mbuf.h src/sys/conf files src/sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_ X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:20:05 -0000 On Sun, 16 Nov 2003, Luigi Rizzo wrote: > On Sun, Nov 16, 2003 at 12:48:14PM +1100, Peter Jeremy wrote: > ... > > >I will try to measure that with more precision. You did have > > >code which was able to record and timestamp events several > > >thousand times per second. Do still have that code somewhere? > > there is some MD code in the RELENG_4 tree, the kernel option > you need is "options KERN_TIMESTAMP" and a description on how > to use it is in sys/i386/include/param.h > > Note that you have to be careful when timing very short sections > of code, because the CPU can execute instruction out of order > so something like > > rdtsc(); > > rdtsc() > > might result in the second timing call being executed before > the section of code in the middle is complete. There is > some nonintuitive instruction (which i now forget) to flush the > execution pipeline which can be used around the section of > code you want to time. Reading the tsc is also a serializing instruction. I often use it to accurately measure things that take as few as 20 cycles > In an SMP environment this code probably will not work well > because it does not consider parallel access to the counters, > nor the CPU where events occur (probably you could use a > per-cpu index, and then in many cases you only care about > relative measurements of events on the same CPU). > > cheers > luigi > > > I've done similar things a couple of times using circular buffers > > along the following lines: > > > > #define RING_SIZE (1 << some_suitable_value) > > int next_entry; > > struct entry { > > some_time_t now; > > foo_t event; > > } ring[RING_SIZE]; > > > > void __inline insert_event(foo_t event) > > { > > int ix; > > /* following two lines need to be atomic to make this re-entrant */ > > ix = next_entry; > > next_entry = (ix + 1) & (RING_SIZE - 1); > > ring[ix].now = read_time(); > > ring[ix].event = event; > > } > > > > In userland, mmap(2) next_entry and ring to unload the events. Pick > > RING_SIZE and the time types to suit requirements. The TSC has the > > lowest overhead but worst jitter. > > > > Peter > From owner-cvs-src@FreeBSD.ORG Sun Nov 16 04:26:11 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65F4216A4D0; Sun, 16 Nov 2003 04:26:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D10BA43FAF; Sun, 16 Nov 2003 04:26:10 -0800 (PST) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGCQAXJ071292; Sun, 16 Nov 2003 04:26:10 -0800 (PST) (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGCQA5g071291; Sun, 16 Nov 2003 04:26:10 -0800 (PST) (envelope-from akiyama) Message-Id: <200311161226.hAGCQA5g071291@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 16 Nov 2003 04:26:10 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf NOTES options src/sys/dev/usb uplcom.c uvscom.c src/sys/modules/uplcom Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:26:11 -0000 akiyama 2003/11/16 04:26:10 PST FreeBSD src repository Modified files: sys/conf NOTES options sys/dev/usb uplcom.c uvscom.c sys/modules/uplcom Makefile Log: Make interrupt pipe interval time configurable. - Add kernel options: {UPLCOM,UVSCOM}_INTR_INTERVAL - Add sysctl variables: 'hw.usb.{uplcom,uvscom}.interval' MFC after: 1 week Revision Changes Path 1.1189 +6 -0 src/sys/conf/NOTES 1.426 +2 -0 src/sys/conf/options 1.16 +29 -2 src/sys/dev/usb/uplcom.c 1.19 +27 -1 src/sys/dev/usb/uvscom.c 1.2 +2 -1 src/sys/modules/uplcom/Makefile From owner-cvs-src@FreeBSD.ORG Sun Nov 16 04:50:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A252416A4CE; Sun, 16 Nov 2003 04:50:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BF6D43F93; Sun, 16 Nov 2003 04:50:34 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGCoXXJ077986; Sun, 16 Nov 2003 04:50:33 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGCoXqX077983; Sun, 16 Nov 2003 04:50:33 -0800 (PST) (envelope-from andre) Message-Id: <200311161250.hAGCoXqX077983@repoman.freebsd.org> From: Andre Oppermann Date: Sun, 16 Nov 2003 04:50:33 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_fastfwd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:50:34 -0000 andre 2003/11/16 04:50:33 PST FreeBSD src repository Modified files: sys/netinet ip_fastfwd.c Log: Make two casts correct for all types of 64bit platforms. Explained by: bde Revision Changes Path 1.3 +2 -2 src/sys/netinet/ip_fastfwd.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 04:53:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6372816A4CF; Sun, 16 Nov 2003 04:53:12 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E2DF43FBD; Sun, 16 Nov 2003 04:53:09 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id hAGCr6Fw066829; Sun, 16 Nov 2003 04:53:06 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id hAGCr6Sl066828; Sun, 16 Nov 2003 04:53:06 -0800 (PST) (envelope-from rizzo) Date: Sun, 16 Nov 2003 04:53:06 -0800 From: Luigi Rizzo To: Jeff Roberson Message-ID: <20031116045306.A66798@xorpc.icir.org> References: <20031116003939.A10853@xorpc.icir.org> <20031116071813.S10222-100000@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031116071813.S10222-100000@mail.chesapeake.net>; from jroberson@chesapeake.net on Sun, Nov 16, 2003 at 07:19:53AM -0500 cc: Andre Oppermann cc: Peter Jeremy cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_var.h ip_fastfwd.c ip_flow.c ip_flow.h ip_input.c ip_output.c src/sys/sys mbuf.h src/sys/conf files src/sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_ X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:53:12 -0000 On Sun, Nov 16, 2003 at 07:19:53AM -0500, Jeff Roberson wrote: ... > > might result in the second timing call being executed before > > the section of code in the middle is complete. There is > > some nonintuitive instruction (which i now forget) to flush the > > execution pipeline which can be used around the section of > > code you want to time. > > Reading the tsc is also a serializing instruction. I often use it to > accurately measure things that take as few as 20 cycles no, according to the intel documentation it is not, and i myself have seen bogus results which clearly indicate that it is not. There was a thread on the freebsd mailing lists a few months ago. cheers luigi From owner-cvs-src@FreeBSD.ORG Sun Nov 16 04:54:39 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8C0116A4CF for ; Sun, 16 Nov 2003 04:54:39 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EB4E43FE3 for ; Sun, 16 Nov 2003 04:54:36 -0800 (PST) (envelope-from oppermann@pipeline.ch) Received: (qmail 62622 invoked from network); 16 Nov 2003 12:57:33 -0000 Received: from unknown (HELO pipeline.ch) ([195.134.148.7]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 16 Nov 2003 12:57:33 -0000 Message-ID: <3FB7738B.3D8CDCAE@pipeline.ch> Date: Sun, 16 Nov 2003 13:54:35 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Andre Oppermann References: <200311161250.hAGCoXqX077983@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_fastfwd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:54:39 -0000 Andre Oppermann wrote: > > andre 2003/11/16 04:50:33 PST > > FreeBSD src repository > > Modified files: > sys/netinet ip_fastfwd.c > Log: > Make two casts correct for all types of 64bit platforms. > > Explained by: bde Actually bde provided a more complete fix which involves changing ip_input and ip_output too in private email. This fixes the clear problem first. In the other I will look next. -- Andre From owner-cvs-src@FreeBSD.ORG Sun Nov 16 05:13:17 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7421F16A4CE; Sun, 16 Nov 2003 05:13:17 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF8A843F85; Sun, 16 Nov 2003 05:13:16 -0800 (PST) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGDDGXJ079886; Sun, 16 Nov 2003 05:13:16 -0800 (PST) (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGDDGbq079885; Sun, 16 Nov 2003 05:13:16 -0800 (PST) (envelope-from akiyama) Message-Id: <200311161313.hAGDDGbq079885@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 16 Nov 2003 05:13:16 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb uplcom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 13:13:17 -0000 akiyama 2003/11/16 05:13:16 PST FreeBSD src repository Modified files: sys/dev/usb uplcom.c Log: Fix comment typo. Noticed by: simon Revision Changes Path 1.17 +1 -1 src/sys/dev/usb/uplcom.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 05:31:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EC7316A4CE; Sun, 16 Nov 2003 05:31:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E911243FE1; Sun, 16 Nov 2003 05:31:45 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGDVjXJ080684; Sun, 16 Nov 2003 05:31:45 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGDVjIi080683; Sun, 16 Nov 2003 05:31:45 -0800 (PST) (envelope-from bde) Message-Id: <200311161331.hAGDVjIi080683@repoman.freebsd.org> From: Bruce Evans Date: Sun, 16 Nov 2003 05:31:45 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/isa cy.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 13:31:46 -0000 bde 2003/11/16 05:31:45 PST FreeBSD src repository Modified files: sys/i386/isa cy.c Log: Restored the call to schedsofttty() (now spelled swi_sched(...)) again. Its restoration in rev.1.102 was mistranslated to the equivalent of setsofttty() in rev.1.105. This increased overheads by causing a context switch to the SWI handler after almost every interrupt. The increase was approx. 50% on a Celeron 366 (from 23 usec to 34 usec per interrupt). Revision Changes Path 1.136 +19 -14 src/sys/i386/isa/cy.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 06:02:39 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E46216A4CF; Sun, 16 Nov 2003 06:02:39 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5B3243FF3; Sun, 16 Nov 2003 06:02:38 -0800 (PST) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGE2cXJ081957; Sun, 16 Nov 2003 06:02:38 -0800 (PST) (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGE2cMP081956; Sun, 16 Nov 2003 06:02:38 -0800 (PST) (envelope-from simon) Message-Id: <200311161402.hAGE2cMP081956@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Sun, 16 Nov 2003 06:02:37 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man4 uplcom.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 14:02:39 -0000 simon 2003/11/16 06:02:37 PST FreeBSD src repository (doc committer) Modified files: share/man/man4 uplcom.4 Log: Add the following devices to the list of supported devices, to sync manual page with the source code: - HAL Corporation Crossam2+USB IR commander - RATOC REX-USB60 - SOURCENEXT KeikaiDenwa 8 (with and without charger) Revision Changes Path 1.4 +6 -0 src/share/man/man4/uplcom.4 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 06:05:29 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42E9A16A4CE; Sun, 16 Nov 2003 06:05:29 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 292C343FCB; Sun, 16 Nov 2003 06:05:27 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id BAA10253; Mon, 17 Nov 2003 01:05:16 +1100 Date: Mon, 17 Nov 2003 01:05:13 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Andre Oppermann In-Reply-To: <3FB7738B.3D8CDCAE@pipeline.ch> Message-ID: <20031117010500.S1838@gamplex.bde.org> References: <200311161250.hAGCoXqX077983@repoman.freebsd.org> <3FB7738B.3D8CDCAE@pipeline.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Andre Oppermann cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_fastfwd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 14:05:29 -0000 On Sun, 16 Nov 2003, Andre Oppermann wrote: > Andre Oppermann wrote: > > > > andre 2003/11/16 04:50:33 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/netinet ip_fastfwd.c > > Log: > > Make two casts correct for all types of 64bit platforms. > > > > Explained by: bde > > Actually bde provided a more complete fix which involves changing > ip_input and ip_output too in private email. This fixes the clear > problem first. In the other I will look next. Thanks. Bruce From owner-cvs-src@FreeBSD.ORG Sun Nov 16 07:01:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2CA016A4E6; Sun, 16 Nov 2003 07:01:27 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 165CB43F3F; Sun, 16 Nov 2003 07:01:27 -0800 (PST) (envelope-from deischen@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGF1QXJ085655; Sun, 16 Nov 2003 07:01:26 -0800 (PST) (envelope-from deischen@repoman.freebsd.org) Received: (from deischen@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGF1QHa085654; Sun, 16 Nov 2003 07:01:26 -0800 (PST) (envelope-from deischen) Message-Id: <200311161501.hAGF1QHa085654@repoman.freebsd.org> From: Daniel Eischen Date: Sun, 16 Nov 2003 07:01:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread/thread thr_spinlock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 15:01:27 -0000 deischen 2003/11/16 07:01:26 PST FreeBSD src repository Modified files: lib/libpthread/thread thr_spinlock.c Log: Back out last change and go back to using KSE locks instead of thread locks until we know why this breaks ia64. Reported by: marcel Revision Changes Path 1.19 +17 -16 src/lib/libpthread/thread/thr_spinlock.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 07:07:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3CA916A4CE; Sun, 16 Nov 2003 07:07:12 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D04743F85; Sun, 16 Nov 2003 07:07:12 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGF7BXJ086744; Sun, 16 Nov 2003 07:07:11 -0800 (PST) (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGF7BCf086743; Sun, 16 Nov 2003 07:07:11 -0800 (PST) (envelope-from sobomax) Message-Id: <200311161507.hAGF7BCf086743@repoman.freebsd.org> From: Maxim Sobolev Date: Sun, 16 Nov 2003 07:07:11 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_misc.c src/sys/i386/linux linux_dummy.c linux_proto.h linux_syscall.h linux_sysent.c syscalls.master X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 15:07:12 -0000 sobomax 2003/11/16 07:07:11 PST FreeBSD src repository Modified files: sys/compat/linux linux_misc.c sys/i386/linux linux_dummy.c linux_proto.h linux_syscall.h linux_sysent.c syscalls.master Log: Pull latest changes from OpenBSD: - improve sysinfo(2) syscall; - add dummy fadvise64(2) syscall; - add dummy *xattr(2) family of syscalls; - add protos for the syscalls 222-225, 238-249 and 253-267; - add exit_group(2) syscall, which is currently just wired to exit(2). Obtained from: OpenBSD MFC after: 2 weeks Revision Changes Path 1.150 +13 -3 src/sys/compat/linux/linux_misc.c 1.37 +22 -0 src/sys/i386/linux/linux_dummy.c 1.55 +52 -0 src/sys/i386/linux/linux_proto.h 1.49 +15 -1 src/sys/i386/linux/linux_syscall.h 1.56 +46 -0 src/sys/i386/linux/linux_sysent.c 1.52 +46 -0 src/sys/i386/linux/syscalls.master From owner-cvs-src@FreeBSD.ORG Sun Nov 16 07:16:20 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C5C16A4CE; Sun, 16 Nov 2003 07:16:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2E4A43F3F; Sun, 16 Nov 2003 07:16:19 -0800 (PST) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGFGJXJ087291; Sun, 16 Nov 2003 07:16:19 -0800 (PST) (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGFGJ0n087290; Sun, 16 Nov 2003 07:16:19 -0800 (PST) (envelope-from simon) Message-Id: <200311161516.hAGFGJ0n087290@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Sun, 16 Nov 2003 07:16:19 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man7 build.7 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 15:16:20 -0000 simon 2003/11/16 07:16:19 PST FreeBSD src repository (doc committer) Modified files: share/man/man7 build.7 Log: mdoc(7) janitor: - Use .Aq macro instead of . - Kill EOL whitespace. Revision Changes Path 1.24 +2 -2 src/share/man/man7/build.7 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 07:37:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50F2D16A4CE; Sun, 16 Nov 2003 07:37:46 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88E6543FBF; Sun, 16 Nov 2003 07:37:42 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 909915308; Sun, 16 Nov 2003 16:37:41 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 2DC51530D; Sun, 16 Nov 2003 16:37:34 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 0E7E633C68; Sun, 16 Nov 2003 16:37:34 +0100 (CET) To: Andre Oppermann References: <200311142102.hAEL2Nen073186@repoman.freebsd.org> <20031114153145.A54064@xorpc.icir.org> <3FB593F5.1053E7E2@pipeline.ch> <20031115002921.B68056@xorpc.icir.org> <3FB60181.4256A519@pipeline.ch> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 16 Nov 2003 16:37:34 +0100 In-Reply-To: <3FB60181.4256A519@pipeline.ch> (Andre Oppermann's message of "Sat, 15 Nov 2003 11:35:45 +0100") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.5 required=5.0 tests=RCVD_IN_DYNABLOCK autolearn=no version=2.60 cc: Luigi Rizzo cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_var.h ip_fastfwd.c ip_flow.c ip_flow.h ip_input.c ip_output.c src/sys/sys mbuf.h src/sys/conf files src/sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c if_ppp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 15:37:46 -0000 Andre Oppermann writes: > Interface counters should be 64bit or > they become useless with todays traffic levels... They are, in 5.x. In fact, I ran into trouble with my own rrdtool scripts, which use awk to process netstat output, because the interface counters were 64-bit but awk only understands 32-bit integers (I've sent patches to bwk). DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Sun Nov 16 08:48:19 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ACF216A4CF; Sun, 16 Nov 2003 08:48:19 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F38043FDF; Sun, 16 Nov 2003 08:48:18 -0800 (PST) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGGmIXJ097599; Sun, 16 Nov 2003 08:48:18 -0800 (PST) (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGGmIZD097598; Sun, 16 Nov 2003 08:48:18 -0800 (PST) (envelope-from iedowse) Message-Id: <200311161648.hAGGmIZD097598@repoman.freebsd.org> From: Ian Dowse Date: Sun, 16 Nov 2003 08:48:18 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/umount umount.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 16:48:19 -0000 iedowse 2003/11/16 08:48:18 PST FreeBSD src repository Modified files: sbin/umount umount.c Log: If the unmount by file system ID fails, don't warn before retrying a non-fsid unmount if the file system ID is all zeros. This is a temporary workaround for warnings that occur in the vfs.usermount=1 case because non-root users get a zeroed filesystem ID. I have a more complete fix in the works, but I won't get it done for 5.2. Revision Changes Path 1.41 +4 -1 src/sbin/umount/umount.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 09:55:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 478BB16A4CE; Sun, 16 Nov 2003 09:55:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A952F43F93; Sun, 16 Nov 2003 09:55:54 -0800 (PST) (envelope-from ceri@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGHtsXJ001900; Sun, 16 Nov 2003 09:55:54 -0800 (PST) (envelope-from ceri@repoman.freebsd.org) Received: (from ceri@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGHtskt001899; Sun, 16 Nov 2003 09:55:54 -0800 (PST) (envelope-from ceri) Message-Id: <200311161755.hAGHtskt001899@repoman.freebsd.org> From: Ceri Davies Date: Sun, 16 Nov 2003 09:55:54 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/examples/cvsup cvs-supfile ports-supfile refuse refuse.README X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 17:55:55 -0000 ceri 2003/11/16 09:55:54 PST FreeBSD src repository (doc committer) Modified files: share/examples/cvsup cvs-supfile ports-supfile refuse refuse.README Log: Add the ports/arabic category to the examples. MFC After: 4 days Revision Changes Path 1.39 +1 -0 src/share/examples/cvsup/cvs-supfile 1.29 +1 -0 src/share/examples/cvsup/ports-supfile 1.12 +1 -0 src/share/examples/cvsup/refuse 1.11 +2 -1 src/share/examples/cvsup/refuse.README From owner-cvs-src@FreeBSD.ORG Sun Nov 16 10:07:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7720116A4CE; Sun, 16 Nov 2003 10:07:50 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3860C43FA3; Sun, 16 Nov 2003 10:07:49 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id hAGI7mbe051383; Sun, 16 Nov 2003 10:07:48 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) hAGI7mbH060432; Sun, 16 Nov 2003 10:07:48 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.10/8.12.10/Submit) id hAGI7mNR060431; Sun, 16 Nov 2003 10:07:48 -0800 (PST) (envelope-from marcel) Date: Sun, 16 Nov 2003 10:07:48 -0800 From: Marcel Moolenaar To: Daniel Eischen Message-ID: <20031116180748.GA60377@dhcp01.pn.xcllnt.net> References: <200311161501.hAGF1QHa085654@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311161501.hAGF1QHa085654@repoman.freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libpthread/thread thr_spinlock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 18:07:50 -0000 On Sun, Nov 16, 2003 at 07:01:26AM -0800, Daniel Eischen wrote: > deischen 2003/11/16 07:01:26 PST > > FreeBSD src repository > > Modified files: > lib/libpthread/thread thr_spinlock.c > Log: > Back out last change and go back to using KSE locks instead of thread > locks until we know why this breaks ia64. Thanks. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net From owner-cvs-src@FreeBSD.ORG Sun Nov 16 10:24:24 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEF9216A4CE; Sun, 16 Nov 2003 10:24:24 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5190143F3F; Sun, 16 Nov 2003 10:24:24 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGIOOXJ004098; Sun, 16 Nov 2003 10:24:24 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGIOOqb004097; Sun, 16 Nov 2003 10:24:24 -0800 (PST) (envelope-from phk) Message-Id: <200311161824.hAGIOOqb004097@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 16 Nov 2003 10:24:24 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/i386/btx/btx btx.s X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 18:24:25 -0000 phk 2003/11/16 10:24:24 PST FreeBSD src repository Modified files: sys/boot/i386/btx/btx btx.s Log: When rebooting the machine jump to 0xf000:0xfff0 instead of 0xffff:0x0. While we end up the same place, we end up with two different CS register values after the jump and 0xf000 is compatible with the hardware reset value. This makes a difference if the BIOS does a near jump before a far jump. Detective work and patch by: Adrian Steinmann Revision Changes Path 1.33 +1 -1 src/sys/boot/i386/btx/btx/btx.s From owner-cvs-src@FreeBSD.ORG Sun Nov 16 10:25:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6190B16A4D1; Sun, 16 Nov 2003 10:25:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D82CD43F85; Sun, 16 Nov 2003 10:25:20 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGIPKXJ004212; Sun, 16 Nov 2003 10:25:20 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGIPKcL004202; Sun, 16 Nov 2003 10:25:20 -0800 (PST) (envelope-from rwatson) Message-Id: <200311161825.hAGIPKcL004202@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Nov 2003 10:25:20 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys mac.h src/sys/kern uipc_socket.c src/sys/security/mac mac_net.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 18:25:21 -0000 rwatson 2003/11/16 10:25:20 PST FreeBSD src repository Modified files: sys/sys mac.h sys/kern uipc_socket.c sys/security/mac mac_net.c Log: Reduce gratuitous redundancy and length in function names: mac_setsockopt_label_set() -> mac_setsockopt_label() mac_getsockopt_label_get() -> mac_getsockopt_label() mac_getsockopt_peerlabel_get() -> mac_getsockopt_peerlabel() Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.159 +5 -7 src/sys/kern/uipc_socket.c 1.107 +3 -5 src/sys/security/mac/mac_net.c 1.49 +3 -3 src/sys/sys/mac.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 10:28:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 466EB16A4CE; Sun, 16 Nov 2003 10:28:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A554C43FE5; Sun, 16 Nov 2003 10:28:58 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGISwXJ004415; Sun, 16 Nov 2003 10:28:58 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGISwRp004414; Sun, 16 Nov 2003 10:28:58 -0800 (PST) (envelope-from rwatson) Message-Id: <200311161828.hAGISwRp004414@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Nov 2003 10:28:58 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/mac_stub mac_stub.csrc/sys/security/mac_test mac_test.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 18:28:59 -0000 rwatson 2003/11/16 10:28:58 PST FreeBSD src repository Modified files: sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Log: Implement mpo_copy_{mbuf,pipe,vnode}_label() entry points for mac_stub and mac_test. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.33 +9 -0 src/sys/security/mac_stub/mac_stub.c 1.35 +27 -0 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 11:45:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9998D16A4CF for ; Sun, 16 Nov 2003 11:45:46 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 7BA3B43F93 for ; Sun, 16 Nov 2003 11:45:44 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 57509 invoked by uid 1000); 16 Nov 2003 19:45:45 -0000 Date: Sun, 16 Nov 2003 11:45:45 -0800 (PST) From: Nate Lawson To: Luigi Rizzo In-Reply-To: <20031116003939.A10853@xorpc.icir.org> Message-ID: <20031116114258.V57495@root.org> References: <200311142102.hAEL2Nen073186@repoman.freebsd.org> <3FB593F5.1053E7E2@pipeline.ch><3FB60181.4256A519@pipeline.ch> <20031116003939.A10853@xorpc.icir.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Peter Jeremy cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_var.h ip_fastfwd.c ip_flow.c ip_flow.h ip_input.c ip_output.c src/sys/sys mbuf.h src/sys/conf files src/sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_ X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 19:45:46 -0000 On Sun, 16 Nov 2003, Luigi Rizzo wrote: > On Sun, Nov 16, 2003 at 12:48:14PM +1100, Peter Jeremy wrote: > ... > > >I will try to measure that with more precision. You did have > > >code which was able to record and timestamp events several > > >thousand times per second. Do still have that code somewhere? > > there is some MD code in the RELENG_4 tree, the kernel option > you need is "options KERN_TIMESTAMP" and a description on how > to use it is in sys/i386/include/param.h > > Note that you have to be careful when timing very short sections > of code, because the CPU can execute instruction out of order > so something like > > rdtsc(); > > rdtsc() > > might result in the second timing call being executed before > the section of code in the middle is complete. There is > some nonintuitive instruction (which i now forget) to flush the > execution pipeline which can be used around the section of > code you want to time. cpuid -Nate From owner-cvs-src@FreeBSD.ORG Sun Nov 16 11:52:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57C2016A4CE; Sun, 16 Nov 2003 11:52:03 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id F01A543FD7; Sun, 16 Nov 2003 11:52:01 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id hAGJptC29063; Sun, 16 Nov 2003 14:51:55 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sun, 16 Nov 2003 14:51:55 -0500 (EST) From: Jeff Roberson To: Luigi Rizzo In-Reply-To: <20031116045306.A66798@xorpc.icir.org> Message-ID: <20031116145103.C10222-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Andre Oppermann cc: Peter Jeremy cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_var.h ip_fastfwd.c ip_flow.c ip_flow.h ip_input.c ip_output.c src/sys/sys mbuf.h src/sys/conf files src/sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_ X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 19:52:03 -0000 On Sun, 16 Nov 2003, Luigi Rizzo wrote: > On Sun, Nov 16, 2003 at 07:19:53AM -0500, Jeff Roberson wrote: > ... > > > might result in the second timing call being executed before > > > the section of code in the middle is complete. There is > > > some nonintuitive instruction (which i now forget) to flush the > > > execution pipeline which can be used around the section of > > > code you want to time. > > > > Reading the tsc is also a serializing instruction. I often use it to > > accurately measure things that take as few as 20 cycles > > no, according to the intel documentation it is not, and i > myself have seen bogus results which clearly indicate that it > is not. There was a thread on the freebsd mailing lists a few > months ago. > I double checked, you're right. It probably works out for me because clobbering two registers is enough of a hazard to prevent too much serialization. Cheers, Jeff > cheers > luigi > From owner-cvs-src@FreeBSD.ORG Sun Nov 16 12:01:53 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C093016A4CE; Sun, 16 Nov 2003 12:01:53 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F95843FBF; Sun, 16 Nov 2003 12:01:51 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGK1pXJ009800; Sun, 16 Nov 2003 12:01:51 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGK1p7s009799; Sun, 16 Nov 2003 12:01:51 -0800 (PST) (envelope-from rwatson) Message-Id: <200311162001.hAGK1p7s009799@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Nov 2003 12:01:51 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/mac mac_internal.h mac_net.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 20:01:53 -0000 rwatson 2003/11/16 12:01:51 PST FreeBSD src repository Modified files: sys/security/mac mac_internal.h mac_net.c Log: Abstract the label checking and setting logic from mac_setsockopt_label() into mac_socket_label_set(); make it non-static so that it can be invoked from kern_mac.c for mac_set_fd(). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.108 +3 -0 src/sys/security/mac/mac_internal.h 1.108 +21 -13 src/sys/security/mac/mac_net.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 12:18:25 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD6B416A4CE; Sun, 16 Nov 2003 12:18:25 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AC8743FA3; Sun, 16 Nov 2003 12:18:25 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGKIPXJ011380; Sun, 16 Nov 2003 12:18:25 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGKIONO011379; Sun, 16 Nov 2003 12:18:24 -0800 (PST) (envelope-from rwatson) Message-Id: <200311162018.hAGKIONO011379@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Nov 2003 12:18:24 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys mac.h src/lib/libc/posix1e mac_get.3 mac_get.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 20:18:25 -0000 rwatson 2003/11/16 12:18:24 PST FreeBSD src repository Modified files: sys/sys mac.h lib/libc/posix1e mac_get.3 mac_get.c Log: Implement mac_get_peer(3) using getsockopt() with SOL_SOCKET and SO_PEERLABEL. This provides an interface to query the label of a socket peer without embedding implementation details of mac_t in the application. Previously, sizeof(*mac_t) had to be specified by an application when performing getsockopt(). Document mac_get_peer(3), and expand documentation of the other mac_get(3) functions. Note that it's possible to get EINVAL back from mac_get_fd(3) when pointing it at an inappropriate object. NOTE: mac_get_fd() and mac_set_fd() support for sockets will follow shortly, so the documentation is slightly ahead of the code. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.8 +33 -23 src/lib/libc/posix1e/mac_get.3 1.4 +10 -3 src/lib/libc/posix1e/mac_get.c 1.50 +1 -0 src/sys/sys/mac.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 12:21:22 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC25016A4CE; Sun, 16 Nov 2003 12:21:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C5D043F93; Sun, 16 Nov 2003 12:21:21 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGKLLXJ011606; Sun, 16 Nov 2003 12:21:21 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGKLLZq011605; Sun, 16 Nov 2003 12:21:21 -0800 (PST) (envelope-from rwatson) Message-Id: <200311162021.hAGKLLZq011605@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Nov 2003 12:21:21 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/posix1e mac_set.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 20:21:23 -0000 rwatson 2003/11/16 12:21:21 PST FreeBSD src repository Modified files: lib/libc/posix1e mac_set.3 Log: Update mac_set.3 to account for new behavior of mac_set_fd() in the context of sockets, and document EINVAL as a possible failure mode based on the object selected, not just the label provided. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.10 +7 -5 src/lib/libc/posix1e/mac_set.3 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 12:34:47 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A51E16A4CE; Sun, 16 Nov 2003 12:34:47 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE8AA43FDF; Sun, 16 Nov 2003 12:34:46 -0800 (PST) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGKYkXJ012098; Sun, 16 Nov 2003 12:34:46 -0800 (PST) (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGKYkGp012097; Sun, 16 Nov 2003 12:34:46 -0800 (PST) (envelope-from bmah) Message-Id: <200311162034.hAGKYkGp012097@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 16 Nov 2003 12:34:46 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 20:34:47 -0000 bmah 2003/11/16 12:34:46 PST FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: Modified release note: dynamically linked /bin and /sbin is now the default. Revision Changes Path 1.652 +8 -5 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Sun Nov 16 13:17:44 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A29AE16A4CE; Sun, 16 Nov 2003 13:17:44 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B71F043FBD; Sun, 16 Nov 2003 13:17:43 -0800 (PST) (envelope-from gordon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGLHhXJ020709; Sun, 16 Nov 2003 13:17:43 -0800 (PST) (envelope-from gordon@repoman.freebsd.org) Received: (from gordon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGLHhiM020708; Sun, 16 Nov 2003 13:17:43 -0800 (PST) (envelope-from gordon) Message-Id: <200311162117.hAGLHhiM020708@repoman.freebsd.org> From: Gordon Tetlow Date: Sun, 16 Nov 2003 13:17:43 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src Makefile.inc1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 21:17:44 -0000 gordon 2003/11/16 13:17:43 PST FreeBSD src repository Modified files: . Makefile.inc1 Log: Invert the condition that installs the dynamic linker early, since DYNAMICROOT is now the default. Also document -DNO_DYNAMICROOT since that is going to be a documented feature. Submitted by: matusita, rushani Revision Changes Path 1.397 +2 -1 src/Makefile.inc1 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 13:42:02 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3034B16A4CF; Sun, 16 Nov 2003 13:42:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E705043FBD; Sun, 16 Nov 2003 13:42:00 -0800 (PST) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGLg0XJ021954; Sun, 16 Nov 2003 13:42:00 -0800 (PST) (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGLg0A4021953; Sun, 16 Nov 2003 13:42:00 -0800 (PST) (envelope-from dwmalone) Message-Id: <200311162142.hAGLg0A4021953@repoman.freebsd.org> From: David Malone Date: Sun, 16 Nov 2003 13:42:00 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/syslogd syslogd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 21:42:02 -0000 dwmalone 2003/11/16 13:42:00 PST FreeBSD src repository Modified files: usr.sbin/syslogd syslogd.c Log: Remove an argument to printf that is unused. Revision Changes Path 1.117 +1 -1 src/usr.sbin/syslogd/syslogd.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 13:51:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3226716A4CF; Sun, 16 Nov 2003 13:51:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 994BE43F3F; Sun, 16 Nov 2003 13:51:07 -0800 (PST) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGLp7XJ022604; Sun, 16 Nov 2003 13:51:07 -0800 (PST) (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGLp60p022603; Sun, 16 Nov 2003 13:51:06 -0800 (PST) (envelope-from dwmalone) Message-Id: <200311162151.hAGLp60p022603@repoman.freebsd.org> From: David Malone Date: Sun, 16 Nov 2003 13:51:06 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/syslogd syslogd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 21:51:08 -0000 dwmalone 2003/11/16 13:51:06 PST FreeBSD src repository Modified files: usr.sbin/syslogd syslogd.c Log: logerror is used in syslogd to log errors from syslogd itself. It is possible for an error to occur while trying to log an error, and this can result in infinite recursion (or at least until we run out of stack). Rather than this, we ignore requests to log an error while logging an error. PR: 51253 MFC after: 2 weeks Revision Changes Path 1.118 +6 -0 src/usr.sbin/syslogd/syslogd.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 13:53:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7364916A4CF; Sun, 16 Nov 2003 13:53:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E060B43FDD; Sun, 16 Nov 2003 13:53:05 -0800 (PST) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGLr5XJ022698; Sun, 16 Nov 2003 13:53:05 -0800 (PST) (envelope-from kris@repoman.freebsd.org) Received: (from kris@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGLr5aW022697; Sun, 16 Nov 2003 13:53:05 -0800 (PST) (envelope-from kris) Message-Id: <200311162153.hAGLr5aW022697@repoman.freebsd.org> From: Kris Kennaway Date: Sun, 16 Nov 2003 13:53:05 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/osf1 osf1_mount.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 21:53:06 -0000 kris 2003/11/16 13:53:05 PST FreeBSD src repository Modified files: sys/alpha/osf1 osf1_mount.c Log: Fix build on alpha Pointy hat to: alfred Revision Changes Path 1.18 +1 -0 src/sys/alpha/osf1/osf1_mount.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 14:15:11 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 037D616A4D2; Sun, 16 Nov 2003 14:15:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DAB143F85; Sun, 16 Nov 2003 14:15:10 -0800 (PST) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGMFAXJ024513; Sun, 16 Nov 2003 14:15:10 -0800 (PST) (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGMFAEC024512; Sun, 16 Nov 2003 14:15:10 -0800 (PST) (envelope-from simon) Message-Id: <200311162215.hAGMFAEC024512@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Sun, 16 Nov 2003 14:15:09 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man5 make.conf.5 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 22:15:11 -0000 simon 2003/11/16 14:15:09 PST FreeBSD src repository (doc committer) Modified files: share/man/man5 make.conf.5 Log: Document NO_DYNAMICROOT. Reviewed by: gordon Revision Changes Path 1.81 +7 -0 src/share/man/man5/make.conf.5 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 14:33:43 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 345AB16A4CE; Sun, 16 Nov 2003 14:33:43 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A154F43FDD; Sun, 16 Nov 2003 14:33:42 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGMXgXJ025491; Sun, 16 Nov 2003 14:33:42 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGMXgIj025490; Sun, 16 Nov 2003 14:33:42 -0800 (PST) (envelope-from imp) Message-Id: <200311162233.hAGMXgIj025490@repoman.freebsd.org> From: Warner Losh Date: Sun, 16 Nov 2003 14:33:42 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/idt idt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 22:33:43 -0000 imp 2003/11/16 14:33:42 PST FreeBSD src repository Modified files: sys/dev/idt idt.c Log: Gross kludge: o when compiling lint, undefine certain things and redefine them so that the driver doesn't #error out. Since lint kernels aren't supposed to be bootable, I'm no troubled by this breakage. This fixes the tinderbox Suggested by: rwatson Approved by: bms Revision Changes Path 1.7 +8 -0 src/sys/dev/idt/idt.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 14:36:44 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE61D16A4CE; Sun, 16 Nov 2003 14:36:44 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 671BC43FA3; Sun, 16 Nov 2003 14:36:43 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9p2/8.12.9) with ESMTP id hAGMageG030737; Sun, 16 Nov 2003 15:36:42 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 16 Nov 2003 15:36:08 -0700 (MST) Message-Id: <20031116.153608.24272682.imp@bsdimp.com> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200311162233.hAGMXgIj025490@repoman.freebsd.org> References: <200311162233.hAGMXgIj025490@repoman.freebsd.org> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: src/sys/dev/idt idt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 22:36:44 -0000 In message: <200311162233.hAGMXgIj025490@repoman.freebsd.org> Warner Losh writes: : Gross kludge: Others are welcome to find better ways to fix this. The real fix is to fix the driver to not require 2048 byte mbufs. Warner From owner-cvs-src@FreeBSD.ORG Sun Nov 16 15:05:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F40916A4CE; Sun, 16 Nov 2003 15:05:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D679B43F85; Sun, 16 Nov 2003 15:05:53 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGN5rXJ027825; Sun, 16 Nov 2003 15:05:53 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGN5r8P027824; Sun, 16 Nov 2003 15:05:53 -0800 (PST) (envelope-from bde) Message-Id: <200311162305.hAGN5r8P027824@repoman.freebsd.org> From: Bruce Evans Date: Sun, 16 Nov 2003 15:05:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sio sio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 23:05:54 -0000 bde 2003/11/16 15:05:53 PST FreeBSD src repository Modified files: sys/dev/sio sio.c Log: Don't waste so much space for the latency debugging buffer. Its size will now need editing except for spot checks. Changed this buffer from a circular one to a linear one. This is more useful for some cases and the sysctl that prints it doesn't support circular buffers. Fixed (output) formatting bugs in this sysctl. An off by 1 error caused a garbage byte to be returned after annotation of large deltas, and a race with the writer sometimes caused premature string termination. Revision Changes Path 1.415 +8 -10 src/sys/dev/sio/sio.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 15:31:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D619D16A4CE; Sun, 16 Nov 2003 15:31:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 220CD43F3F; Sun, 16 Nov 2003 15:31:46 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGNVjXJ029094; Sun, 16 Nov 2003 15:31:45 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGNVjoW029093; Sun, 16 Nov 2003 15:31:45 -0800 (PST) (envelope-from rwatson) Message-Id: <200311162331.hAGNVjoW029093@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Nov 2003 15:31:45 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_mac.c src/sys/security/mac mac_internal.h mac_net.c src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_stub mac_stub.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 23:31:47 -0000 rwatson 2003/11/16 15:31:45 PST FreeBSD src repository Modified files: sys/kern kern_mac.c sys/security/mac mac_internal.h mac_net.c sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c sys/sys mac_policy.h Log: Implement sockets support for __mac_get_fd() and __mac_set_fd() system calls, and prefer these calls over getsockopt()/setsockopt() for ABI reasons. When addressing UNIX domain sockets, these calls retrieve and modify the socket label, not the label of the rendezvous vnode. - Create mac_copy_socket_label() entry point based on mac_copy_pipe_label() entry point, intended to copy the socket label into temporary storage that doesn't require a socket lock to be held (currently Giant). - Implement mac_copy_socket_label() for various policies. - Expose socket label allocation, free, internalize, externalize entry points as non-static from mac_net.c. - Use mac_socket_label_set() in __mac_set_fd(). MAC-aware applications may now use mac_get_fd(), mac_set_fd(), and mac_get_peer() to retrieve and set various socket labels without directly invoking the getsockopt() interface. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.107 +30 -0 src/sys/kern/kern_mac.c 1.109 +6 -0 src/sys/security/mac/mac_internal.h 1.109 +11 -7 src/sys/security/mac/mac_net.c 1.68 +1 -0 src/sys/security/mac_biba/mac_biba.c 1.22 +1 -0 src/sys/security/mac_lomac/mac_lomac.c 1.55 +1 -0 src/sys/security/mac_mls/mac_mls.c 1.34 +1 -0 src/sys/security/mac_stub/mac_stub.c 1.36 +9 -0 src/sys/security/mac_test/mac_test.c 1.44 +2 -0 src/sys/sys/mac_policy.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 15:40:11 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3335816A4CF; Sun, 16 Nov 2003 15:40:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0DBC43FE0; Sun, 16 Nov 2003 15:40:07 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAGNe7XJ029483; Sun, 16 Nov 2003 15:40:07 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAGNe712029482; Sun, 16 Nov 2003 15:40:07 -0800 (PST) (envelope-from alc) Message-Id: <200311162340.hAGNe712029482@repoman.freebsd.org> From: Alan Cox Date: Sun, 16 Nov 2003 15:40:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha vm_machdep.c src/sys/amd64/amd64 vm_machdep.c src/sys/i386/i386 vm_machdep.c src/sys/ia64/ia64 vm_machdep.c src/sys/powerpc/powerpc vm_machdep.c src/sys/sparc64/sparc64 vm_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 23:40:11 -0000 alc 2003/11/16 15:40:07 PST FreeBSD src repository Modified files: sys/alpha/alpha vm_machdep.c sys/amd64/amd64 vm_machdep.c sys/i386/i386 vm_machdep.c sys/ia64/ia64 vm_machdep.c sys/powerpc/powerpc vm_machdep.c sys/sparc64/sparc64 vm_machdep.c Log: - Remove unnecessary synchronization from sf_buf_init(). (There is only one active CPU when sf_buf_init() is performed.) Revision Changes Path 1.96 +0 -2 src/sys/alpha/alpha/vm_machdep.c 1.222 +0 -2 src/sys/amd64/amd64/vm_machdep.c 1.218 +0 -2 src/sys/i386/i386/vm_machdep.c 1.76 +0 -2 src/sys/ia64/ia64/vm_machdep.c 1.93 +0 -2 src/sys/powerpc/powerpc/vm_machdep.c 1.55 +0 -2 src/sys/sparc64/sparc64/vm_machdep.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 16:04:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 671CA16A4CE; Sun, 16 Nov 2003 16:04:28 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7556843F85; Sun, 16 Nov 2003 16:04:24 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id LAA32472; Mon, 17 Nov 2003 11:04:20 +1100 Date: Mon, 17 Nov 2003 11:04:20 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "Brian F. Feldman" In-Reply-To: <200311160503.hAG53j2t058858@green.bikeshed.org> Message-ID: <20031117105121.I4193@gamplex.bde.org> References: <200311160503.hAG53j2t058858@green.bikeshed.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Robert Watson cc: cvs-all@FreeBSD.org cc: John Baldwin Subject: Re: cvs commit: src/sys/conf kern.post.mk kmod.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:04:28 -0000 On Sun, 16 Nov 2003, Brian F. Feldman wrote: > Bruce Evans wrote: > > On Fri, 14 Nov 2003, Robert Watson wrote: > > > > > On Fri, 14 Nov 2003, John Baldwin wrote: > > > > > > > On 14-Nov-2003 Brian Feldman wrote: > > > > > green 2003/11/14 08:04:11 PST > > > > > > > > > > FreeBSD src repository > > > > > > > > > > Modified files: > > > > > sys/conf kern.post.mk kmod.mk > > > > > Log: > > > > > Include opt_global.h in the modules build, when building from a normal > > > > > kernel build. This makes it possible for me not to get pissed off that > > > > > ... > > > > Ugh. > > > > > > WITNESS doesn't matter as all calls to it are done in the actual locking > > > > code itself which does not lives in modules. Modules always call the > > > > locking functions and don't inline locking operations. > > > > WITNESS actually has non-broken support for modules. Modules cannot depend > > on options, since they must work for all kernels. > > > > Here is a fix to unbreak the rdtsc() call similarly. > > I dunno, Bruce; I don't really agree with you there. Modules are installed, > as they are built in the src/sys/arch/compile/KERNEL directories, into the > same directories as the kernel. That is another bug :-). It mainly wastes space and time, and steals cycles from development of portable modules. > This implies they're matched with the > kernel. I think depending on options in those modules is totally, perfectly > fine. Agreed, this is required the support the bug. Bruce From owner-cvs-src@FreeBSD.ORG Sun Nov 16 16:08:29 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C14C016A4CE; Sun, 16 Nov 2003 16:08:29 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B44743FB1; Sun, 16 Nov 2003 16:08:29 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH08SXJ032169; Sun, 16 Nov 2003 16:08:28 -0800 (PST) (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH08SMA032168; Sun, 16 Nov 2003 16:08:28 -0800 (PST) (envelope-from das) Message-Id: <200311170008.hAH08SMA032168@repoman.freebsd.org> From: David Schultz Date: Sun, 16 Nov 2003 16:08:28 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:08:29 -0000 das 2003/11/16 16:08:28 PST FreeBSD src repository Modified files: sbin/nologin nologin.8 Log: Document nologin(8) as being insecure in conjunction with a dynamic root and suggest alternatives. Revision Changes Path 1.11 +15 -0 src/sbin/nologin/nologin.8 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 16:09:53 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C475616A4CF; Sun, 16 Nov 2003 16:09:53 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98EF743FE0; Sun, 16 Nov 2003 16:09:51 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost.nic.fr [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id hAH09nDa073011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Sun, 16 Nov 2003 19:09:50 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id hAH09n7u073008; Sun, 16 Nov 2003 19:09:49 -0500 (EST) (envelope-from wollman) Date: Sun, 16 Nov 2003 19:09:49 -0500 (EST) From: Garrett Wollman Message-Id: <200311170009.hAH09n7u073008@khavrinen.lcs.mit.edu> To: Bruce Evans In-Reply-To: <20031117105121.I4193@gamplex.bde.org> References: <200311160503.hAG53j2t058858@green.bikeshed.org> <20031117105121.I4193@gamplex.bde.org> X-Spam-Score: -9.9 () IN_REP_TO,REFERENCES X-Scanned-By: MIMEDefang 2.37 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf kern.post.mk kmod.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:09:54 -0000 < said: > Agreed, this is required the support the bug. Not everyone agrees that this is a bug. I would, however, be willing to stipulate that it is worth limiting the number of option combinations a third-party vendor would need to support. -GAWollman From owner-cvs-src@FreeBSD.ORG Sun Nov 16 16:19:04 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6438516A4CE; Sun, 16 Nov 2003 16:19:04 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4372F43FCB; Sun, 16 Nov 2003 16:19:03 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hAH0H2Mg054248; Sun, 16 Nov 2003 19:17:02 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hAH0H1tA054245; Sun, 16 Nov 2003 19:17:02 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 16 Nov 2003 19:17:01 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: David Schultz In-Reply-To: <200311170008.hAH08SMA032168@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:19:04 -0000 On Sun, 16 Nov 2003, David Schultz wrote: > Modified files: > sbin/nologin nologin.8 > Log: > Document nologin(8) as being insecure in conjunction with a dynamic > root and suggest alternatives. Should we simply be making nologin(8) an except to the dynamic link defaults? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories From owner-cvs-src@FreeBSD.ORG Sun Nov 16 16:22:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E8B016A4CE; Sun, 16 Nov 2003 16:22:21 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D53A43FE9; Sun, 16 Nov 2003 16:22:20 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id hAH0MDx60125; Sun, 16 Nov 2003 19:22:13 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sun, 16 Nov 2003 19:22:13 -0500 (EST) From: Jeff Roberson To: Garrett Wollman In-Reply-To: <200311170009.hAH09n7u073008@khavrinen.lcs.mit.edu> Message-ID: <20031116191819.O10222-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Bruce Evans Subject: Re: cvs commit: src/sys/conf kern.post.mk kmod.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:22:21 -0000 On Sun, 16 Nov 2003, Garrett Wollman wrote: > < said: > > > Agreed, this is required the support the bug. > > Not everyone agrees that this is a bug. > > I would, however, be willing to stipulate that it is worth limiting > the number of option combinations a third-party vendor would need to > support. Anymore than 1 per release is too much test load for an officially supported product. We're only going to further deter companies from providing binary only drivers if they aren't going to work with most kernels. Furthermore, we're likely to crash if the driver is not compatible with the kernel. > > -GAWollman > From owner-cvs-src@FreeBSD.ORG Sun Nov 16 16:32:32 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36DCC16A4CE; Sun, 16 Nov 2003 16:32:32 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D11A43F85; Sun, 16 Nov 2003 16:32:31 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hAH0UTMg054345; Sun, 16 Nov 2003 19:30:29 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hAH0UTmR054342; Sun, 16 Nov 2003 19:30:29 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 16 Nov 2003 19:30:29 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: David Schultz In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:32:32 -0000 On Sun, 16 Nov 2003, Robert Watson wrote: > On Sun, 16 Nov 2003, David Schultz wrote: > > > Modified files: > > sbin/nologin nologin.8 > > Log: > > Document nologin(8) as being insecure in conjunction with a dynamic > > root and suggest alternatives. > > Should we simply be making nologin(8) an except to the dynamic link > defaults? It is pointed out to me that nologin(8) is now a shell script, not a binary. I could have sworn that it was a short C program once, but no longer? In any case, would it make sense to make it a C program (again?) and statically link that? With a dynamically linked root, nologin should now be quite small as a binary rather than a shell script. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories From owner-cvs-src@FreeBSD.ORG Sun Nov 16 16:42:01 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24B3F16A4CE; Sun, 16 Nov 2003 16:42:01 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-123-40-77.dsl.pltn13.pacbell.net [68.123.40.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A97C43FE3; Sun, 16 Nov 2003 16:42:00 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.9/8.12.9) with ESMTP id hAH0eIen049531; Sun, 16 Nov 2003 16:40:18 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.9/8.12.9/Submit) id hAH0eIST049530; Sun, 16 Nov 2003 16:40:18 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Sun, 16 Nov 2003 16:40:18 -0800 From: David Schultz To: Robert Watson Message-ID: <20031117004018.GA49450@VARK.homeunix.com> Mail-Followup-To: Robert Watson , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200311170008.hAH08SMA032168@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:42:01 -0000 On Sun, Nov 16, 2003, Robert Watson wrote: > > On Sun, 16 Nov 2003, David Schultz wrote: > > > Modified files: > > sbin/nologin nologin.8 > > Log: > > Document nologin(8) as being insecure in conjunction with a dynamic > > root and suggest alternatives. > > Should we simply be making nologin(8) an except to the dynamic link > defaults? It's presently a shell script, so that isn't possible. However, it could be converted into a trivial C program as in OpenBSD, in which case it would be very small if statically linked. I added the warning largely for the sake of admins who are writing custom restricted shells and using nologin(8) as an example. (I've seen a couple such scripts on Solaris systems that are vulnerable.) But I suppose a statically-linked C program with some comments to the same effect would suffice just as well. Barring any objections, I'll implement your suggestion later tonight. From owner-cvs-src@FreeBSD.ORG Sun Nov 16 16:56:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE6ED16A4CE; Sun, 16 Nov 2003 16:56:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D98E43FDF; Sun, 16 Nov 2003 16:56:54 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH0urXJ048282; Sun, 16 Nov 2003 16:56:53 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH0uriO048281; Sun, 16 Nov 2003 16:56:53 -0800 (PST) (envelope-from rwatson) Message-Id: <200311170056.hAH0uriO048281@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Nov 2003 16:56:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsserver nfs_srvsock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:56:55 -0000 rwatson 2003/11/16 16:56:53 PST FreeBSD src repository Modified files: sys/nfsserver nfs_srvsock.c Log: Update a comment about needing to fix NFS server credential use by 5.0-RELEASE: make it now read 5.3-RELEASE to be realistic. Still needs fixing... Revision Changes Path 1.86 +1 -1 src/sys/nfsserver/nfs_srvsock.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 17:04:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3051A16A4CE; Sun, 16 Nov 2003 17:04:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EB3943FBD; Sun, 16 Nov 2003 17:04:07 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH147XJ049533; Sun, 16 Nov 2003 17:04:07 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH147Wl049532; Sun, 16 Nov 2003 17:04:07 -0800 (PST) (envelope-from rwatson) Message-Id: <200311170104.hAH147Wl049532@repoman.freebsd.org> From: Robert Watson Date: Sun, 16 Nov 2003 17:04:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/mac_biba mac_biba.csrc/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 01:04:08 -0000 rwatson 2003/11/16 17:04:07 PST FreeBSD src repository Modified files: sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c Log: Don't implement mpo_destroy() for Biba, LOMAC, and MLS, as they aren't allowed to be unloaded. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.69 +0 -7 src/sys/security/mac_biba/mac_biba.c 1.23 +0 -7 src/sys/security/mac_lomac/mac_lomac.c 1.56 +0 -7 src/sys/security/mac_mls/mac_mls.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 17:22:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06EFD16A4CE; Sun, 16 Nov 2003 17:22:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 721D043FBD; Sun, 16 Nov 2003 17:22:07 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH1M7XJ050369; Sun, 16 Nov 2003 17:22:07 -0800 (PST) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH1M7X9050368; Sun, 16 Nov 2003 17:22:07 -0800 (PST) (envelope-from truckman) Message-Id: <200311170122.hAH1M7X9050368@repoman.freebsd.org> From: Don Lewis Date: Sun, 16 Nov 2003 17:22:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/dumpfs dumpfs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 01:22:08 -0000 truckman 2003/11/16 17:22:07 PST FreeBSD src repository Modified files: sbin/dumpfs dumpfs.c Log: Print the dirpref avgfilesize and avgfpdir parameters. MFC after: 2 weeks Revision Changes Path 1.39 +2 -0 src/sbin/dumpfs/dumpfs.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 17:23:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7999D16A4CE; Sun, 16 Nov 2003 17:23:18 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36FA243FD7; Sun, 16 Nov 2003 17:23:17 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id EFD50654B9; Mon, 17 Nov 2003 01:23:15 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27319-01-6; Mon, 17 Nov 2003 01:23:15 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id AA8F6654B8; Mon, 17 Nov 2003 01:23:09 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 1A04DF; Mon, 17 Nov 2003 01:23:01 +0000 (GMT) Date: Mon, 17 Nov 2003 01:23:00 +0000 From: Bruce M Simpson To: "M. Warner Losh" Message-ID: <20031117012300.GA81780@saboteur.dek.spc.org> Mail-Followup-To: "M. Warner Losh" , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200311162233.hAGMXgIj025490@repoman.freebsd.org> <20031116.153608.24272682.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031116.153608.24272682.imp@bsdimp.com> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/idt idt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 01:23:18 -0000 On Sun, Nov 16, 2003 at 03:36:08PM -0700, M. Warner Losh wrote: > In message: <200311162233.hAGMXgIj025490@repoman.freebsd.org> > Warner Losh writes: > : Gross kludge: > > Others are welcome to find better ways to fix this. The real fix is > to fix the driver to not require 2048 byte mbufs. I've looked at differences between pdq (DEC FDDI Controller) and idt(4). It seems pdq does the right thing by specifying that it wants its buffers to be 2048 bytes, using MCLGET() to ask for the cluster after the mbuf, then using busdma to allocate the 2048 byte buffer. BMS From owner-cvs-src@FreeBSD.ORG Sun Nov 16 17:53:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F19E816A4CE; Sun, 16 Nov 2003 17:53:11 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAFFD43FE0; Sun, 16 Nov 2003 17:53:10 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9p2/8.12.9) with ESMTP id hAH1r9eG032457; Sun, 16 Nov 2003 18:53:09 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 16 Nov 2003 18:52:27 -0700 (MST) Message-Id: <20031116.185227.72975859.imp@bsdimp.com> To: bms@spc.org From: "M. Warner Losh" In-Reply-To: <20031117012300.GA81780@saboteur.dek.spc.org> References: <200311162233.hAGMXgIj025490@repoman.freebsd.org> <20031116.153608.24272682.imp@bsdimp.com> <20031117012300.GA81780@saboteur.dek.spc.org> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/idt idt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 01:53:12 -0000 In message: <20031117012300.GA81780@saboteur.dek.spc.org> Bruce M Simpson writes: : On Sun, Nov 16, 2003 at 03:36:08PM -0700, M. Warner Losh wrote: : > In message: <200311162233.hAGMXgIj025490@repoman.freebsd.org> : > Warner Losh writes: : > : Gross kludge: : > : > Others are welcome to find better ways to fix this. The real fix is : > to fix the driver to not require 2048 byte mbufs. : : I've looked at differences between pdq (DEC FDDI Controller) and idt(4). : It seems pdq does the right thing by specifying that it wants its buffers : to be 2048 bytes, using MCLGET() to ask for the cluster after the mbuf, : then using busdma to allocate the 2048 byte buffer. Don't let me stop you from fixing the driver or removing the test if the driver already has been fixed! Thanks for grunting out the details. It is much appreciated. Warner From owner-cvs-src@FreeBSD.ORG Sun Nov 16 17:55:25 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7984116A4CE; Sun, 16 Nov 2003 17:55:25 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6775843FAF; Sun, 16 Nov 2003 17:55:24 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9p2/8.12.9) with ESMTP id hAH1tEeG032483; Sun, 16 Nov 2003 18:55:14 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 16 Nov 2003 18:54:32 -0700 (MST) Message-Id: <20031116.185432.132432651.imp@bsdimp.com> To: jroberson@chesapeake.net From: "M. Warner Losh" In-Reply-To: <20031116191819.O10222-100000@mail.chesapeake.net> References: <200311170009.hAH09n7u073008@khavrinen.lcs.mit.edu> <20031116191819.O10222-100000@mail.chesapeake.net> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: bde@zeta.org.au cc: wollman@khavrinen.lcs.mit.edu Subject: Re: cvs commit: src/sys/conf kern.post.mk kmod.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 01:55:25 -0000 In message: <20031116191819.O10222-100000@mail.chesapeake.net> Jeff Roberson writes: : > < said: : > : > > Agreed, this is required the support the bug. : > : > Not everyone agrees that this is a bug. : > : > I would, however, be willing to stipulate that it is worth limiting : > the number of option combinations a third-party vendor would need to : > support. : : Anymore than 1 per release is too much test load for an officially : supported product. We're only going to further deter companies from : providing binary only drivers if they aren't going to work with most : kernels. Furthermore, we're likely to crash if the driver is not : compatible with the kernel. Agreed. It was only with great reluctance that I enabled it. This will at least give us experience before pulling the trigger on a full blown kernel module build system re-write. Warner From owner-cvs-src@FreeBSD.ORG Sun Nov 16 18:11:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D2316A4CE; Sun, 16 Nov 2003 18:11:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC94743FBD; Sun, 16 Nov 2003 18:11:13 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH2BDXJ053375; Sun, 16 Nov 2003 18:11:13 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH2BDqr053374; Sun, 16 Nov 2003 18:11:13 -0800 (PST) (envelope-from bde) Message-Id: <200311170211.hAH2BDqr053374@repoman.freebsd.org> From: Bruce Evans Date: Sun, 16 Nov 2003 18:11:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/include atomic.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 02:11:14 -0000 bde 2003/11/16 18:11:13 PST FreeBSD src repository Modified files: sys/i386/include atomic.h Log: Avoid a warning for compiling with `gcc -Wbad-function cast'. (This is the warning that points to the bug in `(char *)malloc(...)' where malloc() is implicitly declared as returning int. We do similar things here, but they work because u_int is the same as uintptr_t on i386's.) Revision Changes Path 1.30 +5 -1 src/sys/i386/include/atomic.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 18:48:47 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 597BE16A4CE; Sun, 16 Nov 2003 18:48:47 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44ECE43FDF; Sun, 16 Nov 2003 18:48:46 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 3B54E2ED46C; Sun, 16 Nov 2003 18:48:46 -0800 (PST) Date: Sun, 16 Nov 2003 18:48:46 -0800 From: Alfred Perlstein To: Robert Watson Message-ID: <20031117024846.GX35957@elvis.mu.org> References: <200311170056.hAH0uriO048281@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311170056.hAH0uriO048281@repoman.freebsd.org> User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/nfsserver nfs_srvsock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 02:48:47 -0000 * Robert Watson [031116 16:57] wrote: > rwatson 2003/11/16 16:56:53 PST > > FreeBSD src repository > > Modified files: > sys/nfsserver nfs_srvsock.c > Log: > Update a comment about needing to fix NFS server credential use > by 5.0-RELEASE: make it now read 5.3-RELEASE to be realistic. Still > needs fixing... > > Revision Changes Path > 1.86 +1 -1 src/sys/nfsserver/nfs_srvsock.c You'll probably also want to XXX nfsrv_setcred(). -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 18:55:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DAF016A4CE; Sun, 16 Nov 2003 18:55:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14AEB43FBF; Sun, 16 Nov 2003 18:55:26 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH2tPXJ055213; Sun, 16 Nov 2003 18:55:25 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH2tPMw055212; Sun, 16 Nov 2003 18:55:25 -0800 (PST) (envelope-from bde) Message-Id: <200311170255.hAH2tPMw055212@repoman.freebsd.org> From: Bruce Evans Date: Sun, 16 Nov 2003 18:55:25 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/include atomic.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 02:55:26 -0000 bde 2003/11/16 18:55:25 PST FreeBSD src repository Modified files: sys/i386/include atomic.h Log: Fixed pedantic syntax errors. Many macros didn't permit a semicolon after their invocation in the !KLD_MODULE case, but a semicolon is provided after all invocations and is required in the KLD_MODULE case. Revision Changes Path 1.31 +6 -3 src/sys/i386/include/atomic.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 19:17:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C770D16A4CE; Sun, 16 Nov 2003 19:17:50 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B1F843FAF; Sun, 16 Nov 2003 19:17:50 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH3HoXJ057959; Sun, 16 Nov 2003 19:17:50 -0800 (PST) (envelope-from green@repoman.freebsd.org) Received: (from green@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH3HnIW057958; Sun, 16 Nov 2003 19:17:49 -0800 (PST) (envelope-from green) Message-Id: <200311170317.hAH3HnIW057958@repoman.freebsd.org> From: Brian Feldman Date: Sun, 16 Nov 2003 19:17:49 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_divert.c ip_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 03:17:50 -0000 green 2003/11/16 19:17:49 PST FreeBSD src repository Modified files: sys/netinet ip_divert.c ip_input.c Log: Fix a few cases where MT_TAG-type "fake mbufs" are created on the stack, but do not have mh_nextpkt initialized. Somtimes what's there is "1", and the ip_input() code pukes trying to m_free() it, rendering divert sockets and such broken. This really underscores the need to get rid of MT_TAG. Reviewed by: rwatson Revision Changes Path 1.78 +1 -0 src/sys/netinet/ip_divert.c 1.256 +2 -0 src/sys/netinet/ip_input.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 19:40:42 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E97416A4CE; Sun, 16 Nov 2003 19:40:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE3643FBF; Sun, 16 Nov 2003 19:40:41 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH3efXJ059721; Sun, 16 Nov 2003 19:40:41 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH3efJJ059720; Sun, 16 Nov 2003 19:40:41 -0800 (PST) (envelope-from bde) Message-Id: <200311170340.hAH3efJJ059720@repoman.freebsd.org> From: Bruce Evans Date: Sun, 16 Nov 2003 19:40:41 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/include pcpu.h src/sys/i386/include pcpu.h src/sys/ia64/include pcpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 03:40:42 -0000 bde 2003/11/16 19:40:41 PST FreeBSD src repository Modified files: sys/amd64/include pcpu.h sys/i386/include pcpu.h sys/ia64/include pcpu.h Log: Fixed a pedantic syntax error (a stray semicolon at the end of PCPU_MD_FIELDS). Revision Changes Path 1.38 +1 -1 src/sys/amd64/include/pcpu.h 1.39 +1 -1 src/sys/i386/include/pcpu.h 1.17 +1 -1 src/sys/ia64/include/pcpu.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 20:19:16 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C08916A4CE; Sun, 16 Nov 2003 20:19:16 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11BD843FCB; Sun, 16 Nov 2003 20:19:16 -0800 (PST) (envelope-from nectar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH4JFXJ062415; Sun, 16 Nov 2003 20:19:15 -0800 (PST) (envelope-from nectar@repoman.freebsd.org) Received: (from nectar@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH4JFb5062414; Sun, 16 Nov 2003 20:19:15 -0800 (PST) (envelope-from nectar) Message-Id: <200311170419.hAH4JFb5062414@repoman.freebsd.org> From: Jacques Vidrine Date: Sun, 16 Nov 2003 20:19:15 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/stdtime strptime.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 04:19:16 -0000 nectar 2003/11/16 20:19:15 PST FreeBSD src repository Modified files: lib/libc/stdtime strptime.c Log: Detect range errors when using the %s specifier. Previously, LONG_MAX was rejected as a range error, while any values less than LONG_MIN were silently substituted with LONG_MIN. Furthermore, on some platforms `time_t' has less range than `long' (e.g. alpha), which may give incorrect results when parsing some strings. Revision Changes Path 1.35 +10 -3 src/lib/libc/stdtime/strptime.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 20:20:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67BC416A4CE; Sun, 16 Nov 2003 20:20:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D287A43FCB; Sun, 16 Nov 2003 20:20:02 -0800 (PST) (envelope-from nectar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH4K2XJ062467; Sun, 16 Nov 2003 20:20:02 -0800 (PST) (envelope-from nectar@repoman.freebsd.org) Received: (from nectar@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH4K2AG062466; Sun, 16 Nov 2003 20:20:02 -0800 (PST) (envelope-from nectar) Message-Id: <200311170420.hAH4K2AG062466@repoman.freebsd.org> From: Jacques Vidrine Date: Sun, 16 Nov 2003 20:20:02 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 04:20:03 -0000 nectar 2003/11/16 20:20:02 PST FreeBSD src repository Modified files: lib/libc Makefile Log: Baby steps. Set WARNS=1 for libc. Revision Changes Path 1.45 +1 -0 src/lib/libc/Makefile From owner-cvs-src@FreeBSD.ORG Sun Nov 16 20:38:16 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AC3716A4CF; Sun, 16 Nov 2003 20:38:16 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F5C43FE0; Sun, 16 Nov 2003 20:38:15 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH4cFXJ063344; Sun, 16 Nov 2003 20:38:15 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH4cEXj063343; Sun, 16 Nov 2003 20:38:14 -0800 (PST) (envelope-from imp) Message-Id: <200311170438.hAH4cEXj063343@repoman.freebsd.org> From: Warner Losh Date: Sun, 16 Nov 2003 20:38:14 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files.sparc64 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 04:38:16 -0000 imp 2003/11/16 20:38:14 PST FreeBSD src repository Modified files: sys/conf files.sparc64 Log: Copy ukbdmap.h rules from .i386. # maybe this should be in files. # This may fix sparc64 tinderbox. I'll kinow in a few hours. Revision Changes Path 1.48 +6 -0 src/sys/conf/files.sparc64 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 20:40:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F61E16A4CE; Sun, 16 Nov 2003 20:40:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D581043FCB; Sun, 16 Nov 2003 20:40:58 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH4ewXJ063625; Sun, 16 Nov 2003 20:40:58 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH4ewMo063624; Sun, 16 Nov 2003 20:40:58 -0800 (PST) (envelope-from bde) Message-Id: <200311170440.hAH4ewMo063624@repoman.freebsd.org> From: Bruce Evans Date: Sun, 16 Nov 2003 20:40:58 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/include pcpu.h src/sys/i386/include pcpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 04:40:59 -0000 bde 2003/11/16 20:40:58 PST FreeBSD src repository Modified files: sys/amd64/include pcpu.h sys/i386/include pcpu.h Log: Fixed pedantic warnings for statement-expressions using __extension__ and by not using a statement-expression for the non-expression __PCPU_SET(). Revision Changes Path 1.39 +4 -4 src/sys/amd64/include/pcpu.h 1.40 +4 -4 src/sys/i386/include/pcpu.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 21:16:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D06216A4CE; Sun, 16 Nov 2003 21:16:27 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5FBE43FA3; Sun, 16 Nov 2003 21:16:26 -0800 (PST) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH5GQXJ071542; Sun, 16 Nov 2003 21:16:26 -0800 (PST) (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH5GQ6n071541; Sun, 16 Nov 2003 21:16:26 -0800 (PST) (envelope-from obrien) Message-Id: <200311170516.hAH5GQ6n071541@repoman.freebsd.org> From: "David E. O'Brien" Date: Sun, 16 Nov 2003 21:16:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/gnu/usr.bin/tar Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 05:16:27 -0000 obrien 2003/11/16 21:16:26 PST FreeBSD src repository Modified files: gnu/usr.bin/tar Makefile Log: /rescue/tar exists, so build this dynamic now. Revision Changes Path 1.18 +0 -2 src/gnu/usr.bin/tar/Makefile From owner-cvs-src@FreeBSD.ORG Sun Nov 16 21:18:37 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8883416A4CE; Sun, 16 Nov 2003 21:18:37 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F186343FE9; Sun, 16 Nov 2003 21:18:36 -0800 (PST) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH5IaXJ071628; Sun, 16 Nov 2003 21:18:36 -0800 (PST) (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH5IaNV071627; Sun, 16 Nov 2003 21:18:36 -0800 (PST) (envelope-from obrien) Message-Id: <200311170518.hAH5IaNV071627@repoman.freebsd.org> From: "David E. O'Brien" Date: Sun, 16 Nov 2003 21:18:36 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/gnu/usr.bin/gzip Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 05:18:37 -0000 obrien 2003/11/16 21:18:36 PST FreeBSD src repository Modified files: gnu/usr.bin/gzip Makefile Log: /rescue/g{{,un}zip,zcat} exist, so build this dynamically now. Revision Changes Path 1.25 +0 -2 src/gnu/usr.bin/gzip/Makefile From owner-cvs-src@FreeBSD.ORG Sun Nov 16 21:19:38 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24BB716A4CE; Sun, 16 Nov 2003 21:19:38 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F49043F93; Sun, 16 Nov 2003 21:19:37 -0800 (PST) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH5JbXJ071688; Sun, 16 Nov 2003 21:19:37 -0800 (PST) (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH5JbF1071687; Sun, 16 Nov 2003 21:19:37 -0800 (PST) (envelope-from obrien) Message-Id: <200311170519.hAH5JbF1071687@repoman.freebsd.org> From: "David E. O'Brien" Date: Sun, 16 Nov 2003 21:19:37 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/bzip2 Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 05:19:38 -0000 obrien 2003/11/16 21:19:37 PST FreeBSD src repository Modified files: usr.bin/bzip2 Makefile Log: /rescue/b{,un}zip exists, so build this dynamically now. Revision Changes Path 1.7 +0 -2 src/usr.bin/bzip2/Makefile From owner-cvs-src@FreeBSD.ORG Sun Nov 16 21:21:19 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E55EC16A4CE; Sun, 16 Nov 2003 21:21:19 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CCAD43FE0; Sun, 16 Nov 2003 21:21:19 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH5LJXJ071900; Sun, 16 Nov 2003 21:21:19 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH5LIAI071899; Sun, 16 Nov 2003 21:21:18 -0800 (PST) (envelope-from imp) Message-Id: <200311170521.hAH5LIAI071899@repoman.freebsd.org> From: Warner Losh Date: Sun, 16 Nov 2003 21:21:18 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf kmod.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 05:21:20 -0000 imp 2003/11/16 21:21:18 PST FreeBSD src repository Modified files: sys/conf kmod.mk Log: Ignore errors on ln. This is a quick fix for the make depend twice in a row being broken. A better filx will come as soon as I have time to analyse things more deeply. Revision Changes Path 1.149 +1 -1 src/sys/conf/kmod.mk From owner-cvs-src@FreeBSD.ORG Sun Nov 16 21:45:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AFD616A4CE; Sun, 16 Nov 2003 21:45:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE43243FBD; Sun, 16 Nov 2003 21:45:21 -0800 (PST) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH5jLXJ073050; Sun, 16 Nov 2003 21:45:21 -0800 (PST) (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH5jL5x073049; Sun, 16 Nov 2003 21:45:21 -0800 (PST) (envelope-from bmah) Message-Id: <200311170545.hAH5jL5x073049@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 16 Nov 2003 21:45:21 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware/common dev.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 05:45:26 -0000 bmah 2003/11/16 21:45:21 PST FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware/common dev.sgml Log: Start turning on a few devices in the amd64 hardware notes, based on things that I've observed to work. Obtained from: sledge, various dmesg(1) output messages from peter Revision Changes Path 1.200 +8 -8 src/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml From owner-cvs-src@FreeBSD.ORG Sun Nov 16 21:47:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1A3116A4CE; Sun, 16 Nov 2003 21:47:05 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4DB443F93; Sun, 16 Nov 2003 21:47:01 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) hAH5kuNJ033711; Mon, 17 Nov 2003 07:46:56 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.9/8.12.9/Submit) id hAH5kuVw033710; Mon, 17 Nov 2003 07:46:56 +0200 (SAST) (envelope-from jhay) Date: Mon, 17 Nov 2003 07:46:56 +0200 From: John Hay To: Marcel Moolenaar Message-ID: <20031117054656.GA33611@zibbi.icomtek.csir.co.za> References: <200311142211.hAEMBi81078324@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311142211.hAEMBi81078324@repoman.freebsd.org> User-Agent: Mutt/1.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src UPDATING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 05:47:06 -0000 On Fri, Nov 14, 2003 at 02:11:44PM -0800, Marcel Moolenaar wrote: > marcel 2003/11/14 14:11:44 PST > > FreeBSD src repository > > Modified files: > . UPDATING > Log: > Add the most vital piece of information WRT upgrading past the > statfs changes: you must have COMPAT_FREEBSD4 in your kernel > config file. Everything else is documented procedure and will > not save your ass if you don't have the option. Ahhh, that is what tripped me up when trying to boot a new kernel with old progs. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org From owner-cvs-src@FreeBSD.ORG Sun Nov 16 21:47:43 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D85D216A4CE; Sun, 16 Nov 2003 21:47:43 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C91E43FB1; Sun, 16 Nov 2003 21:47:43 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH5lgXJ073155; Sun, 16 Nov 2003 21:47:42 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH5lgWl073154; Sun, 16 Nov 2003 21:47:42 -0800 (PST) (envelope-from marcel) Message-Id: <200311170547.hAH5lgWl073154@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 16 Nov 2003 21:47:42 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libdisk write_ia64_disk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 05:47:44 -0000 marcel 2003/11/16 21:47:42 PST FreeBSD src repository Modified files: lib/libdisk write_ia64_disk.c Log: Declare crc32 static. There's a copy in libz that conflicts for the crunched binary. Found by: make release Revision Changes Path 1.13 +1 -1 src/lib/libdisk/write_ia64_disk.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 22:08:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 513A016A583; Sun, 16 Nov 2003 22:08:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B21B43FEC; Sun, 16 Nov 2003 22:08:11 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH68BXJ074911; Sun, 16 Nov 2003 22:08:11 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH68BrE074910; Sun, 16 Nov 2003 22:08:11 -0800 (PST) (envelope-from peter) Message-Id: <200311170608.hAH68BrE074910@repoman.freebsd.org> From: Peter Wemm Date: Sun, 16 Nov 2003 22:08:11 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys interrupt.h src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 06:08:14 -0000 peter 2003/11/16 22:08:11 PST FreeBSD src repository Modified files: sys/sys interrupt.h sys/kern kern_intr.c Log: Expand the argument to the ithread enable/disable helper hooks from an int to something big enough to hold a pointer. amd64 needs this. Revision Changes Path 1.101 +3 -3 src/sys/kern/kern_intr.c 1.26 +6 -6 src/sys/sys/interrupt.h From owner-cvs-src@FreeBSD.ORG Sun Nov 16 22:12:22 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EB2E16A4CE; Sun, 16 Nov 2003 22:12:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA9EC44048; Sun, 16 Nov 2003 22:10:21 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH6AFXJ075147; Sun, 16 Nov 2003 22:10:15 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH6AFxI075146; Sun, 16 Nov 2003 22:10:15 -0800 (PST) (envelope-from peter) Message-Id: <200311170610.hAH6AFxI075146@repoman.freebsd.org> From: Peter Wemm Date: Sun, 16 Nov 2003 22:10:15 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha interrupt.c src/sys/alpha/include intr.h src/sys/alpha/isa isa.c src/sys/alpha/mcbus mcpcia.c src/sys/alpha/pci apecs.c cia.c t2.c tsunami.c src/sys/i386/i386 intr_machdep.c src/sys/ia64/ia64 interrupt.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 06:12:22 -0000 peter 2003/11/16 22:10:15 PST FreeBSD src repository Modified files: sys/alpha/alpha interrupt.c sys/alpha/include intr.h sys/alpha/isa isa.c sys/alpha/mcbus mcpcia.c sys/alpha/pci apecs.c cia.c t2.c tsunami.c sys/i386/i386 intr_machdep.c sys/ia64/ia64 interrupt.c sys/powerpc/include intr_machdep.h sys/powerpc/powermac hrowpic.c sys/powerpc/powerpc intr_machdep.c openpic.c Log: Widen the enable/disable helper function's argument in line with the ithread_create() changes etc. This should be mostly a NOP. Revision Changes Path 1.76 +3 -3 src/sys/alpha/alpha/interrupt.c 1.11 +4 -3 src/sys/alpha/include/intr.h 1.34 +4 -3 src/sys/alpha/isa/isa.c 1.28 +8 -8 src/sys/alpha/mcbus/mcpcia.c 1.24 +2 -2 src/sys/alpha/pci/apecs.c 1.42 +2 -2 src/sys/alpha/pci/cia.c 1.20 +2 -2 src/sys/alpha/pci/t2.c 1.23 +2 -2 src/sys/alpha/pci/tsunami.c 1.4 +2 -14 src/sys/i386/i386/intr_machdep.c 1.43 +1 -1 src/sys/ia64/ia64/interrupt.c 1.3 +1 -1 src/sys/powerpc/include/intr_machdep.h 1.2 +4 -4 src/sys/powerpc/powermac/hrowpic.c 1.3 +4 -4 src/sys/powerpc/powerpc/intr_machdep.c 1.9 +4 -4 src/sys/powerpc/powerpc/openpic.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 22:39:40 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2247816A4CE; Sun, 16 Nov 2003 22:39:40 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 880D743FE1; Sun, 16 Nov 2003 22:39:39 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH6ddXJ076668; Sun, 16 Nov 2003 22:39:39 -0800 (PST) (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH6dduA076667; Sun, 16 Nov 2003 22:39:39 -0800 (PST) (envelope-from das) Message-Id: <200311170639.hAH6dduA076667@repoman.freebsd.org> From: David Schultz Date: Sun, 16 Nov 2003 22:39:39 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 06:39:40 -0000 das 2003/11/16 22:39:39 PST FreeBSD src repository Modified files: sbin/nologin Makefile Added files: sbin/nologin nologin.c Removed files: sbin/nologin nologin.sh Log: Reimplement nologin(8) as a C program. This allows us to statically link it at low cost and avoid environment poisoning attacks associated with LD_LIBRARY_PATH. Suggested by: rwatson Revision Changes Path 1.9 +9 -2 src/sbin/nologin/Makefile 1.1 +21 -0 src/sbin/nologin/nologin.c (new) 1.5 +0 -39 src/sbin/nologin/nologin.sh (dead) From owner-cvs-src@FreeBSD.ORG Sun Nov 16 22:39:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9401E16A4CF; Sun, 16 Nov 2003 22:39:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AF2543FE0; Sun, 16 Nov 2003 22:39:55 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH6dsXJ076707; Sun, 16 Nov 2003 22:39:54 -0800 (PST) (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH6dsXm076706; Sun, 16 Nov 2003 22:39:54 -0800 (PST) (envelope-from das) Message-Id: <200311170639.hAH6dsXm076706@repoman.freebsd.org> From: David Schultz Date: Sun, 16 Nov 2003 22:39:54 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 06:39:55 -0000 das 2003/11/16 22:39:54 PST FreeBSD src repository Modified files: sbin/nologin nologin.8 Log: Remove the BUGS section introduced in rev 1.11 now that the problem has been addressed. Revision Changes Path 1.12 +0 -15 src/sbin/nologin/nologin.8 From owner-cvs-src@FreeBSD.ORG Sun Nov 16 22:42:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EC2016A4CE; Sun, 16 Nov 2003 22:42:21 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-123-40-77.dsl.pltn13.pacbell.net [68.123.40.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2343F43FE1; Sun, 16 Nov 2003 22:42:20 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.9/8.12.9) with ESMTP id hAH6eben051485; Sun, 16 Nov 2003 22:40:37 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.9/8.12.9/Submit) id hAH6ebws051484; Sun, 16 Nov 2003 22:40:37 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Sun, 16 Nov 2003 22:40:36 -0800 From: David Schultz To: src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20031117064036.GA51447@VARK.homeunix.com> Mail-Followup-To: src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200311170639.hAH6dduA076667@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311170639.hAH6dduA076667@repoman.freebsd.org> Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 06:42:21 -0000 On Sun, Nov 16, 2003, David Schultz wrote: > das 2003/11/16 22:39:39 PST > > FreeBSD src repository > > Modified files: > sbin/nologin Makefile > Added files: > sbin/nologin nologin.c > Removed files: > sbin/nologin nologin.sh > Log: > Reimplement nologin(8) as a C program. This allows us to statically > link it at low cost and avoid environment poisoning attacks associated > with LD_LIBRARY_PATH. For those who care, here are the relevant sizes to the nearest kilobyte: 24K static C program 5K dynamic C program 2K shell script 1K assembly program The bloat in the static version is due to crt0 pulling in atexit(), which in turn depends on malloc(), free(), and some pthread mutex code. From owner-cvs-src@FreeBSD.ORG Sun Nov 16 23:07:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 717C216A4CE for ; Sun, 16 Nov 2003 23:07:28 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 840FC4409A for ; Sun, 16 Nov 2003 23:05:57 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 59068 invoked by uid 1000); 17 Nov 2003 07:05:59 -0000 Date: Sun, 16 Nov 2003 23:05:59 -0800 (PST) From: Nate Lawson To: David Schultz In-Reply-To: <20031117064021.6223416A4E3@hub.freebsd.org> Message-ID: <20031116230357.K59017@root.org> References: <20031117064021.6223416A4E3@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 07:07:28 -0000 On Sun, 16 Nov 2003, David Schultz wrote: > Modified files: > sbin/nologin Makefile > Added files: > sbin/nologin nologin.c > Removed files: > sbin/nologin nologin.sh > Log: > Reimplement nologin(8) as a C program. This allows us to statically > link it at low cost and avoid environment poisoning attacks associated > with LD_LIBRARY_PATH. > > Suggested by: rwatson > > Revision Changes Path > 1.9 +9 -2 src/sbin/nologin/Makefile > 1.1 +21 -0 src/sbin/nologin/nologin.c (new) > 1.5 +0 -39 src/sbin/nologin/nologin.sh (dead) > > --- /dev/null Sun Nov 16 22:40:21 2003 > +++ src/sbin/nologin/nologin.c Sun Nov 16 22:39:38 2003 > @@ -0,0 +1,21 @@ > +/*- > + * This program is in the public domain. I couldn't bring myself to > + * declare Copyright on a variant of Hello World. > + */ > + > +#include > +__FBSDID("$FreeBSD: /repoman/r/ncvs/src/sbin/nologin/nologin.c,v 1.1 2003/11/17 06:39:38 das Exp $"); > + > +#include > +#include > +#include > + > +#define MESSAGE "This account is currently not available.\n" > + > +int > +main(int argc, char *argv[]) > +{ > + > + write(STDOUT_FILENO, MESSAGE, sizeof(MESSAGE)); > + _exit(1); > +} Shouldn't that be strlen(MESSAGE) since sizeof includes the terminating '\0'? I couldn't help pointing out a bug in a variant of Hello World. ;-) -Nate From owner-cvs-src@FreeBSD.ORG Sun Nov 16 23:09:43 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3A0B16A4CF for ; Sun, 16 Nov 2003 23:09:43 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id D8D544402F for ; Sun, 16 Nov 2003 23:07:09 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 59074 invoked by uid 1000); 17 Nov 2003 07:06:57 -0000 Date: Sun, 16 Nov 2003 23:06:57 -0800 (PST) From: Nate Lawson To: David Schultz In-Reply-To: <20031117064036.GA51447@VARK.homeunix.com> Message-ID: <20031116230605.S59017@root.org> References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <20031117064036.GA51447@VARK.homeunix.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 07:09:44 -0000 On Sun, 16 Nov 2003, David Schultz wrote: > On Sun, Nov 16, 2003, David Schultz wrote: > > Modified files: > > sbin/nologin Makefile > > Added files: > > sbin/nologin nologin.c > > Removed files: > > sbin/nologin nologin.sh > > Log: > > Reimplement nologin(8) as a C program. This allows us to statically > > link it at low cost and avoid environment poisoning attacks associated > > with LD_LIBRARY_PATH. > > For those who care, here are the relevant sizes to the nearest kilobyte: > > 24K static C program > 5K dynamic C program > 2K shell script > 1K assembly program > > The bloat in the static version is due to crt0 pulling in atexit(), > which in turn depends on malloc(), free(), and some pthread mutex code. Tim Kientzle floated some patches to remove this dependency about a year ago but they never got committed. Perhaps now that he's done with the dynamic root work, he can clean them up and commit them. -Nate From owner-cvs-src@FreeBSD.ORG Sun Nov 16 23:21:20 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD9C716A4CE; Sun, 16 Nov 2003 23:21:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FAF043FE0; Sun, 16 Nov 2003 23:21:20 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH7LJXJ079435; Sun, 16 Nov 2003 23:21:19 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH7LJKO079434; Sun, 16 Nov 2003 23:21:19 -0800 (PST) (envelope-from bde) Message-Id: <200311170721.hAH7LJKO079434@repoman.freebsd.org> From: Bruce Evans Date: Sun, 16 Nov 2003 23:21:19 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sio sio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 07:21:20 -0000 bde 2003/11/16 23:21:19 PST FreeBSD src repository Modified files: sys/dev/sio sio.c Log: Tweaked the siointr1() so that it works better at 921600 bps, especially with multiple ports on a shared interrupt demultiplexed by the puc_intr() handler. siointr1() first read as much input as possible and then checked all possibly-relevant status registers, partly for robustness and partly for historical reasons. This is very bad if it is called for every port sharing an interrupt like puc_intr() does. It can spend too long reading all the input for some ports when the interrupt is for a more urgent event on another, or just too long checking all the status registers when there are lots of ports. The inter-character time is too long for reading all the input even when the interrupt is for a transmitter interrupt on the same port, and at 921600 bps the inter-char time is 10.85 usec and was often exceeded with just 2 ports, leaving the transmitters idle for about 6% of the time. The tweak is to break out of the read loop after reading 1 char if output can be done. This avoids most of the idle transmitter time for 2 active ports at 921600 bps bidirectional on the test system. It also reduces overhead by about 20%. More complete fixes use the programmable tx low watermark on 16950's and reduce overhead by another 65%. Revision Changes Path 1.416 +5 -0 src/sys/dev/sio/sio.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 23:51:00 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C69BB16A4CE; Sun, 16 Nov 2003 23:51:00 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D0543FBF; Sun, 16 Nov 2003 23:51:00 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH7oxXJ080695; Sun, 16 Nov 2003 23:50:59 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH7ox4W080694; Sun, 16 Nov 2003 23:50:59 -0800 (PST) (envelope-from peter) Message-Id: <200311170750.hAH7ox4W080694@repoman.freebsd.org> From: Peter Wemm Date: Sun, 16 Nov 2003 23:50:59 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/isa intr_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 07:51:00 -0000 peter 2003/11/16 23:50:59 PST FreeBSD src repository Modified files: sys/amd64/isa intr_machdep.c Log: Oh, how embarresing. I broke my own platform. :-) Revision Changes Path 1.78 +4 -4 src/sys/amd64/isa/intr_machdep.c From owner-cvs-src@FreeBSD.ORG Sun Nov 16 23:51:44 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DADE16A4CE; Sun, 16 Nov 2003 23:51:44 -0800 (PST) Received: from purple.the-7.net (purple.the-7.net [207.158.28.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D92B43FE0; Sun, 16 Nov 2003 23:51:43 -0800 (PST) (envelope-from ab@astralblue.net) Received: from astralblue.net (adsl-68-123-46-151.dsl.pltn13.pacbell.net [68.123.46.151]) by purple.the-7.net (8.12.9p2/8.12.9) with ESMTP id hAH7rcKF032652; Sun, 16 Nov 2003 23:53:41 -0800 (PST) (envelope-from ab@astralblue.net) Message-ID: <3FB87E09.40904@astralblue.net> Date: Sun, 16 Nov 2003 23:51:37 -0800 From: =?UTF-8?B?IkV1Z2VuZSBNLiBLaW0g6rmA66+87ISxIg==?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marc G. Fournier" References: <200311140823.hAE8NDAb005015@repoman.freebsd.org> <20031114105746.M497@ganymede.hub.org> In-Reply-To: <20031114105746.M497@ganymede.hub.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on purple.the-7.net cc: cvs-src@freebsd.org cc: David Schultz cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/fs/unionfs union_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 07:51:44 -0000 Marc G. Fournier wrote: >Thank you, this reduces my 'list of known crash triggers' down to avoiding >the use of sockets on unionfs mounted file systems :) > > >On Fri, 14 Nov 2003, David Schultz wrote: > > >>das 2003/11/14 00:23:13 PST >> >> FreeBSD src repository >> >> Modified files: >> sys/fs/unionfs union_vnops.c >> Log: >> - A sanity check in unionfs verifies that lookups of '.' return the >> vnode of the parent. However, this check should not be performed if >> the lookup failed. This change should fix "union_lookup returning >> . not same as startdir" panics people were seeing. The bug was >> introduced by an incomplete import of a NetBSD delta in rev 1.38. >> - Move the aforementioned check out from DIAGNOSTIC. Performance >> is the least of our unionfs worries. >> - Minor reorganization. >> >> PR: 53004 >> MFC after: 1 week >> >> Revision Changes Path >> 1.103 +21 -27 src/sys/fs/unionfs/union_vnops.c >> Does this move unionfs into the `safe for general consumption' region, or is this particular problem just a tip of an iceberg? Eugene From owner-cvs-src@FreeBSD.ORG Sun Nov 16 23:53:33 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE65816A4CE; Sun, 16 Nov 2003 23:53:33 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45F3043FB1; Sun, 16 Nov 2003 23:53:33 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH7rWXJ080771; Sun, 16 Nov 2003 23:53:32 -0800 (PST) (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH7rW6T080770; Sun, 16 Nov 2003 23:53:32 -0800 (PST) (envelope-from ume) Message-Id: <200311170753.hAH7rW6T080770@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Sun, 16 Nov 2003 23:53:32 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet6 ip6_output.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 07:53:34 -0000 ume 2003/11/16 23:53:32 PST FreeBSD src repository Modified files: sys/netinet6 ip6_output.c Log: correct to look right interface. Revision Changes Path 1.69 +1 -1 src/sys/netinet6/ip6_output.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 00:24:15 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADA9D16A4CE; Mon, 17 Nov 2003 00:24:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2442B43FD7; Mon, 17 Nov 2003 00:24:15 -0800 (PST) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH8OEXJ084166; Mon, 17 Nov 2003 00:24:14 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH8OEw0084165; Mon, 17 Nov 2003 00:24:14 -0800 (PST) (envelope-from jeff) Message-Id: <200311170824.hAH8OEw0084165@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 17 Nov 2003 00:24:14 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 08:24:15 -0000 jeff 2003/11/17 00:24:14 PST FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Remove long dead code. rslices hasn't been used in some time and neither has sched_pickcpu(). Revision Changes Path 1.82 +4 -52 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 00:27:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C91316A4CE; Mon, 17 Nov 2003 00:27:12 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C64AA43F3F; Mon, 17 Nov 2003 00:27:11 -0800 (PST) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH8RBXJ084353; Mon, 17 Nov 2003 00:27:11 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH8RBFq084352; Mon, 17 Nov 2003 00:27:11 -0800 (PST) (envelope-from jeff) Message-Id: <200311170827.hAH8RBFq084352@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 17 Nov 2003 00:27:11 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 08:27:12 -0000 jeff 2003/11/17 00:27:11 PST FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Mark ksq_assigned as volatile so that when this code is used without sched_lock we can be sure that we'll pick up the new value. Revision Changes Path 1.83 +3 -3 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 00:58:17 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C15C216A4CF; Mon, 17 Nov 2003 00:58:17 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04A1D43FDD; Mon, 17 Nov 2003 00:58:17 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH8wGXJ091759; Mon, 17 Nov 2003 00:58:16 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH8wGr7091758; Mon, 17 Nov 2003 00:58:16 -0800 (PST) (envelope-from peter) Message-Id: <200311170858.hAH8wGr7091758@repoman.freebsd.org> From: Peter Wemm Date: Mon, 17 Nov 2003 00:58:16 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 apic_vector.S autoconf.c cpu_switch.S db_interface.c db_trace.c exception.S fpu.c genassym.c identcpu.c io_apic.c local_apic.c machdep.c mem.c... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 08:58:17 -0000 peter 2003/11/17 00:58:16 PST FreeBSD src repository Modified files: sys/amd64/amd64 apic_vector.S autoconf.c cpu_switch.S db_interface.c db_trace.c exception.S fpu.c genassym.c identcpu.c io_apic.c local_apic.c machdep.c mem.c mp_machdep.c mpboot.S mptable.c nexus.c pmap.c support.S trap.c tsc.c vm_machdep.c sys/amd64/ia32 ia32_syscall.c sys/amd64/include apicvar.h asmacros.h atomic.h clock.h md_var.h param.h pcpu.h pmap.h segments.h smp.h tss.h sys/amd64/isa atpic.c atpic_vector.S clock.c sys/amd64/pci pci_bus.c sys/conf files.amd64 options.amd64 sys/dev/pci pci.c sys/kern kern_switch.c subr_witness.c Removed files: sys/amd64/isa icu.h icu_ipl.S icu_vector.S intr_machdep.c intr_machdep.h ithread.c vector.S Log: Initial landing of SMP support for FreeBSD/amd64. - This is heavily derived from John Baldwin's apic/pci cleanup on i386. - I have completely rewritten or drastically cleaned up some other parts. (in particular, bootstrap) - This is still a WIP. It seems that there are some highly bogus bioses on nVidia nForce3-150 boards. I can't stress how broken these boards are. I have a workaround in mind, but right now the Asus SK8N is broken. The Gigabyte K8NPro (nVidia based) is also mind-numbingly hosed. - Most of my testing has been with SCHED_ULE. SCHED_4BSD works. - the apic and acpi components are 'standard'. - If you have an nVidia nForce3-150 board, you are stuck with 'device atpic' in addition, because they somehow managed to forget to connect the 8254 timer to the apic, even though its in the same silicon! ARGH! This directly violates the ACPI spec. Revision Changes Path 1.95 +102 -172 src/sys/amd64/amd64/apic_vector.S 1.176 +3 -22 src/sys/amd64/amd64/autoconf.c 1.144 +20 -7 src/sys/amd64/amd64/cpu_switch.S 1.75 +37 -0 src/sys/amd64/amd64/db_interface.c 1.59 +3 -2 src/sys/amd64/amd64/db_trace.c 1.115 +1 -16 src/sys/amd64/amd64/exception.S 1.146 +1 -2 src/sys/amd64/amd64/fpu.c 1.150 +15 -5 src/sys/amd64/amd64/genassym.c 1.127 +2 -1 src/sys/amd64/amd64/identcpu.c 1.7 +3 -2 src/sys/amd64/amd64/io_apic.c 1.4 +7 -19 src/sys/amd64/amd64/local_apic.c 1.599 +58 -83 src/sys/amd64/amd64/machdep.c 1.111 +9 -0 src/sys/amd64/amd64/mem.c 1.226 +120 -351 src/sys/amd64/amd64/mp_machdep.c 1.24 +180 -228 src/sys/amd64/amd64/mpboot.S 1.228 +3 -8 src/sys/amd64/amd64/mptable.c 1.56 +4 -8 src/sys/amd64/amd64/nexus.c 1.446 +231 -2 src/sys/amd64/amd64/pmap.c 1.104 +14 -0 src/sys/amd64/amd64/support.S 1.270 +14 -3 src/sys/amd64/amd64/trap.c 1.205 +14 -2 src/sys/amd64/amd64/tsc.c 1.223 +65 -0 src/sys/amd64/amd64/vm_machdep.c 1.6 +1 -3 src/sys/amd64/ia32/ia32_syscall.c 1.6 +3 -1 src/sys/amd64/include/apicvar.h 1.26 +9 -0 src/sys/amd64/include/asmacros.h 1.31 +1 -1 src/sys/amd64/include/atomic.h 1.49 +1 -0 src/sys/amd64/include/clock.h 1.69 +4 -1 src/sys/amd64/include/md_var.h 1.9 +4 -0 src/sys/amd64/include/param.h 1.40 +4 -0 src/sys/amd64/include/pcpu.h 1.109 +2 -1 src/sys/amd64/include/pmap.h 1.37 +3 -0 src/sys/amd64/include/segments.h 1.78 +59 -0 src/sys/amd64/include/smp.h 1.15 +1 -1 src/sys/amd64/include/tss.h 1.6 +26 -33 src/sys/amd64/isa/atpic.c 1.41 +22 -21 src/sys/amd64/isa/atpic_vector.S 1.206 +22 -30 src/sys/amd64/isa/clock.c 1.29 +0 -152 src/sys/amd64/isa/icu.h (dead) 1.13 +0 -81 src/sys/amd64/isa/icu_ipl.S (dead) 1.41 +0 -144 src/sys/amd64/isa/icu_vector.S (dead) 1.79 +0 -525 src/sys/amd64/isa/intr_machdep.c (dead) 1.45 +0 -118 src/sys/amd64/isa/intr_machdep.h (dead) 1.23 +0 -115 src/sys/amd64/isa/ithread.c (dead) 1.41 +0 -76 src/sys/amd64/isa/vector.S (dead) 1.105 +1 -1 src/sys/amd64/pci/pci_bus.c 1.26 +38 -59 src/sys/conf/files.amd64 1.10 +4 -0 src/sys/conf/options.amd64 1.236 +1 -1 src/sys/dev/pci/pci.c 1.63 +2 -2 src/sys/kern/kern_switch.c 1.164 +1 -1 src/sys/kern/subr_witness.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 01:11:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E9B416A4CE; Mon, 17 Nov 2003 01:11:05 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB01843F3F; Mon, 17 Nov 2003 01:11:04 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH9B4XJ093584; Mon, 17 Nov 2003 01:11:04 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH9B4Ne093583; Mon, 17 Nov 2003 01:11:04 -0800 (PST) (envelope-from peter) Message-Id: <200311170911.hAH9B4Ne093583@repoman.freebsd.org> From: Peter Wemm Date: Mon, 17 Nov 2003 01:11:04 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/isa icu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 09:11:05 -0000 peter 2003/11/17 01:11:04 PST FreeBSD src repository Added files: sys/amd64/isa icu.h Log: Restore file accidently killed in the crossfire from the smp commit. Revision Changes Path 1.30 +152 -0 src/sys/amd64/isa/icu.h (new) From owner-cvs-src@FreeBSD.ORG Mon Nov 17 01:19:13 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F4CC16A4CE; Mon, 17 Nov 2003 01:19:13 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65B1643FBF; Mon, 17 Nov 2003 01:19:12 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAH9JCXJ094025; Mon, 17 Nov 2003 01:19:12 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAH9JCmx094024; Mon, 17 Nov 2003 01:19:12 -0800 (PST) (envelope-from peter) Message-Id: <200311170919.hAH9JCmx094024@repoman.freebsd.org> From: Peter Wemm Date: Mon, 17 Nov 2003 01:19:12 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/isa icu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 09:19:13 -0000 peter 2003/11/17 01:19:12 PST FreeBSD src repository Modified files: sys/amd64/isa icu.h Log: Add SMP changes as should have been committed as rev 1.28 Revision Changes Path 1.31 +7 -26 src/sys/amd64/isa/icu.h From owner-cvs-src@FreeBSD.ORG Mon Nov 17 01:23:09 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F09E016A4CE; Mon, 17 Nov 2003 01:23:08 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-123-40-77.dsl.pltn13.pacbell.net [68.123.40.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D6F843F93; Mon, 17 Nov 2003 01:23:08 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.9/8.12.9) with ESMTP id hAH9LPen052178; Mon, 17 Nov 2003 01:21:25 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.9/8.12.9/Submit) id hAH9LPqK052177; Mon, 17 Nov 2003 01:21:25 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Mon, 17 Nov 2003 01:21:24 -0800 From: David Schultz To: Nate Lawson Message-ID: <20031117092124.GA52046@VARK.homeunix.com> Mail-Followup-To: Nate Lawson , cvs-all@FreeBSD.ORG, cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG References: <20031117064021.6223416A4E3@hub.freebsd.org> <20031116230357.K59017@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031116230357.K59017@root.org> cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 09:23:09 -0000 On Sun, Nov 16, 2003, Nate Lawson wrote: > On Sun, 16 Nov 2003, David Schultz wrote: > > +#define MESSAGE "This account is currently not available.\n" > > + > > +int > > +main(int argc, char *argv[]) > > +{ > > + > > + write(STDOUT_FILENO, MESSAGE, sizeof(MESSAGE)); > > + _exit(1); > > +} > > Shouldn't that be strlen(MESSAGE) since sizeof includes the terminating > '\0'? > > I couldn't help pointing out a bug in a variant of Hello World. ;-) Shhh! In an attempt to save face, I'm calling it a feature. From owner-cvs-src@FreeBSD.ORG Mon Nov 17 01:45:13 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1EA916A4CE; Mon, 17 Nov 2003 01:45:12 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-123-40-77.dsl.pltn13.pacbell.net [68.123.40.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84AF43FA3; Mon, 17 Nov 2003 01:45:09 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.9/8.12.9) with ESMTP id hAH9hOen052295; Mon, 17 Nov 2003 01:43:24 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.9/8.12.9/Submit) id hAH9hOMK052294; Mon, 17 Nov 2003 01:43:24 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Mon, 17 Nov 2003 01:43:23 -0800 From: David Schultz To: "Eugene M. Kim" Message-ID: <20031117094323.GB52046@VARK.homeunix.com> Mail-Followup-To: "Eugene M. Kim" , "Marc G. Fournier" , cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200311140823.hAE8NDAb005015@repoman.freebsd.org> <20031114105746.M497@ganymede.hub.org> <3FB87E09.40904@astralblue.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FB87E09.40904@astralblue.net> cc: "Marc G. Fournier" cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/fs/unionfs union_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 09:45:13 -0000 On Sun, Nov 16, 2003, "Eugene M. Kim ??" wrote: > Does this move unionfs into the `safe for general consumption' region, > or is this particular problem just a tip of an iceberg? Aside from support for FIFOs and other special files and a few other nits, it seems to behave pretty well. On the other hand, there are still a number of underlying problems that I don't have time to address. I suggest that you try it out and determine whether it works well enough for your purposes. Check the bug database before reporting any problems, though. (Note also that several of the relevant bugs have been prematurely closed recently.) From owner-cvs-src@FreeBSD.ORG Mon Nov 17 02:36:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AE3716A4CE for ; Mon, 17 Nov 2003 02:36:55 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F38A43FA3 for ; Mon, 17 Nov 2003 02:36:52 -0800 (PST) (envelope-from oppermann@pipeline.ch) Received: (qmail 56134 invoked from network); 17 Nov 2003 10:39:50 -0000 Received: from unknown (HELO pipeline.ch) ([62.48.0.53]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 17 Nov 2003 10:39:50 -0000 Message-ID: <3FB8A4C2.33E25285@pipeline.ch> Date: Mon, 17 Nov 2003 11:36:50 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Brian Feldman References: <200311170317.hAH3HnIW057958@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_divert.c ip_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 10:36:55 -0000 Brian Feldman wrote: > > green 2003/11/16 19:17:49 PST > > FreeBSD src repository > > Modified files: > sys/netinet ip_divert.c ip_input.c > Log: > Fix a few cases where MT_TAG-type "fake mbufs" are created on the stack, but > do not have mh_nextpkt initialized. Somtimes what's there is "1", and the > ip_input() code pukes trying to m_free() it, rendering divert sockets and > such broken. > This really underscores the need to get rid of MT_TAG. Ugh... Thank you. It seems I missed that in ip_divert when doing the change in ip_input and ip_output. Bad me... I'm working on moving this to real m_tags (Sam has also done a couple of things in perforce). However I've got the tcp_hostcache stuff on the boiler plate first and there are some performance implications with m_tags. Although I think it's more important to be correct if the impact is only a couple of %. In addition it hits only if one is actually doing divert or ipfw fwd. But then you are already taking a hit with sending the packet out to userland natd and back again. So overall it probably doesn't make any difference in practice and using m_tags shouldn't pose any penalty. -- Andre From owner-cvs-src@FreeBSD.ORG Mon Nov 17 03:08:30 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46C7916A4CE; Mon, 17 Nov 2003 03:08:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45FF943F93; Mon, 17 Nov 2003 03:08:29 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHB8SXJ000389; Mon, 17 Nov 2003 03:08:28 -0800 (PST) (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHB8SCD000388; Mon, 17 Nov 2003 03:08:28 -0800 (PST) (envelope-from des) Message-Id: <200311171108.hAHB8SCD000388@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Mon, 17 Nov 2003 03:08:28 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 11:08:30 -0000 des 2003/11/17 03:08:28 PST FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: Instead of blindly loading the ums module and bailing out if that fails, check if it's already loaded or compiled into the kernel, and only try to load it if it isn't. PR: bin/59368 Submitted by: Jens Rehsack Revision Changes Path 1.62 +38 -2 src/usr.sbin/moused/moused.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 03:14:35 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC95B16A4CE; Mon, 17 Nov 2003 03:14:35 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6133E43FDF; Mon, 17 Nov 2003 03:14:35 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHBEZXJ000815; Mon, 17 Nov 2003 03:14:35 -0800 (PST) (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHBEY9K000814; Mon, 17 Nov 2003 03:14:34 -0800 (PST) (envelope-from des) Message-Id: <200311171114.hAHBEY9K000814@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Mon, 17 Nov 2003 03:14:34 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 11:14:36 -0000 des 2003/11/17 03:14:34 PST FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: Sort includes, and remove superfluous Revision Changes Path 1.63 +15 -15 src/usr.sbin/moused/moused.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 03:26:52 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C20E16A4CE; Mon, 17 Nov 2003 03:26:52 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A40B843FBF; Mon, 17 Nov 2003 03:26:51 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHBQpXJ001307; Mon, 17 Nov 2003 03:26:51 -0800 (PST) (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHBQpxV001306; Mon, 17 Nov 2003 03:26:51 -0800 (PST) (envelope-from des) Message-Id: <200311171126.hAHBQpxV001306@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Mon, 17 Nov 2003 03:26:51 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 11:26:52 -0000 des 2003/11/17 03:26:51 PST FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: __FBSDID; remove duplicate ; try to reduce style inconsistencies. Revision Changes Path 1.64 +43 -46 src/usr.sbin/moused/moused.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 06:02:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FDD416A4CE; Mon, 17 Nov 2003 06:02:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5DAD43FD7; Mon, 17 Nov 2003 06:02:05 -0800 (PST) (envelope-from eivind@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHE25XJ019414; Mon, 17 Nov 2003 06:02:05 -0800 (PST) (envelope-from eivind@repoman.freebsd.org) Received: (from eivind@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHE24VE019413; Mon, 17 Nov 2003 06:02:04 -0800 (PST) (envelope-from eivind) Message-Id: <200311171402.hAHE24VE019413@repoman.freebsd.org> From: Eivind Eklund Date: Mon, 17 Nov 2003 06:02:04 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/cdcontrol cdcontrol.1 cdcontrol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 14:02:06 -0000 eivind 2003/11/17 06:02:04 PST FreeBSD src repository Modified files: usr.sbin/cdcontrol cdcontrol.1 cdcontrol.c Log: * Auto-detect what device to use if none is specified * Replace references to mcd0 with acd0 (doc only) * Remove references to the "c" partition (doc only - code was already fixed) Revision Changes Path 1.39 +19 -6 src/usr.sbin/cdcontrol/cdcontrol.1 1.47 +14 -12 src/usr.sbin/cdcontrol/cdcontrol.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 06:59:07 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F26AB16A4CE; Mon, 17 Nov 2003 06:59:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6792343F3F; Mon, 17 Nov 2003 06:59:06 -0800 (PST) (envelope-from markm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHEx6XJ022337; Mon, 17 Nov 2003 06:59:06 -0800 (PST) (envelope-from markm@repoman.freebsd.org) Received: (from markm@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHEx67d022336; Mon, 17 Nov 2003 06:59:06 -0800 (PST) (envelope-from markm) Message-Id: <200311171459.hAHEx67d022336@repoman.freebsd.org> From: Mark Murray Date: Mon, 17 Nov 2003 06:59:06 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/kerberos5/include krb5-private.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 14:59:07 -0000 markm 2003/11/17 06:59:06 PST FreeBSD src repository Removed files: kerberos5/include krb5-private.h Log: No need for two copies of this file; there is already a distribution copy in src/crypto/heimdal/... Reported by: ru Revision Changes Path 1.5 +0 -70 src/kerberos5/include/krb5-private.h (dead) From owner-cvs-src@FreeBSD.ORG Mon Nov 17 07:56:02 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52DE516A4CE; Mon, 17 Nov 2003 07:56:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57B1743FBD; Mon, 17 Nov 2003 07:56:01 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHFu1XJ025225; Mon, 17 Nov 2003 07:56:01 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHFu0EI025224; Mon, 17 Nov 2003 07:56:00 -0800 (PST) (envelope-from rwatson) Message-Id: <200311171556.hAHFu0EI025224@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 07:56:00 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/vinum commands.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 15:56:02 -0000 rwatson 2003/11/17 07:56:00 PST FreeBSD src repository Modified files: sbin/vinum commands.c Log: Don't attempt to make devices if we're using devfs. This substantially cleans up the output when running the vinum management tool, and also makes it work better. Long sustained silence from: grog Revision Changes Path 1.54 +10 -5 src/sbin/vinum/commands.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 08:04:53 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDD5E16A4CE; Mon, 17 Nov 2003 08:04:53 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EB4A43FDF; Mon, 17 Nov 2003 08:04:53 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHG4rXJ026412; Mon, 17 Nov 2003 08:04:53 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHG4rHh026411; Mon, 17 Nov 2003 08:04:53 -0800 (PST) (envelope-from rwatson) Message-Id: <200311171604.hAHG4rHh026411@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 08:04:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/vinum vinum.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 16:04:54 -0000 rwatson 2003/11/17 08:04:53 PST FreeBSD src repository Modified files: sbin/vinum vinum.8 Log: Add an entry to the BUGS section indicating that Vinum cannot currently be used on devices with a block size other than DEV_BSIZE (512), which specifically includes being unable to run on a swap-backed md device. Swap-backed md devices use a 4k block size. Revision Changes Path 1.65 +7 -0 src/sbin/vinum/vinum.8 From owner-cvs-src@FreeBSD.ORG Mon Nov 17 08:52:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C1C16A4CF for ; Mon, 17 Nov 2003 08:52:03 -0800 (PST) Received: from mail.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59D0943FE3 for ; Mon, 17 Nov 2003 08:51:59 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 5340 invoked from network); 17 Nov 2003 16:51:58 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 17 Nov 2003 16:51:58 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAHGpqFn012024; Mon, 17 Nov 2003 11:51:52 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200311151926.hAFJQ6pr087360@repoman.freebsd.org> Date: Mon, 17 Nov 2003 11:51:50 -0500 (EST) From: John Baldwin To: Nate Lawson X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/acpica acpi_cpu.c src/share/man/man4 acpi.4 src/sys/conf files src/sys/modules/acpi Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 16:52:03 -0000 On 15-Nov-2003 Nate Lawson wrote: > njl 2003/11/15 11:26:06 PST > > FreeBSD src repository > > Modified files: > sys/dev/acpica acpi_cpu.c > share/man/man4 acpi.4 > sys/conf files > sys/modules/acpi Makefile > Log: > Implement Cx CPU idle states and updated throttling support. > > * Use the cpu_idle_hook() to do idling for C1-C3. > * Use both _CST and the FADT to detect Cx states. > * Use both _PTC and P_CNT for controlling throttling. > * Add a notify handler to detect changes in _CST and _PSS > * Call the _INI function for each processor if present. This will be > done by ACPI-CA in the future. > * Fix a bug on SMP systems where CPUs will attach multiple times if the > bus is rescan. > * Document new sysctls for controlling idling. Cool! -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Mon Nov 17 09:29:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2448316A4CE; Mon, 17 Nov 2003 09:29:05 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF1E43F75; Mon, 17 Nov 2003 09:29:04 -0800 (PST) (envelope-from gordon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHHT4XJ036076; Mon, 17 Nov 2003 09:29:04 -0800 (PST) (envelope-from gordon@repoman.freebsd.org) Received: (from gordon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHHT4Gh036075; Mon, 17 Nov 2003 09:29:04 -0800 (PST) (envelope-from gordon) Message-Id: <200311171729.hAHHT4Gh036075@repoman.freebsd.org> From: Gordon Tetlow Date: Mon, 17 Nov 2003 09:29:04 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man7 hier.7 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 17:29:05 -0000 gordon 2003/11/17 09:29:04 PST FreeBSD src repository Modified files: share/man/man7 hier.7 Log: Update hier(7) to reflect the world with respect to /lib and /libexec. Revision Changes Path 1.90 +10 -0 src/share/man/man7/hier.7 From owner-cvs-src@FreeBSD.ORG Mon Nov 17 09:29:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D4DE16A4CF; Mon, 17 Nov 2003 09:29:55 -0800 (PST) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 201A543FDD; Mon, 17 Nov 2003 09:29:54 -0800 (PST) (envelope-from sam@errno.com) Received: from 66.127.85.91 ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id hAHHTq0x058254 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 17 Nov 2003 09:29:53 -0800 (PST) (envelope-from sam@errno.com) From: Sam Leffler Organization: Errno Consulting To: Brian Feldman , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Mon, 17 Nov 2003 09:32:12 -0800 User-Agent: KMail/1.5.3 References: <200311170317.hAH3HnIW057958@repoman.freebsd.org> In-Reply-To: <200311170317.hAH3HnIW057958@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311170932.12308.sam@errno.com> Subject: Re: cvs commit: src/sys/netinet ip_divert.c ip_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 17:29:55 -0000 On Sunday 16 November 2003 07:17 pm, Brian Feldman wrote: > green 2003/11/16 19:17:49 PST > > FreeBSD src repository > > Modified files: > sys/netinet ip_divert.c ip_input.c > Log: > Fix a few cases where MT_TAG-type "fake mbufs" are created on the stack, > but do not have mh_nextpkt initialized. Somtimes what's there is "1", and > the ip_input() code pukes trying to m_free() it, rendering divert sockets > and such broken. > This really underscores the need to get rid of MT_TAG. I've got most of the changes for that done along with mods to cleanup the "backdoor linkage" between parts of the network code; but it's not ready to commit yet. Switching over dummynet cleans up that code (IMO) and adds no cost as there was already a malloc'd data structure for each packet, but ipfw is a bit more tricky. The goal of all this is to eliminate all MT_TAG usage and also the global function pointer hooks (the latter are replaced by pfil_hooks which then become necessary for many packages and so will be needed in a GENERIC kernel). Sam From owner-cvs-src@FreeBSD.ORG Mon Nov 17 09:51:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D35A16A4CF for ; Mon, 17 Nov 2003 09:51:46 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 8493643FB1 for ; Mon, 17 Nov 2003 09:51:44 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 60609 invoked by uid 1000); 17 Nov 2003 17:51:45 -0000 Date: Mon, 17 Nov 2003 09:51:45 -0800 (PST) From: Nate Lawson To: John Baldwin In-Reply-To: Message-ID: <20031117095013.T60600@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/acpica acpi_cpu.c src/share/man/man4 acpi.4 src/sys/conf files src/sys/modules/acpi Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 17:51:46 -0000 On Mon, 17 Nov 2003, John Baldwin wrote: > On 15-Nov-2003 Nate Lawson wrote: > > njl 2003/11/15 11:26:06 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/acpica acpi_cpu.c > > share/man/man4 acpi.4 > > sys/conf files > > sys/modules/acpi Makefile > > Log: > > Implement Cx CPU idle states and updated throttling support. > > > > * Use the cpu_idle_hook() to do idling for C1-C3. > > * Use both _CST and the FADT to detect Cx states. > > * Use both _PTC and P_CNT for controlling throttling. > > * Add a notify handler to detect changes in _CST and _PSS > > * Call the _INI function for each processor if present. This will be > > done by ACPI-CA in the future. > > * Fix a bug on SMP systems where CPUs will attach multiple times if the > > bus is rescan. > > * Document new sysctls for controlling idling. > > Cool! Thanks for your help, as well as marcel and imp. I'd appreciate testing of the various levels of cx_lowest as well as on SMP boxes. I can't find one that supports lower than C1 but hopefully there will be some in the future. Send me the output of sysctl hw.acpi.cpu. -Nate From owner-cvs-src@FreeBSD.ORG Mon Nov 17 10:01:10 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 708B816A4D0 for ; Mon, 17 Nov 2003 10:01:10 -0800 (PST) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id F25EB43FDF for ; Mon, 17 Nov 2003 10:01:05 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 3258 invoked from network); 17 Nov 2003 18:01:03 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 17 Nov 2003 18:01:03 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAHI0xFn012352; Mon, 17 Nov 2003 13:00:59 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200311160055.hAG0tsXL018691@repoman.freebsd.org> Date: Mon, 17 Nov 2003 13:00:57 -0500 (EST) From: John Baldwin To: Bruce Evans X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/i386/i386 mp_machdep.c src/sys/i386/include smptests.h src/sys/i386/isa cy.c src/sys/kern subr_witness.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 18:01:10 -0000 On 16-Nov-2003 Bruce Evans wrote: > bde 2003/11/15 16:55:54 PST > > FreeBSD src repository > > Modified files: > sys/i386/i386 mp_machdep.c > sys/i386/include smptests.h > sys/i386/isa cy.c > sys/kern subr_witness.c > Log: > Localized the cy driver's locking. Thanks. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Mon Nov 17 10:22:25 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06DE316A4CE; Mon, 17 Nov 2003 10:22:25 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B2EC43FB1; Mon, 17 Nov 2003 10:22:24 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHIMOXJ038960; Mon, 17 Nov 2003 10:22:24 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHIMOr1038959; Mon, 17 Nov 2003 10:22:24 -0800 (PST) (envelope-from alc) Message-Id: <200311171822.hAHIMOr1038959@repoman.freebsd.org> From: Alan Cox Date: Mon, 17 Nov 2003 10:22:24 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/include sf_buf.h src/sys/i386/i386 vm_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 18:22:25 -0000 alc 2003/11/17 10:22:24 PST FreeBSD src repository Modified files: sys/i386/include sf_buf.h sys/i386/i386 vm_machdep.c Log: - Change the i386's sf_buf implementation so that it never allocates more than one sf_buf for one vm_page. To accomplish this, we add a global hash table mapping vm_pages to sf_bufs and a reference count to each sf_buf. (This is similar to the patches for RELENG_4 at http://www.cs.princeton.edu/~yruan/debox/.) For the uninitiated, an sf_buf is nothing more than a kernel virtual address that is used for temporary virtual-to-physical mappings by sendfile(2) and zero-copy sockets. As such, there is no reason for one vm_page to have several sf_bufs mapping it. In fact, using more than one sf_buf for a single vm_page increases the likelihood that sendfile(2) blocks, hurting throughput. (See http://www.cs.princeton.edu/~yruan/debox/.) Revision Changes Path 1.219 +48 -26 src/sys/i386/i386/vm_machdep.c 1.2 +2 -1 src/sys/i386/include/sf_buf.h From owner-cvs-src@FreeBSD.ORG Mon Nov 17 10:57:22 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E19416A4CE; Mon, 17 Nov 2003 10:57:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C91343FE1; Mon, 17 Nov 2003 10:57:21 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHIvLXJ040250; Mon, 17 Nov 2003 10:57:21 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHIvLch040249; Mon, 17 Nov 2003 10:57:21 -0800 (PST) (envelope-from rwatson) Message-Id: <200311171857.hAHIvLch040249@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 10:57:21 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_getcwd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 18:57:22 -0000 rwatson 2003/11/17 10:57:21 PST FreeBSD src repository Modified files: sys/compat/linux linux_getcwd.c Log: Add a MAC check for VOP_LOOKUP() in the Linux getwcd() implementation. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.14 +5 -1 src/sys/compat/linux/linux_getcwd.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 11:02:19 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7F4316A4CF; Mon, 17 Nov 2003 11:02:19 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B685E43F93; Mon, 17 Nov 2003 11:02:18 -0800 (PST) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHJ2IXJ040535; Mon, 17 Nov 2003 11:02:18 -0800 (PST) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHJ2IUu040534; Mon, 17 Nov 2003 11:02:18 -0800 (PST) (envelope-from sam) Message-Id: <200311171902.hAHJ2IUu040534@repoman.freebsd.org> From: Sam Leffler Date: Mon, 17 Nov 2003 11:02:18 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 19:02:19 -0000 sam 2003/11/17 11:02:18 PST FreeBSD src repository Modified files: sys/dev/ath if_ath.c Log: on a beacon miss try to reassociate before starting a scan Submitted by: Henry Qian Revision Changes Path 1.33 +9 -2 src/sys/dev/ath/if_ath.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 11:12:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 359DA16A4CE; Mon, 17 Nov 2003 11:12:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 349C143FCB; Mon, 17 Nov 2003 11:12:53 -0800 (PST) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHJCrXJ041931; Mon, 17 Nov 2003 11:12:53 -0800 (PST) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHJCqpm041930; Mon, 17 Nov 2003 11:12:52 -0800 (PST) (envelope-from sam) Message-Id: <200311171912.hAHJCqpm041930@repoman.freebsd.org> From: Sam Leffler Date: Mon, 17 Nov 2003 11:12:52 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 19:12:54 -0000 sam 2003/11/17 11:12:52 PST FreeBSD src repository Modified files: sys/dev/ath if_ath.c Log: o fix WEP use in hostap mode; need to reset the pointer to the 802.11 packet header after stripping the WEP header on input Revision Changes Path 1.34 +2 -1 src/sys/dev/ath/if_ath.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 11:13:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7C0316A4CF; Mon, 17 Nov 2003 11:13:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EB9E43FBF; Mon, 17 Nov 2003 11:13:03 -0800 (PST) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHJD3XJ041966; Mon, 17 Nov 2003 11:13:03 -0800 (PST) (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHJD1lf041965; Mon, 17 Nov 2003 11:13:01 -0800 (PST) (envelope-from ru) Message-Id: <200311171913.hAHJD1lf041965@repoman.freebsd.org> From: Ruslan Ermilov Date: Mon, 17 Nov 2003 11:13:01 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_eiface.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 19:13:04 -0000 ru 2003/11/17 11:13:01 PST FreeBSD src repository Modified files: sys/netgraph ng_eiface.c Log: Check the correct set of interface flags and fix a memory leak. Reviewed by: harti Revision Changes Path 1.10 +2 -1 src/sys/netgraph/ng_eiface.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 11:13:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23B1F16A4E6; Mon, 17 Nov 2003 11:13:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1F7543FF3; Mon, 17 Nov 2003 11:13:44 -0800 (PST) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHJDiXJ042050; Mon, 17 Nov 2003 11:13:44 -0800 (PST) (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHJDiJm042049; Mon, 17 Nov 2003 11:13:44 -0800 (PST) (envelope-from ru) Message-Id: <200311171913.hAHJDiJm042049@repoman.freebsd.org> From: Ruslan Ermilov Date: Mon, 17 Nov 2003 11:13:44 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_etf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 19:13:46 -0000 ru 2003/11/17 11:13:44 PST FreeBSD src repository Modified files: sys/netgraph ng_etf.c Log: Fixed two memory leaks. Reviewed by: harti Revision Changes Path 1.3 +3 -1 src/sys/netgraph/ng_etf.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 11:15:10 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D40316A4CF; Mon, 17 Nov 2003 11:15:10 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 730AF43F93; Mon, 17 Nov 2003 11:15:09 -0800 (PST) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHJF9XJ042195; Mon, 17 Nov 2003 11:15:09 -0800 (PST) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHJF9Rg042194; Mon, 17 Nov 2003 11:15:09 -0800 (PST) (envelope-from sam) Message-Id: <200311171915.hAHJF9Rg042194@repoman.freebsd.org> From: Sam Leffler Date: Mon, 17 Nov 2003 11:15:09 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 19:15:10 -0000 sam 2003/11/17 11:15:09 PST FreeBSD src repository Modified files: sys/dev/ath if_ath.c Log: move rate control change messages under ath_debug Revision Changes Path 1.35 +2 -2 src/sys/dev/ath/if_ath.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 11:21:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E844716A4CE; Mon, 17 Nov 2003 11:21:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E30E43FDF; Mon, 17 Nov 2003 11:21:54 -0800 (PST) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHJLsXJ042565; Mon, 17 Nov 2003 11:21:54 -0800 (PST) (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHJLr3f042564; Mon, 17 Nov 2003 11:21:53 -0800 (PST) (envelope-from cognet) Message-Id: <200311171921.hAHJLr3f042564@repoman.freebsd.org> From: Olivier Houchard Date: Mon, 17 Nov 2003 11:21:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet raw_ip.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 19:21:55 -0000 cognet 2003/11/17 11:21:53 PST FreeBSD src repository Modified files: sys/netinet raw_ip.c Log: In rip_abort(), unlock the inpcb if we didn't detach it, or we may recurse on the lock before destroying the mutex. Submitted by: sam Revision Changes Path 1.120 +2 -0 src/sys/netinet/raw_ip.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 11:48:36 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8869A16A4CE; Mon, 17 Nov 2003 11:48:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F162843F75; Mon, 17 Nov 2003 11:48:35 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHJmZXJ044148; Mon, 17 Nov 2003 11:48:35 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHJmZYo044147; Mon, 17 Nov 2003 11:48:35 -0800 (PST) (envelope-from rwatson) Message-Id: <200311171948.hAHJmZYo044147@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 11:48:35 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/posix1e mac.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 19:48:36 -0000 rwatson 2003/11/17 11:48:35 PST FreeBSD src repository Modified files: lib/libc/posix1e mac.c Log: Staticize label_default_head to prevent it from leaking out of mac.c. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.11 +1 -1 src/lib/libc/posix1e/mac.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 12:03:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA29D16A4CF for ; Mon, 17 Nov 2003 12:03:05 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id B83A243FDF for ; Mon, 17 Nov 2003 12:03:02 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 14513 invoked from network); 17 Nov 2003 20:03:01 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 17 Nov 2003 20:03:01 -0000 X-pair-Authenticated: 209.68.2.70 Date: Mon, 17 Nov 2003 14:03:00 -0600 (CST) From: Mike Silbersack To: Alan Cox In-Reply-To: <200311171822.hAHIMOr1038959@repoman.freebsd.org> Message-ID: <20031117140117.T3229@odysseus.silby.com> References: <200311171822.hAHIMOr1038959@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include sf_buf.h src/sys/i386/i386 vm_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 20:03:06 -0000 On Mon, 17 Nov 2003, Alan Cox wrote: > alc 2003/11/17 10:22:24 PST > > FreeBSD src repository > > Modified files: > sys/i386/include sf_buf.h > sys/i386/i386 vm_machdep.c > Log: > - Change the i386's sf_buf implementation so that it never allocates > more than one sf_buf for one vm_page. To accomplish this, we add > a global hash table mapping vm_pages to sf_bufs and a reference > count to each sf_buf. (This is similar to the patches for RELENG_4 > at http://www.cs.princeton.edu/~yruan/debox/.) Cool! I should have the other two parts of the DeBox patch finished up within a week, so it sounds like 5.2 will really have turbocharged sendfile support. :) Mike "Silby" Silbersack From owner-cvs-src@FreeBSD.ORG Mon Nov 17 12:20:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53DE616A4CE; Mon, 17 Nov 2003 12:20:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9A0D43FAF; Mon, 17 Nov 2003 12:20:54 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHKKsXJ046540; Mon, 17 Nov 2003 12:20:54 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHKKsFq046539; Mon, 17 Nov 2003 12:20:54 -0800 (PST) (envelope-from rwatson) Message-Id: <200311172020.hAHKKsFq046539@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 12:20:54 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_prot.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 20:20:55 -0000 rwatson 2003/11/17 12:20:54 PST FreeBSD src repository Modified files: sys/kern kern_prot.c Log: Add a sysctl, security.bsd.see_other_gids, similar in semantics to see_other_uids but with the logical conversion. This is based on (but not identical to) the patch submitted by Samy Al Bahra. Submitted by: Samy Al Bahra Revision Changes Path 1.178 +51 -2 src/sys/kern/kern_prot.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 13:02:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A438F16A4CE; Mon, 17 Nov 2003 13:02:18 -0800 (PST) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC66043F75; Mon, 17 Nov 2003 13:02:17 -0800 (PST) (envelope-from wes@softweyr.com) Received: from salty.rapid.stbernard.com (corp-2.ipinc.com [199.245.188.2]) by smtp-relay.omnis.com (Postfix) with ESMTP id 7BD4972DD3; Mon, 17 Nov 2003 13:01:25 -0800 (PST) From: Wes Peters Organization: Softweyr.com To: David Schultz , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Mon, 17 Nov 2003 13:01:45 -0800 User-Agent: KMail/1.5.2 References: <200311170639.hAH6dduA076667@repoman.freebsd.org> In-Reply-To: <200311170639.hAH6dduA076667@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311171301.45679.wes@softweyr.com> Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 21:02:18 -0000 On Sunday 16 November 2003 22:39, David Schultz wrote: > das 2003/11/16 22:39:39 PST > > FreeBSD src repository > > Modified files: > sbin/nologin Makefile > Added files: > sbin/nologin nologin.c > Removed files: > sbin/nologin nologin.sh > Log: > Reimplement nologin(8) as a C program. This allows us to > statically link it at low cost and avoid environment poisoning > attacks associated with LD_LIBRARY_PATH. I suppose adding the logging done by the sysutils/no-login port would make the program objectionably large. Sigh. Several times over the past five years I considering asking if we should just import my nologin and be done with it; each time I didn't pursue it because it wasn't worth the bikeshed. -- "Where am I, and what am I doing in this handbasket?" Wes Peters wes@softweyr.com From owner-cvs-src@FreeBSD.ORG Mon Nov 17 13:07:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 706F616A4CE; Mon, 17 Nov 2003 13:07:50 -0800 (PST) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id B88D043FBD; Mon, 17 Nov 2003 13:07:45 -0800 (PST) (envelope-from wes@softweyr.com) Received: from salty.rapid.stbernard.com (corp-2.ipinc.com [199.245.188.2]) by smtp-relay.omnis.com (Postfix) with ESMTP id 44D9D72D94; Mon, 17 Nov 2003 13:07:15 -0800 (PST) From: Wes Peters Organization: Softweyr.com To: David Schultz , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Mon, 17 Nov 2003 13:07:34 -0800 User-Agent: KMail/1.5.2 References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> In-Reply-To: <200311171301.45679.wes@softweyr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311171307.34933.wes@softweyr.com> Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 21:07:50 -0000 On Monday 17 November 2003 13:01, Wes Peters wrote: > On Sunday 16 November 2003 22:39, David Schultz wrote: > > das 2003/11/16 22:39:39 PST > > > > FreeBSD src repository > > > > Modified files: > > sbin/nologin Makefile > > Added files: > > sbin/nologin nologin.c > > Removed files: > > sbin/nologin nologin.sh > > Log: > > Reimplement nologin(8) as a C program. This allows us to > > statically link it at low cost and avoid environment poisoning > > attacks associated with LD_LIBRARY_PATH. > > I suppose adding the logging done by the sysutils/no-login port would > make the program objectionably large. Sigh. Several times over the > past five years I considering asking if we should just import my > nologin and be done with it; each time I didn't pursue it because it > wasn't worth the bikeshed. Sorry to follow up to myself, I just wanted to note that syslog and getopt don't seem to add much to the size of the executable: wpeters@salty> size nologin text data bss dec hex filename 1845 260 36 2141 85d nologin wpeters@salty> ls -l nologin -rwxr-xr-x 1 root wheel 5430 Nov 17 13:03 nologin* wpeters@salty> sudo strip nologin wpeters@salty> ls -l nologin -rwxr-xr-x 1 root wheel 3796 Nov 17 13:05 nologin* wpeters@salty> ldd nologin nologin: libc.so.5 => /usr/lib/libc.so.5 (0x2806b000) So this may be worth the bikeshed^W^Wconsidering after the thaw. Certainly not important enough to slushie. -- "Where am I, and what am I doing in this handbasket?" Wes Peters wes@softweyr.com From owner-cvs-src@FreeBSD.ORG Mon Nov 17 13:24:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AF8E16A4D0 for ; Mon, 17 Nov 2003 13:24:50 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEF0E43FEA for ; Mon, 17 Nov 2003 13:24:44 -0800 (PST) (envelope-from oppermann@pipeline.ch) Received: (qmail 50977 invoked from network); 17 Nov 2003 21:27:43 -0000 Received: from unknown (HELO pipeline.ch) ([62.48.0.53]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 17 Nov 2003 21:27:43 -0000 Message-ID: <3FB93C9A.CC5D187E@pipeline.ch> Date: Mon, 17 Nov 2003 22:24:42 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Mike Silbersack References: <200311171822.hAHIMOr1038959@repoman.freebsd.org> <20031117140117.T3229@odysseus.silby.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: Alan Cox cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include sf_buf.h src/sys/i386/i386 vm_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 21:24:50 -0000 Mike Silbersack wrote: > > On Mon, 17 Nov 2003, Alan Cox wrote: > > > alc 2003/11/17 10:22:24 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/i386/include sf_buf.h > > sys/i386/i386 vm_machdep.c > > Log: > > - Change the i386's sf_buf implementation so that it never allocates > > more than one sf_buf for one vm_page. To accomplish this, we add > > a global hash table mapping vm_pages to sf_bufs and a reference > > count to each sf_buf. (This is similar to the patches for RELENG_4 > > at http://www.cs.princeton.edu/~yruan/debox/.) > > Cool! > > I should have the other two parts of the DeBox patch finished up within a > week, so it sounds like 5.2 will really have turbocharged sendfile > support. :) Way cool! We should make a t-shirt for that ;-) -- Andre From owner-cvs-src@FreeBSD.ORG Mon Nov 17 13:51:31 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E76FB16A4CE; Mon, 17 Nov 2003 13:51:30 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id D597443FCB; Mon, 17 Nov 2003 13:51:27 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hAHLpPK0081054; Mon, 17 Nov 2003 22:51:25 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hAHLpKV5081053; Mon, 17 Nov 2003 22:51:20 +0100 (CET) (envelope-from marius) Date: Mon, 17 Nov 2003 22:51:20 +0100 From: Marius Strobl To: John Baldwin Message-ID: <20031117225120.D38259@newtrinity.zeist.de> References: <200311142102.hAEL2n3F073213@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@freebsd.org on Fri, Nov 14, 2003 at 04:21:44PM -0500 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.38 cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 21:51:31 -0000 On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: > > On 14-Nov-2003 John Baldwin wrote: > > jhb 2003/11/14 13:02:49 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/i386/isa atpic.c > > Log: > > Always install IDT entries for ATPIC interrupt sources. The APIC no > > longer uses these interrupt vectors for its ISA interrupt pins, so these > > entries will not be overwritten. If we get a spurious interrupt from the > > ATPIC when using the APIC, it will be treated as a stray interrupt instead > > of causing a panic. > > This should fix all of the "panic: Couldn't get vector from ISR" and > trap 30 (reserved) panics. If you were using older versions of either > spurious.patch or atpic.patch, please try reverting them and using > plain CVS to see if that fixes your problem. If not, please let me know. > If you get several stray IRQ 7 messages and would like to shut them up, > you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch > Unfortunately it doesn't fix the type 30 trap triggered by a spurious interrupt here (need atpic.patch). From owner-cvs-src@FreeBSD.ORG Mon Nov 17 13:52:39 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D46DE16A4CE for ; Mon, 17 Nov 2003 13:52:39 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B9F43FE0 for ; Mon, 17 Nov 2003 13:52:26 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 2264 invoked by uid 110); 17 Nov 2003 21:52:25 -0000 Received: (qmail 2226 invoked from network); 17 Nov 2003 21:52:24 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 21:52:24 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id DD8B75742F for ; Mon, 17 Nov 2003 13:52:10 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 9B41616A53A; Mon, 17 Nov 2003 13:52:04 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 7F1D716A4D2; Mon, 17 Nov 2003 13:52:03 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E76FB16A4CE; Mon, 17 Nov 2003 13:51:30 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id D597443FCB; Mon, 17 Nov 2003 13:51:27 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hAHLpPK0081054; Mon, 17 Nov 2003 22:51:25 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hAHLpKV5081053; Mon, 17 Nov 2003 22:51:20 +0100 (CET) (envelope-from marius) Date: Mon, 17 Nov 2003 22:51:20 +0100 From: Marius Strobl To: John Baldwin Message-ID: <20031117225120.D38259@newtrinity.zeist.de> References: <200311142102.hAEL2n3F073213@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@freebsd.org on Fri, Nov 14, 2003 at 04:21:44PM -0500 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.38 Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 21:52:39 -0000 On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: > > On 14-Nov-2003 John Baldwin wrote: > > jhb 2003/11/14 13:02:49 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/i386/isa atpic.c > > Log: > > Always install IDT entries for ATPIC interrupt sources. The APIC no > > longer uses these interrupt vectors for its ISA interrupt pins, so these > > entries will not be overwritten. If we get a spurious interrupt from the > > ATPIC when using the APIC, it will be treated as a stray interrupt instead > > of causing a panic. > > This should fix all of the "panic: Couldn't get vector from ISR" and > trap 30 (reserved) panics. If you were using older versions of either > spurious.patch or atpic.patch, please try reverting them and using > plain CVS to see if that fixes your problem. If not, please let me know. > If you get several stray IRQ 7 messages and would like to shut them up, > you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch > Unfortunately it doesn't fix the type 30 trap triggered by a spurious interrupt here (need atpic.patch). From owner-cvs-src@FreeBSD.ORG Mon Nov 17 14:53:37 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D98A616A4D0 for ; Mon, 17 Nov 2003 14:53:37 -0800 (PST) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC8E243FB1 for ; Mon, 17 Nov 2003 14:53:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 28781 invoked from network); 17 Nov 2003 22:53:33 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 17 Nov 2003 22:53:33 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAHMrGFn014211; Mon, 17 Nov 2003 17:53:18 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031117225120.D38259@newtrinity.zeist.de> Date: Mon, 17 Nov 2003 17:53:14 -0500 (EST) From: John Baldwin To: Marius Strobl X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 22:53:38 -0000 On 17-Nov-2003 Marius Strobl wrote: > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: >> >> On 14-Nov-2003 John Baldwin wrote: >> > jhb 2003/11/14 13:02:49 PST >> > >> > FreeBSD src repository >> > >> > Modified files: >> > sys/i386/isa atpic.c >> > Log: >> > Always install IDT entries for ATPIC interrupt sources. The APIC no >> > longer uses these interrupt vectors for its ISA interrupt pins, so these >> > entries will not be overwritten. If we get a spurious interrupt from the >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead >> > of causing a panic. >> >> This should fix all of the "panic: Couldn't get vector from ISR" and >> trap 30 (reserved) panics. If you were using older versions of either >> spurious.patch or atpic.patch, please try reverting them and using >> plain CVS to see if that fixes your problem. If not, please let me know. >> If you get several stray IRQ 7 messages and would like to shut them up, >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch >> > > Unfortunately it doesn't fix the type 30 trap triggered by a spurious > interrupt here (need atpic.patch). Do you get the trap very early? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Mon Nov 17 14:54:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E6F216A4D0 for ; Mon, 17 Nov 2003 14:54:26 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F46543FBF for ; Mon, 17 Nov 2003 14:54:20 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 19219 invoked by uid 110); 17 Nov 2003 22:54:19 -0000 Received: (qmail 19204 invoked from network); 17 Nov 2003 22:54:18 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 22:54:18 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 446CF57A0F for ; Mon, 17 Nov 2003 14:54:15 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id B609416A4EE; Mon, 17 Nov 2003 14:54:11 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id F245616A4CF; Mon, 17 Nov 2003 14:54:09 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEF5A16A4D2 for ; Mon, 17 Nov 2003 14:53:37 -0800 (PST) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC3F043F85 for ; Mon, 17 Nov 2003 14:53:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 28781 invoked from network); 17 Nov 2003 22:53:33 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 17 Nov 2003 22:53:33 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAHMrGFn014211; Mon, 17 Nov 2003 17:53:18 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031117225120.D38259@newtrinity.zeist.de> Date: Mon, 17 Nov 2003 17:53:14 -0500 (EST) From: John Baldwin To: Marius Strobl X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 22:54:26 -0000 On 17-Nov-2003 Marius Strobl wrote: > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: >> >> On 14-Nov-2003 John Baldwin wrote: >> > jhb 2003/11/14 13:02:49 PST >> > >> > FreeBSD src repository >> > >> > Modified files: >> > sys/i386/isa atpic.c >> > Log: >> > Always install IDT entries for ATPIC interrupt sources. The APIC no >> > longer uses these interrupt vectors for its ISA interrupt pins, so these >> > entries will not be overwritten. If we get a spurious interrupt from the >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead >> > of causing a panic. >> >> This should fix all of the "panic: Couldn't get vector from ISR" and >> trap 30 (reserved) panics. If you were using older versions of either >> spurious.patch or atpic.patch, please try reverting them and using >> plain CVS to see if that fixes your problem. If not, please let me know. >> If you get several stray IRQ 7 messages and would like to shut them up, >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch >> > > Unfortunately it doesn't fix the type 30 trap triggered by a spurious > interrupt here (need atpic.patch). Do you get the trap very early? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Mon Nov 17 14:58:58 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B14F016A4CE; Mon, 17 Nov 2003 14:58:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 273C543F75; Mon, 17 Nov 2003 14:58:58 -0800 (PST) (envelope-from anholt@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHMwvXJ060888; Mon, 17 Nov 2003 14:58:57 -0800 (PST) (envelope-from anholt@repoman.freebsd.org) Received: (from anholt@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHMwvpd060887; Mon, 17 Nov 2003 14:58:57 -0800 (PST) (envelope-from anholt) Message-Id: <200311172258.hAHMwvpd060887@repoman.freebsd.org> From: Eric Anholt Date: Mon, 17 Nov 2003 14:58:57 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/compat/linux linux_stats.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 22:58:58 -0000 anholt 2003/11/17 14:58:57 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/compat/linux linux_stats.c Log: MFC: r1.56 (Prevent leaking fsid to non-root in linux compat). Revision Changes Path 1.22.2.4 +14 -4 src/sys/compat/linux/linux_stats.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 14:59:43 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F3E716A4D0 for ; Mon, 17 Nov 2003 14:59:43 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BDCC43FA3 for ; Mon, 17 Nov 2003 14:59:37 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 21126 invoked by uid 110); 17 Nov 2003 22:59:37 -0000 Received: (qmail 21072 invoked from network); 17 Nov 2003 22:59:33 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 22:59:33 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 1CA8B57377 for ; Mon, 17 Nov 2003 14:59:33 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id CAA2316A514; Mon, 17 Nov 2003 14:59:30 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id A988716A4D0; Mon, 17 Nov 2003 14:59:29 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B14F016A4CE; Mon, 17 Nov 2003 14:58:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 273C543F75; Mon, 17 Nov 2003 14:58:58 -0800 (PST) (envelope-from anholt@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHMwvXJ060888; Mon, 17 Nov 2003 14:58:57 -0800 (PST) (envelope-from anholt@repoman.freebsd.org) Received: (from anholt@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHMwvpd060887; Mon, 17 Nov 2003 14:58:57 -0800 (PST) (envelope-from anholt) Message-Id: <200311172258.hAHMwvpd060887@repoman.freebsd.org> From: Eric Anholt Date: Mon, 17 Nov 2003 14:58:57 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/compat/linux linux_stats.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 22:59:43 -0000 anholt 2003/11/17 14:58:57 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/compat/linux linux_stats.c Log: MFC: r1.56 (Prevent leaking fsid to non-root in linux compat). Revision Changes Path 1.22.2.4 +14 -4 src/sys/compat/linux/linux_stats.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:02:22 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0C2B16A4CE; Mon, 17 Nov 2003 15:02:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D76D43F85; Mon, 17 Nov 2003 15:02:22 -0800 (PST) (envelope-from markm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHN2LXJ061071; Mon, 17 Nov 2003 15:02:21 -0800 (PST) (envelope-from markm@repoman.freebsd.org) Received: (from markm@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHN2LSu061069; Mon, 17 Nov 2003 15:02:21 -0800 (PST) (envelope-from markm) Message-Id: <200311172302.hAHN2LSu061069@repoman.freebsd.org> From: Mark Murray Date: Mon, 17 Nov 2003 15:02:21 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:02:22 -0000 markm 2003/11/17 15:02:21 PST FreeBSD src repository Modified files: sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c Log: Overhaul the entropy device: o Each source gets its own queue, which is a FIFO, not a ring buffer. The FIFOs are implemented with the sys/queue.h macros. The separation is so that a low entropy/high rate source can't swamp the harvester with low-grade entropy and destroy the reseeds. o Each FIFO is limited to 256 (set as a macro, so adjustable) events queueable. Full FIFOs are ignored by the harvester. This is to prevent memory wastage, and helps to keep the kernel thread CPU usage within reasonable limits. o There is no need to break up the event harvesting into ${burst} sized chunks, so retire that feature. o Break the device away from its roots with the memory device, and allow it to get its major number automagically. Revision Changes Path 1.21 +5 -5 src/sys/dev/random/harvest.c 1.11 +1 -1 src/sys/dev/random/hash.c 1.45 +92 -101 src/sys/dev/random/randomdev.c 1.4 +4 -1 src/sys/dev/random/randomdev.h 1.43 +3 -19 src/sys/dev/random/yarrow.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:03:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D00216A4D0 for ; Mon, 17 Nov 2003 15:03:05 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BD7143FD7 for ; Mon, 17 Nov 2003 15:02:59 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 22995 invoked by uid 110); 17 Nov 2003 23:02:59 -0000 Received: (qmail 22975 invoked from network); 17 Nov 2003 23:02:58 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 23:02:58 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 5B1A757A46 for ; Mon, 17 Nov 2003 15:02:58 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 02D9116A52A; Mon, 17 Nov 2003 15:02:55 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id C911C16A4D0; Mon, 17 Nov 2003 15:02:53 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0C2B16A4CE; Mon, 17 Nov 2003 15:02:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D76D43F85; Mon, 17 Nov 2003 15:02:22 -0800 (PST) (envelope-from markm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHN2LXJ061071; Mon, 17 Nov 2003 15:02:21 -0800 (PST) (envelope-from markm@repoman.freebsd.org) Received: (from markm@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHN2LSu061069; Mon, 17 Nov 2003 15:02:21 -0800 (PST) (envelope-from markm) Message-Id: <200311172302.hAHN2LSu061069@repoman.freebsd.org> From: Mark Murray Date: Mon, 17 Nov 2003 15:02:21 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:03:05 -0000 markm 2003/11/17 15:02:21 PST FreeBSD src repository Modified files: sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c Log: Overhaul the entropy device: o Each source gets its own queue, which is a FIFO, not a ring buffer. The FIFOs are implemented with the sys/queue.h macros. The separation is so that a low entropy/high rate source can't swamp the harvester with low-grade entropy and destroy the reseeds. o Each FIFO is limited to 256 (set as a macro, so adjustable) events queueable. Full FIFOs are ignored by the harvester. This is to prevent memory wastage, and helps to keep the kernel thread CPU usage within reasonable limits. o There is no need to break up the event harvesting into ${burst} sized chunks, so retire that feature. o Break the device away from its roots with the memory device, and allow it to get its major number automagically. Revision Changes Path 1.21 +5 -5 src/sys/dev/random/harvest.c 1.11 +1 -1 src/sys/dev/random/hash.c 1.45 +92 -101 src/sys/dev/random/randomdev.c 1.4 +4 -1 src/sys/dev/random/randomdev.h 1.43 +3 -19 src/sys/dev/random/yarrow.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:13:09 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E29EE16A4CE; Mon, 17 Nov 2003 15:13:09 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B3243F75; Mon, 17 Nov 2003 15:13:09 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHND9XJ062407; Mon, 17 Nov 2003 15:13:09 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHND9hj062406; Mon, 17 Nov 2003 15:13:09 -0800 (PST) (envelope-from bde) Message-Id: <200311172313.hAHND9hj062406@repoman.freebsd.org> From: Bruce Evans Date: Mon, 17 Nov 2003 15:13:09 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pc98/pc98 sio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:13:10 -0000 bde 2003/11/17 15:13:09 PST FreeBSD src repository Modified files: sys/pc98/pc98 sio.c Log: Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416. Approved by: nyan (Blanket approval for simple changes in sio.) Revision Changes Path 1.197 +13 -10 src/sys/pc98/pc98/sio.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:14:02 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66CC916A4CE for ; Mon, 17 Nov 2003 15:14:02 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id F196243FCB for ; Mon, 17 Nov 2003 15:13:58 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 27488 invoked by uid 110); 17 Nov 2003 23:13:58 -0000 Received: (qmail 27475 invoked from network); 17 Nov 2003 23:13:58 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 23:13:58 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 8C9BB5731E for ; Mon, 17 Nov 2003 15:13:49 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 504C716A4E7; Mon, 17 Nov 2003 15:13:43 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 162C516A4D0; Mon, 17 Nov 2003 15:13:42 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E29EE16A4CE; Mon, 17 Nov 2003 15:13:09 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B3243F75; Mon, 17 Nov 2003 15:13:09 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHND9XJ062407; Mon, 17 Nov 2003 15:13:09 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHND9hj062406; Mon, 17 Nov 2003 15:13:09 -0800 (PST) (envelope-from bde) Message-Id: <200311172313.hAHND9hj062406@repoman.freebsd.org> From: Bruce Evans Date: Mon, 17 Nov 2003 15:13:09 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/pc98/pc98 sio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:14:02 -0000 bde 2003/11/17 15:13:09 PST FreeBSD src repository Modified files: sys/pc98/pc98 sio.c Log: Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416. Approved by: nyan (Blanket approval for simple changes in sio.) Revision Changes Path 1.197 +13 -10 src/sys/pc98/pc98/sio.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:25:07 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9ECA16A4CE; Mon, 17 Nov 2003 15:25:07 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-123-40-77.dsl.pltn13.pacbell.net [68.123.40.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9673343FD7; Mon, 17 Nov 2003 15:25:02 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.9/8.12.9) with ESMTP id hAHNNHen056133; Mon, 17 Nov 2003 15:23:17 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.9/8.12.9/Submit) id hAHNNHw2056132; Mon, 17 Nov 2003 15:23:17 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Mon, 17 Nov 2003 15:23:16 -0800 From: David Schultz To: Wes Peters Message-ID: <20031117232316.GA56085@VARK.homeunix.com> Mail-Followup-To: Wes Peters , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311171301.45679.wes@softweyr.com> cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:25:08 -0000 On Mon, Nov 17, 2003, Wes Peters wrote: > On Sunday 16 November 2003 22:39, David Schultz wrote: > > das 2003/11/16 22:39:39 PST > > > > FreeBSD src repository > > > > Modified files: > > sbin/nologin Makefile > > Added files: > > sbin/nologin nologin.c > > Removed files: > > sbin/nologin nologin.sh > > Log: > > Reimplement nologin(8) as a C program. This allows us to > > statically link it at low cost and avoid environment poisoning > > attacks associated with LD_LIBRARY_PATH. > > I suppose adding the logging done by the sysutils/no-login port would > make the program objectionably large. Sigh. Several times over the > past five years I considering asking if we should just import my > nologin and be done with it; each time I didn't pursue it because it > wasn't worth the bikeshed. I was only interested in fixing the recently introduced security hole; I didn't bother trying to add new features at the same time. Logging would be a nice enhancement, though. Personally, I don't think that a few kilobytes of disk space are a reasonable concern, except for embedded systems that don't use nologin anyway. If nologin(8) were moved to /usr/sbin, perhaps people would be more willing to accept the increased footprint. After all, there is no real reason for it to be in /sbin; it isn't required in order to log in or mount /usr. ;-) From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:25:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0087516A4CF; Mon, 17 Nov 2003 15:25:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B74443FCB; Mon, 17 Nov 2003 15:25:17 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHNPHXJ062967; Mon, 17 Nov 2003 15:25:17 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHNPHSj062966; Mon, 17 Nov 2003 15:25:17 -0800 (PST) (envelope-from rwatson) Message-Id: <200311172325.hAHNPHSj062966@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 15:25:17 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src UPDATING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:25:18 -0000 rwatson 2003/11/17 15:25:17 PST FreeBSD src repository Modified files: . UPDATING Log: Clarify UPDATING language: do buildworld before buildkernel, and do installkernel before installworld, rather than don't make world before installkernel. Pointed out by: gad Revision Changes Path 1.282 +4 -4 src/UPDATING From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:25:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E6A416A4D0 for ; Mon, 17 Nov 2003 15:25:55 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35E7343FCB for ; Mon, 17 Nov 2003 15:25:49 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 32189 invoked by uid 110); 17 Nov 2003 23:25:48 -0000 Received: (qmail 32173 invoked from network); 17 Nov 2003 23:25:47 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 23:25:47 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id E211A567A8 for ; Mon, 17 Nov 2003 15:25:44 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id D5FE516A513; Mon, 17 Nov 2003 15:25:41 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 2FCBA16A4D1; Mon, 17 Nov 2003 15:25:40 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9ECA16A4CE; Mon, 17 Nov 2003 15:25:07 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-123-40-77.dsl.pltn13.pacbell.net [68.123.40.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9673343FD7; Mon, 17 Nov 2003 15:25:02 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.9/8.12.9) with ESMTP id hAHNNHen056133; Mon, 17 Nov 2003 15:23:17 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.9/8.12.9/Submit) id hAHNNHw2056132; Mon, 17 Nov 2003 15:23:17 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Mon, 17 Nov 2003 15:23:16 -0800 From: David Schultz To: Wes Peters Message-ID: <20031117232316.GA56085@VARK.homeunix.com> Mail-Followup-To: Wes Peters , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311171301.45679.wes@softweyr.com> Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:25:55 -0000 On Mon, Nov 17, 2003, Wes Peters wrote: > On Sunday 16 November 2003 22:39, David Schultz wrote: > > das 2003/11/16 22:39:39 PST > > > > FreeBSD src repository > > > > Modified files: > > sbin/nologin Makefile > > Added files: > > sbin/nologin nologin.c > > Removed files: > > sbin/nologin nologin.sh > > Log: > > Reimplement nologin(8) as a C program. This allows us to > > statically link it at low cost and avoid environment poisoning > > attacks associated with LD_LIBRARY_PATH. > > I suppose adding the logging done by the sysutils/no-login port would > make the program objectionably large. Sigh. Several times over the > past five years I considering asking if we should just import my > nologin and be done with it; each time I didn't pursue it because it > wasn't worth the bikeshed. I was only interested in fixing the recently introduced security hole; I didn't bother trying to add new features at the same time. Logging would be a nice enhancement, though. Personally, I don't think that a few kilobytes of disk space are a reasonable concern, except for embedded systems that don't use nologin anyway. If nologin(8) were moved to /usr/sbin, perhaps people would be more willing to accept the increased footprint. After all, there is no real reason for it to be in /sbin; it isn't required in order to log in or mount /usr. ;-) From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:26:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E07FA16A4CF for ; Mon, 17 Nov 2003 15:26:28 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A3F143FEA for ; Mon, 17 Nov 2003 15:26:25 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 32482 invoked by uid 110); 17 Nov 2003 23:26:24 -0000 Received: (qmail 32425 invoked from network); 17 Nov 2003 23:26:23 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 23:26:23 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 8BA2256BEC for ; Mon, 17 Nov 2003 15:26:17 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 4F49516A54E; Mon, 17 Nov 2003 15:26:13 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id D5B5C16A4E1; Mon, 17 Nov 2003 15:26:11 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0087516A4CF; Mon, 17 Nov 2003 15:25:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B74443FCB; Mon, 17 Nov 2003 15:25:17 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAHNPHXJ062967; Mon, 17 Nov 2003 15:25:17 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAHNPHSj062966; Mon, 17 Nov 2003 15:25:17 -0800 (PST) (envelope-from rwatson) Message-Id: <200311172325.hAHNPHSj062966@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 15:25:17 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src UPDATING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:26:29 -0000 rwatson 2003/11/17 15:25:17 PST FreeBSD src repository Modified files: . UPDATING Log: Clarify UPDATING language: do buildworld before buildkernel, and do installkernel before installworld, rather than don't make world before installkernel. Pointed out by: gad Revision Changes Path 1.282 +4 -4 src/UPDATING From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:32:42 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25A2816A4CF; Mon, 17 Nov 2003 15:32:42 -0800 (PST) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D50043FB1; Mon, 17 Nov 2003 15:32:40 -0800 (PST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (udsl-3-062.QLD.dft.com.au [202.168.108.62])hAHNWZZ6020765; Tue, 18 Nov 2003 10:32:36 +1100 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.1])hAHNWYUR039691; Tue, 18 Nov 2003 09:32:35 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Tue, 18 Nov 2003 09:32:34 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: Robert Watson In-Reply-To: <200311172325.hAHNPHSj062966@repoman.freebsd.org> Message-ID: <20031118093053.I30811@hewey.af.speednet.com.au> References: <200311172325.hAHNPHSj062966@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src UPDATING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:32:42 -0000 I'm starting to receive two copies of each email sent to cvs-all. Did something change? -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:33:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA20B16A4CE for ; Mon, 17 Nov 2003 15:33:27 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0F8D43FE1 for ; Mon, 17 Nov 2003 15:33:21 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 34459 invoked by uid 110); 17 Nov 2003 23:33:20 -0000 Received: (qmail 34432 invoked from network); 17 Nov 2003 23:33:19 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 23:33:19 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id C552455AAB for ; Mon, 17 Nov 2003 15:33:18 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 1ED8216A529; Mon, 17 Nov 2003 15:33:15 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 066E016A4D0; Mon, 17 Nov 2003 15:33:14 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25A2816A4CF; Mon, 17 Nov 2003 15:32:42 -0800 (PST) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D50043FB1; Mon, 17 Nov 2003 15:32:40 -0800 (PST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (udsl-3-062.QLD.dft.com.au [202.168.108.62])hAHNWZZ6020765; Tue, 18 Nov 2003 10:32:36 +1100 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.1])hAHNWYUR039691; Tue, 18 Nov 2003 09:32:35 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Tue, 18 Nov 2003 09:32:34 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: Robert Watson In-Reply-To: <200311172325.hAHNPHSj062966@repoman.freebsd.org> Message-ID: <20031118093053.I30811@hewey.af.speednet.com.au> References: <200311172325.hAHNPHSj062966@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src UPDATING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:33:28 -0000 I'm starting to receive two copies of each email sent to cvs-all. Did something change? -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:49:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5692816A4CF; Mon, 17 Nov 2003 15:49:49 -0800 (PST) Received: from mail1.zer0.org (klapaucius.zer0.org [204.152.186.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4414943F85; Mon, 17 Nov 2003 15:49:48 -0800 (PST) (envelope-from gsutter@zer0.org) Received: by mail1.zer0.org (Postfix, from userid 1001) id 0D5CC239A0E; Mon, 17 Nov 2003 15:49:48 -0800 (PST) Date: Mon, 17 Nov 2003 15:49:47 -0800 From: Gregory Sutter To: David Schultz Message-ID: <20031117234947.GQ98272@klapaucius.zer0.org> References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V7BlxAaPrdhzdIM1" Content-Disposition: inline In-Reply-To: <200311171301.45679.wes@softweyr.com> Organization: Zer0 X-Purpose: For great justice! Mail-Copies-To: poster X-PGP-Fingerprint: D161 E4EA 4BFA 2427 F3F9 5B1F 2015 31D5 845D FEDD X-PGP-Key: http://zer0.org/~gsutter/gsutter.pgp X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.4i cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:49:49 -0000 --V7BlxAaPrdhzdIM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003-11-17 13:01 -0800, Wes Peters wrote: > On Sunday 16 November 2003 22:39, David Schultz wrote: > > das 2003/11/16 22:39:39 PST > > > > FreeBSD src repository > > > > Modified files: > > sbin/nologin Makefile > > Added files: > > sbin/nologin nologin.c > > Removed files: > > sbin/nologin nologin.sh > > Log: > > Reimplement nologin(8) as a C program. This allows us to > > statically link it at low cost and avoid environment poisoning > > attacks associated with LD_LIBRARY_PATH. >=20 > I suppose adding the logging done by the sysutils/no-login port would=20 > make the program objectionably large. Sigh. Several times over the=20 > past five years I considering asking if we should just import my=20 > nologin and be done with it; each time I didn't pursue it because it=20 > wasn't worth the bikeshed. Wes's no-login port has been around for ages and works just great. Please just import it instead of creating yet another version without the logging capability of sysutils/no-login. Or add the syslog functionality to the new program. Thanks. Greg --=20 Gregory S. Sutter My reality check just bounced. mailto:gsutter@zer0.org=20 http://zer0.org/~gsutter/=20 --V7BlxAaPrdhzdIM1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQE/uV6bIBUx1YRd/t0RAhU2AJ0T3o6sLeuFp5yOJSMoHWOZDL/wagCcCfod Uksc0SN6lF4rGX5HS8qqc2Y= =VGih -----END PGP SIGNATURE----- --V7BlxAaPrdhzdIM1-- From owner-cvs-src@FreeBSD.ORG Mon Nov 17 15:51:23 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2621B16A4CF for ; Mon, 17 Nov 2003 15:51:23 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12D4A44014 for ; Mon, 17 Nov 2003 15:50:29 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 39160 invoked by uid 110); 17 Nov 2003 23:50:28 -0000 Received: (qmail 39147 invoked from network); 17 Nov 2003 23:50:27 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 17 Nov 2003 23:50:27 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 7253D56229 for ; Mon, 17 Nov 2003 15:50:26 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id BCCCE16A53B; Mon, 17 Nov 2003 15:50:21 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id D905A16A4D0; Mon, 17 Nov 2003 15:50:20 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5692816A4CF; Mon, 17 Nov 2003 15:49:49 -0800 (PST) Received: from mail1.zer0.org (klapaucius.zer0.org [204.152.186.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4414943F85; Mon, 17 Nov 2003 15:49:48 -0800 (PST) (envelope-from gsutter@zer0.org) Received: by mail1.zer0.org (Postfix, from userid 1001) id 0D5CC239A0E; Mon, 17 Nov 2003 15:49:48 -0800 (PST) Date: Mon, 17 Nov 2003 15:49:47 -0800 From: Gregory Sutter To: David Schultz Message-ID: <20031117234947.GQ98272@klapaucius.zer0.org> References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V7BlxAaPrdhzdIM1" Content-Disposition: inline In-Reply-To: <200311171301.45679.wes@softweyr.com> Organization: Zer0 X-Purpose: For great justice! Mail-Copies-To: poster X-PGP-Fingerprint: D161 E4EA 4BFA 2427 F3F9 5B1F 2015 31D5 845D FEDD X-PGP-Key: http://zer0.org/~gsutter/gsutter.pgp X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.4i Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: -8.0|10 cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 23:51:23 -0000 --V7BlxAaPrdhzdIM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003-11-17 13:01 -0800, Wes Peters wrote: > On Sunday 16 November 2003 22:39, David Schultz wrote: > > das 2003/11/16 22:39:39 PST > > > > FreeBSD src repository > > > > Modified files: > > sbin/nologin Makefile > > Added files: > > sbin/nologin nologin.c > > Removed files: > > sbin/nologin nologin.sh > > Log: > > Reimplement nologin(8) as a C program. This allows us to > > statically link it at low cost and avoid environment poisoning > > attacks associated with LD_LIBRARY_PATH. >=20 > I suppose adding the logging done by the sysutils/no-login port would=20 > make the program objectionably large. Sigh. Several times over the=20 > past five years I considering asking if we should just import my=20 > nologin and be done with it; each time I didn't pursue it because it=20 > wasn't worth the bikeshed. Wes's no-login port has been around for ages and works just great. Please just import it instead of creating yet another version without the logging capability of sysutils/no-login. Or add the syslog functionality to the new program. Thanks. Greg --=20 Gregory S. Sutter My reality check just bounced. mailto:gsutter@zer0.org=20 http://zer0.org/~gsutter/=20 --V7BlxAaPrdhzdIM1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQE/uV6bIBUx1YRd/t0RAhU2AJ0T3o6sLeuFp5yOJSMoHWOZDL/wagCcCfod Uksc0SN6lF4rGX5HS8qqc2Y= =VGih -----END PGP SIGNATURE----- --V7BlxAaPrdhzdIM1-- From owner-cvs-src@FreeBSD.ORG Mon Nov 17 16:36:42 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F72516A4CE; Mon, 17 Nov 2003 16:36:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8610843FBF; Mon, 17 Nov 2003 16:36:41 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI0afXJ081983; Mon, 17 Nov 2003 16:36:41 -0800 (PST) (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI0afpB081982; Mon, 17 Nov 2003 16:36:41 -0800 (PST) (envelope-from mckusick) Message-Id: <200311180036.hAI0afpB081982@repoman.freebsd.org> From: Kirk McKusick Date: Mon, 17 Nov 2003 16:36:40 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/dump dump.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 00:36:42 -0000 mckusick 2003/11/17 16:36:40 PST FreeBSD src repository Modified files: sbin/dump dump.8 Log: Document that the live dump command (`dump -L') creates its snapshot in the .snap directory in the root of the filesystem being dumped. Document that if the .snap directory is missing that it must be created manually and that it should be owned by user root and group operator and set to mode 770 before a live dump can be run. Revision Changes Path 1.61 +12 -1 src/sbin/dump/dump.8 From owner-cvs-src@FreeBSD.ORG Mon Nov 17 16:37:40 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2210716A4D0 for ; Mon, 17 Nov 2003 16:37:40 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FBAC43FAF for ; Mon, 17 Nov 2003 16:37:34 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 49551 invoked by uid 110); 18 Nov 2003 00:37:33 -0000 Received: (qmail 49527 invoked from network); 18 Nov 2003 00:37:30 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 00:37:30 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id C9678563C6 for ; Mon, 17 Nov 2003 16:37:20 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 9FBA216A531; Mon, 17 Nov 2003 16:37:15 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 18AFF16A4D0; Mon, 17 Nov 2003 16:37:14 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F72516A4CE; Mon, 17 Nov 2003 16:36:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8610843FBF; Mon, 17 Nov 2003 16:36:41 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI0afXJ081983; Mon, 17 Nov 2003 16:36:41 -0800 (PST) (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI0afpB081982; Mon, 17 Nov 2003 16:36:41 -0800 (PST) (envelope-from mckusick) Message-Id: <200311180036.hAI0afpB081982@repoman.freebsd.org> From: Kirk McKusick Date: Mon, 17 Nov 2003 16:36:40 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sbin/dump dump.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 00:37:40 -0000 mckusick 2003/11/17 16:36:40 PST FreeBSD src repository Modified files: sbin/dump dump.8 Log: Document that the live dump command (`dump -L') creates its snapshot in the .snap directory in the root of the filesystem being dumped. Document that if the .snap directory is missing that it must be created manually and that it should be owned by user root and group operator and set to mode 770 before a live dump can be run. Revision Changes Path 1.61 +12 -1 src/sbin/dump/dump.8 From owner-cvs-src@FreeBSD.ORG Mon Nov 17 16:39:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2E7316A4CE; Mon, 17 Nov 2003 16:39:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D02543F75; Mon, 17 Nov 2003 16:39:08 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI0d7XJ082502; Mon, 17 Nov 2003 16:39:07 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI0d7kd082501; Mon, 17 Nov 2003 16:39:07 -0800 (PST) (envelope-from rwatson) Message-Id: <200311180039.hAI0d7kd082501@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 16:39:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern uipc_socket2.c uipc_usrreq.c src/sys/modules/null Makefile src/sys/net raw_usrreq.c rtsock.c src/sys/netatalk ddp_usrreq.c src/sys/netatm atm_aal5.c atm_usrreq.c src/sys/netgraph ng_socket.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 00:39:09 -0000 rwatson 2003/11/17 16:39:07 PST FreeBSD src repository Modified files: sys/kern uipc_socket2.c uipc_usrreq.c sys/modules/null Makefile sys/net raw_usrreq.c rtsock.c sys/netatalk ddp_usrreq.c sys/netatm atm_aal5.c atm_usrreq.c sys/netgraph ng_socket.c sys/netgraph/bluetooth/socket ng_btsocket.c sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_input.c tcp_usrreq.c udp_usrreq.c sys/netinet6 raw_ip6.c udp6_usrreq.c sys/netipsec keysock.c sys/netipx ipx_usrreq.c spx_usrreq.c sys/netkey keysock.c sys/netnatm natm.c sys/security/mac mac_net.c sys/security/mac_biba mac_biba.c sys/security/mac_ifoff mac_ifoff.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c sys/sys mac.h mac_policy.h protosw.h Log: Introduce a MAC label reference in 'struct inpcb', which caches the MAC label referenced from 'struct socket' in the IPv4 and IPv6-based protocols. This permits MAC labels to be checked during network delivery operations without dereferencing inp->inp_socket to get to so->so_label, which will eventually avoid our having to grab the socket lock during delivery at the network layer. This change introduces 'struct inpcb' as a labeled object to the MAC Framework, along with the normal circus of entry points: initialization, creation from socket, destruction, as well as a delivery access control check. For most policies, the inpcb label will simply be a cache of the socket label, so a new protocol switch method is introduced, pr_sosetlabel() to notify protocols that the socket layer label has been updated so that the cache can be updated while holding appropriate locks. Most protocols implement this using pru_sosetlabel_null(), but IPv4/IPv6 protocols using inpcbs use the the worker function in_pcbsosetlabel(), which calls into the MAC Framework to perform a cache update. Biba, LOMAC, and MLS implement these entry points, as do the stub policy, and test policy. Reviewed by: sam, bms Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.118 +10 -0 src/sys/kern/uipc_socket2.c 1.112 +1 -1 src/sys/kern/uipc_usrreq.c 1.2 +1 -0 src/sys/modules/null/Makefile 1.30 +1 -1 src/sys/net/raw_usrreq.c 1.96 +1 -1 src/sys/net/rtsock.c 1.33 +2 -1 src/sys/netatalk/ddp_usrreq.c 1.18 +2 -1 src/sys/netatm/atm_aal5.c 1.21 +4 -0 src/sys/netatm/atm_usrreq.c 1.5 +8 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket.c 1.45 +4 -2 src/sys/netgraph/ng_socket.c 1.131 +40 -7 src/sys/netinet/in_pcb.c 1.66 +3 -0 src/sys/netinet/in_pcb.h 1.79 +1 -1 src/sys/netinet/ip_divert.c 1.121 +2 -2 src/sys/netinet/raw_ip.c 1.215 +2 -2 src/sys/netinet/tcp_input.c 1.88 +2 -2 src/sys/netinet/tcp_usrreq.c 1.141 +2 -2 src/sys/netinet/udp_usrreq.c 1.34 +1 -1 src/sys/netinet6/raw_ip6.c 1.39 +1 -1 src/sys/netinet6/udp6_usrreq.c 1.7 +2 -1 src/sys/netipsec/keysock.c 1.39 +2 -2 src/sys/netipx/ipx_usrreq.c 1.40 +2 -2 src/sys/netipx/spx_usrreq.c 1.26 +2 -1 src/sys/netkey/keysock.c 1.31 +1 -1 src/sys/netnatm/natm.c 1.110 +96 -1 src/sys/security/mac/mac_net.c 1.70 +45 -0 src/sys/security/mac_biba/mac_biba.c 1.8 +13 -0 src/sys/security/mac_ifoff/mac_ifoff.c 1.24 +45 -0 src/sys/security/mac_lomac/mac_lomac.c 1.57 +45 -0 src/sys/security/mac_mls/mac_mls.c 1.35 +28 -0 src/sys/security/mac_stub/mac_stub.c 1.37 +71 -0 src/sys/security/mac_test/mac_test.c 1.51 +7 -0 src/sys/sys/mac.h 1.45 +12 -0 src/sys/sys/mac_policy.h 1.42 +2 -0 src/sys/sys/protosw.h From owner-cvs-src@FreeBSD.ORG Mon Nov 17 16:40:38 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EA9916A4CE for ; Mon, 17 Nov 2003 16:40:38 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1292D43FF2 for ; Mon, 17 Nov 2003 16:40:22 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 50183 invoked by uid 110); 18 Nov 2003 00:40:21 -0000 Received: (qmail 50169 invoked from network); 18 Nov 2003 00:40:20 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 00:40:20 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 90DC85664A for ; Mon, 17 Nov 2003 16:39:48 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id E4D6416A52F; Mon, 17 Nov 2003 16:39:42 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id A68CE16A4D0; Mon, 17 Nov 2003 16:39:41 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2E7316A4CE; Mon, 17 Nov 2003 16:39:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D02543F75; Mon, 17 Nov 2003 16:39:08 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI0d7XJ082502; Mon, 17 Nov 2003 16:39:07 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI0d7kd082501; Mon, 17 Nov 2003 16:39:07 -0800 (PST) (envelope-from rwatson) Message-Id: <200311180039.hAI0d7kd082501@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 16:39:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/kern uipc_socket2.c uipc_usrreq.c src/sys/modules/null Makefile src/sys/net raw_usrreq.c rtsock.c src/sys/netatalk ddp_usrreq.c src/sys/netatm atm_aal5.c atm_usrreq.c src/sys/netgraph ng_socket.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 00:40:38 -0000 rwatson 2003/11/17 16:39:07 PST FreeBSD src repository Modified files: sys/kern uipc_socket2.c uipc_usrreq.c sys/modules/null Makefile sys/net raw_usrreq.c rtsock.c sys/netatalk ddp_usrreq.c sys/netatm atm_aal5.c atm_usrreq.c sys/netgraph ng_socket.c sys/netgraph/bluetooth/socket ng_btsocket.c sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_input.c tcp_usrreq.c udp_usrreq.c sys/netinet6 raw_ip6.c udp6_usrreq.c sys/netipsec keysock.c sys/netipx ipx_usrreq.c spx_usrreq.c sys/netkey keysock.c sys/netnatm natm.c sys/security/mac mac_net.c sys/security/mac_biba mac_biba.c sys/security/mac_ifoff mac_ifoff.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c sys/sys mac.h mac_policy.h protosw.h Log: Introduce a MAC label reference in 'struct inpcb', which caches the MAC label referenced from 'struct socket' in the IPv4 and IPv6-based protocols. This permits MAC labels to be checked during network delivery operations without dereferencing inp->inp_socket to get to so->so_label, which will eventually avoid our having to grab the socket lock during delivery at the network layer. This change introduces 'struct inpcb' as a labeled object to the MAC Framework, along with the normal circus of entry points: initialization, creation from socket, destruction, as well as a delivery access control check. For most policies, the inpcb label will simply be a cache of the socket label, so a new protocol switch method is introduced, pr_sosetlabel() to notify protocols that the socket layer label has been updated so that the cache can be updated while holding appropriate locks. Most protocols implement this using pru_sosetlabel_null(), but IPv4/IPv6 protocols using inpcbs use the the worker function in_pcbsosetlabel(), which calls into the MAC Framework to perform a cache update. Biba, LOMAC, and MLS implement these entry points, as do the stub policy, and test policy. Reviewed by: sam, bms Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.118 +10 -0 src/sys/kern/uipc_socket2.c 1.112 +1 -1 src/sys/kern/uipc_usrreq.c 1.2 +1 -0 src/sys/modules/null/Makefile 1.30 +1 -1 src/sys/net/raw_usrreq.c 1.96 +1 -1 src/sys/net/rtsock.c 1.33 +2 -1 src/sys/netatalk/ddp_usrreq.c 1.18 +2 -1 src/sys/netatm/atm_aal5.c 1.21 +4 -0 src/sys/netatm/atm_usrreq.c 1.5 +8 -4 src/sys/netgraph/bluetooth/socket/ng_btsocket.c 1.45 +4 -2 src/sys/netgraph/ng_socket.c 1.131 +40 -7 src/sys/netinet/in_pcb.c 1.66 +3 -0 src/sys/netinet/in_pcb.h 1.79 +1 -1 src/sys/netinet/ip_divert.c 1.121 +2 -2 src/sys/netinet/raw_ip.c 1.215 +2 -2 src/sys/netinet/tcp_input.c 1.88 +2 -2 src/sys/netinet/tcp_usrreq.c 1.141 +2 -2 src/sys/netinet/udp_usrreq.c 1.34 +1 -1 src/sys/netinet6/raw_ip6.c 1.39 +1 -1 src/sys/netinet6/udp6_usrreq.c 1.7 +2 -1 src/sys/netipsec/keysock.c 1.39 +2 -2 src/sys/netipx/ipx_usrreq.c 1.40 +2 -2 src/sys/netipx/spx_usrreq.c 1.26 +2 -1 src/sys/netkey/keysock.c 1.31 +1 -1 src/sys/netnatm/natm.c 1.110 +96 -1 src/sys/security/mac/mac_net.c 1.70 +45 -0 src/sys/security/mac_biba/mac_biba.c 1.8 +13 -0 src/sys/security/mac_ifoff/mac_ifoff.c 1.24 +45 -0 src/sys/security/mac_lomac/mac_lomac.c 1.57 +45 -0 src/sys/security/mac_mls/mac_mls.c 1.35 +28 -0 src/sys/security/mac_stub/mac_stub.c 1.37 +71 -0 src/sys/security/mac_test/mac_test.c 1.51 +7 -0 src/sys/sys/mac.h 1.45 +12 -0 src/sys/sys/mac_policy.h 1.42 +2 -0 src/sys/sys/protosw.h From owner-cvs-src@FreeBSD.ORG Mon Nov 17 16:52:31 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9604516A4CE; Mon, 17 Nov 2003 16:52:31 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D81D43F75; Mon, 17 Nov 2003 16:52:31 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI0qUXJ088746; Mon, 17 Nov 2003 16:52:30 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI0qU1v088745; Mon, 17 Nov 2003 16:52:30 -0800 (PST) (envelope-from rwatson) Message-Id: <200311180052.hAI0qU1v088745@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 16:52:30 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/modules/null Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 00:52:31 -0000 rwatson 2003/11/17 16:52:30 PST FreeBSD src repository Modified files: sys/modules/null Makefile Log: Revert a NOOP change to Makefile that slipped into the last commit. Pointed out by: tjr Revision Changes Path 1.3 +0 -1 src/sys/modules/null/Makefile From owner-cvs-src@FreeBSD.ORG Mon Nov 17 16:53:13 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20C4B16A4CE for ; Mon, 17 Nov 2003 16:53:13 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DAA743FEA for ; Mon, 17 Nov 2003 16:53:08 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 53300 invoked by uid 110); 18 Nov 2003 00:53:08 -0000 Received: (qmail 53283 invoked from network); 18 Nov 2003 00:53:07 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 00:53:07 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id D916256707 for ; Mon, 17 Nov 2003 16:53:06 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id A65F916A4E6; Mon, 17 Nov 2003 16:53:03 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 9559C16A4D0; Mon, 17 Nov 2003 16:53:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9604516A4CE; Mon, 17 Nov 2003 16:52:31 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D81D43F75; Mon, 17 Nov 2003 16:52:31 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI0qUXJ088746; Mon, 17 Nov 2003 16:52:30 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI0qU1v088745; Mon, 17 Nov 2003 16:52:30 -0800 (PST) (envelope-from rwatson) Message-Id: <200311180052.hAI0qU1v088745@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 16:52:30 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/modules/null Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 00:53:13 -0000 rwatson 2003/11/17 16:52:30 PST FreeBSD src repository Modified files: sys/modules/null Makefile Log: Revert a NOOP change to Makefile that slipped into the last commit. Pointed out by: tjr Revision Changes Path 1.3 +0 -1 src/sys/modules/null/Makefile From owner-cvs-src@FreeBSD.ORG Mon Nov 17 17:29:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 996AC16A4CE; Mon, 17 Nov 2003 17:29:12 -0800 (PST) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4083943F75; Mon, 17 Nov 2003 17:29:11 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hAI1TAXF032509; Mon, 17 Nov 2003 20:29:10 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20031117234947.GQ98272@klapaucius.zer0.org> References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> <20031117234947.GQ98272@klapaucius.zer0.org> Date: Mon, 17 Nov 2003 20:29:09 -0500 To: Gregory Sutter , David Schultz From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 01:29:12 -0000 At 3:49 PM -0800 11/17/03, Gregory Sutter wrote: >On 2003-11-17 13:01 -0800, Wes Peters wrote: > > > > I suppose adding the logging done by the sysutils/no-login > > port would make the program objectionably large. Sigh. > > Several times over the past five years I considering asking > > if we should just import my nologin and be done with it; > > each time I didn't pursue it because it wasn't worth the bikeshed. > >Wes's no-login port has been around for ages and works just great. >Please just import it instead of creating yet another version without >the logging capability of sysutils/no-login. Or add the syslog >functionality to the new program. Thanks. How much larger is the object-file for the no-login port compared to this minimal one? (particularly now that /sbin is dynamically linked). If Wes wants to import no-login, the syslog capability certainly seems worth a few extra bytes to me. And it seems reasonable to go with code which people have already been using for some time now. This would have been much more of a bikeshed back when it would have been comparing a sh-script to a statically-linked binary, but it doesn't seem like much of one now. (IMO) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-cvs-src@FreeBSD.ORG Mon Nov 17 17:29:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 676BC16A4E3 for ; Mon, 17 Nov 2003 17:29:54 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F54343FD7 for ; Mon, 17 Nov 2003 17:29:49 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 60912 invoked by uid 110); 18 Nov 2003 01:29:48 -0000 Received: (qmail 60899 invoked from network); 18 Nov 2003 01:29:48 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 01:29:48 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id C1BE556B88 for ; Mon, 17 Nov 2003 17:29:47 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id C0A7A16A4E2; Mon, 17 Nov 2003 17:29:44 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id CD83D16A4D0; Mon, 17 Nov 2003 17:29:43 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 996AC16A4CE; Mon, 17 Nov 2003 17:29:12 -0800 (PST) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4083943F75; Mon, 17 Nov 2003 17:29:11 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hAI1TAXF032509; Mon, 17 Nov 2003 20:29:10 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20031117234947.GQ98272@klapaucius.zer0.org> References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> <20031117234947.GQ98272@klapaucius.zer0.org> Date: Mon, 17 Nov 2003 20:29:09 -0500 To: Gregory Sutter , David Schultz From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 01:29:54 -0000 At 3:49 PM -0800 11/17/03, Gregory Sutter wrote: >On 2003-11-17 13:01 -0800, Wes Peters wrote: > > > > I suppose adding the logging done by the sysutils/no-login > > port would make the program objectionably large. Sigh. > > Several times over the past five years I considering asking > > if we should just import my nologin and be done with it; > > each time I didn't pursue it because it wasn't worth the bikeshed. > >Wes's no-login port has been around for ages and works just great. >Please just import it instead of creating yet another version without >the logging capability of sysutils/no-login. Or add the syslog >functionality to the new program. Thanks. How much larger is the object-file for the no-login port compared to this minimal one? (particularly now that /sbin is dynamically linked). If Wes wants to import no-login, the syslog capability certainly seems worth a few extra bytes to me. And it seems reasonable to go with code which people have already been using for some time now. This would have been much more of a bikeshed back when it would have been comparing a sh-script to a statically-linked binary, but it doesn't seem like much of one now. (IMO) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-cvs-src@FreeBSD.ORG Mon Nov 17 18:33:29 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CBC016A4CE; Mon, 17 Nov 2003 18:33:29 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E82543FD7; Mon, 17 Nov 2003 18:33:28 -0800 (PST) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI2XSXJ094416; Mon, 17 Nov 2003 18:33:28 -0800 (PST) (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI2XR4Z094415; Mon, 17 Nov 2003 18:33:27 -0800 (PST) (envelope-from obrien) Message-Id: <200311180233.hAI2XR4Z094415@repoman.freebsd.org> From: "David E. O'Brien" Date: Mon, 17 Nov 2003 18:33:27 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/burncd burncd.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 02:33:29 -0000 obrien 2003/11/17 18:33:27 PST FreeBSD src repository Modified files: usr.sbin/burncd burncd.8 Log: Catch up with the latest in device naming. Revision Changes Path 1.31 +5 -5 src/usr.sbin/burncd/burncd.8 From owner-cvs-src@FreeBSD.ORG Mon Nov 17 19:36:24 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9C6116A4CE; Mon, 17 Nov 2003 19:36:24 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D022443FD7; Mon, 17 Nov 2003 19:36:23 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI3aNXJ097562; Mon, 17 Nov 2003 19:36:23 -0800 (PST) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI3aN9P097561; Mon, 17 Nov 2003 19:36:23 -0800 (PST) (envelope-from truckman) Message-Id: <200311180336.hAI3aN9P097561@repoman.freebsd.org> From: Don Lewis Date: Mon, 17 Nov 2003 19:36:23 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 03:36:24 -0000 truckman 2003/11/17 19:36:23 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/ufs/ffs ffs_alloc.c Log: MFC 1.116 which tweaks the minbfree, minifree, maxcontigdirs calculations to give results that work better. Revision Changes Path 1.64.2.3 +8 -8 src/sys/ufs/ffs/ffs_alloc.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 19:37:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB6E716A4D0 for ; Mon, 17 Nov 2003 19:37:08 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00CA243FB1 for ; Mon, 17 Nov 2003 19:37:05 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 94668 invoked by uid 110); 18 Nov 2003 03:37:04 -0000 Received: (qmail 94654 invoked from network); 18 Nov 2003 03:37:03 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 03:37:03 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 8AB5C56E60 for ; Mon, 17 Nov 2003 19:37:00 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id AA8FD16A4E3; Mon, 17 Nov 2003 19:36:57 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id A6C4C16A4D0; Mon, 17 Nov 2003 19:36:56 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9C6116A4CE; Mon, 17 Nov 2003 19:36:24 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D022443FD7; Mon, 17 Nov 2003 19:36:23 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI3aNXJ097562; Mon, 17 Nov 2003 19:36:23 -0800 (PST) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI3aN9P097561; Mon, 17 Nov 2003 19:36:23 -0800 (PST) (envelope-from truckman) Message-Id: <200311180336.hAI3aN9P097561@repoman.freebsd.org> From: Don Lewis Date: Mon, 17 Nov 2003 19:36:23 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 03:37:09 -0000 truckman 2003/11/17 19:36:23 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/ufs/ffs ffs_alloc.c Log: MFC 1.116 which tweaks the minbfree, minifree, maxcontigdirs calculations to give results that work better. Revision Changes Path 1.64.2.3 +8 -8 src/sys/ufs/ffs/ffs_alloc.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 20:11:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0D0D16A4CE; Mon, 17 Nov 2003 20:11:53 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C53843F75; Mon, 17 Nov 2003 20:11:53 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI4BrXJ099731; Mon, 17 Nov 2003 20:11:53 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI4BrBf099730; Mon, 17 Nov 2003 20:11:53 -0800 (PST) (envelope-from rwatson) Message-Id: <200311180411.hAI4BrBf099730@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 20:11:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/mac_biba mac_biba.csrc/sys/security/mac_mls mac_mls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 04:11:54 -0000 rwatson 2003/11/17 20:11:53 PST FreeBSD src repository Modified files: sys/security/mac_biba mac_biba.c sys/security/mac_mls mac_mls.c Log: Use UMA zone allocator for Biba and MLS labels rather than MALLOC(9). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.71 +6 -6 src/sys/security/mac_biba/mac_biba.c 1.58 +6 -6 src/sys/security/mac_mls/mac_mls.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 20:12:37 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F17816A4D0 for ; Mon, 17 Nov 2003 20:12:37 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EC4243FE0 for ; Mon, 17 Nov 2003 20:12:33 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 5530 invoked by uid 110); 18 Nov 2003 04:12:33 -0000 Received: (qmail 5500 invoked from network); 18 Nov 2003 04:12:31 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 04:12:31 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 5175F5716E for ; Mon, 17 Nov 2003 20:12:31 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id EFD5E16A533; Mon, 17 Nov 2003 20:12:26 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 11D3116A4D0; Mon, 17 Nov 2003 20:12:26 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0D0D16A4CE; Mon, 17 Nov 2003 20:11:53 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C53843F75; Mon, 17 Nov 2003 20:11:53 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI4BrXJ099731; Mon, 17 Nov 2003 20:11:53 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI4BrBf099730; Mon, 17 Nov 2003 20:11:53 -0800 (PST) (envelope-from rwatson) Message-Id: <200311180411.hAI4BrBf099730@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Nov 2003 20:11:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/security/mac_biba mac_biba.csrc/sys/security/mac_mls mac_mls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 04:12:37 -0000 rwatson 2003/11/17 20:11:53 PST FreeBSD src repository Modified files: sys/security/mac_biba mac_biba.c sys/security/mac_mls mac_mls.c Log: Use UMA zone allocator for Biba and MLS labels rather than MALLOC(9). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.71 +6 -6 src/sys/security/mac_biba/mac_biba.c 1.58 +6 -6 src/sys/security/mac_mls/mac_mls.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 20:21:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7951116A4CE; Mon, 17 Nov 2003 20:21:50 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D8C143FE1; Mon, 17 Nov 2003 20:21:49 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 464632A8EB; Mon, 17 Nov 2003 20:21:49 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Mark Murray In-Reply-To: <200311172302.hAHN2LSu061069@repoman.freebsd.org> Date: Mon, 17 Nov 2003 20:21:49 -0800 From: Peter Wemm Message-Id: <20031118042149.464632A8EB@canning.wemm.org> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 04:21:50 -0000 Mark Murray wrote: > markm 2003/11/17 15:02:21 PST > > FreeBSD src repository > > Modified files: > sys/dev/random harvest.c hash.c randomdev.c randomdev.h > yarrow.c > Log: > Overhaul the entropy device: There seems to be some freshly added landmines in here. If you run with WITNESS enabled, you get instant panics about potentially sleeping with locks held. Sorry to bring bad news.. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 From owner-cvs-src@FreeBSD.ORG Mon Nov 17 20:22:33 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D21A316A4D1 for ; Mon, 17 Nov 2003 20:22:33 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B511043FF2 for ; Mon, 17 Nov 2003 20:22:28 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 8906 invoked by uid 110); 18 Nov 2003 04:22:27 -0000 Received: (qmail 8890 invoked from network); 18 Nov 2003 04:22:26 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 04:22:26 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 703FE57550 for ; Mon, 17 Nov 2003 20:22:25 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 7BC7516A52A; Mon, 17 Nov 2003 20:22:22 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 7989216A4D0; Mon, 17 Nov 2003 20:22:21 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7951116A4CE; Mon, 17 Nov 2003 20:21:50 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D8C143FE1; Mon, 17 Nov 2003 20:21:49 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 464632A8EB; Mon, 17 Nov 2003 20:21:49 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Mark Murray In-Reply-To: <200311172302.hAHN2LSu061069@repoman.freebsd.org> Date: Mon, 17 Nov 2003 20:21:49 -0800 From: Peter Wemm Message-Id: <20031118042149.464632A8EB@canning.wemm.org> Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 04:22:34 -0000 Mark Murray wrote: > markm 2003/11/17 15:02:21 PST > > FreeBSD src repository > > Modified files: > sys/dev/random harvest.c hash.c randomdev.c randomdev.h > yarrow.c > Log: > Overhaul the entropy device: There seems to be some freshly added landmines in here. If you run with WITNESS enabled, you get instant panics about potentially sleeping with locks held. Sorry to bring bad news.. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 From owner-cvs-src@FreeBSD.ORG Mon Nov 17 23:54:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 642F516A4CE; Mon, 17 Nov 2003 23:54:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBC8443FFB; Mon, 17 Nov 2003 23:54:13 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI7sDXJ015442; Mon, 17 Nov 2003 23:54:13 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI7sDmR015441; Mon, 17 Nov 2003 23:54:13 -0800 (PST) (envelope-from phk) Message-Id: <200311180754.hAI7sDmR015441@repoman.freebsd.org> From: Poul-Henning Kamp Date: Mon, 17 Nov 2003 23:54:12 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom geom_event.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 07:54:14 -0000 phk 2003/11/17 23:54:12 PST FreeBSD src repository Modified files: sys/geom geom_event.c Log: Fix a harmless bug and add a ')' in a debugging printf. Submitted by: "Bjoern A. Zeeb" Revision Changes Path 1.43 +2 -2 src/sys/geom/geom_event.c From owner-cvs-src@FreeBSD.ORG Mon Nov 17 23:55:01 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE8C316A4CF for ; Mon, 17 Nov 2003 23:55:01 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFAAF43FDF for ; Mon, 17 Nov 2003 23:54:55 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 51162 invoked by uid 110); 18 Nov 2003 07:54:55 -0000 Received: (qmail 51148 invoked from network); 18 Nov 2003 07:54:55 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 07:54:55 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 56CA857B36 for ; Mon, 17 Nov 2003 23:54:49 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 7EF6016A52C; Mon, 17 Nov 2003 23:54:46 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 60DCB16A4D0; Mon, 17 Nov 2003 23:54:45 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 642F516A4CE; Mon, 17 Nov 2003 23:54:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBC8443FFB; Mon, 17 Nov 2003 23:54:13 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAI7sDXJ015442; Mon, 17 Nov 2003 23:54:13 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAI7sDmR015441; Mon, 17 Nov 2003 23:54:13 -0800 (PST) (envelope-from phk) Message-Id: <200311180754.hAI7sDmR015441@repoman.freebsd.org> From: Poul-Henning Kamp Date: Mon, 17 Nov 2003 23:54:12 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/geom geom_event.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 07:55:01 -0000 phk 2003/11/17 23:54:12 PST FreeBSD src repository Modified files: sys/geom geom_event.c Log: Fix a harmless bug and add a ')' in a debugging printf. Submitted by: "Bjoern A. Zeeb" Revision Changes Path 1.43 +2 -2 src/sys/geom/geom_event.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 00:11:51 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C4616A4CE; Tue, 18 Nov 2003 00:11:51 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28ECD43FDF; Tue, 18 Nov 2003 00:11:49 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id CD6AD530C; Tue, 18 Nov 2003 09:11:47 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id C593C5308; Tue, 18 Nov 2003 09:11:39 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id AD81133C68; Tue, 18 Nov 2003 09:11:39 +0100 (CET) To: Garance A Drosihn References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> <20031117234947.GQ98272@klapaucius.zer0.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 18 Nov 2003 09:11:39 +0100 In-Reply-To: (Garance A. Drosihn's message of "Mon, 17 Nov 2003 20:29:09 -0500") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.5 required=5.0 tests=RCVD_IN_DYNABLOCK autolearn=no version=2.60 cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-src@FreeBSD.org cc: David Schultz cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 08:11:51 -0000 Garance A Drosihn writes: > How much larger is the object-file for the no-login port compared > to this minimal one? des@dwp /usr/src/sbin/nologin% make Warning: Object directory not changed from original /usr/src/sbin/nologin cc -O -pipe -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uniniti= alized -fno-builtin -c nologin.c cc -O -pipe -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uniniti= alized -fno-builtin -static -o nologin nologin.o gzip -cn nologin.5 > nologin.5.gz gzip -cn nologin.8 > nologin.8.gz des@dwp /usr/src/sbin/nologin% strip -g nologin des@dwp /usr/src/sbin/nologin% file nologin nologin: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for F= reeBSD 5.0.1, statically linked, not stripped des@dwp /usr/src/sbin/nologin% size nologin text data bss dec hex filename 9350 308 328 9986 2702 nologin des@dwp /usr/src/sbin/nologin% du nologin 22 nologin des@dwp /des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% cc -O -pipe= -static nologin.c -o nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% strip -g nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% file nologin nologin: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for F= reeBSD 5.0.1, statically linked, not stripped des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% size nologin text data bss dec hex filename 75814 4372 22884 103070 1929e nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% du nologin 114 nologin I believe most of this increase is caused by the use of syslog. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Tue Nov 18 00:12:35 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BFD116A4CE for ; Tue, 18 Nov 2003 00:12:35 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65DBC43FE1 for ; Tue, 18 Nov 2003 00:12:29 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 53584 invoked by uid 110); 18 Nov 2003 08:12:28 -0000 Received: (qmail 53571 invoked from network); 18 Nov 2003 08:12:28 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 08:12:28 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id CCBEF56D28 for ; Tue, 18 Nov 2003 00:12:27 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 9644F16A51D; Tue, 18 Nov 2003 00:12:24 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 4BAB816A4D0; Tue, 18 Nov 2003 00:12:23 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C4616A4CE; Tue, 18 Nov 2003 00:11:51 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28ECD43FDF; Tue, 18 Nov 2003 00:11:49 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id CD6AD530C; Tue, 18 Nov 2003 09:11:47 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id C593C5308; Tue, 18 Nov 2003 09:11:39 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id AD81133C68; Tue, 18 Nov 2003 09:11:39 +0100 (CET) To: Garance A Drosihn References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> <20031117234947.GQ98272@klapaucius.zer0.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 18 Nov 2003 09:11:39 +0100 In-Reply-To: (Garance A. Drosihn's message of "Mon, 17 Nov 2003 20:29:09 -0500") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.5 required=5.0 tests=RCVD_IN_DYNABLOCK autolearn=no version=2.60 Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-src@FreeBSD.org cc: David Schultz cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 08:12:35 -0000 Garance A Drosihn writes: > How much larger is the object-file for the no-login port compared > to this minimal one? des@dwp /usr/src/sbin/nologin% make Warning: Object directory not changed from original /usr/src/sbin/nologin cc -O -pipe -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uniniti= alized -fno-builtin -c nologin.c cc -O -pipe -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uniniti= alized -fno-builtin -static -o nologin nologin.o gzip -cn nologin.5 > nologin.5.gz gzip -cn nologin.8 > nologin.8.gz des@dwp /usr/src/sbin/nologin% strip -g nologin des@dwp /usr/src/sbin/nologin% file nologin nologin: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for F= reeBSD 5.0.1, statically linked, not stripped des@dwp /usr/src/sbin/nologin% size nologin text data bss dec hex filename 9350 308 328 9986 2702 nologin des@dwp /usr/src/sbin/nologin% du nologin 22 nologin des@dwp /des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% cc -O -pipe= -static nologin.c -o nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% strip -g nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% file nologin nologin: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for F= reeBSD 5.0.1, statically linked, not stripped des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% size nologin text data bss dec hex filename 75814 4372 22884 103070 1929e nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% du nologin 114 nologin I believe most of this increase is caused by the use of syslog. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Tue Nov 18 02:29:25 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B156016A4CE; Tue, 18 Nov 2003 02:29:25 -0800 (PST) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [193.201.200.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id B056F43FE3; Tue, 18 Nov 2003 02:29:24 -0800 (PST) (envelope-from fanf@chiark.greenend.org.uk) Received: by chiark.greenend.org.uk (Debian Exim 3.35 #1) with local id 1AM36n-0001M4-00; Tue, 18 Nov 2003 10:29:21 +0000 Date: Tue, 18 Nov 2003 10:29:21 +0000 From: Tony Finch To: Garance A Drosihn Message-ID: <20031118102921.GH21218@chiark.greenend.org.uk> References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> <20031117234947.GQ98272@klapaucius.zer0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: Tony Finch cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-src@FreeBSD.org cc: David Schultz cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 10:29:25 -0000 On Mon, Nov 17, 2003 at 08:29:09PM -0500, Garance A Drosihn wrote: > > This would have been much more of a bikeshed back when it would > have been comparing a sh-script to a statically-linked binary, > but it doesn't seem like much of one now. (IMO) $ cat /usr/src/sbin/nologin/Makefile # @(#)Makefile 8.2 (Berkeley) 4/22/94 # $FreeBSD: src/sbin/nologin/Makefile,v 1.9 2003/11/17 06:39:38 das Exp $ PROG= nologin MAN= nologin.5 nologin.8 # It is important that nologin be statically linked for security # reasons. A dynamic non-setuid binary can be linked against a trojan # libc by setting LD_LIBRARY_PATH appropriately. Both sshd(8) and # login(1) make it possible to log in with an unsanitized environment, # rendering a dynamic nologin binary virtually useless. NOSHARED= YES .include Tony. -- f.a.n.finch http://dotat.at/ NORTH BAILEY: CYCLONIC BECOMING SOUTHWESTERLY 5 TO 7. RAIN THEN SHOWERS. MODERATE OR GOOD. From owner-cvs-src@FreeBSD.ORG Tue Nov 18 02:30:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01BB216A4D1 for ; Tue, 18 Nov 2003 02:30:14 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE07143F75 for ; Tue, 18 Nov 2003 02:30:08 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 87200 invoked by uid 110); 18 Nov 2003 10:30:05 -0000 Received: (qmail 87184 invoked from network); 18 Nov 2003 10:30:01 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 10:30:01 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id F1A1456BAD for ; Tue, 18 Nov 2003 02:30:00 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id E21C916A4E8; Tue, 18 Nov 2003 02:29:58 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 8D16716A4D0; Tue, 18 Nov 2003 02:29:57 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B156016A4CE; Tue, 18 Nov 2003 02:29:25 -0800 (PST) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [193.201.200.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id B056F43FE3; Tue, 18 Nov 2003 02:29:24 -0800 (PST) (envelope-from fanf@chiark.greenend.org.uk) Received: by chiark.greenend.org.uk (Debian Exim 3.35 #1) with local id 1AM36n-0001M4-00; Tue, 18 Nov 2003 10:29:21 +0000 Date: Tue, 18 Nov 2003 10:29:21 +0000 From: Tony Finch To: Garance A Drosihn Message-ID: <20031118102921.GH21218@chiark.greenend.org.uk> References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> <20031117234947.GQ98272@klapaucius.zer0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-src@FreeBSD.org cc: David Schultz cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 10:30:14 -0000 On Mon, Nov 17, 2003 at 08:29:09PM -0500, Garance A Drosihn wrote: > > This would have been much more of a bikeshed back when it would > have been comparing a sh-script to a statically-linked binary, > but it doesn't seem like much of one now. (IMO) $ cat /usr/src/sbin/nologin/Makefile # @(#)Makefile 8.2 (Berkeley) 4/22/94 # $FreeBSD: src/sbin/nologin/Makefile,v 1.9 2003/11/17 06:39:38 das Exp $ PROG= nologin MAN= nologin.5 nologin.8 # It is important that nologin be statically linked for security # reasons. A dynamic non-setuid binary can be linked against a trojan # libc by setting LD_LIBRARY_PATH appropriately. Both sshd(8) and # login(1) make it possible to log in with an unsanitized environment, # rendering a dynamic nologin binary virtually useless. NOSHARED= YES .include Tony. -- f.a.n.finch http://dotat.at/ NORTH BAILEY: CYCLONIC BECOMING SOUTHWESTERLY 5 TO 7. RAIN THEN SHOWERS. MODERATE OR GOOD. From owner-cvs-src@FreeBSD.ORG Tue Nov 18 02:32:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AB3416A4CE; Tue, 18 Nov 2003 02:32:27 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B902743F85; Tue, 18 Nov 2003 02:32:25 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hAIAWOK0094392; Tue, 18 Nov 2003 11:32:24 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hAIAWJRk094391; Tue, 18 Nov 2003 11:32:19 +0100 (CET) (envelope-from marius) Date: Tue, 18 Nov 2003 11:32:19 +0100 From: Marius Strobl To: John Baldwin Message-ID: <20031118113219.K10910@newtrinity.zeist.de> References: <20031117225120.D38259@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Mon, Nov 17, 2003 at 05:53:14PM -0500 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.39 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 10:32:27 -0000 On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: > > On 17-Nov-2003 Marius Strobl wrote: > > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: > >> > >> On 14-Nov-2003 John Baldwin wrote: > >> > jhb 2003/11/14 13:02:49 PST > >> > > >> > FreeBSD src repository > >> > > >> > Modified files: > >> > sys/i386/isa atpic.c > >> > Log: > >> > Always install IDT entries for ATPIC interrupt sources. The APIC no > >> > longer uses these interrupt vectors for its ISA interrupt pins, so these > >> > entries will not be overwritten. If we get a spurious interrupt from the > >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead > >> > of causing a panic. > >> > >> This should fix all of the "panic: Couldn't get vector from ISR" and > >> trap 30 (reserved) panics. If you were using older versions of either > >> spurious.patch or atpic.patch, please try reverting them and using > >> plain CVS to see if that fixes your problem. If not, please let me know. > >> If you get several stray IRQ 7 messages and would like to shut them up, > >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch > >> > > > > Unfortunately it doesn't fix the type 30 trap triggered by a spurious Oops, meant stray interrupt... > > interrupt here (need atpic.patch). > > Do you get the trap very early? > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ or http://quad.zeist.de/newintr.log (this was with older sources but the problem is still the same after the commit above). From owner-cvs-src@FreeBSD.ORG Tue Nov 18 02:33:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E54FB16A4D2 for ; Tue, 18 Nov 2003 02:33:26 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11BCD43FB1 for ; Tue, 18 Nov 2003 02:33:19 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 87506 invoked by uid 110); 18 Nov 2003 10:33:18 -0000 Received: (qmail 87490 invoked from network); 18 Nov 2003 10:33:14 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 10:33:14 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 9D64856E95 for ; Tue, 18 Nov 2003 02:33:03 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 0561B16A4CF; Tue, 18 Nov 2003 02:33:01 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id E2B8016A4D0; Tue, 18 Nov 2003 02:32:59 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AB3416A4CE; Tue, 18 Nov 2003 02:32:27 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B902743F85; Tue, 18 Nov 2003 02:32:25 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hAIAWOK0094392; Tue, 18 Nov 2003 11:32:24 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hAIAWJRk094391; Tue, 18 Nov 2003 11:32:19 +0100 (CET) (envelope-from marius) Date: Tue, 18 Nov 2003 11:32:19 +0100 From: Marius Strobl To: John Baldwin Message-ID: <20031118113219.K10910@newtrinity.zeist.de> References: <20031117225120.D38259@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Mon, Nov 17, 2003 at 05:53:14PM -0500 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.39 Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 10:33:27 -0000 On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: > > On 17-Nov-2003 Marius Strobl wrote: > > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: > >> > >> On 14-Nov-2003 John Baldwin wrote: > >> > jhb 2003/11/14 13:02:49 PST > >> > > >> > FreeBSD src repository > >> > > >> > Modified files: > >> > sys/i386/isa atpic.c > >> > Log: > >> > Always install IDT entries for ATPIC interrupt sources. The APIC no > >> > longer uses these interrupt vectors for its ISA interrupt pins, so these > >> > entries will not be overwritten. If we get a spurious interrupt from the > >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead > >> > of causing a panic. > >> > >> This should fix all of the "panic: Couldn't get vector from ISR" and > >> trap 30 (reserved) panics. If you were using older versions of either > >> spurious.patch or atpic.patch, please try reverting them and using > >> plain CVS to see if that fixes your problem. If not, please let me know. > >> If you get several stray IRQ 7 messages and would like to shut them up, > >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch > >> > > > > Unfortunately it doesn't fix the type 30 trap triggered by a spurious Oops, meant stray interrupt... > > interrupt here (need atpic.patch). > > Do you get the trap very early? > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ or http://quad.zeist.de/newintr.log (this was with older sources but the problem is still the same after the commit above). From owner-cvs-src@FreeBSD.ORG Tue Nov 18 02:38:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AAF416A4CE; Tue, 18 Nov 2003 02:38:05 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA24F43FF5; Tue, 18 Nov 2003 02:38:02 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 5AEC9530D; Tue, 18 Nov 2003 11:38:01 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 25693530C; Tue, 18 Nov 2003 11:37:45 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id E3D9E33C65; Tue, 18 Nov 2003 11:37:44 +0100 (CET) To: Mark Murray References: <200311172302.hAHN2LSu061069@repoman.freebsd.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 18 Nov 2003 11:37:44 +0100 In-Reply-To: <200311172302.hAHN2LSu061069@repoman.freebsd.org> (Mark Murray's message of "Mon, 17 Nov 2003 15:02:21 -0800 (PST)") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.5 required=5.0 tests=RCVD_IN_DYNABLOCK autolearn=no version=2.60 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 10:38:05 -0000 Mark Murray writes: > Log: > Overhaul the entropy device: > [...] This causes a 100% reproducable panic on my machine, which I've worked around by disabling harvesting in rc.conf. I'm not sure if the bug is in your code or in UMA, though. Here's a backtrace: root@dwp /var/crash# gdb -k symbols.0 vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: pmap_invalidate_page: interrupts disabled panic messages: --- panic: pmap_invalidate_page: interrupts disabled cpuid =3D 0; Dumping 1023 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 = 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624= 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 92= 8 944 960 976 992 1008 --- Reading symbols from /boot/kernel/snd_ich.ko...done. Loaded symbols for /boot/kernel/snd_ich.ko Reading symbols from /boot/kernel/snd_pcm.ko...done. Loaded symbols for /boot/kernel/snd_pcm.ko Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/procfs/procfs.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /procfs/procfs.ko.debug Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/pseudofs/pseudofs.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /pseudofs/pseudofs.ko.debug Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/linprocfs/linprocfs.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /linprocfs/linprocfs.ko.debug Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/linux/linux.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /linux/linux.ko.debug Reading symbols from /boot/kernel/sysvmsg.ko...done. Loaded symbols for /boot/kernel/sysvmsg.ko Reading symbols from /boot/kernel/sysvsem.ko...done. Loaded symbols for /boot/kernel/sysvsem.ko Reading symbols from /boot/kernel/sysvshm.ko...done. Loaded symbols for /boot/kernel/sysvshm.ko Reading symbols from /boot/kernel/if_fxp.ko...done. Loaded symbols for /boot/kernel/if_fxp.ko Reading symbols from /boot/kernel/miibus.ko...done. Loaded symbols for /boot/kernel/miibus.ko Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/ums/ums.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /ums/ums.ko.debug Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/usb/usb.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /usb/usb.ko.debug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc0443a0e in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D-1067432000, dummy4=3D0xebe3f908 "$=F9=E3=EB=D2=CAI=C0=C0G`=C0\001") at /usr/src/sys= /ddb/db_command.c:548 #2 0xc044381c in db_command (last_cmdp=3D0xc05f3040, cmd_table=3D0x0, aux_cmd_tablep=3D0xc05cae38, aux_cmd_tablep_end=3D0xc05cae3c) at /usr/src/sys/ddb/db_command.c:346 #3 0xc04438f4 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472 #4 0xc0445f69 in db_trap (type=3D3, code=3D0) at /usr/src/sys/ddb/db_trap.= c:73 #5 0xc0574cc5 in kdb_trap (type=3D3, code=3D0, regs=3D0xebe3fa34) at /usr/src/sys/i386/i386/db_interface.c:171 #6 0xc0586c34 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -1067683308, tf= _esi =3D 1, tf_ebp =3D -337380744, tf_isp =3D -337380768, tf_ebx =3D 0, tf_= edx =3D 0, tf_ecx =3D 1, tf_eax =3D 18, tf_trapno =3D 3, tf_err =3D 0, tf_e= ip =3D -1068019838, tf_cs =3D 8, tf_eflags =3D 12438, tf_esp =3D -337380700= , tf_ss =3D -337380712}) at /usr/src/sys/i386/i386/trap.c:580 #7 0xc0576268 in calltrap () at {standard input}:94 #8 0xc04a4229 in panic (fmt=3D0xc05c7214 "%s: interrupts disabled") at /usr/src/sys/kern/kern_shutdown.c:534 #9 0xc0582212 in pmap_invalidate_page (pmap=3D0xc061bcc0, va=3D3333619712) at /usr/src/sys/i386/i386/pmap.c:597 #10 0xc0583a7c in pmap_enter (pmap=3D0xc061bcc0, va=3D3333619712, m=3D0xc19= 7ebd8, prot=3D7 '\a', wired=3D1) at /usr/src/sys/i386/i386/pmap.c:2036 #11 0xc0547d8c in kmem_malloc (map=3D0xc0c310a0, size=3D4096, flags=3D1) at /usr/src/sys/vm/vm_kern.c:443 #12 0xc05550b2 in page_alloc (zone=3D0xc0c3ba80, bytes=3D4096, pflag=3D0x0,= wait=3D1) at /usr/src/sys/vm/uma_core.c:845 #13 0xc0554e5e in slab_zalloc (zone=3D0xc0c3ba80, wait=3D1) at /usr/src/sys/vm/uma_core.c:753 #14 0xc0555bdd in uma_zone_slab (zone=3D0xc0c3ba80, flags=3D1) at /usr/src/sys/vm/uma_core.c:1539 #15 0xc0555dc8 in uma_zalloc_bucket (zone=3D0xc0c3ba80, flags=3D1) at /usr/src/sys/vm/uma_core.c:1635 #16 0xc0555ada in uma_zalloc_arg (zone=3D0xc0c3ba80, udata=3D0x0, flags=3D1) at /usr/src/sys/vm/uma_core.c:1469 #17 0xc049b6c3 in malloc (size=3D3234052736, type=3D0xc05d3240, flags=3D1) at /usr/src/sys/vm/uma.h:234 #18 0xc0472bfe in random_harvest_internal (somecounter=3D168282886354, entropy=3D0xebe3fc44, count=3D8, bits=3D0, frac=3D0, origin=3DRANDOM_IN= TERRUPT) at /usr/src/sys/dev/random/randomdev.c:370 #19 0xc04725f9 in random_harvest (entropy=3D0xebe3fc44, count=3D8, bits=3D2= , frac=3D0, origin=3DRANDOM_INTERRUPT) at machine/cpu.h:104 #20 0xc04949aa in ithread_schedule (ithread=3D0xc25a5600, do_switch=3D1) at /usr/src/sys/kern/kern_intr.c:378 #21 0xc0579b5e in intr_execute_handlers (isrc=3D0xc259fdac, iframe=3D0x16) at /usr/src/sys/i386/i386/intr_machdep.c:206 #22 0xc057bc6a in lapic_handle_intr (frame=3D {if_vec =3D 64, if_fs =3D 24, if_es =3D -1067778032, if_ds =3D 16, if= _edi =3D -964573952, if_esi =3D -1067681663, if_ebp =3D -337380124, if_ebx = =3D 1006, if_edx =3D -964573952, if_ecx =3D -961720212, if_eax =3D 4, if_ei= p =3D -1068906191, if_cs =3D 8, if_eflags =3D 12870, if_esp =3D -961720212,= if_ss =3D -961720320}) at /usr/src/sys/i386/i386/local_apic.c:488 #23 0xc0571e63 in Xapic_isr2 () at {standard input}:37 #24 0xc0587398 in syscall (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 6, tf_esi =3D 4= 00, tf_ebp =3D -1077941528, tf_isp =3D -337379980, tf_ebx =3D 140448768, tf= _edx =3D 0, tf_ecx =3D 0, tf_eax =3D 3, tf_trapno =3D 12, tf_err =3D 2, tf_= eip =3D -2011007837, tf_cs =3D 31, tf_eflags =3D 12950, tf_esp =3D -1077941= 572, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1006 #25 0xc05762bd in Xint0x80_syscall () at {standard input}:136 ---Can't read userspace from dump, or kernel process--- DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Tue Nov 18 02:38:56 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60F9716A4CE for ; Tue, 18 Nov 2003 02:38:56 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5271443FF2 for ; Tue, 18 Nov 2003 02:38:47 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 88169 invoked by uid 110); 18 Nov 2003 10:38:46 -0000 Received: (qmail 88154 invoked from network); 18 Nov 2003 10:38:44 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 10:38:44 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 469F556DD8 for ; Tue, 18 Nov 2003 02:38:44 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 3F15616A52E; Tue, 18 Nov 2003 02:38:40 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 330EF16A4D0; Tue, 18 Nov 2003 02:38:39 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AAF416A4CE; Tue, 18 Nov 2003 02:38:05 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA24F43FF5; Tue, 18 Nov 2003 02:38:02 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 5AEC9530D; Tue, 18 Nov 2003 11:38:01 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 25693530C; Tue, 18 Nov 2003 11:37:45 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id E3D9E33C65; Tue, 18 Nov 2003 11:37:44 +0100 (CET) To: Mark Murray References: <200311172302.hAHN2LSu061069@repoman.freebsd.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 18 Nov 2003 11:37:44 +0100 In-Reply-To: <200311172302.hAHN2LSu061069@repoman.freebsd.org> (Mark Murray's message of "Mon, 17 Nov 2003 15:02:21 -0800 (PST)") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.5 required=5.0 tests=RCVD_IN_DYNABLOCK autolearn=no version=2.60 Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 10:38:56 -0000 Mark Murray writes: > Log: > Overhaul the entropy device: > [...] This causes a 100% reproducable panic on my machine, which I've worked around by disabling harvesting in rc.conf. I'm not sure if the bug is in your code or in UMA, though. Here's a backtrace: root@dwp /var/crash# gdb -k symbols.0 vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: pmap_invalidate_page: interrupts disabled panic messages: --- panic: pmap_invalidate_page: interrupts disabled cpuid =3D 0; Dumping 1023 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 = 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624= 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 92= 8 944 960 976 992 1008 --- Reading symbols from /boot/kernel/snd_ich.ko...done. Loaded symbols for /boot/kernel/snd_ich.ko Reading symbols from /boot/kernel/snd_pcm.ko...done. Loaded symbols for /boot/kernel/snd_pcm.ko Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/procfs/procfs.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /procfs/procfs.ko.debug Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/pseudofs/pseudofs.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /pseudofs/pseudofs.ko.debug Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/linprocfs/linprocfs.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /linprocfs/linprocfs.ko.debug Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/linux/linux.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /linux/linux.ko.debug Reading symbols from /boot/kernel/sysvmsg.ko...done. Loaded symbols for /boot/kernel/sysvmsg.ko Reading symbols from /boot/kernel/sysvsem.ko...done. Loaded symbols for /boot/kernel/sysvsem.ko Reading symbols from /boot/kernel/sysvshm.ko...done. Loaded symbols for /boot/kernel/sysvshm.ko Reading symbols from /boot/kernel/if_fxp.ko...done. Loaded symbols for /boot/kernel/if_fxp.ko Reading symbols from /boot/kernel/miibus.ko...done. Loaded symbols for /boot/kernel/miibus.ko Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/ums/ums.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /ums/ums.ko.debug Reading symbols from /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modul= es/usb/usb.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/dwp_smp/modules/usr/src/sys/modules= /usb/usb.ko.debug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc0443a0e in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D-1067432000, dummy4=3D0xebe3f908 "$=F9=E3=EB=D2=CAI=C0=C0G`=C0\001") at /usr/src/sys= /ddb/db_command.c:548 #2 0xc044381c in db_command (last_cmdp=3D0xc05f3040, cmd_table=3D0x0, aux_cmd_tablep=3D0xc05cae38, aux_cmd_tablep_end=3D0xc05cae3c) at /usr/src/sys/ddb/db_command.c:346 #3 0xc04438f4 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472 #4 0xc0445f69 in db_trap (type=3D3, code=3D0) at /usr/src/sys/ddb/db_trap.= c:73 #5 0xc0574cc5 in kdb_trap (type=3D3, code=3D0, regs=3D0xebe3fa34) at /usr/src/sys/i386/i386/db_interface.c:171 #6 0xc0586c34 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -1067683308, tf= _esi =3D 1, tf_ebp =3D -337380744, tf_isp =3D -337380768, tf_ebx =3D 0, tf_= edx =3D 0, tf_ecx =3D 1, tf_eax =3D 18, tf_trapno =3D 3, tf_err =3D 0, tf_e= ip =3D -1068019838, tf_cs =3D 8, tf_eflags =3D 12438, tf_esp =3D -337380700= , tf_ss =3D -337380712}) at /usr/src/sys/i386/i386/trap.c:580 #7 0xc0576268 in calltrap () at {standard input}:94 #8 0xc04a4229 in panic (fmt=3D0xc05c7214 "%s: interrupts disabled") at /usr/src/sys/kern/kern_shutdown.c:534 #9 0xc0582212 in pmap_invalidate_page (pmap=3D0xc061bcc0, va=3D3333619712) at /usr/src/sys/i386/i386/pmap.c:597 #10 0xc0583a7c in pmap_enter (pmap=3D0xc061bcc0, va=3D3333619712, m=3D0xc19= 7ebd8, prot=3D7 '\a', wired=3D1) at /usr/src/sys/i386/i386/pmap.c:2036 #11 0xc0547d8c in kmem_malloc (map=3D0xc0c310a0, size=3D4096, flags=3D1) at /usr/src/sys/vm/vm_kern.c:443 #12 0xc05550b2 in page_alloc (zone=3D0xc0c3ba80, bytes=3D4096, pflag=3D0x0,= wait=3D1) at /usr/src/sys/vm/uma_core.c:845 #13 0xc0554e5e in slab_zalloc (zone=3D0xc0c3ba80, wait=3D1) at /usr/src/sys/vm/uma_core.c:753 #14 0xc0555bdd in uma_zone_slab (zone=3D0xc0c3ba80, flags=3D1) at /usr/src/sys/vm/uma_core.c:1539 #15 0xc0555dc8 in uma_zalloc_bucket (zone=3D0xc0c3ba80, flags=3D1) at /usr/src/sys/vm/uma_core.c:1635 #16 0xc0555ada in uma_zalloc_arg (zone=3D0xc0c3ba80, udata=3D0x0, flags=3D1) at /usr/src/sys/vm/uma_core.c:1469 #17 0xc049b6c3 in malloc (size=3D3234052736, type=3D0xc05d3240, flags=3D1) at /usr/src/sys/vm/uma.h:234 #18 0xc0472bfe in random_harvest_internal (somecounter=3D168282886354, entropy=3D0xebe3fc44, count=3D8, bits=3D0, frac=3D0, origin=3DRANDOM_IN= TERRUPT) at /usr/src/sys/dev/random/randomdev.c:370 #19 0xc04725f9 in random_harvest (entropy=3D0xebe3fc44, count=3D8, bits=3D2= , frac=3D0, origin=3DRANDOM_INTERRUPT) at machine/cpu.h:104 #20 0xc04949aa in ithread_schedule (ithread=3D0xc25a5600, do_switch=3D1) at /usr/src/sys/kern/kern_intr.c:378 #21 0xc0579b5e in intr_execute_handlers (isrc=3D0xc259fdac, iframe=3D0x16) at /usr/src/sys/i386/i386/intr_machdep.c:206 #22 0xc057bc6a in lapic_handle_intr (frame=3D {if_vec =3D 64, if_fs =3D 24, if_es =3D -1067778032, if_ds =3D 16, if= _edi =3D -964573952, if_esi =3D -1067681663, if_ebp =3D -337380124, if_ebx = =3D 1006, if_edx =3D -964573952, if_ecx =3D -961720212, if_eax =3D 4, if_ei= p =3D -1068906191, if_cs =3D 8, if_eflags =3D 12870, if_esp =3D -961720212,= if_ss =3D -961720320}) at /usr/src/sys/i386/i386/local_apic.c:488 #23 0xc0571e63 in Xapic_isr2 () at {standard input}:37 #24 0xc0587398 in syscall (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 6, tf_esi =3D 4= 00, tf_ebp =3D -1077941528, tf_isp =3D -337379980, tf_ebx =3D 140448768, tf= _edx =3D 0, tf_ecx =3D 0, tf_eax =3D 3, tf_trapno =3D 12, tf_err =3D 2, tf_= eip =3D -2011007837, tf_cs =3D 31, tf_eflags =3D 12950, tf_esp =3D -1077941= 572, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1006 #25 0xc05762bd in Xint0x80_syscall () at {standard input}:136 ---Can't read userspace from dump, or kernel process--- DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Tue Nov 18 05:42:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20A1716A4CE; Tue, 18 Nov 2003 05:42:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 104A243F75; Tue, 18 Nov 2003 05:42:05 -0800 (PST) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIDg4XJ045216; Tue, 18 Nov 2003 05:42:04 -0800 (PST) (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIDg4Ps045215; Tue, 18 Nov 2003 05:42:04 -0800 (PST) (envelope-from simon) Message-Id: <200311181342.hAIDg4Ps045215@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Tue, 18 Nov 2003 05:42:04 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/gnu/usr.bin/groff/tmac mdoc.local X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 13:42:06 -0000 simon 2003/11/18 05:42:04 PST FreeBSD src repository (doc committer) Modified files: (Branch: RELENG_4) gnu/usr.bin/groff/tmac mdoc.local Log: Bump version number since we are at 4.9-STABLE now. Approved by: ru Revision Changes Path 1.2.2.21 +1 -1 src/gnu/usr.bin/groff/tmac/mdoc.local From owner-cvs-src@FreeBSD.ORG Tue Nov 18 05:43:38 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A094E16A4CF for ; Tue, 18 Nov 2003 05:43:38 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B985643FE1 for ; Tue, 18 Nov 2003 05:43:31 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 14667 invoked by uid 110); 18 Nov 2003 13:43:30 -0000 Received: (qmail 14654 invoked from network); 18 Nov 2003 13:43:29 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 13:43:29 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 78E675727A for ; Tue, 18 Nov 2003 05:42:45 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id EF96916A4CE; Tue, 18 Nov 2003 05:42:39 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 675AB16A4D1; Tue, 18 Nov 2003 05:42:38 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20A1716A4CE; Tue, 18 Nov 2003 05:42:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 104A243F75; Tue, 18 Nov 2003 05:42:05 -0800 (PST) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIDg4XJ045216; Tue, 18 Nov 2003 05:42:04 -0800 (PST) (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIDg4Ps045215; Tue, 18 Nov 2003 05:42:04 -0800 (PST) (envelope-from simon) Message-Id: <200311181342.hAIDg4Ps045215@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Tue, 18 Nov 2003 05:42:04 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/gnu/usr.bin/groff/tmac mdoc.local X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 13:43:38 -0000 simon 2003/11/18 05:42:04 PST FreeBSD src repository (doc committer) Modified files: (Branch: RELENG_4) gnu/usr.bin/groff/tmac mdoc.local Log: Bump version number since we are at 4.9-STABLE now. Approved by: ru Revision Changes Path 1.2.2.21 +1 -1 src/gnu/usr.bin/groff/tmac/mdoc.local From owner-cvs-src@FreeBSD.ORG Tue Nov 18 05:50:15 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD84D16A4CE; Tue, 18 Nov 2003 05:50:15 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F9F943FCB; Tue, 18 Nov 2003 05:50:14 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) hAIDoCVt059749; Tue, 18 Nov 2003 13:50:12 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)hAIDoBmV059748; Tue, 18 Nov 2003 13:50:11 GMT (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])hAIDk2Dw078550; Tue, 18 Nov 2003 13:46:02 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200311181346.hAIDk2Dw078550@grimreaper.grondar.org> To: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) In-Reply-To: Your message of "Tue, 18 Nov 2003 11:37:44 +0100." Date: Tue, 18 Nov 2003 13:46:02 +0000 Sender: mark@grondar.org X-Spam-Status: No, hits=0.2 required=5.0 tests=EMAIL_ATTRIBUTION,FROM_NO_LOWER,IN_REP_TO, QUOTED_EMAIL_TEXT,REPLY_WITH_QUOTES version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 13:50:15 -0000 Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= writes: > Mark Murray writes: > > Log: > > Overhaul the entropy device: > > [...] > > This causes a 100% reproducable panic on my machine, which I've worked > around by disabling harvesting in rc.conf. I'm not sure if the bug is > in your code or in UMA, though. Here's a backtrace: This is 100% my cockup. I'm waiting for re@to get back to me on getting a hackfix in, and I'll fix it properly in the next day or three. M -- Mark Murray iumop ap!sdn w,I idlaH From owner-cvs-src@FreeBSD.ORG Tue Nov 18 05:51:01 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB7E616A4CF for ; Tue, 18 Nov 2003 05:51:01 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 661E143FD7 for ; Tue, 18 Nov 2003 05:50:57 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 17032 invoked by uid 110); 18 Nov 2003 13:50:57 -0000 Received: (qmail 17004 invoked from network); 18 Nov 2003 13:50:52 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 13:50:52 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 7A4F55729F for ; Tue, 18 Nov 2003 05:50:51 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id DB78F16A527; Tue, 18 Nov 2003 05:50:48 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 06A3316A4D0; Tue, 18 Nov 2003 05:50:48 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD84D16A4CE; Tue, 18 Nov 2003 05:50:15 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F9F943FCB; Tue, 18 Nov 2003 05:50:14 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) hAIDoCVt059749; Tue, 18 Nov 2003 13:50:12 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)hAIDoBmV059748; Tue, 18 Nov 2003 13:50:11 GMT (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])hAIDk2Dw078550; Tue, 18 Nov 2003 13:46:02 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200311181346.hAIDk2Dw078550@grimreaper.grondar.org> To: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) In-Reply-To: Your message of "Tue, 18 Nov 2003 11:37:44 +0100." Date: Tue, 18 Nov 2003 13:46:02 +0000 X-Spam-Status: No, hits=0.2 required=5.0 tests=EMAIL_ATTRIBUTION,FROM_NO_LOWER,IN_REP_TO, QUOTED_EMAIL_TEXT,REPLY_WITH_QUOTES version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/random harvest.c hash.c randomdev.c randomdev.h yarrow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 13:51:02 -0000 Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= writes: > Mark Murray writes: > > Log: > > Overhaul the entropy device: > > [...] > > This causes a 100% reproducable panic on my machine, which I've worked > around by disabling harvesting in rc.conf. I'm not sure if the bug is > in your code or in UMA, though. Here's a backtrace: This is 100% my cockup. I'm waiting for re@to get back to me on getting a hackfix in, and I'll fix it properly in the next day or three. M -- Mark Murray iumop ap!sdn w,I idlaH From owner-cvs-src@FreeBSD.ORG Tue Nov 18 06:21:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43C5816A4CE for ; Tue, 18 Nov 2003 06:21:28 -0800 (PST) Received: from mail.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id D524B43FDD for ; Tue, 18 Nov 2003 06:21:23 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 27045 invoked from network); 18 Nov 2003 14:21:23 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 18 Nov 2003 14:21:23 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAIELJFn017803; Tue, 18 Nov 2003 09:21:19 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031118113219.K10910@newtrinity.zeist.de> Date: Tue, 18 Nov 2003 09:21:18 -0500 (EST) From: John Baldwin To: Marius Strobl X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:21:28 -0000 On 18-Nov-2003 Marius Strobl wrote: > On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: >> >> On 17-Nov-2003 Marius Strobl wrote: >> > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: >> >> >> >> On 14-Nov-2003 John Baldwin wrote: >> >> > jhb 2003/11/14 13:02:49 PST >> >> > >> >> > FreeBSD src repository >> >> > >> >> > Modified files: >> >> > sys/i386/isa atpic.c >> >> > Log: >> >> > Always install IDT entries for ATPIC interrupt sources. The APIC no >> >> > longer uses these interrupt vectors for its ISA interrupt pins, so these >> >> > entries will not be overwritten. If we get a spurious interrupt from the >> >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead >> >> > of causing a panic. >> >> >> >> This should fix all of the "panic: Couldn't get vector from ISR" and >> >> trap 30 (reserved) panics. If you were using older versions of either >> >> spurious.patch or atpic.patch, please try reverting them and using >> >> plain CVS to see if that fixes your problem. If not, please let me know. >> >> If you get several stray IRQ 7 messages and would like to shut them up, >> >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch >> >> >> > >> > Unfortunately it doesn't fix the type 30 trap triggered by a spurious > > Oops, meant stray interrupt... > >> > interrupt here (need atpic.patch). >> >> Do you get the trap very early? >> > > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ > or http://quad.zeist.de/newintr.log (this was with older sources but the > problem is still the same after the commit above). Can you try www.freebsd.org/~jhb/patches/vm86.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Tue Nov 18 06:21:35 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D05F16A4CE; Tue, 18 Nov 2003 06:21:35 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D231C43FBD; Tue, 18 Nov 2003 06:21:34 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIELYXJ047614; Tue, 18 Nov 2003 06:21:34 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIELYYl047613; Tue, 18 Nov 2003 06:21:34 -0800 (PST) (envelope-from tjr) Message-Id: <200311181421.hAIELYYl047613@repoman.freebsd.org> From: "Tim J. Robbins" Date: Tue, 18 Nov 2003 06:21:34 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/ibcs2 imgact_coff.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:21:35 -0000 tjr 2003/11/18 06:21:34 PST FreeBSD src repository Modified files: sys/i386/ibcs2 imgact_coff.c Log: Replace the dangerous strcpy() call with strlcpy(), instead of the safe one that was incorrectly changed in rev. 1.61. Approved by: re Revision Changes Path 1.62 +2 -2 src/sys/i386/ibcs2/imgact_coff.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 06:21:42 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5555116A4CF; Tue, 18 Nov 2003 06:21:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B991543FCB; Tue, 18 Nov 2003 06:21:41 -0800 (PST) (envelope-from jake@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIELfXJ047647; Tue, 18 Nov 2003 06:21:41 -0800 (PST) (envelope-from jake@repoman.freebsd.org) Received: (from jake@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIELf3t047644; Tue, 18 Nov 2003 06:21:41 -0800 (PST) (envelope-from jake) Message-Id: <200311181421.hAIELf3t047644@repoman.freebsd.org> From: Jake Burkholder Date: Tue, 18 Nov 2003 06:21:41 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/sparc64/sys __sparc_utrap_setup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:21:42 -0000 jake 2003/11/18 06:21:41 PST FreeBSD src repository Modified files: lib/libc/sparc64/sys __sparc_utrap_setup.c Log: Install the user trap handlers that libc provides from a constructor, so that they will be installed before application constructors are invoked. Its possible to link applications such that this fails, application code is invoked before they are installed, but, well, Don't Do That. Approved by: re (jhb) Revision Changes Path 1.5 +2 -0 src/lib/libc/sparc64/sys/__sparc_utrap_setup.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 06:22:19 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F87C16A4D0 for ; Tue, 18 Nov 2003 06:22:19 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DBEC43FD7 for ; Tue, 18 Nov 2003 06:22:14 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 25462 invoked by uid 110); 18 Nov 2003 14:22:13 -0000 Received: (qmail 25448 invoked from network); 18 Nov 2003 14:22:12 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 14:22:12 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 5F950575A8 for ; Tue, 18 Nov 2003 06:22:06 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 0B24E16A536; Tue, 18 Nov 2003 06:22:02 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 882B416A4D2; Tue, 18 Nov 2003 06:22:00 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C6A516A4D0 for ; Tue, 18 Nov 2003 06:21:28 -0800 (PST) Received: from mail.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id D505243FD7 for ; Tue, 18 Nov 2003 06:21:23 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 27045 invoked from network); 18 Nov 2003 14:21:23 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 18 Nov 2003 14:21:23 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAIELJFn017803; Tue, 18 Nov 2003 09:21:19 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031118113219.K10910@newtrinity.zeist.de> Date: Tue, 18 Nov 2003 09:21:18 -0500 (EST) From: John Baldwin To: Marius Strobl X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:22:19 -0000 On 18-Nov-2003 Marius Strobl wrote: > On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: >> >> On 17-Nov-2003 Marius Strobl wrote: >> > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: >> >> >> >> On 14-Nov-2003 John Baldwin wrote: >> >> > jhb 2003/11/14 13:02:49 PST >> >> > >> >> > FreeBSD src repository >> >> > >> >> > Modified files: >> >> > sys/i386/isa atpic.c >> >> > Log: >> >> > Always install IDT entries for ATPIC interrupt sources. The APIC no >> >> > longer uses these interrupt vectors for its ISA interrupt pins, so these >> >> > entries will not be overwritten. If we get a spurious interrupt from the >> >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead >> >> > of causing a panic. >> >> >> >> This should fix all of the "panic: Couldn't get vector from ISR" and >> >> trap 30 (reserved) panics. If you were using older versions of either >> >> spurious.patch or atpic.patch, please try reverting them and using >> >> plain CVS to see if that fixes your problem. If not, please let me know. >> >> If you get several stray IRQ 7 messages and would like to shut them up, >> >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch >> >> >> > >> > Unfortunately it doesn't fix the type 30 trap triggered by a spurious > > Oops, meant stray interrupt... > >> > interrupt here (need atpic.patch). >> >> Do you get the trap very early? >> > > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ > or http://quad.zeist.de/newintr.log (this was with older sources but the > problem is still the same after the commit above). Can you try www.freebsd.org/~jhb/patches/vm86.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Tue Nov 18 06:22:44 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 659B516A4D2 for ; Tue, 18 Nov 2003 06:22:44 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B810443FBF for ; Tue, 18 Nov 2003 06:22:40 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 25558 invoked by uid 110); 18 Nov 2003 14:22:40 -0000 Received: (qmail 25540 invoked from network); 18 Nov 2003 14:22:37 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 14:22:37 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 9879F57BA7 for ; Tue, 18 Nov 2003 06:22:36 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 2D3AA16A534; Tue, 18 Nov 2003 06:22:33 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 0649616A4D2; Tue, 18 Nov 2003 06:22:32 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D05F16A4CE; Tue, 18 Nov 2003 06:21:35 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D231C43FBD; Tue, 18 Nov 2003 06:21:34 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIELYXJ047614; Tue, 18 Nov 2003 06:21:34 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIELYYl047613; Tue, 18 Nov 2003 06:21:34 -0800 (PST) (envelope-from tjr) Message-Id: <200311181421.hAIELYYl047613@repoman.freebsd.org> From: "Tim J. Robbins" Date: Tue, 18 Nov 2003 06:21:34 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/i386/ibcs2 imgact_coff.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:22:44 -0000 tjr 2003/11/18 06:21:34 PST FreeBSD src repository Modified files: sys/i386/ibcs2 imgact_coff.c Log: Replace the dangerous strcpy() call with strlcpy(), instead of the safe one that was incorrectly changed in rev. 1.61. Approved by: re Revision Changes Path 1.62 +2 -2 src/sys/i386/ibcs2/imgact_coff.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 06:23:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B493716A4D0 for ; Tue, 18 Nov 2003 06:23:21 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011F743FD7 for ; Tue, 18 Nov 2003 06:23:17 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 25779 invoked by uid 110); 18 Nov 2003 14:23:16 -0000 Received: (qmail 25766 invoked from network); 18 Nov 2003 14:23:16 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 14:23:16 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 6DC7E56CD8 for ; Tue, 18 Nov 2003 06:23:10 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id B854116A542; Tue, 18 Nov 2003 06:23:05 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id 51ACD16A4DD; Tue, 18 Nov 2003 06:23:04 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5555116A4CF; Tue, 18 Nov 2003 06:21:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B991543FCB; Tue, 18 Nov 2003 06:21:41 -0800 (PST) (envelope-from jake@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIELfXJ047647; Tue, 18 Nov 2003 06:21:41 -0800 (PST) (envelope-from jake@repoman.freebsd.org) Received: (from jake@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIELf3t047644; Tue, 18 Nov 2003 06:21:41 -0800 (PST) (envelope-from jake) Message-Id: <200311181421.hAIELf3t047644@repoman.freebsd.org> From: Jake Burkholder Date: Tue, 18 Nov 2003 06:21:41 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/lib/libc/sparc64/sys __sparc_utrap_setup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:23:21 -0000 jake 2003/11/18 06:21:41 PST FreeBSD src repository Modified files: lib/libc/sparc64/sys __sparc_utrap_setup.c Log: Install the user trap handlers that libc provides from a constructor, so that they will be installed before application constructors are invoked. Its possible to link applications such that this fails, application code is invoked before they are installed, but, well, Don't Do That. Approved by: re (jhb) Revision Changes Path 1.5 +2 -0 src/lib/libc/sparc64/sys/__sparc_utrap_setup.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 06:35:45 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02DFD16A4CE; Tue, 18 Nov 2003 06:35:45 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B11943F3F; Tue, 18 Nov 2003 06:35:44 -0800 (PST) (envelope-from markm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIEZiXJ048136; Tue, 18 Nov 2003 06:35:44 -0800 (PST) (envelope-from markm@repoman.freebsd.org) Received: (from markm@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIEZhtY048135; Tue, 18 Nov 2003 06:35:43 -0800 (PST) (envelope-from markm) Message-Id: <200311181435.hAIEZhtY048135@repoman.freebsd.org> From: Mark Murray Date: Tue, 18 Nov 2003 06:35:43 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:35:45 -0000 markm 2003/11/18 06:35:43 PST FreeBSD src repository Modified files: sys/kern kern_intr.c Log: Hackfix to patch around a kernel panic I introduced. Real fix to follow. In the meanwhile, we are not harvesting interrupt entropy. Approved by: re (jhb) Revision Changes Path 1.102 +4 -0 src/sys/kern/kern_intr.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 06:36:36 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD54A16A4CF for ; Tue, 18 Nov 2003 06:36:36 -0800 (PST) Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id DADEA43FDD for ; Tue, 18 Nov 2003 06:36:29 -0800 (PST) (envelope-from abuse@stormweb.ca) Received: (qmail 29337 invoked by uid 110); 18 Nov 2003 14:36:29 -0000 Received: (qmail 29309 invoked from network); 18 Nov 2003 14:36:26 -0000 Received: from mx2.freebsd.org (216.136.204.119) by floyd.stormweb.net with SMTP; 18 Nov 2003 14:36:26 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 16D09575CB for ; Tue, 18 Nov 2003 06:36:22 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 67B8516A538; Tue, 18 Nov 2003 06:36:18 -0800 (PST) Received: by hub.freebsd.org (Postfix, from userid 538) id F143316A4D0; Tue, 18 Nov 2003 06:36:16 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02DFD16A4CE; Tue, 18 Nov 2003 06:35:45 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B11943F3F; Tue, 18 Nov 2003 06:35:44 -0800 (PST) (envelope-from markm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIEZiXJ048136; Tue, 18 Nov 2003 06:35:44 -0800 (PST) (envelope-from markm@repoman.freebsd.org) Received: (from markm@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIEZhtY048135; Tue, 18 Nov 2003 06:35:43 -0800 (PST) (envelope-from markm) Message-Id: <200311181435.hAIEZhtY048135@repoman.freebsd.org> From: Mark Murray Date: Tue, 18 Nov 2003 06:35:43 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-SpamGuard: checked X-SpamScore: 0.0|10 Subject: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:36:37 -0000 markm 2003/11/18 06:35:43 PST FreeBSD src repository Modified files: sys/kern kern_intr.c Log: Hackfix to patch around a kernel panic I introduced. Real fix to follow. In the meanwhile, we are not harvesting interrupt entropy. Approved by: re (jhb) Revision Changes Path 1.102 +4 -0 src/sys/kern/kern_intr.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 07:13:43 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 559E416A4CE; Tue, 18 Nov 2003 07:13:43 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A69F743F93; Tue, 18 Nov 2003 07:13:41 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hAIFDeK0000830; Tue, 18 Nov 2003 16:13:40 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hAIFDZqn000829; Tue, 18 Nov 2003 16:13:35 +0100 (CET) (envelope-from marius) Date: Tue, 18 Nov 2003 16:13:35 +0100 From: Marius Strobl To: John Baldwin Message-ID: <20031118161335.P10910@newtrinity.zeist.de> References: <20031118113219.K10910@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Tue, Nov 18, 2003 at 09:21:18AM -0500 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.39 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 15:13:43 -0000 On Tue, Nov 18, 2003 at 09:21:18AM -0500, John Baldwin wrote: > > On 18-Nov-2003 Marius Strobl wrote: > > On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: > >> > >> On 17-Nov-2003 Marius Strobl wrote: > >> > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: > >> >> > >> >> On 14-Nov-2003 John Baldwin wrote: > >> >> > jhb 2003/11/14 13:02:49 PST > >> >> > > >> >> > FreeBSD src repository > >> >> > > >> >> > Modified files: > >> >> > sys/i386/isa atpic.c > >> >> > Log: > >> >> > Always install IDT entries for ATPIC interrupt sources. The APIC no > >> >> > longer uses these interrupt vectors for its ISA interrupt pins, so these > >> >> > entries will not be overwritten. If we get a spurious interrupt from the > >> >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead > >> >> > of causing a panic. > >> >> > >> >> This should fix all of the "panic: Couldn't get vector from ISR" and > >> >> trap 30 (reserved) panics. If you were using older versions of either > >> >> spurious.patch or atpic.patch, please try reverting them and using > >> >> plain CVS to see if that fixes your problem. If not, please let me know. > >> >> If you get several stray IRQ 7 messages and would like to shut them up, > >> >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch > >> >> > >> > > >> > Unfortunately it doesn't fix the type 30 trap triggered by a spurious > > > > Oops, meant stray interrupt... > > > >> > interrupt here (need atpic.patch). > >> > >> Do you get the trap very early? > >> > > > > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ > > or http://quad.zeist.de/newintr.log (this was with older sources but the > > problem is still the same after the commit above). > > Can you try www.freebsd.org/~jhb/patches/vm86.patch > Looks worse: http://quad.zeist.de/newintr2.log From owner-cvs-src@FreeBSD.ORG Tue Nov 18 07:27:41 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CBCE16A4CF; Tue, 18 Nov 2003 07:27:41 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C6AA440FF; Tue, 18 Nov 2003 07:23:39 -0800 (PST) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIFNcXJ050844; Tue, 18 Nov 2003 07:23:38 -0800 (PST) (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIFNclq050843; Tue, 18 Nov 2003 07:23:38 -0800 (PST) (envelope-from sos) Message-Id: <200311181523.hAIFNclq050843@repoman.freebsd.org> From: Søren Schmidt Date: Tue, 18 Nov 2003 07:23:38 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata atapi-cd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 15:27:41 -0000 sos 2003/11/18 07:23:38 PST FreeBSD src repository Modified files: sys/dev/ata atapi-cd.c Log: Work around the problem that some CDROM drives might return different TOC's for the same media!! that borks up GEOM. Although this looks like bad HW the following patch removes the chance for GEOM panic'ing. Approved by: re@ Revision Changes Path 1.155 +5 -3 src/sys/dev/ata/atapi-cd.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 07:32:44 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A33A16A50D; Tue, 18 Nov 2003 07:32:44 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F047E440DC; Tue, 18 Nov 2003 07:27:35 -0800 (PST) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIFRTXJ051070; Tue, 18 Nov 2003 07:27:29 -0800 (PST) (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIFRTB4051069; Tue, 18 Nov 2003 07:27:29 -0800 (PST) (envelope-from sos) Message-Id: <200311181527.hAIFRTB4051069@repoman.freebsd.org> From: Søren Schmidt Date: Tue, 18 Nov 2003 07:27:29 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 15:32:44 -0000 sos 2003/11/18 07:27:29 PST FreeBSD src repository Modified files: sys/dev/ata ata-chipset.c ata-pci.h Log: Add support for the SiS964 ATA/SATA southbridge. This could not have been done without the support from kuriyama. Approved by: re@ Revision Changes Path 1.46 +10 -3 src/sys/dev/ata/ata-chipset.c 1.18 +9 -6 src/sys/dev/ata/ata-pci.h From owner-cvs-src@FreeBSD.ORG Tue Nov 18 07:45:11 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E471F16A4D1; Tue, 18 Nov 2003 07:45:10 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CB6943FB1; Tue, 18 Nov 2003 07:45:09 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 3BB1C2A8EB; Tue, 18 Nov 2003 07:45:09 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Marius Strobl In-Reply-To: <20031118161335.P10910@newtrinity.zeist.de> Date: Tue, 18 Nov 2003 07:45:09 -0800 From: Peter Wemm Message-Id: <20031118154509.3BB1C2A8EB@canning.wemm.org> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: John Baldwin Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 15:45:11 -0000 Marius Strobl wrote: > On Tue, Nov 18, 2003 at 09:21:18AM -0500, John Baldwin wrote: > > > > On 18-Nov-2003 Marius Strobl wrote: > > > On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: > > >> > > >> On 17-Nov-2003 Marius Strobl wrote: > > >> > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: > > >> >> > > >> >> On 14-Nov-2003 John Baldwin wrote: > > >> >> > jhb 2003/11/14 13:02:49 PST > > >> >> > > > >> >> > FreeBSD src repository > > >> >> > > > >> >> > Modified files: > > >> >> > sys/i386/isa atpic.c > > >> >> > Log: > > >> >> > Always install IDT entries for ATPIC interrupt sources. The APIC no > > >> >> > longer uses these interrupt vectors for its ISA interrupt pins, s o these > > >> >> > entries will not be overwritten. If we get a spurious interrupt from the > > >> >> > ATPIC when using the APIC, it will be treated as a stray interrup t instead > > >> >> > of causing a panic. > > >> >> > > >> >> This should fix all of the "panic: Couldn't get vector from ISR" and > > >> >> trap 30 (reserved) panics. If you were using older versions of eithe r > > >> >> spurious.patch or atpic.patch, please try reverting them and using > > >> >> plain CVS to see if that fixes your problem. If not, please let me k now. > > >> >> If you get several stray IRQ 7 messages and would like to shut them u p, > > >> >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch > > >> >> > > >> > > > >> > Unfortunately it doesn't fix the type 30 trap triggered by a spurious > > > > > > Oops, meant stray interrupt... > > > > > >> > interrupt here (need atpic.patch). > > >> > > >> Do you get the trap very early? > > >> > > > > > > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ > > > or http://quad.zeist.de/newintr.log (this was with older sources but the > > > problem is still the same after the commit above). > > > > Can you try www.freebsd.org/~jhb/patches/vm86.patch > > > > Looks worse: http://quad.zeist.de/newintr2.log Can I get you to try this instead please? Index: sys/i386/i386/machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v retrieving revision 1.582 diff -u -r1.582 machdep.c --- machdep.c 14 Nov 2003 19:00:02 -0000 1.582 +++ machdep.c 18 Nov 2003 15:43:51 -0000 @@ -1947,6 +1947,10 @@ int gsel_tss, metadata_missing, off, x; struct pcpu *pc; + /* Preemptively mask the atpics and leave them shut down */ + outb(IO_ICU1 + ICU_IMR_OFFSET, 0xff); + outb(IO_ICU2 + ICU_IMR_OFFSET, 0xff); + proc0.p_uarea = proc0uarea; thread0.td_kstack = proc0kstack; thread0.td_pcb = (struct pcb *) Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 From owner-cvs-src@FreeBSD.ORG Tue Nov 18 08:22:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8585216A4CE; Tue, 18 Nov 2003 08:22:18 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A27B843FB1; Tue, 18 Nov 2003 08:22:16 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hAIGMFK0002276; Tue, 18 Nov 2003 17:22:15 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hAIGMA93002275; Tue, 18 Nov 2003 17:22:10 +0100 (CET) (envelope-from marius) Date: Tue, 18 Nov 2003 17:22:09 +0100 From: Marius Strobl To: Peter Wemm Message-ID: <20031118172209.Q10910@newtrinity.zeist.de> References: <20031118161335.P10910@newtrinity.zeist.de> <20031118154509.3BB1C2A8EB@canning.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031118154509.3BB1C2A8EB@canning.wemm.org>; from peter@wemm.org on Tue, Nov 18, 2003 at 07:45:09AM -0800 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.39 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: John Baldwin Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 16:22:18 -0000 On Tue, Nov 18, 2003 at 07:45:09AM -0800, Peter Wemm wrote: > Marius Strobl wrote: > > On Tue, Nov 18, 2003 at 09:21:18AM -0500, John Baldwin wrote: > > > > > > On 18-Nov-2003 Marius Strobl wrote: > > > > On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: > > > >> > > > >> On 17-Nov-2003 Marius Strobl wrote: > > > >> > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: > > > >> >> > > > >> >> On 14-Nov-2003 John Baldwin wrote: > > > >> >> > jhb 2003/11/14 13:02:49 PST > > > >> >> > > > > >> >> > FreeBSD src repository > > > >> >> > > > > >> >> > Modified files: > > > >> >> > sys/i386/isa atpic.c > > > >> >> > Log: > > > >> >> > Always install IDT entries for ATPIC interrupt sources. The APIC > no > > > >> >> > longer uses these interrupt vectors for its ISA interrupt pins, s > o these > > > >> >> > entries will not be overwritten. If we get a spurious interrupt > from the > > > >> >> > ATPIC when using the APIC, it will be treated as a stray interrup > t instead > > > >> >> > of causing a panic. > > > >> >> > > > >> >> This should fix all of the "panic: Couldn't get vector from ISR" and > > > >> >> trap 30 (reserved) panics. If you were using older versions of eithe > r > > > >> >> spurious.patch or atpic.patch, please try reverting them and using > > > >> >> plain CVS to see if that fixes your problem. If not, please let me k > now. > > > >> >> If you get several stray IRQ 7 messages and would like to shut them u > p, > > > >> >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch > > > >> >> > > > >> > > > > >> > Unfortunately it doesn't fix the type 30 trap triggered by a spurious > > > > > > > > Oops, meant stray interrupt... > > > > > > > >> > interrupt here (need atpic.patch). > > > >> > > > >> Do you get the trap very early? > > > >> > > > > > > > > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ > > > > or http://quad.zeist.de/newintr.log (this was with older sources but the > > > > problem is still the same after the commit above). > > > > > > Can you try www.freebsd.org/~jhb/patches/vm86.patch > > > > > > > Looks worse: http://quad.zeist.de/newintr2.log > > Can I get you to try this instead please? > > Index: sys/i386/i386/machdep.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v > retrieving revision 1.582 > diff -u -r1.582 machdep.c > --- machdep.c 14 Nov 2003 19:00:02 -0000 1.582 > +++ machdep.c 18 Nov 2003 15:43:51 -0000 > @@ -1947,6 +1947,10 @@ > int gsel_tss, metadata_missing, off, x; > struct pcpu *pc; > > + /* Preemptively mask the atpics and leave them shut down */ > + outb(IO_ICU1 + ICU_IMR_OFFSET, 0xff); > + outb(IO_ICU2 + ICU_IMR_OFFSET, 0xff); > + > proc0.p_uarea = proc0uarea; > thread0.td_kstack = proc0kstack; > thread0.td_pcb = (struct pcb *) > > I had to include i386/isa/isa.h to make it compile but it works. From owner-cvs-src@FreeBSD.ORG Tue Nov 18 09:25:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58EC416A4CE; Tue, 18 Nov 2003 09:25:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA42443FB1; Tue, 18 Nov 2003 09:25:53 -0800 (PST) (envelope-from pdeuskar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIHPrXJ063301; Tue, 18 Nov 2003 09:25:53 -0800 (PST) (envelope-from pdeuskar@repoman.freebsd.org) Received: (from pdeuskar@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIHPrCI063300; Tue, 18 Nov 2003 09:25:53 -0800 (PST) (envelope-from pdeuskar) Message-Id: <200311181725.hAIHPrCI063300@repoman.freebsd.org> From: Prafulla Deuskar Date: Tue, 18 Nov 2003 09:25:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/dev/em if_em.c if_em.h if_em_hw.c if_em_hw.h if_em_osdep.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 17:25:54 -0000 pdeuskar 2003/11/18 09:25:53 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/dev/em if_em.c if_em.h if_em_hw.c if_em_hw.h if_em_osdep.h Log: MFC: - Code cleanup - In the receive routine handle the case where last descriptor could have less than 4 bytes of data. - Handle race between detach/ioctl routine. - Add facilities for tuning "em" drivers interrupt delays without recompiling the driver. These changes were done by John Polstra. Submitted by: jdp (sysctl's for interrupt delay tuning) Revision Changes Path 1.2.2.17 +154 -20 src/sys/dev/em/if_em.c 1.1.2.16 +12 -5 src/sys/dev/em/if_em.h 1.1.2.10 +18 -88 src/sys/dev/em/if_em_hw.c 1.1.2.10 +0 -10 src/sys/dev/em/if_em_hw.h 1.1.2.13 +28 -29 src/sys/dev/em/if_em_osdep.h From owner-cvs-src@FreeBSD.ORG Tue Nov 18 10:17:40 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C45B16A4CE; Tue, 18 Nov 2003 10:17:40 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D639D43FF3; Tue, 18 Nov 2003 10:17:39 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIIHdXJ066031; Tue, 18 Nov 2003 10:17:39 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIIHddK066030; Tue, 18 Nov 2003 10:17:39 -0800 (PST) (envelope-from phk) Message-Id: <200311181817.hAIIHddK066030@repoman.freebsd.org> From: Poul-Henning Kamp Date: Tue, 18 Nov 2003 10:17:39 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom geom_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 18:17:40 -0000 phk 2003/11/18 10:17:39 PST FreeBSD src repository Modified files: sys/geom geom_subr.c Log: Call class->init() an class->fini() while the class is hooked up, rather than right before and right after. This allows these routines to manipulate the mesh. KASSERT that nobody creates a geom on an alien class. Assert topology in g_valid_obj(). Approved by: re@ Revision Changes Path 1.63 +5 -3 src/sys/geom/geom_subr.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 10:19:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CD0516A4CE; Tue, 18 Nov 2003 10:19:27 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E613743F75; Tue, 18 Nov 2003 10:19:26 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIIJQXJ066081; Tue, 18 Nov 2003 10:19:26 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIIJQ4b066080; Tue, 18 Nov 2003 10:19:26 -0800 (PST) (envelope-from phk) Message-Id: <200311181819.hAIIJQ4b066080@repoman.freebsd.org> From: Poul-Henning Kamp Date: Tue, 18 Nov 2003 10:19:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/md md.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 18:19:27 -0000 phk 2003/11/18 10:19:26 PST FreeBSD src repository Modified files: sys/dev/md md.c Log: Use the class->init() to hitch up preload devices, rather than rely on the "old" SYSINIT. This makes sure things happen in the right order. XXX: md(4) needs to be fully geom-ified and in particluar /dev/md.ctl should be abandonded for the GEOM OaM api. Approved by: re@ Revision Changes Path 1.108 +6 -2 src/sys/dev/md/md.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 10:26:20 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7018116A4CE; Tue, 18 Nov 2003 10:26:20 -0800 (PST) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B18543FD7; Tue, 18 Nov 2003 10:26:19 -0800 (PST) (envelope-from danfe@regency.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 1AMBa3-0007sP-00; Wed, 19 Nov 2003 01:32:07 +0600 Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 1AMBa2-0007rR-00; Wed, 19 Nov 2003 01:32:06 +0600 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.9p2/8.12.9) with ESMTP id hAIIRtg1060716; Wed, 19 Nov 2003 00:27:55 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.9p2/8.12.9/Submit) id hAIIRtc0060654; Wed, 19 Nov 2003 00:27:55 +0600 (NOVT) (envelope-from danfe) Date: Wed, 19 Nov 2003 00:27:55 +0600 From: Alexey Dokuchaev To: Poul-Henning Kamp Message-ID: <20031118182755.GA49964@regency.nsu.ru> References: <200311161824.hAGIOOqb004097@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311161824.hAGIOOqb004097@repoman.freebsd.org> User-Agent: Mutt/1.4.1i X-Envelope-To: phk@freebsd.org, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/btx/btx btx.s X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 18:26:20 -0000 On Sun, Nov 16, 2003 at 10:24:24AM -0800, Poul-Henning Kamp wrote: > phk 2003/11/16 10:24:24 PST > > FreeBSD src repository > > Modified files: > sys/boot/i386/btx/btx btx.s > Log: > When rebooting the machine jump to 0xf000:0xfff0 instead of 0xffff:0x0. Back in my days of DOS hacking, I used to jump to 0xf0f0:0xf0f0 :) ./danfe From owner-cvs-src@FreeBSD.ORG Tue Nov 18 10:31:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29C9716A4CE; Tue, 18 Nov 2003 10:31:21 -0800 (PST) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 533FF43F93; Tue, 18 Nov 2003 10:31:18 -0800 (PST) (envelope-from danfe@regency.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 1AMBet-0001b2-00; Wed, 19 Nov 2003 01:37:07 +0600 Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 1AMBes-0001ZG-00; Wed, 19 Nov 2003 01:37:06 +0600 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.9p2/8.12.9) with ESMTP id hAIIWtg1069172; Wed, 19 Nov 2003 00:32:55 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.9p2/8.12.9/Submit) id hAIIWtRI069134; Wed, 19 Nov 2003 00:32:55 +0600 (NOVT) (envelope-from danfe) Date: Wed, 19 Nov 2003 00:32:55 +0600 From: Alexey Dokuchaev To: Robert Watson , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20031118183254.GB49964@regency.nsu.ru> References: <200311170008.hAH08SMA032168@repoman.freebsd.org> <20031117004018.GA49450@VARK.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031117004018.GA49450@VARK.homeunix.com> User-Agent: Mutt/1.4.1i X-Envelope-To: rwatson@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 18:31:21 -0000 On Sun, Nov 16, 2003 at 04:40:18PM -0800, David Schultz wrote: > On Sun, Nov 16, 2003, Robert Watson wrote: > > > > On Sun, 16 Nov 2003, David Schultz wrote: > > > > > Modified files: > > > sbin/nologin nologin.8 > > > Log: > > > Document nologin(8) as being insecure in conjunction with a dynamic > > > root and suggest alternatives. > > > > Should we simply be making nologin(8) an except to the dynamic link > > defaults? > > It's presently a shell script, so that isn't possible. However, > it could be converted into a trivial C program as in OpenBSD, in > which case it would be very small if statically linked. Hmm, is there anything that stops us from pulling oBSD's version? ./danfe From owner-cvs-src@FreeBSD.ORG Tue Nov 18 10:37:44 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0E6516A4CE; Tue, 18 Nov 2003 10:37:44 -0800 (PST) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8911043F3F; Tue, 18 Nov 2003 10:37:41 -0800 (PST) (envelope-from danfe@regency.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 1AMBl5-0004dp-00; Wed, 19 Nov 2003 01:43:31 +0600 Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 1AMBl4-0004d4-00; Wed, 19 Nov 2003 01:43:30 +0600 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.9p2/8.12.9) with ESMTP id hAIIdKg1079321; Wed, 19 Nov 2003 00:39:20 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.9p2/8.12.9/Submit) id hAIIdK0v079269; Wed, 19 Nov 2003 00:39:20 +0600 (NOVT) (envelope-from danfe) Date: Wed, 19 Nov 2003 00:39:19 +0600 From: Alexey Dokuchaev To: Robert Watson , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Message-ID: <20031118183919.GC49964@regency.nsu.ru> References: <200311170008.hAH08SMA032168@repoman.freebsd.org> <20031117004018.GA49450@VARK.homeunix.com> <20031118183254.GB49964@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031118183254.GB49964@regency.nsu.ru> User-Agent: Mutt/1.4.1i X-Envelope-To: rwatson@freebsd.org, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 18:37:45 -0000 On Wed, Nov 19, 2003 at 12:32:55AM +0600, Alexey Dokuchaev wrote: > On Sun, Nov 16, 2003 at 04:40:18PM -0800, David Schultz wrote: > > On Sun, Nov 16, 2003, Robert Watson wrote: > > > > > > On Sun, 16 Nov 2003, David Schultz wrote: > > > > > > > Modified files: > > > > sbin/nologin nologin.8 > > > > Log: > > > > Document nologin(8) as being insecure in conjunction with a dynamic > > > > root and suggest alternatives. > > > > > > Should we simply be making nologin(8) an except to the dynamic link > > > defaults? > > > > It's presently a shell script, so that isn't possible. However, > > it could be converted into a trivial C program as in OpenBSD, in > > which case it would be very small if statically linked. > > Hmm, is there anything that stops us from pulling oBSD's version? Oops, nevermind, mea culpa. Should read *all* my mail before replying to it. ./danfe From owner-cvs-src@FreeBSD.ORG Tue Nov 18 10:41:30 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0195016A4CE for ; Tue, 18 Nov 2003 10:41:30 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id C226F43FDF for ; Tue, 18 Nov 2003 10:41:27 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 64550 invoked by uid 1000); 18 Nov 2003 18:41:28 -0000 Date: Tue, 18 Nov 2003 10:41:28 -0800 (PST) From: Nate Lawson To: Alexey Dokuchaev In-Reply-To: <20031118183254.GB49964@regency.nsu.ru> Message-ID: <20031118103822.C64472@root.org> References: <200311170008.hAH08SMA032168@repoman.freebsd.org> <20031118183254.GB49964@regency.nsu.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: Robert Watson cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 18:41:30 -0000 On Wed, 19 Nov 2003, Alexey Dokuchaev wrote: > On Sun, Nov 16, 2003 at 04:40:18PM -0800, David Schultz wrote: > > On Sun, Nov 16, 2003, Robert Watson wrote: > > > > > > On Sun, 16 Nov 2003, David Schultz wrote: > > > > > > > Modified files: > > > > sbin/nologin nologin.8 > > > > Log: > > > > Document nologin(8) as being insecure in conjunction with a dynamic > > > > root and suggest alternatives. > > > > > > Should we simply be making nologin(8) an except to the dynamic link > > > defaults? > > > > It's presently a shell script, so that isn't possible. However, > > it could be converted into a trivial C program as in OpenBSD, in > > which case it would be very small if statically linked. > > Hmm, is there anything that stops us from pulling oBSD's version? > > ./danfe The bikeshed is not over until the "late reply to an early message indicating the discussion should be started all over again" happens. Therefore, this bikeshed is over. Sorry, -Nate From owner-cvs-src@FreeBSD.ORG Tue Nov 18 10:54:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0FCC16A4CE; Tue, 18 Nov 2003 10:54:34 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C21EA43FFD; Tue, 18 Nov 2003 10:54:31 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hAIIqPMg094083; Tue, 18 Nov 2003 13:52:25 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hAIIqPoG094080; Tue, 18 Nov 2003 13:52:25 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 18 Nov 2003 13:52:25 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Nate Lawson In-Reply-To: <20031118103822.C64472@root.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Alexey Dokuchaev cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG cc: cvs-src@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 18:54:34 -0000 On Tue, 18 Nov 2003, Nate Lawson wrote: > On Wed, 19 Nov 2003, Alexey Dokuchaev wrote: > > The bikeshed is not over until the "late reply to an early message > indicating the discussion should be started all over again" happens. > Therefore, this bikeshed is over. FWIW, I think we should start a new bikeshed, because I'm having trouble finding the old one. As far as I can tell, the conversation went: Hmm. Dynamic linking for nologin might raise security concerns, I'll update the man page. Why not statically link? Because it's a shell script. Maybe we should just make it a binary. Ok, I've committed it. Wait, I have a version I've been maintaining in ports that's a bit more featureful, perhaps we should commit that? So it sounds like there's lots of room for refinement, no real objection to refinement, but since we've just entered a code freeze, any refinement should be carefully discussed with re@. :-) Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories From owner-cvs-src@FreeBSD.ORG Tue Nov 18 11:06:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 175BD16A4CE; Tue, 18 Nov 2003 11:06:34 -0800 (PST) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C662343FE3; Tue, 18 Nov 2003 11:06:32 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hAIJ6Vtp017981; Tue, 18 Nov 2003 14:06:31 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20031118093053.I30811@hewey.af.speednet.com.au> References: <200311172325.hAHNPHSj062966@repoman.freebsd.org> <20031118093053.I30811@hewey.af.speednet.com.au> Date: Tue, 18 Nov 2003 14:06:30 -0500 To: Andy Farkas , Robert Watson From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Some duplicate msgs on freebsd mailing lists X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 19:06:34 -0000 Tangent from the thread: Re: cvs commit: src UPDATING At 9:32 AM +1000 11/18/03, Andy Farkas wrote: >I'm starting to receive two copies of each email sent to >cvs-all. Did something change? Interestingly enough, I'm starting to receive duplicates of *some* messages set to src-committers (which is how I receive all these cvs-commit messages). In my case, for any message where I am a CC'ed recipient, I receive one copy of the message directly to me, and two copies which claim to be coming to me via the src-committers mailing list. It looks like the duplicate has something to do with host floyd.stormweb.net: +Received: from floyd.stormweb.net (floyd.stormweb.net [65.39.129.201]) + by smtp1.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hAI8CT7O012164 + for ; Tue, 18 Nov 2003 03:12:31 -0500 +Received: (qmail 53584 invoked by uid 110); 18 Nov 2003 08:12:28 -0000 +Received: (qmail 53571 invoked from network); 18 Nov 2003 08:12:28 -0000 +Received: from mx2.freebsd.org (216.136.204.119) + by floyd.stormweb.net with SMTP; 18 Nov 2003 08:12:28 -0000 +Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) + by mx2.freebsd.org (Postfix) with ESMTP id CCBEF56D28 + for ; Tue, 18 Nov 2003 00:12:27 -0800 (PST) + (envelope-from owner-src-committers@FreeBSD.org) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-cvs-src@FreeBSD.ORG Tue Nov 18 12:43:24 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCD1F16A4CE; Tue, 18 Nov 2003 12:43:24 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5151243FA3; Tue, 18 Nov 2003 12:43:24 -0800 (PST) (envelope-from archie@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAIKhOXJ073099; Tue, 18 Nov 2003 12:43:24 -0800 (PST) (envelope-from archie@repoman.freebsd.org) Received: (from archie@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAIKhOGn073098; Tue, 18 Nov 2003 12:43:24 -0800 (PST) (envelope-from archie) Message-Id: <200311182043.hAIKhOGn073098@repoman.freebsd.org> From: Archie Cobbs Date: Tue, 18 Nov 2003 12:43:24 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_pptpgre.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 20:43:25 -0000 archie 2003/11/18 12:43:24 PST FreeBSD src repository Modified files: sys/netgraph ng_pptpgre.c Log: Lower the maximum ACK timeout for GRE packets from 10 to 1 second. In practice it seems that in situations of high packet loss the ACK timeout seems to hit this maximum (perhaps inappropriately, but the estimation algorithm is not perfect, so apparently it happens). In any case, 10 seconds is way too high a value so lower to 1 second. MFC after: 3 days Revision Changes Path 1.31 +1 -1 src/sys/netgraph/ng_pptpgre.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 12:54:58 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C611216A4CF for ; Tue, 18 Nov 2003 12:54:58 -0800 (PST) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25CC643FA3 for ; Tue, 18 Nov 2003 12:54:56 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 28768 invoked from network); 18 Nov 2003 20:54:55 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 18 Nov 2003 20:54:55 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAIKspFn019630; Tue, 18 Nov 2003 15:54:51 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031118161335.P10910@newtrinity.zeist.de> Date: Tue, 18 Nov 2003 15:54:49 -0500 (EST) From: John Baldwin To: Marius Strobl X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 20:54:58 -0000 On 18-Nov-2003 Marius Strobl wrote: > On Tue, Nov 18, 2003 at 09:21:18AM -0500, John Baldwin wrote: >> >> On 18-Nov-2003 Marius Strobl wrote: >> > On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: >> >> >> >> On 17-Nov-2003 Marius Strobl wrote: >> >> > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: >> >> >> >> >> >> On 14-Nov-2003 John Baldwin wrote: >> >> >> > jhb 2003/11/14 13:02:49 PST >> >> >> > >> >> >> > FreeBSD src repository >> >> >> > >> >> >> > Modified files: >> >> >> > sys/i386/isa atpic.c >> >> >> > Log: >> >> >> > Always install IDT entries for ATPIC interrupt sources. The APIC no >> >> >> > longer uses these interrupt vectors for its ISA interrupt pins, so these >> >> >> > entries will not be overwritten. If we get a spurious interrupt from the >> >> >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead >> >> >> > of causing a panic. >> >> >> >> >> >> This should fix all of the "panic: Couldn't get vector from ISR" and >> >> >> trap 30 (reserved) panics. If you were using older versions of either >> >> >> spurious.patch or atpic.patch, please try reverting them and using >> >> >> plain CVS to see if that fixes your problem. If not, please let me know. >> >> >> If you get several stray IRQ 7 messages and would like to shut them up, >> >> >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch >> >> >> >> >> > >> >> > Unfortunately it doesn't fix the type 30 trap triggered by a spurious >> > >> > Oops, meant stray interrupt... >> > >> >> > interrupt here (need atpic.patch). >> >> >> >> Do you get the trap very early? >> >> >> > >> > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ >> > or http://quad.zeist.de/newintr.log (this was with older sources but the >> > problem is still the same after the commit above). >> >> Can you try www.freebsd.org/~jhb/patches/vm86.patch >> > > Looks worse: http://quad.zeist.de/newintr2.log Well, vm86 is broken but that patch seems to have helped fix that breakage. There is another bug in the handling of stray interrupts. Can you revert vm86.patch and try this instead: http://www.FreeBSD.org/~jhb/patches/atpic.patch Assuming that works, you should be able to use http://www.FreeBSD.org/~jhb/patches/spurious.patch to quiet the 'stray irq 7' messages. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Tue Nov 18 13:20:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC4F516A4CE; Tue, 18 Nov 2003 13:20:33 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09C3943FDD; Tue, 18 Nov 2003 13:20:29 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) hAILKRK0007409; Tue, 18 Nov 2003 22:20:27 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id hAILKMsO007408; Tue, 18 Nov 2003 22:20:22 +0100 (CET) (envelope-from marius) Date: Tue, 18 Nov 2003 22:20:22 +0100 From: Marius Strobl To: John Baldwin Message-ID: <20031118222022.R10910@newtrinity.zeist.de> References: <20031118161335.P10910@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Tue, Nov 18, 2003 at 03:54:49PM -0500 X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.22.0.1; VDF 6.22.0.39 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 21:20:34 -0000 On Tue, Nov 18, 2003 at 03:54:49PM -0500, John Baldwin wrote: > > On 18-Nov-2003 Marius Strobl wrote: > > On Tue, Nov 18, 2003 at 09:21:18AM -0500, John Baldwin wrote: > >> > >> On 18-Nov-2003 Marius Strobl wrote: > >> > On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: > >> >> > >> >> On 17-Nov-2003 Marius Strobl wrote: > >> >> > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: > >> >> >> > >> >> >> On 14-Nov-2003 John Baldwin wrote: > >> >> >> > jhb 2003/11/14 13:02:49 PST > >> >> >> > > >> >> >> > FreeBSD src repository > >> >> >> > > >> >> >> > Modified files: > >> >> >> > sys/i386/isa atpic.c > >> >> >> > Log: > >> >> >> > Always install IDT entries for ATPIC interrupt sources. The APIC no > >> >> >> > longer uses these interrupt vectors for its ISA interrupt pins, so these > >> >> >> > entries will not be overwritten. If we get a spurious interrupt from the > >> >> >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead > >> >> >> > of causing a panic. > >> >> >> > >> >> >> This should fix all of the "panic: Couldn't get vector from ISR" and > >> >> >> trap 30 (reserved) panics. If you were using older versions of either > >> >> >> spurious.patch or atpic.patch, please try reverting them and using > >> >> >> plain CVS to see if that fixes your problem. If not, please let me know. > >> >> >> If you get several stray IRQ 7 messages and would like to shut them up, > >> >> >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch > >> >> >> > >> >> > > >> >> > Unfortunately it doesn't fix the type 30 trap triggered by a spurious > >> > > >> > Oops, meant stray interrupt... > >> > > >> >> > interrupt here (need atpic.patch). > >> >> > >> >> Do you get the trap very early? > >> >> > >> > > >> > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ > >> > or http://quad.zeist.de/newintr.log (this was with older sources but the > >> > problem is still the same after the commit above). > >> > >> Can you try www.freebsd.org/~jhb/patches/vm86.patch > >> > > > > Looks worse: http://quad.zeist.de/newintr2.log > > Well, vm86 is broken but that patch seems to have helped fix that breakage. > There is another bug in the handling of stray interrupts. Can you revert > vm86.patch and try this instead: > > http://www.FreeBSD.org/~jhb/patches/atpic.patch > Works. > Assuming that works, you should be able to use > > http://www.FreeBSD.org/~jhb/patches/spurious.patch > > to quiet the 'stray irq 7' messages. > Also works. However, as you may have noticed in my boot logs I get 'stray irq 13' with the new interrupt code when npx gets probed. I'm aware that your spurious.patch only addresses stray irqs 7 and 15, I'm just wondering a bit why the co-processor mucks up with the new code... From owner-cvs-src@FreeBSD.ORG Tue Nov 18 14:49:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from green.bikeshed.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BDFC316A4CE; Tue, 18 Nov 2003 14:49:05 -0800 (PST) Received: from green.bikeshed.org (green@localhost [127.0.0.1]) by green.bikeshed.org (8.12.10/8.12.9) with ESMTP id hAIMn46V010050; Tue, 18 Nov 2003 17:49:05 -0500 (EST) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost)hAIMn4cs010046; Tue, 18 Nov 2003 17:49:04 -0500 (EST) Message-Id: <200311182249.hAIMn4cs010046@green.bikeshed.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: John Baldwin In-Reply-To: Message from John Baldwin From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 18 Nov 2003 17:49:04 -0500 Sender: green@green.bikeshed.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Marius Strobl Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 22:49:06 -0000 John Baldwin wrote: > Well, vm86 is broken but that patch seems to have helped fix that breakage. > There is another bug in the handling of stray interrupts. Can you revert > vm86.patch and try this instead: > > http://www.FreeBSD.org/~jhb/patches/atpic.patch > > Assuming that works, you should be able to use > > http://www.FreeBSD.org/~jhb/patches/spurious.patch > > to quiet the 'stray irq 7' messages. You didn't tell me I needed atpic.patch, too :-P I guess I can try again... -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ From owner-cvs-src@FreeBSD.ORG Tue Nov 18 15:22:04 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B86DB16A4CE; Tue, 18 Nov 2003 15:22:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2923443F93; Tue, 18 Nov 2003 15:22:04 -0800 (PST) (envelope-from wilko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAINM3XJ086788; Tue, 18 Nov 2003 15:22:03 -0800 (PST) (envelope-from wilko@repoman.freebsd.org) Received: (from wilko@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAINM39Y086787; Tue, 18 Nov 2003 15:22:03 -0800 (PST) (envelope-from wilko) Message-Id: <200311182322.hAINM39Y086787@repoman.freebsd.org> From: Wilko Bulte Date: Tue, 18 Nov 2003 15:22:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/pci if_sk.c if_skreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 23:22:04 -0000 wilko 2003/11/18 15:22:03 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/pci if_sk.c if_skreg.h Log: MFC: Add vendor ID to make Marvell chipset work. E.g. to be found on SMC9452TX it seems Submitted by: Jung-uk Kim Tested by: veedee@c7.campus.utcluj.ro Revision Changes Path 1.19.2.11 +5 -0 src/sys/pci/if_sk.c 1.8.2.3 +5 -0 src/sys/pci/if_skreg.h From owner-cvs-src@FreeBSD.ORG Tue Nov 18 16:15:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B9F916A4E4; Tue, 18 Nov 2003 16:15:27 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C07E343FA3; Tue, 18 Nov 2003 16:15:24 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id LAA31467; Wed, 19 Nov 2003 11:15:21 +1100 Date: Wed, 19 Nov 2003 11:15:20 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Mark Murray In-Reply-To: <200311181435.hAIEZhtY048135@repoman.freebsd.org> Message-ID: <20031119111015.E5018@gamplex.bde.org> References: <200311181435.hAIEZhtY048135@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 00:15:27 -0000 On Tue, 18 Nov 2003, Mark Murray wrote: > markm 2003/11/18 06:35:43 PST > > FreeBSD src repository > > Modified files: > sys/kern kern_intr.c > Log: > Hackfix to patch around a kernel panic I introduced. Real fix to > follow. In the meanwhile, we are not harvesting interrupt entropy. > > Approved by: re (jhb) The correct fix is approximately to back out the changes to the harvester. It needs to use preallocated storage like it used to since it is called from nearly the lowest level of interrupt handling when neither malloc() nor sleep locks may be used. Using preallocated storage also simplifies the locking. Bruce From owner-cvs-src@FreeBSD.ORG Tue Nov 18 16:46:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9398F16A4CF for ; Tue, 18 Nov 2003 16:46:26 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 9D62043FE5 for ; Tue, 18 Nov 2003 16:46:22 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 65757 invoked by uid 1000); 19 Nov 2003 00:46:24 -0000 Date: Tue, 18 Nov 2003 16:46:24 -0800 (PST) From: Nate Lawson To: Mark Murray In-Reply-To: <20031119111015.E5018@gamplex.bde.org> Message-ID: <20031118163849.S65744@root.org> References: <200311181435.hAIEZhtY048135@repoman.freebsd.org> <20031119111015.E5018@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 00:46:26 -0000 On Wed, 19 Nov 2003, Bruce Evans wrote: > On Tue, 18 Nov 2003, Mark Murray wrote: > > > markm 2003/11/18 06:35:43 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/kern kern_intr.c > > Log: > > Hackfix to patch around a kernel panic I introduced. Real fix to > > follow. In the meanwhile, we are not harvesting interrupt entropy. > > > > Approved by: re (jhb) > > The correct fix is approximately to back out the changes to the > harvester. It needs to use preallocated storage like it used to since > it is called from nearly the lowest level of interrupt handling when > neither malloc() nor sleep locks may be used. Using preallocated storage > also simplifies the locking. I agree. Separating the buffer into per-source buffers does not require changing from a ring buffer to a malloc/FIFO model. -Nate From owner-cvs-src@FreeBSD.ORG Tue Nov 18 18:06:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5288016A4CE; Tue, 18 Nov 2003 18:06:21 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7B1043F93; Tue, 18 Nov 2003 18:06:19 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 7F4B86543E; Wed, 19 Nov 2003 02:06:18 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 53707-01-2; Wed, 19 Nov 2003 02:06:18 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 0607F65435; Wed, 19 Nov 2003 02:06:18 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 938151B; Wed, 19 Nov 2003 02:06:02 +0000 (GMT) Date: Wed, 19 Nov 2003 02:06:02 +0000 From: Bruce M Simpson To: Mark Murray Message-ID: <20031119020602.GT89189@saboteur.dek.spc.org> Mail-Followup-To: Mark Murray , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200311181435.hAIEZhtY048135@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311181435.hAIEZhtY048135@repoman.freebsd.org> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 02:06:21 -0000 On Tue, Nov 18, 2003 at 06:35:43AM -0800, Mark Murray wrote: > Log: > Hackfix to patch around a kernel panic I introduced. Real fix to > follow. In the meanwhile, we are not harvesting interrupt entropy. Looks like this one bit me today. Rebuilding kernel now. I concur with the other suggested fixes. BMS From owner-cvs-src@FreeBSD.ORG Tue Nov 18 20:12:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F07416A4CF; Tue, 18 Nov 2003 20:12:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0E3A43FB1; Tue, 18 Nov 2003 20:12:32 -0800 (PST) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJ4CWXJ006379; Tue, 18 Nov 2003 20:12:32 -0800 (PST) (envelope-from kan@repoman.freebsd.org) Received: (from kan@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJ4CWeL006378; Tue, 18 Nov 2003 20:12:32 -0800 (PST) (envelope-from kan) Message-Id: <200311190412.hAJ4CWeL006378@repoman.freebsd.org> From: Alexander Kabaev Date: Tue, 18 Nov 2003 20:12:32 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_file.c src/sys/compat/svr4 svr4_misc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 04:12:34 -0000 kan 2003/11/18 20:12:32 PST FreeBSD src repository Modified files: sys/compat/linux linux_file.c sys/compat/svr4 svr4_misc.c Log: Do not call VOP_GETATTR in getdents function. It does not serve any purpose and the resulting vattr structure was ignored. In addition, the VOP_GETATTR call was made with no vnode lock held, resulting in vnode locking violation panic with debug kernels. Reported by: truckman Approved by: re@ (rwatson) Revision Changes Path 1.83 +0 -6 src/sys/compat/linux/linux_file.c 1.68 +0 -6 src/sys/compat/svr4/svr4_misc.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 20:14:43 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4669F16A4CE; Tue, 18 Nov 2003 20:14:43 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD1D343FB1; Tue, 18 Nov 2003 20:14:42 -0800 (PST) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJ4EgXJ006494; Tue, 18 Nov 2003 20:14:42 -0800 (PST) (envelope-from kan@repoman.freebsd.org) Received: (from kan@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJ4Eg5Q006493; Tue, 18 Nov 2003 20:14:42 -0800 (PST) (envelope-from kan) Message-Id: <200311190414.hAJ4Eg5Q006493@repoman.freebsd.org> From: Alexander Kabaev Date: Tue, 18 Nov 2003 20:14:42 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/fdescfs fdesc_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 04:14:43 -0000 kan 2003/11/18 20:14:42 PST FreeBSD src repository Modified files: sys/fs/fdescfs fdesc_vnops.c Log: Fix vnode locking in fdesc_setattr. Lock vnode before invoking VOP_SETATTR on it. Approved by: re@ (rwatson) Revision Changes Path 1.92 +5 -5 src/sys/fs/fdescfs/fdesc_vnops.c From owner-cvs-src@FreeBSD.ORG Tue Nov 18 21:08:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14ED216A4CE; Tue, 18 Nov 2003 21:08:28 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71E1443F75; Tue, 18 Nov 2003 21:08:27 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJ58RXJ014376; Tue, 18 Nov 2003 21:08:27 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJ58RQw014375; Tue, 18 Nov 2003 21:08:27 -0800 (PST) (envelope-from imp) Message-Id: <200311190508.hAJ58RQw014375@repoman.freebsd.org> From: Warner Losh Date: Tue, 18 Nov 2003 21:08:27 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf kmod.mk src/sys/modules/linprocfs Makefile src/sys/modules/linux Makefile src/sys/modules/nwfs Makefile src/sys/modules/ppbus Makefile src/sys/modules/ppi Makefile src/sys/modules/pps Makefile src/sys/modules/smbfs ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 05:08:28 -0000 imp 2003/11/18 21:08:27 PST FreeBSD src repository Modified files: sys/conf kmod.mk sys/modules/linprocfs Makefile sys/modules/linux Makefile sys/modules/nwfs Makefile sys/modules/ppbus Makefile sys/modules/ppi Makefile sys/modules/pps Makefile sys/modules/smbfs Makefile sys/modules/streams Makefile Log: o Remove @- from the ln and change it to a -sf. This was bogus, and regocnized as such at the time. Now that the other bogons in the tree have been fixed, we can remove this ugly kludge. o Remove stale/bogus opt_foo.h files. These are left over from by-gone resources. And they point to the need, yet again, to improve the build system so meta information is only in one place. Submitted by: ru Reviewed by: bde Approved by: re@ (jhb) Revision Changes Path 1.150 +1 -1 src/sys/conf/kmod.mk 1.11 +0 -1 src/sys/modules/linprocfs/Makefile 1.62 +1 -1 src/sys/modules/linux/Makefile 1.12 +1 -1 src/sys/modules/nwfs/Makefile 1.5 +1 -1 src/sys/modules/ppbus/Makefile 1.3 +1 -1 src/sys/modules/ppi/Makefile 1.3 +0 -1 src/sys/modules/pps/Makefile 1.6 +1 -1 src/sys/modules/smbfs/Makefile 1.11 +1 -1 src/sys/modules/streams/Makefile From owner-cvs-src@FreeBSD.ORG Wed Nov 19 00:45:09 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 656C116A4CE; Wed, 19 Nov 2003 00:45:09 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A06C43FE5; Wed, 19 Nov 2003 00:45:08 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) hAJ8j6g7015269; Wed, 19 Nov 2003 08:45:06 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)hAJ8j6us015253; Wed, 19 Nov 2003 08:45:06 GMT (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])hAJ8fVDw043136; Wed, 19 Nov 2003 08:41:31 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200311190841.hAJ8fVDw043136@grimreaper.grondar.org> To: Nate Lawson In-Reply-To: Your message of "Tue, 18 Nov 2003 16:46:24 PST." <20031118163849.S65744@root.org> Date: Wed, 19 Nov 2003 08:41:31 +0000 Sender: mark@grondar.org X-Spam-Status: No, hits=0.2 required=5.0 tests=EMAIL_ATTRIBUTION,FROM_NO_LOWER,IN_REP_TO, QUOTED_EMAIL_TEXT,REPLY_WITH_QUOTES version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 08:45:09 -0000 Nate Lawson writes: > > > Hackfix to patch around a kernel panic I introduced. Real fix to > > > follow. In the meanwhile, we are not harvesting interrupt entropy. > > > > > > Approved by: re (jhb) > > > > The correct fix is approximately to back out the changes to the > > harvester. It needs to use preallocated storage like it used to since > > it is called from nearly the lowest level of interrupt handling when > > neither malloc() nor sleep locks may be used. Using preallocated storage > > also simplifies the locking. > > I agree. Separating the buffer into per-source buffers does not require > changing from a ring buffer to a malloc/FIFO model. Its not quite as simple as that. :-) A single ring-buffer is badly suboptimal, as it doesn't handle changes in the order of the buffer elements well. I am stress-testing a new malloc-free (well, it mallocs at init time) version version. This uses preallocated buffer elements, and cycles them through a fifo (in this case, very nearly a ring buffer, but allowing the contents to become disordered). M -- Mark Murray iumop ap!sdn w,I idlaH From owner-cvs-src@FreeBSD.ORG Wed Nov 19 01:51:42 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B380216A4CE; Wed, 19 Nov 2003 01:51:42 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18A3343F93; Wed, 19 Nov 2003 01:51:41 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.24; FreeBSD) id 1AMOzq-0007uv-9c; Wed, 19 Nov 2003 11:51:38 +0200 Date: Wed, 19 Nov 2003 11:51:38 +0200 From: Sheldon Hearn To: Wes Peters Message-ID: <20031119095138.GA752@starjuice.net> Mail-Followup-To: Wes Peters , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200311160710.hAG7AtRR047311@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311160710.hAG7AtRR047311@repoman.freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/fsck_ffs setup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 09:51:42 -0000 On (2003/11/15 23:10), Wes Peters wrote: > FreeBSD src repository > > Modified files: > sbin/fsck_ffs setup.c > Log: > Catch and report on filesystems that were interrupted during newfs, > sporting the new 'BAD' magic number. Exit with a unique error code > (11) so callers who care about this can respond appropriately. Can you document this unique error code gracefully so that authors of such callers get clued in easily? Doing so will probably require choosing a reasonable, existing errno and documenting its return in the DIAGNOSTICS section of fsck_ffs(8). That's the first place I'd look for something like this if I were the author of a caller that cares. Ciao, Sheldon. From owner-cvs-src@FreeBSD.ORG Wed Nov 19 03:50:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D3C116A4CF for ; Wed, 19 Nov 2003 03:50:18 -0800 (PST) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60B1B43FBF for ; Wed, 19 Nov 2003 03:50:15 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 21043 invoked from network); 19 Nov 2003 11:42:42 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 19 Nov 2003 11:42:42 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAJBg2Fn023227; Wed, 19 Nov 2003 06:42:02 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031118222022.R10910@newtrinity.zeist.de> Date: Wed, 19 Nov 2003 06:42:01 -0500 (EST) From: John Baldwin To: Marius Strobl X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 11:50:18 -0000 On 18-Nov-2003 Marius Strobl wrote: > On Tue, Nov 18, 2003 at 03:54:49PM -0500, John Baldwin wrote: >> >> On 18-Nov-2003 Marius Strobl wrote: >> > On Tue, Nov 18, 2003 at 09:21:18AM -0500, John Baldwin wrote: >> >> >> >> On 18-Nov-2003 Marius Strobl wrote: >> >> > On Mon, Nov 17, 2003 at 05:53:14PM -0500, John Baldwin wrote: >> >> >> >> >> >> On 17-Nov-2003 Marius Strobl wrote: >> >> >> > On Fri, Nov 14, 2003 at 04:21:44PM -0500, John Baldwin wrote: >> >> >> >> >> >> >> >> On 14-Nov-2003 John Baldwin wrote: >> >> >> >> > jhb 2003/11/14 13:02:49 PST >> >> >> >> > >> >> >> >> > FreeBSD src repository >> >> >> >> > >> >> >> >> > Modified files: >> >> >> >> > sys/i386/isa atpic.c >> >> >> >> > Log: >> >> >> >> > Always install IDT entries for ATPIC interrupt sources. The APIC no >> >> >> >> > longer uses these interrupt vectors for its ISA interrupt pins, so these >> >> >> >> > entries will not be overwritten. If we get a spurious interrupt from the >> >> >> >> > ATPIC when using the APIC, it will be treated as a stray interrupt instead >> >> >> >> > of causing a panic. >> >> >> >> >> >> >> >> This should fix all of the "panic: Couldn't get vector from ISR" and >> >> >> >> trap 30 (reserved) panics. If you were using older versions of either >> >> >> >> spurious.patch or atpic.patch, please try reverting them and using >> >> >> >> plain CVS to see if that fixes your problem. If not, please let me know. >> >> >> >> If you get several stray IRQ 7 messages and would like to shut them up, >> >> >> >> you can try http://www.FreeBSD.org/~jhb/patches/spurious.patch >> >> >> >> >> >> >> > >> >> >> > Unfortunately it doesn't fix the type 30 trap triggered by a spurious >> >> > >> >> > Oops, meant stray interrupt... >> >> > >> >> >> > interrupt here (need atpic.patch). >> >> >> >> >> >> Do you get the trap very early? >> >> >> >> >> > >> >> > Yes, please see <20031110172540.A29948@newtrinity.zeist.de> on current@ >> >> > or http://quad.zeist.de/newintr.log (this was with older sources but the >> >> > problem is still the same after the commit above). >> >> >> >> Can you try www.freebsd.org/~jhb/patches/vm86.patch >> >> >> > >> > Looks worse: http://quad.zeist.de/newintr2.log >> >> Well, vm86 is broken but that patch seems to have helped fix that breakage. >> There is another bug in the handling of stray interrupts. Can you revert >> vm86.patch and try this instead: >> >> http://www.FreeBSD.org/~jhb/patches/atpic.patch >> > > Works. > >> Assuming that works, you should be able to use >> >> http://www.FreeBSD.org/~jhb/patches/spurious.patch >> >> to quiet the 'stray irq 7' messages. >> > > Also works. > However, as you may have noticed in my boot logs I get 'stray irq 13' > with the new interrupt code when npx gets probed. I'm aware that your > spurious.patch only addresses stray irqs 7 and 15, I'm just wondering > a bit why the co-processor mucks up with the new code... We poke IRQ 13 to see if it fires in the npx code. The 7 and 15 magic is because that is the vectors the 8259A's actually generate when they generate a spurious interrupt. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Wed Nov 19 05:05:51 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D68B416A4CE; Wed, 19 Nov 2003 05:05:51 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4956843FDD; Wed, 19 Nov 2003 05:05:51 -0800 (PST) (envelope-from dds@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJD5pXJ049171; Wed, 19 Nov 2003 05:05:51 -0800 (PST) (envelope-from dds@repoman.freebsd.org) Received: (from dds@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJD5oho049170; Wed, 19 Nov 2003 05:05:50 -0800 (PST) (envelope-from dds) Message-Id: <200311191305.hAJD5oho049170@repoman.freebsd.org> From: Diomidis Spinellis Date: Wed, 19 Nov 2003 05:05:50 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/sys setgroups.2 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 13:05:52 -0000 dds 2003/11/19 05:05:50 PST FreeBSD src repository Modified files: lib/libc/sys setgroups.2 Log: Documented missing EINVAL errno value kern_prot.c: if (ngrp > NGROUPS) return (EINVAL); MFC after: 2 weeks Revision Changes Path 1.13 +6 -0 src/lib/libc/sys/setgroups.2 From owner-cvs-src@FreeBSD.ORG Wed Nov 19 07:28:23 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 957B016A4CE; Wed, 19 Nov 2003 07:28:23 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A56343FA3; Wed, 19 Nov 2003 07:28:23 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJFSMXJ058226; Wed, 19 Nov 2003 07:28:22 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJFSMde058225; Wed, 19 Nov 2003 07:28:22 -0800 (PST) (envelope-from phk) Message-Id: <200311191528.hAJFSMde058225@repoman.freebsd.org> From: Poul-Henning Kamp Date: Wed, 19 Nov 2003 07:28:22 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/mtree spec.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 15:28:23 -0000 phk 2003/11/19 07:28:22 PST FreeBSD src repository Modified files: usr.sbin/mtree spec.c Log: Off by one error in malloc. Approved by: re@ Revision Changes Path 1.21 +1 -1 src/usr.sbin/mtree/spec.c From owner-cvs-src@FreeBSD.ORG Wed Nov 19 07:38:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B3FA16A4CE; Wed, 19 Nov 2003 07:38:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F197243FB1; Wed, 19 Nov 2003 07:38:58 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJFcwXJ058645; Wed, 19 Nov 2003 07:38:58 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJFcvsH058644; Wed, 19 Nov 2003 07:38:57 -0800 (PST) (envelope-from jhb) Message-Id: <200311191538.hAJFcvsH058644@repoman.freebsd.org> From: John Baldwin Date: Wed, 19 Nov 2003 07:38:57 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 15:38:59 -0000 jhb 2003/11/19 07:38:56 PST FreeBSD src repository Modified files: sys/i386/isa atpic.c Log: - Add counts to the ATPIC interrupt sources and point the ATPIC interrupt source count pointers at them so that intr_execute_handlers() won't choke when it tries to handle an unregisterd ATPIC interrupt source. - Install the low-level ATPIC interrupt handlers when we first program the ATPIC in atpic_startup() rather than at SI_SUB_INTR. This is only necessary to work around buggy code that enables interrupts too early in the boot process (namely, the vm86 code). Approved by: re (rwatson) Revision Changes Path 1.6 +17 -6 src/sys/i386/isa/atpic.c From owner-cvs-src@FreeBSD.ORG Wed Nov 19 07:40:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 142CE16A4CF; Wed, 19 Nov 2003 07:40:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47C5943FDD; Wed, 19 Nov 2003 07:40:25 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJFeOXJ058738; Wed, 19 Nov 2003 07:40:24 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJFeOGx058737; Wed, 19 Nov 2003 07:40:24 -0800 (PST) (envelope-from jhb) Message-Id: <200311191540.hAJFeOGx058737@repoman.freebsd.org> From: John Baldwin Date: Wed, 19 Nov 2003 07:40:23 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 15:40:26 -0000 jhb 2003/11/19 07:40:23 PST FreeBSD src repository Modified files: sys/i386/isa atpic.c Log: Add a special check for a stray IRQ 7 or IRQ 15 to see if it is actually a spurious interrupt from one of the 8259As. If so, don't log it as a stray IRQ, but just silently ignore it. Approved by: re (rwatson) Revision Changes Path 1.7 +22 -0 src/sys/i386/isa/atpic.c From owner-cvs-src@FreeBSD.ORG Wed Nov 19 07:51:30 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 766C716A4CE; Wed, 19 Nov 2003 07:51:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF93B43FDF; Wed, 19 Nov 2003 07:51:29 -0800 (PST) (envelope-from dds@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJFpSXJ059311; Wed, 19 Nov 2003 07:51:29 -0800 (PST) (envelope-from dds@repoman.freebsd.org) Received: (from dds@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJFpRRQ059310; Wed, 19 Nov 2003 07:51:27 -0800 (PST) (envelope-from dds) Message-Id: <200311191551.hAJFpRRQ059310@repoman.freebsd.org> From: Diomidis Spinellis Date: Wed, 19 Nov 2003 07:51:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/gen initgroups.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 15:51:30 -0000 dds 2003/11/19 07:51:26 PST FreeBSD src repository Modified files: lib/libc/gen initgroups.c Log: Fix problem where initgroups would silently truncate groups with more than NGROUP elements without providing the opportunity to setgroups to fail and correctly return error and set errno. MFC after: 2 weeks Revision Changes Path 1.8 +7 -2 src/lib/libc/gen/initgroups.c From owner-cvs-src@FreeBSD.ORG Wed Nov 19 08:20:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A80516A4D5 for ; Wed, 19 Nov 2003 08:20:06 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id A1DC543FE5 for ; Wed, 19 Nov 2003 08:20:03 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 76427 invoked by uid 1002); 19 Nov 2003 16:20:03 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 19 Nov 2003 16:20:03 -0000 Message-ID: <3FBB9804.90902@freebsd.org> Date: Wed, 19 Nov 2003 09:19:16 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Diomidis Spinellis References: <200311191551.hAJFpRRQ059310@repoman.freebsd.org> In-Reply-To: <200311191551.hAJFpRRQ059310@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/gen initgroups.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 16:20:06 -0000 Diomidis Spinellis wrote: > dds 2003/11/19 07:51:26 PST > > FreeBSD src repository > > Modified files: > lib/libc/gen initgroups.c > Log: > Fix problem where initgroups would silently truncate groups with > more than NGROUP elements without providing the opportunity to > setgroups to fail and correctly return error and set errno. > > MFC after: 2 weeks > > Revision Changes Path > 1.8 +7 -2 src/lib/libc/gen/initgroups.c > Since we are in Code Freeze, who approved this? Scott From owner-cvs-src@FreeBSD.ORG Wed Nov 19 08:21:23 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4218E16A4CE; Wed, 19 Nov 2003 08:21:23 -0800 (PST) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15E7443F75; Wed, 19 Nov 2003 08:21:22 -0800 (PST) (envelope-from wes@softweyr.com) Received: from salty.rapid.stbernard.com (corp-2.ipinc.com [199.245.188.2]) by smtp-relay.omnis.com (Postfix) with ESMTP id C67525B653; Wed, 19 Nov 2003 08:20:36 -0800 (PST) From: Wes Peters Organization: Softweyr.com To: Sheldon Hearn , Wes Peters Date: Wed, 19 Nov 2003 08:21:10 -0800 User-Agent: KMail/1.5.2 References: <200311160710.hAG7AtRR047311@repoman.freebsd.org> <20031119095138.GA752@starjuice.net> In-Reply-To: <20031119095138.GA752@starjuice.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311190821.10350.wes@softweyr.com> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/fsck_ffs setup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 16:21:23 -0000 On Wednesday 19 November 2003 01:51, Sheldon Hearn wrote: > On (2003/11/15 23:10), Wes Peters wrote: > > FreeBSD src repository > > > > Modified files: > > sbin/fsck_ffs setup.c > > Log: > > Catch and report on filesystems that were interrupted during > > newfs, sporting the new 'BAD' magic number. Exit with a unique > > error code (11) so callers who care about this can respond > > appropriately. > > Can you document this unique error code gracefully so that authors of > such callers get clued in easily? > > Doing so will probably require choosing a reasonable, existing errno > and documenting its return in the DIAGNOSTICS section of fsck_ffs(8). > > That's the first place I'd look for something like this if I were the > author of a caller that cares. Yes, but it won't be an existing errno because the other exits are numerical and semi-sequential: main.c: exit(3); /* Cannot read superblock */ main.c: exit(4); /* Earlier background failed */ main.c: exit(5); /* Not running soft updates */ main.c: exit(6); /* Lacks kernel support */ main.c: exit(7); /* Filesystem clean, report it now */ Also found throughout the code: fsck.h:#define EEXIT 8 /* Standard error exit. */ fsutil.c: errx(EEXIT, "inoinfo: inumber %d out of range", inum); fsutil.c: errx(EEXIT, "cannot allocate buffer pool"); fsutil.c: errx(EEXIT, "cannot allocate buffer pool"); fsutil.c: errx(EEXIT, "deadlocked buffer pool"); fsutil.c: exit(EEXIT); ... And a lone flyer: fsutil.c: exit(12); I picked 11 to be similar to the fsutil.c usage immediately above. The current man page does not enumerate the meanings of the exit status, but I can do so if you feel it is important. If you want this in 5.2, let's ask re@ right away. -- "Where am I, and what am I doing in this handbasket?" Wes Peters wes@softweyr.com From owner-cvs-src@FreeBSD.ORG Wed Nov 19 08:30:00 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4F9E16A4CE; Wed, 19 Nov 2003 08:30:00 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-123-40-77.dsl.pltn13.pacbell.net [68.123.40.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99ED143F93; Wed, 19 Nov 2003 08:29:55 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.9/8.12.9) with ESMTP id hAJGS4en066896; Wed, 19 Nov 2003 08:28:04 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.9/8.12.9/Submit) id hAJGS4Nq066895; Wed, 19 Nov 2003 08:28:04 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Wed, 19 Nov 2003 08:28:04 -0800 From: David Schultz To: John Baldwin Message-ID: <20031119162804.GA66857@VARK.homeunix.com> Mail-Followup-To: John Baldwin , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200311191540.hAJFeOGx058737@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311191540.hAJFeOGx058737@repoman.freebsd.org> cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 16:30:01 -0000 On Wed, Nov 19, 2003, John Baldwin wrote: > jhb 2003/11/19 07:40:23 PST > > FreeBSD src repository > > Modified files: > sys/i386/isa atpic.c > Log: > Add a special check for a stray IRQ 7 or IRQ 15 to see if it is actually > a spurious interrupt from one of the 8259As. If so, don't log it as a > stray IRQ, but just silently ignore it. Nice. I've been waiting for years for someone who understood the full flakiness of the i8259 to fix the spurious messages. From owner-cvs-src@FreeBSD.ORG Wed Nov 19 08:59:01 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9380916A4CE; Wed, 19 Nov 2003 08:59:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19EAD43FDF; Wed, 19 Nov 2003 08:59:01 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJGx0XJ068570; Wed, 19 Nov 2003 08:59:00 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJGx0T6068569; Wed, 19 Nov 2003 08:59:00 -0800 (PST) (envelope-from marcel) Message-Id: <200311191659.hAJGx0T6068569@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 19 Nov 2003 08:59:00 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin Makefile.inc src/sbin Makefile.inc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 16:59:01 -0000 marcel 2003/11/19 08:59:00 PST FreeBSD src repository Modified files: bin Makefile.inc sbin Makefile.inc Log: Force a staticly linked /bin and /sbin for ia64. The necessary changes to gcc have not been made for ia64, which means that executables still have /usr/libexec/ld-elf.so.1 as the dynamic linker. This simply does not work if /usr is a seperate filesystem not mounted when the kernel tries to execute init(8). Note that this is a temporary fix until a new gcc has been imported that does have the required changes. Approved: re@ Revision Changes Path 1.20 +1 -1 src/bin/Makefile.inc 1.12 +1 -1 src/sbin/Makefile.inc From owner-cvs-src@FreeBSD.ORG Wed Nov 19 09:09:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3E1316A4CE; Wed, 19 Nov 2003 09:09:18 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C36B43F3F; Wed, 19 Nov 2003 09:09:17 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hAJH79Mg009277; Wed, 19 Nov 2003 12:07:09 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hAJH79He009274; Wed, 19 Nov 2003 12:07:09 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 19 Nov 2003 12:07:08 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Diomidis Spinellis In-Reply-To: <200311191551.hAJFpRRQ059310@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: In a code freeze (was: Re: cvs commit: src/lib/libc/gen initgroups.c) X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 17:09:19 -0000 We're in an announced code freeze. Please don't commit to the CVS HEAD without getting re@ approval first. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Wed, 19 Nov 2003, Diomidis Spinellis wrote: > dds 2003/11/19 07:51:26 PST > > FreeBSD src repository > > Modified files: > lib/libc/gen initgroups.c > Log: > Fix problem where initgroups would silently truncate groups with > more than NGROUP elements without providing the opportunity to > setgroups to fail and correctly return error and set errno. > > MFC after: 2 weeks > > Revision Changes Path > 1.8 +7 -2 src/lib/libc/gen/initgroups.c > From owner-cvs-src@FreeBSD.ORG Wed Nov 19 10:08:57 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B51FD16A4CF for ; Wed, 19 Nov 2003 10:08:57 -0800 (PST) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 743FB43FE9 for ; Wed, 19 Nov 2003 10:08:52 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 17970 invoked from network); 19 Nov 2003 18:08:51 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 19 Nov 2003 18:08:51 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAJI8mFn024962; Wed, 19 Nov 2003 13:08:48 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200311191538.hAJFcvsH058644@repoman.freebsd.org> Date: Wed, 19 Nov 2003 13:08:47 -0500 (EST) From: John Baldwin To: John Baldwin X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 18:08:58 -0000 On 19-Nov-2003 John Baldwin wrote: > jhb 2003/11/19 07:38:56 PST > > FreeBSD src repository > > Modified files: > sys/i386/isa atpic.c > Log: > - Add counts to the ATPIC interrupt sources and point the ATPIC interrupt > source count pointers at them so that intr_execute_handlers() won't > choke when it tries to handle an unregisterd ATPIC interrupt source. > - Install the low-level ATPIC interrupt handlers when we first program the > ATPIC in atpic_startup() rather than at SI_SUB_INTR. This is only > necessary to work around buggy code that enables interrupts too early > in the boot process (namely, the vm86 code). > > Approved by: re (rwatson) This should really fix all the trap 30's. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Wed Nov 19 10:11:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6FEF16A4CE; Wed, 19 Nov 2003 10:11:28 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A80343FAF; Wed, 19 Nov 2003 10:11:28 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJIBSXJ073972; Wed, 19 Nov 2003 10:11:28 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJIBSra073971; Wed, 19 Nov 2003 10:11:28 -0800 (PST) (envelope-from peter) Message-Id: <200311191811.hAJIBSra073971@repoman.freebsd.org> From: Peter Wemm Date: Wed, 19 Nov 2003 10:11:28 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/conf GENERIC X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 18:11:29 -0000 peter 2003/11/19 10:11:28 PST FreeBSD src repository Modified files: sys/amd64/conf GENERIC Log: Sync with i386. - turn on SMP in generic - add 'device atpic' - this is unconditional on i386, but certain nvidia based systems need to disable acpi because the reference bios seems to be hosed. If acpi is disabled, we won't find the apic. amd64 has the mptable code in a seperate compile option as well. - turn sym back on, it doesn't fail to compile anymore. Approved by: re Revision Changes Path 1.398 +7 -3 src/sys/amd64/conf/GENERIC From owner-cvs-src@FreeBSD.ORG Wed Nov 19 10:16:35 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FFE116A4CE; Wed, 19 Nov 2003 10:16:35 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15C2244008; Wed, 19 Nov 2003 10:16:30 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 69C132A8EB; Wed, 19 Nov 2003 10:16:30 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: John Baldwin , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-Reply-To: <20031119162804.GA66857@VARK.homeunix.com> Date: Wed, 19 Nov 2003 10:16:30 -0800 From: Peter Wemm Message-Id: <20031119181630.69C132A8EB@canning.wemm.org> Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 18:16:35 -0000 David Schultz wrote: > On Wed, Nov 19, 2003, John Baldwin wrote: > > jhb 2003/11/19 07:40:23 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/i386/isa atpic.c > > Log: > > Add a special check for a stray IRQ 7 or IRQ 15 to see if it is actually > > a spurious interrupt from one of the 8259As. If so, don't log it as a > > stray IRQ, but just silently ignore it. > > Nice. I've been waiting for years for someone who understood the > full flakiness of the i8259 to fix the spurious messages. Heh. sys/amd64/isa/ithread.c rev 1.22 had code to do this since may 1st, but John discovered that I managed to invert some of the bit definitions. It is amazing what you can discover when you actually read the data sheets. :-) Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 From owner-cvs-src@FreeBSD.ORG Wed Nov 19 10:48:47 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37E8616A4CE; Wed, 19 Nov 2003 10:48:47 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A088943F85; Wed, 19 Nov 2003 10:48:46 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJImkXJ075288; Wed, 19 Nov 2003 10:48:46 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJImkeV075278; Wed, 19 Nov 2003 10:48:46 -0800 (PST) (envelope-from alc) Message-Id: <200311191848.hAJImkeV075278@repoman.freebsd.org> From: Alan Cox Date: Wed, 19 Nov 2003 10:48:46 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 18:48:47 -0000 alc 2003/11/19 10:48:46 PST FreeBSD src repository Modified files: sys/vm vm_map.c Log: - Avoid a lock-order reversal between Giant and a system map mutex that occurs when kmem_malloc() fails to allocate a sufficient number of vm pages. Specifically, we avoid the lock-order reversal by not grabbing Giant around pmap_remove() if the map is the kmem_map. Approved by: re (jhb) Reported by: Eugene Revision Changes Path 1.323 +4 -2 src/sys/vm/vm_map.c From owner-cvs-src@FreeBSD.ORG Wed Nov 19 11:21:51 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DCB916A4CE; Wed, 19 Nov 2003 11:21:51 -0800 (PST) Received: from hermes.aueb.gr (hermes.aueb.gr [195.251.255.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FC5343FD7; Wed, 19 Nov 2003 11:21:49 -0800 (PST) (envelope-from dds@aueb.gr) Received: from aueb.gr (faculty03.right.dialup.aueb.gr [195.251.255.247]) by hermes.aueb.gr (8.12.9/8.12.9) with ESMTP id hAJJHmkX024767; Wed, 19 Nov 2003 21:17:48 +0200 Message-ID: <3FBBC260.57AB82EE@aueb.gr> Date: Wed, 19 Nov 2003 21:20:00 +0200 From: Diomidis Spinellis Organization: Athens University of Ecomomics and Business X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,el,de MIME-Version: 1.0 To: Scott Long References: <200311191551.hAJFpRRQ059310@repoman.freebsd.org> <3FBB9804.90902@freebsd.org> Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Diomidis Spinellis cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/gen initgroups.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 19:21:51 -0000 Scott Long wrote: > Since we are in Code Freeze, who approved this? Sorry, I fell inexcusably behind in reading my mail and read the original code freeze announcement only after my commit. dds From owner-cvs-src@FreeBSD.ORG Wed Nov 19 11:57:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E88C516A4CE; Wed, 19 Nov 2003 11:57:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EDD443FF3; Wed, 19 Nov 2003 11:57:21 -0800 (PST) (envelope-from gordon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJJvLXJ079138; Wed, 19 Nov 2003 11:57:21 -0800 (PST) (envelope-from gordon@repoman.freebsd.org) Received: (from gordon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJJvLD4079137; Wed, 19 Nov 2003 11:57:21 -0800 (PST) (envelope-from gordon) Message-Id: <200311191957.hAJJvLD4079137@repoman.freebsd.org> From: Gordon Tetlow Date: Wed, 19 Nov 2003 11:57:20 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/init Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 19:57:22 -0000 gordon 2003/11/19 11:57:20 PST FreeBSD src repository Modified files: sbin/init Makefile Log: Make init statically linked by default. It's not worth the pain of having a dynamically linked init as recently seen by ia64 woes. Approved by: re (jhb) Revision Changes Path 1.28 +2 -0 src/sbin/init/Makefile From owner-cvs-src@FreeBSD.ORG Wed Nov 19 12:17:30 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52DC916A4CE; Wed, 19 Nov 2003 12:17:30 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 044F243FE1; Wed, 19 Nov 2003 12:17:28 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id HAA15445; Thu, 20 Nov 2003 07:17:09 +1100 Date: Thu, 20 Nov 2003 07:17:08 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Sheldon Hearn In-Reply-To: <20031119095138.GA752@starjuice.net> Message-ID: <20031120064037.C8876@gamplex.bde.org> References: <200311160710.hAG7AtRR047311@repoman.freebsd.org> <20031119095138.GA752@starjuice.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: Wes Peters cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/fsck_ffs setup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 20:17:30 -0000 On Wed, 19 Nov 2003, Sheldon Hearn wrote: > On (2003/11/15 23:10), Wes Peters wrote: > > > FreeBSD src repository > > > > Modified files: > > sbin/fsck_ffs setup.c > > Log: > > Catch and report on filesystems that were interrupted during newfs, > > sporting the new 'BAD' magic number. Exit with a unique error code > > (11) so callers who care about this can respond appropriately. > > Can you document this unique error code gracefully so that authors of > such callers get clued in easily? Note that the rule about error exits in style(9) was intended to say not to use a huge number of meaningless undocumented sequentially numbered error exits, as is done in some old programs like fsck_ffs. The rule got broken to advise using the not-so-huge number of low-meaning documented sequentially numbered error exits in . This error exit is a bug IMO and doesn't exist in my version. It prevents readsb() returning to its caller so that the caller can either abort or prompt for the next file system as appropriate. This patch also fixes: - old bug: silent premature termination of the search for a superblock after a read error. Perhaps a read error should be immediately fatal. However, the non-searching case just returns for one. - logic bug: as pointed out in my review, the search should be identical with the one in the kernel. Bad magic number may be left lying around in harmless places by a previous failure followed by a newfs with different parameters. Then the kernel will find a superblock but fsck would barf without this patch. It would be useful to know about super blocks with the bad magic number so this version should be changed a bit to print a message before continuing, at least in the !preen case. - old bug: the sanity check is not quite right here or in the kernel or in other ffs utilities. (a) There was no check that fs_bsize is not too large. My change for this (to check MAXBSIZE) is not quite right. The kernel must reject file systems whose block size is larger than vfs_bio can support, but utilities need not. ffs systems with a block size larger than MAXBSIZE may be created on non-FreeBSD systems that have a larger value for this parameter. (b) The check that fs_bsize is larger than sizeof(struct fs) is not quite right. On systems with MINBSIZE smaller than the FreeBSD value, newfs is happy to create file systems with the super block smaller than the block size, and such file systems almost work. I removed the check to allow testing such file systems and replace it by checks on fs_sbsize. The failure cases in this patch have not all been tested at runtime. %%% Index: setup.c =================================================================== RCS file: /home/ncvs/src/sbin/fsck_ffs/setup.c,v retrieving revision 1.45 diff -u -2 -r1.45 setup.c --- setup.c 16 Nov 2003 07:10:55 -0000 1.45 +++ setup.c 16 Nov 2003 11:29:27 -0000 @@ -300,5 +298,5 @@ { ufs2_daddr_t super; - int i; + int i, seenbad; if (bflag) { @@ -308,5 +306,5 @@ if (sblock.fs_magic == FS_BAD2_MAGIC) { fprintf(stderr, BAD_MAGIC_MSG); - exit(11); + return (0); } if (sblock.fs_magic != FS_UFS1_MAGIC && @@ -317,13 +315,13 @@ } } else { + seenbad = 0; for (i = 0; sblock_try[i] != -1; i++) { super = sblock_try[i] / dev_bsize; if ((bread(fsreadfd, (char *)&sblock, super, (long)SBLOCKSIZE))) - return (0); - if (sblock.fs_magic == FS_BAD2_MAGIC) { - fprintf(stderr, BAD_MAGIC_MSG); - exit(11); - } + continue; + if (sblock.fs_magic == FS_BAD2_MAGIC) + /* XXX should we sanity check it too? */ + seenbad = 1; if ((sblock.fs_magic == FS_UFS1_MAGIC || (sblock.fs_magic == FS_UFS2_MAGIC && @@ -331,9 +329,12 @@ sblock.fs_ncg >= 1 && sblock.fs_bsize >= MINBSIZE && - sblock.fs_bsize >= sizeof(struct fs)) + sblock.fs_bsize <= MAXBSIZE && + sblock.fs_sbsize >= (int)sizeof(sblock) && + sblock.fs_sbsize <= SBLOCKSIZE) break; } if (sblock_try[i] == -1) { - fprintf(stderr, "Cannot find file system superblock\n"); + fprintf(stderr, seenbad ? BAD_MAGIC_MSG : + "Cannot find file system superblock\n"); return (0); } %%% Bruce From owner-cvs-src@FreeBSD.ORG Wed Nov 19 12:27:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 171FE16A4CE; Wed, 19 Nov 2003 12:27:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C63543F75; Wed, 19 Nov 2003 12:27:07 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJKR6XJ081210; Wed, 19 Nov 2003 12:27:06 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJKR6IY081207; Wed, 19 Nov 2003 12:27:06 -0800 (PST) (envelope-from njl) Message-Id: <200311192027.hAJKR6IY081207@repoman.freebsd.org> From: Nate Lawson Date: Wed, 19 Nov 2003 12:27:06 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi.c acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 20:27:08 -0000 njl 2003/11/19 12:27:06 PST FreeBSD src repository Modified files: sys/dev/acpica acpi.c acpi_cpu.c Log: * Add a DEVMETHOD for acpi so that child detach methods get called. Add an acpi_cpu method for shutdown that disables entry to acpi_cpu_idle and then IPIs/waits for threads to exit. This fixes a panic late in reboot in the SMP case. * In the !SMP case, don't use the processor id filled out by the MADT since there can only be one processor. This was causing a panic in acpi_cpu_idle if the id was 1 since the data was being dereferenced from cpu_softc[1] even though the actual data was in cpu_softc[0] (which is correct). * Rework the initialization functions so that cpu_idle_hook is written late in the boot process. * Make the P_BLK, P_BLK_LEN, and cpu_cx_count all softc-local variables. This will help SMP boxes that have _CST or multiple P_BLKs. No such boxes are known at this time. * Always allocate the C1 state, even if the P_BLK is invalid. This means we will always take over idling if enabled. Remove the value -1 as valid for cx_lowest since this is redundant with machdep.cpu_idle_hlt. * Reduce locking for the throttle initialization case to around the write to the smi_cmd port. Add disabled code to write the CST_CNT. It will be enabled once _CST re-evaluation is tested (post 5.2R). Thank you: dfr, imp, jhb, marcel, peter Tested by: rwatson, Harald Schmalzbauer Approved by: re (rwatson) Revision Changes Path 1.108 +1 -0 src/sys/dev/acpica/acpi.c 1.20 +203 -109 src/sys/dev/acpica/acpi_cpu.c From owner-cvs-src@FreeBSD.ORG Wed Nov 19 12:28:58 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EBE416A4CE; Wed, 19 Nov 2003 12:28:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BEB243FB1; Wed, 19 Nov 2003 12:28:57 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJKSuXJ081310; Wed, 19 Nov 2003 12:28:56 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJKSuvl081309; Wed, 19 Nov 2003 12:28:56 -0800 (PST) (envelope-from njl) Message-Id: <200311192028.hAJKSuvl081309@repoman.freebsd.org> From: Nate Lawson Date: Wed, 19 Nov 2003 12:28:56 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man4 acpi.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 20:28:58 -0000 njl 2003/11/19 12:28:56 PST FreeBSD src repository Modified files: share/man/man4 acpi.4 Log: Improve the section on Cx states, documenting the removal of -1 as a valid value for cx_lowest. To disable sleeping, use machdep.cpu_idle_hlt instead. Update the version of the ACPI spec we implement. Approved by: re (implicitly) Revision Changes Path 1.18 +9 -2 src/share/man/man4/acpi.4 From owner-cvs-src@FreeBSD.ORG Wed Nov 19 12:30:20 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0559616A4CE; Wed, 19 Nov 2003 12:30:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E0A343FCB; Wed, 19 Nov 2003 12:30:19 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJKUJXJ081399; Wed, 19 Nov 2003 12:30:19 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJKUIhf081394; Wed, 19 Nov 2003 12:30:18 -0800 (PST) (envelope-from njl) Message-Id: <200311192030.hAJKUIhf081394@repoman.freebsd.org> From: Nate Lawson Date: Wed, 19 Nov 2003 12:30:18 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man4 acpi.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 20:30:20 -0000 njl 2003/11/19 12:30:18 PST FreeBSD src repository Modified files: share/man/man4 acpi.4 Log: Update the man page for hw.acpi.reset_video and a few mdoc(7) cleanups. Submitted by: Andreas Kohn Approved by: re (implicitly) Revision Changes Path 1.19 +8 -7 src/share/man/man4/acpi.4 From owner-cvs-src@FreeBSD.ORG Wed Nov 19 12:37:16 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6437316A4CE; Wed, 19 Nov 2003 12:37:16 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF98B43F75; Wed, 19 Nov 2003 12:37:15 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJKbFXJ081707; Wed, 19 Nov 2003 12:37:15 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJKbFvA081706; Wed, 19 Nov 2003 12:37:15 -0800 (PST) (envelope-from njl) Message-Id: <200311192037.hAJKbFvA081706@repoman.freebsd.org> From: Nate Lawson Date: Wed, 19 Nov 2003 12:37:15 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man4 acpi.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 20:37:16 -0000 njl 2003/11/19 12:37:15 PST FreeBSD src repository Modified files: share/man/man4 acpi.4 Log: Clean up one more sentence that was wrapped unnecessarily. Approved by: re (implicitly) Revision Changes Path 1.20 +1 -2 src/share/man/man4/acpi.4 From owner-cvs-src@FreeBSD.ORG Wed Nov 19 12:45:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A900616A4CE; Wed, 19 Nov 2003 12:45:03 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5285A43FD7; Wed, 19 Nov 2003 12:45:01 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id HAA18053; Thu, 20 Nov 2003 07:44:53 +1100 Date: Thu, 20 Nov 2003 07:44:53 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: David Schultz In-Reply-To: <20031119162804.GA66857@VARK.homeunix.com> Message-ID: <20031120073347.L9022@gamplex.bde.org> References: <200311191540.hAJFeOGx058737@repoman.freebsd.org> <20031119162804.GA66857@VARK.homeunix.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: John Baldwin Subject: Re: cvs commit: src/sys/i386/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 20:45:03 -0000 On Wed, 19 Nov 2003, David Schultz wrote: > On Wed, Nov 19, 2003, John Baldwin wrote: > > jhb 2003/11/19 07:40:23 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/i386/isa atpic.c > > Log: > > Add a special check for a stray IRQ 7 or IRQ 15 to see if it is actually > > a spurious interrupt from one of the 8259As. If so, don't log it as a > > stray IRQ, but just silently ignore it. Sigh, more instructions in what used to be the fast path for interrupt handlers. (E.g., sio interrupts now take more instructions outside of the driver than it used to take to handle whole interrupts. Unfortunately for my argument, the i/o instructions in the driver can take hundreds or thousands as long as many of the instructions in the bloated path, so the bloat mainly affects old machines.) > Nice. I've been waiting for years for someone who understood the > full flakiness of the i8259 to fix the spurious messages. The spurious messages are a feature. They give you a clue that an interrupt might have been lost. Whether the loss is important is device and device-driver dependent (if loss is serious and happens then the driver needs to poll occasionally). The spurious message used to be broken by attaching the interrupt to a device driver that ignores it. This is often misadvised as a fix. The correct fix probably involves always checking for spurious interrupts on IRQ7 and IRQ15, and when one is detected, broadcasting it to all interrupt handlers in case it was for their device. All interrupt handlers should be prepared for interrupts that aren't for them, and all interrupt handlers for interrupts that may be shared must be prepared for this. Alternatively, just assume that interrupts are lost occasionally and broadcast a fake interrupt occasionally. Bruce From owner-cvs-src@FreeBSD.ORG Wed Nov 19 13:40:02 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB5FA16A4CE for ; Wed, 19 Nov 2003 13:40:02 -0800 (PST) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1655E43FF2 for ; Wed, 19 Nov 2003 13:39:59 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 13430 invoked from network); 19 Nov 2003 21:39:58 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 19 Nov 2003 21:39:58 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAJLdoFn026040; Wed, 19 Nov 2003 16:39:50 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200311192027.hAJKR6IY081207@repoman.freebsd.org> Date: Wed, 19 Nov 2003 16:39:49 -0500 (EST) From: John Baldwin To: Nate Lawson X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/acpica acpi.c acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 21:40:02 -0000 On 19-Nov-2003 Nate Lawson wrote: > njl 2003/11/19 12:27:06 PST > > FreeBSD src repository > > Modified files: > sys/dev/acpica acpi.c acpi_cpu.c > Log: > * Add a DEVMETHOD for acpi so that child detach methods get called. Add > an acpi_cpu method for shutdown that disables entry to acpi_cpu_idle > and then IPIs/waits for threads to exit. This fixes a panic late in > reboot in the SMP case. > > * In the !SMP case, don't use the processor id filled out by the MADT > since there can only be one processor. This was causing a panic in > acpi_cpu_idle if the id was 1 since the data was being dereferenced from > cpu_softc[1] even though the actual data was in cpu_softc[0] (which is > correct). > > * Rework the initialization functions so that cpu_idle_hook is written > late in the boot process. > > * Make the P_BLK, P_BLK_LEN, and cpu_cx_count all softc-local variables. > This will help SMP boxes that have _CST or multiple P_BLKs. No such > boxes are known at this time. > > * Always allocate the C1 state, even if the P_BLK is invalid. This means > we will always take over idling if enabled. Remove the value -1 as > valid for cx_lowest since this is redundant with machdep.cpu_idle_hlt. > > * Reduce locking for the throttle initialization case to around the write > to the smi_cmd port. Add disabled code to write the CST_CNT. It will > be enabled once _CST re-evaluation is tested (post 5.2R). > > Thank you: dfr, imp, jhb, marcel, peter > Tested by: rwatson, Harald Schmalzbauer > Approved by: re (rwatson) One minor suggestion btw. Could you fix the hw.acpi.cpu.cpu_cx_lowest to use the "C1", "C2", and "C3" strings for its user-visible interface instead of the direct integer? Setting the value to C2 is a bit more intuitive than setting it to 1 to get C2. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Wed Nov 19 14:42:35 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7B9016A4CE; Wed, 19 Nov 2003 14:42:35 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01A3F43FA3; Wed, 19 Nov 2003 14:42:35 -0800 (PST) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAJMgYXJ093876; Wed, 19 Nov 2003 14:42:34 -0800 (PST) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJMgYl7093875; Wed, 19 Nov 2003 14:42:34 -0800 (PST) (envelope-from sam) Message-Id: <200311192242.hAJMgYl7093875@repoman.freebsd.org> From: Sam Leffler Date: Wed, 19 Nov 2003 14:42:34 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/opencrypto cryptodev.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 22:42:35 -0000 sam 2003/11/19 14:42:34 PST FreeBSD src repository Modified files: sys/opencrypto cryptodev.c Log: eliminate an unnecessary 8Kbyte bzero that was being done for each submitted operation Submitted by: Thor Lancelot Simon Reviewed by: jhb Approved by: re (jhb) Revision Changes Path 1.17 +5 -8 src/sys/opencrypto/cryptodev.c From owner-cvs-src@FreeBSD.ORG Wed Nov 19 16:34:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 524D416A4D0 for ; Wed, 19 Nov 2003 16:34:54 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 24AAB43FEC for ; Wed, 19 Nov 2003 16:34:52 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 69774 invoked by uid 1000); 20 Nov 2003 00:34:53 -0000 Date: Wed, 19 Nov 2003 16:34:53 -0800 (PST) From: Nate Lawson To: John Baldwin In-Reply-To: Message-ID: <20031119160312.A69420@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/acpica acpi.c acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 00:34:54 -0000 On Wed, 19 Nov 2003, John Baldwin wrote: > One minor suggestion btw. Could you fix the hw.acpi.cpu.cpu_cx_lowest > to use the "C1", "C2", and "C3" strings for its user-visible interface > instead of the direct integer? Setting the value to C2 is a bit more > intuitive than setting it to 1 to get C2. I considered this before, however Cx is really a type, not a given state. There can be more than 3 sleep states. For instance, the IBM R40 has C1, C2, C3, and C3 (4 states). An index was the only unique way I could specify the states. The transition latency is also unique but setting a state to 182 to get the last C3 state is even worse from a user perspective. -Nate From owner-cvs-src@FreeBSD.ORG Wed Nov 19 18:46:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2908416A4CE; Wed, 19 Nov 2003 18:46:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CC7544013; Wed, 19 Nov 2003 18:46:45 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAK2kjXJ011197; Wed, 19 Nov 2003 18:46:45 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAK2kixV011196; Wed, 19 Nov 2003 18:46:44 -0800 (PST) (envelope-from rwatson) Message-Id: <200311200246.hAK2kixV011196@repoman.freebsd.org> From: Robert Watson Date: Wed, 19 Nov 2003 18:46:44 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/jail jail.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 02:46:46 -0000 rwatson 2003/11/19 18:46:44 PST FreeBSD src repository Modified files: usr.sbin/jail jail.8 Log: No need to copy sysinstall into a jail with -CURRENT, since in -CURRENT, we have /usr/sbin/sysinstall. Approved by: re (bmah implicitly) Revision Changes Path 1.46 +2 -10 src/usr.sbin/jail/jail.8 From owner-cvs-src@FreeBSD.ORG Wed Nov 19 19:47:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAA8816A4CE; Wed, 19 Nov 2003 19:47:50 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F73B43FA3; Wed, 19 Nov 2003 19:47:50 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAK3loXJ014228; Wed, 19 Nov 2003 19:47:50 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAK3looK014227; Wed, 19 Nov 2003 19:47:50 -0800 (PST) (envelope-from rwatson) Message-Id: <200311200347.hAK3looK014227@repoman.freebsd.org> From: Robert Watson Date: Wed, 19 Nov 2003 19:47:50 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/jail jail.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 03:47:51 -0000 rwatson 2003/11/19 19:47:50 PST FreeBSD src repository Modified files: usr.sbin/jail jail.8 Log: A variety of content cleanups: (1) Document the notion of using jail(8) to run "virtual servers" or just to constrain specific applications. If only running specific applications, some configuration steps are unnecessary (such as editing rc.conf). (2) Add some more subsection headers to break up the bigger chunks of text. (3) Clarify the problems associated with applications binding all IP addresses in the host, and attempt to be more specific about potential application problems. Document how to force sshd to bind the the right socket. (4) Suggest that in a jailed application scenario, you might want to have the host syslogd listen on the socket in the jail, rather than running syslogd in the jail. (5) Catch another reference to /stand/sysinstall. Approved by: re (bmah implicitly) Revision Changes Path 1.47 +71 -23 src/usr.sbin/jail/jail.8 From owner-cvs-src@FreeBSD.ORG Wed Nov 19 20:42:51 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 218AC16A4CE; Wed, 19 Nov 2003 20:42:51 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF1D43F75; Wed, 19 Nov 2003 20:42:50 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAK4goXJ016952; Wed, 19 Nov 2003 20:42:50 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAK4goX2016951; Wed, 19 Nov 2003 20:42:50 -0800 (PST) (envelope-from alfred) Message-Id: <200311200442.hAK4goX2016951@repoman.freebsd.org> From: Alfred Perlstein Date: Wed, 19 Nov 2003 20:42:50 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/rpc rpcv2.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 04:42:51 -0000 alfred 2003/11/19 20:42:50 PST FreeBSD src repository Removed files: sys/rpc rpcv2.h Log: Remove unneeded file. (could be repo removed as nothing ever referenced it.) Submitted by: Jim Rees Revision Changes Path 1.2 +0 -101 src/sys/rpc/rpcv2.h (dead) From owner-cvs-src@FreeBSD.ORG Wed Nov 19 21:45:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3854D16A4CE; Wed, 19 Nov 2003 21:45:59 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B7F943FAF; Wed, 19 Nov 2003 21:45:58 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 91B5A2ED43F; Wed, 19 Nov 2003 21:45:58 -0800 (PST) Date: Wed, 19 Nov 2003 21:45:58 -0800 From: Alfred Perlstein To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20031120054558.GV35957@elvis.mu.org> References: <200311200442.hAK4goX2016951@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311200442.hAK4goX2016951@repoman.freebsd.org> User-Agent: Mutt/1.4.1i cc: re@freebsd.org Subject: Re: cvs commit: src/sys/rpc rpcv2.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 05:45:59 -0000 I didn't remember the freeze until I just got home. My apologies in advance for any inconvience this may have caused. * Alfred Perlstein [031119 20:43] wrote: > alfred 2003/11/19 20:42:50 PST > > FreeBSD src repository > > Removed files: > sys/rpc rpcv2.h > Log: > Remove unneeded file. (could be repo removed as nothing ever referenced it.) > > Submitted by: Jim Rees > > Revision Changes Path > 1.2 +0 -101 src/sys/rpc/rpcv2.h (dead) -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684 From owner-cvs-src@FreeBSD.ORG Wed Nov 19 23:55:10 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A65216A4CE; Wed, 19 Nov 2003 23:55:10 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C29BD43FD7; Wed, 19 Nov 2003 23:55:09 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAK7t9XJ031766; Wed, 19 Nov 2003 23:55:09 -0800 (PST) (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAK7t9q4031765; Wed, 19 Nov 2003 23:55:09 -0800 (PST) (envelope-from des) Message-Id: <200311200755.hAK7t9q4031765@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Wed, 19 Nov 2003 23:55:09 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: OPENPAM Subject: cvs commit: src/contrib/openpam/lib openpam_ttyconv.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 07:55:10 -0000 des 2003/11/19 23:55:09 PST FreeBSD src repository Modified files: (Branch: OPENPAM) contrib/openpam/lib openpam_ttyconv.c Log: MFP4: fix confusion about the layout of resp (#42758) Approved by: re (rwatson) Revision Changes Path 1.1.1.13 +11 -9 src/contrib/openpam/lib/openpam_ttyconv.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 00:24:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56AA016A4CE; Thu, 20 Nov 2003 00:24:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C067A43FDD; Thu, 20 Nov 2003 00:24:33 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAK8OXXJ033714; Thu, 20 Nov 2003 00:24:33 -0800 (PST) (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAK8OXFx033713; Thu, 20 Nov 2003 00:24:33 -0800 (PST) (envelope-from des) Message-Id: <200311200824.hAK8OXFx033713@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Thu, 20 Nov 2003 00:24:33 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sbin/i386/fdisk fdisk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 08:24:34 -0000 des 2003/11/20 00:24:33 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sbin/i386/fdisk fdisk.c Log: MFC: warn about partitions that overlap with the mbr. Revision Changes Path 1.36.2.12 +5 -0 src/sbin/i386/fdisk/fdisk.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 02:28:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C03F216A4CE; Thu, 20 Nov 2003 02:28:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3508643FE5; Thu, 20 Nov 2003 02:28:34 -0800 (PST) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKASYXJ045565; Thu, 20 Nov 2003 02:28:34 -0800 (PST) (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKASXue045564; Thu, 20 Nov 2003 02:28:33 -0800 (PST) (envelope-from maxim) Message-Id: <200311201028.hAKASXue045564@repoman.freebsd.org> From: Maxim Konovalov Date: Thu, 20 Nov 2003 02:28:33 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_fw2.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 10:28:34 -0000 maxim 2003/11/20 02:28:33 PST FreeBSD src repository Modified files: sys/netinet ip_fw2.c Log: Fix an arguments order in check_uidgid() call. PR: kern/59314 Submitted by: Andrey V. Shytov Approved by: re (rwatson, jhb) Revision Changes Path 1.45 +2 -2 src/sys/netinet/ip_fw2.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 05:36:32 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA8E16A4CE; Thu, 20 Nov 2003 05:36:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B277943FB1; Thu, 20 Nov 2003 05:36:31 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKDaVXJ061165; Thu, 20 Nov 2003 05:36:31 -0800 (PST) (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKDaV9H061164; Thu, 20 Nov 2003 05:36:31 -0800 (PST) (envelope-from sobomax) Message-Id: <200311201336.hAKDaV9H061164@repoman.freebsd.org> From: Maxim Sobolev Date: Thu, 20 Nov 2003 05:36:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/tftpd tftpd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 13:36:32 -0000 sobomax 2003/11/20 05:36:31 PST FreeBSD src repository Modified files: libexec/tftpd tftpd.c Log: Fix a bug which causes wrong filename being written into the syslog in the case when client sends request with RFC2347 options. Approved by: re MFC After: 2 weeks Revision Changes Path 1.28 +10 -1 src/libexec/tftpd/tftpd.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 07:35:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFBE216A4CE; Thu, 20 Nov 2003 07:35:50 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FFE843F85; Thu, 20 Nov 2003 07:35:50 -0800 (PST) (envelope-from markm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKFZnXJ071501; Thu, 20 Nov 2003 07:35:50 -0800 (PST) (envelope-from markm@repoman.freebsd.org) Received: (from markm@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKFZnKe071500; Thu, 20 Nov 2003 07:35:49 -0800 (PST) (envelope-from markm) Message-Id: <200311201535.hAKFZnKe071500@repoman.freebsd.org> From: Mark Murray Date: Thu, 20 Nov 2003 07:35:48 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_intr.c subr_witness.c src/sys/dev/random randomdev.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 15:35:51 -0000 markm 2003/11/20 07:35:48 PST FreeBSD src repository Modified files: sys/kern kern_intr.c subr_witness.c sys/dev/random randomdev.c Log: Fix a major faux pas of mine. I was causing 2 very bad things to happen in interrupt context; 1) sleep locks, and 2) malloc/free calls. 1) is fixed by using spin locks instead. 2) is fixed by preallocating a FIFO (implemented with a STAILQ) and using elements from this FIFO instead. This turns out to be rather fast. OK'ed by: re (scottl) Thanks to: peter, jhb, rwatson, jake Apologies to: * Revision Changes Path 1.46 +56 -12 src/sys/dev/random/randomdev.c 1.103 +0 -4 src/sys/kern/kern_intr.c 1.165 +2 -0 src/sys/kern/subr_witness.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 08:29:24 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 496A416A4CE for ; Thu, 20 Nov 2003 08:29:24 -0800 (PST) Received: from mail.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id E685C43FDF for ; Thu, 20 Nov 2003 08:29:21 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 6424 invoked from network); 20 Nov 2003 16:29:21 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 20 Nov 2003 16:29:21 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAKGTGFn030468; Thu, 20 Nov 2003 11:29:16 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031119160312.A69420@root.org> Date: Thu, 20 Nov 2003 11:29:16 -0500 (EST) From: John Baldwin To: Nate Lawson X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/acpica acpi.c acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 16:29:24 -0000 On 20-Nov-2003 Nate Lawson wrote: > On Wed, 19 Nov 2003, John Baldwin wrote: >> One minor suggestion btw. Could you fix the hw.acpi.cpu.cpu_cx_lowest >> to use the "C1", "C2", and "C3" strings for its user-visible interface >> instead of the direct integer? Setting the value to C2 is a bit more >> intuitive than setting it to 1 to get C2. > > I considered this before, however Cx is really a type, not a given state. > There can be more than 3 sleep states. For instance, the IBM R40 has C1, > C2, C3, and C3 (4 states). An index was the only unique way I could > specify the states. The transition latency is also unique but setting a > state to 182 to get the last C3 state is even worse from a user > perspective. Ah. Maybe rename the sysctl/tunable to indicate that it is an index? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Thu Nov 20 08:42:41 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BAFC16A4CE; Thu, 20 Nov 2003 08:42:41 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7725843FF7; Thu, 20 Nov 2003 08:42:40 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKGgeXJ075603; Thu, 20 Nov 2003 08:42:40 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKGgeUJ075602; Thu, 20 Nov 2003 08:42:40 -0800 (PST) (envelope-from marcel) Message-Id: <200311201642.hAKGgeUJ075602@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 20 Nov 2003 08:42:40 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 16:42:41 -0000 marcel 2003/11/20 08:42:40 PST FreeBSD src repository Modified files: sys/ia64/ia64 machdep.c Log: Set the ACPI processor Id in the PCPU structure so that CPU idling on SMP systems has a chance of working. This was a loose end of the implementation of the ACPI Cx idle states. Since our logical CPU Id is the ACPI processor Id, we do not need to jump through hoops to obtain it. Approved: re@ (jhb) Revision Changes Path 1.172 +1 -1 src/sys/ia64/ia64/machdep.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 09:08:00 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 680A116A4CE; Thu, 20 Nov 2003 09:08:00 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC76743FCB; Thu, 20 Nov 2003 09:07:59 -0800 (PST) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKH7xXJ082964; Thu, 20 Nov 2003 09:07:59 -0800 (PST) (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKH7xMF082963; Thu, 20 Nov 2003 09:07:59 -0800 (PST) (envelope-from bmah) Message-Id: <200311201707.hAKH7xMF082963@repoman.freebsd.org> From: "Bruce A. Mah" Date: Thu, 20 Nov 2003 09:07:59 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 17:08:00 -0000 bmah 2003/11/20 09:07:59 PST FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: New release note: sparc64 syscons(4) support [1] Modified release note: mount_udf(8) -C. [2] Submitted by: kris [1], "R. Imura" [2] Approved by: re (implicitly) Revision Changes Path 1.653 +7 -1 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Thu Nov 20 11:39:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00E7E16A4D6; Thu, 20 Nov 2003 11:39:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62F6F43FD7; Thu, 20 Nov 2003 11:39:54 -0800 (PST) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKJdsXJ090665; Thu, 20 Nov 2003 11:39:54 -0800 (PST) (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKJdr8i090664; Thu, 20 Nov 2003 11:39:53 -0800 (PST) (envelope-from brueffer) Message-Id: <200311201939.hAKJdr8i090664@repoman.freebsd.org> From: Christian Brueffer Date: Thu, 20 Nov 2003 11:39:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 19:39:55 -0000 brueffer 2003/11/20 11:39:53 PST FreeBSD src repository (doc committer) Modified files: release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: o Use manpage entity for xe(4) o Various grammar fixes Approved by: re (bmah) Revision Changes Path 1.654 +8 -8 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Thu Nov 20 11:47:32 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E38616A4CE; Thu, 20 Nov 2003 11:47:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF0E843F75; Thu, 20 Nov 2003 11:47:31 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKJlVXJ091317; Thu, 20 Nov 2003 11:47:31 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKJlV1r091316; Thu, 20 Nov 2003 11:47:31 -0800 (PST) (envelope-from andre) Message-Id: <200311201947.hAKJlV1r091316@repoman.freebsd.org> From: Andre Oppermann Date: Thu, 20 Nov 2003 11:47:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net route.c route.h src/sys/netinet in_rmx.c ip_fastfwd.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c src/sys/netinet6 icmp6.c in6_rmx.c ip6_forward.c ip6_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 19:47:32 -0000 andre 2003/11/20 11:47:31 PST FreeBSD src repository Modified files: sys/net route.c route.h sys/netinet in_rmx.c ip_fastfwd.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c sys/netinet6 icmp6.c in6_rmx.c ip6_forward.c ip6_input.c Log: Remove RTF_PRCLONING from routing table and adjust users of it accordingly. The define is left intact for ABI compatibility with userland. This is a pre-step for the introduction of tcp_hostcache. The network stack remains fully useable with this change. Reviewed by: sam (mentor), bms Reviewed by: -net, -current, core@kame.net (IPv6 parts) Approved by: re (scottl) Revision Changes Path 1.91 +14 -13 src/sys/net/route.c 1.53 +5 -1 src/sys/net/route.h 1.50 +5 -14 src/sys/netinet/in_rmx.c 1.4 +2 -2 src/sys/netinet/ip_fastfwd.c 1.46 +1 -1 src/sys/netinet/ip_fw2.c 1.84 +1 -1 src/sys/netinet/ip_icmp.c 1.257 +2 -2 src/sys/netinet/ip_input.c 1.202 +2 -2 src/sys/netinet/ip_output.c 1.49 +2 -4 src/sys/netinet6/icmp6.c 1.11 +2 -11 src/sys/netinet6/in6_rmx.c 1.24 +2 -3 src/sys/netinet6/ip6_forward.c 1.67 +1 -1 src/sys/netinet6/ip6_input.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 12:07:40 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B839B16A4CE; Thu, 20 Nov 2003 12:07:40 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4E7143FAF; Thu, 20 Nov 2003 12:07:39 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKK7dXJ093411; Thu, 20 Nov 2003 12:07:39 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKK7dLX093410; Thu, 20 Nov 2003 12:07:39 -0800 (PST) (envelope-from andre) Message-Id: <200311202007.hAKK7dLX093410@repoman.freebsd.org> From: Andre Oppermann Date: Thu, 20 Nov 2003 12:07:39 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/net if_faith.c if_loop.c route.h rtsock.c src/sys/netinet in_pcb.c in_pcb.h in_rmx.c ip_divert.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c raw_ip.c... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 20:07:41 -0000 andre 2003/11/20 12:07:39 PST FreeBSD src repository Modified files: sys/conf files sys/net if_faith.c if_loop.c route.h rtsock.c sys/netinet in_pcb.c in_pcb.h in_rmx.c ip_divert.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c raw_ip.c tcp_input.c tcp_output.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_usrreq.c tcp_var.h udp_usrreq.c sys/netinet6 icmp6.c in6_pcb.c in6_rmx.c in6_src.c ip6_output.c udp6_output.c Added files: sys/netinet tcp_hostcache.c Log: Introduce tcp_hostcache and remove the tcp specific metrics from the routing table. Move all usage and references in the tcp stack from the routing table metrics to the tcp hostcache. It caches measured parameters of past tcp sessions to provide better initial start values for following connections from or to the same source or destination. Depending on the network parameters to/from the remote host this can lead to significant speedups for new tcp connections after the first one because they inherit and shortcut the learning curve. tcp_hostcache is designed for multiple concurrent access in SMP environments with high contention and is hash indexed by remote ip address. It removes significant locking requirements from the tcp stack with regard to the routing table. Reviewed by: sam (mentor), bms Reviewed by: -net, -current, core@kame.net (IPv6 parts) Approved by: re (scottl) Revision Changes Path 1.854 +1 -0 src/sys/conf/files 1.24 +2 -11 src/sys/net/if_faith.c 1.92 +2 -11 src/sys/net/if_loop.c 1.54 +8 -2 src/sys/net/route.h 1.97 +21 -17 src/sys/net/rtsock.c 1.132 +14 -83 src/sys/netinet/in_pcb.c 1.67 +3 -16 src/sys/netinet/in_pcb.h 1.51 +1 -2 src/sys/netinet/in_rmx.c 1.80 +3 -6 src/sys/netinet/ip_divert.c 1.47 +6 -3 src/sys/netinet/ip_fw2.c 1.85 +28 -29 src/sys/netinet/ip_icmp.c 1.258 +8 -8 src/sys/netinet/ip_input.c 1.203 +9 -16 src/sys/netinet/ip_output.c 1.122 +1 -1 src/sys/netinet/raw_ip.c 1.1 +728 -0 src/sys/netinet/tcp_hostcache.c (new) 1.216 +200 -144 src/sys/netinet/tcp_input.c 1.83 +17 -27 src/sys/netinet/tcp_output.c 1.168 +124 -222 src/sys/netinet/tcp_subr.c 1.49 +34 -66 src/sys/netinet/tcp_syncache.c 1.63 +2 -5 src/sys/netinet/tcp_timer.c 1.89 +25 -20 src/sys/netinet/tcp_usrreq.c 1.93 +33 -11 src/sys/netinet/tcp_var.h 1.142 +12 -5 src/sys/netinet/udp_usrreq.c 1.50 +9 -21 src/sys/netinet6/icmp6.c 1.45 +8 -36 src/sys/netinet6/in6_pcb.c 1.12 +1 -2 src/sys/netinet6/in6_rmx.c 1.24 +37 -8 src/sys/netinet6/in6_src.c 1.70 +20 -7 src/sys/netinet6/ip6_output.c 1.15 +3 -6 src/sys/netinet6/udp6_output.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 12:28:19 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAF1916A4CE; Thu, 20 Nov 2003 12:28:19 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E86343FDD; Thu, 20 Nov 2003 12:28:19 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKKSJXJ094633; Thu, 20 Nov 2003 12:28:19 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKKSJgK094632; Thu, 20 Nov 2003 12:28:19 -0800 (PST) (envelope-from jhb) Message-Id: <200311202028.hAKKSJgK094632@repoman.freebsd.org> From: John Baldwin Date: Thu, 20 Nov 2003 12:28:19 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/i386/boot0 boot0.s X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 20:28:20 -0000 jhb 2003/11/20 12:28:18 PST FreeBSD src repository Modified files: sys/boot/i386/boot0 boot0.s Log: Update the size of the OS string table that wasn't updated in the previous commit that removed the UNIX entry. Submitted by: Rudolf Cejka Approved by: re (rwatson) Revision Changes Path 1.27 +1 -1 src/sys/boot/i386/boot0/boot0.s From owner-cvs-src@FreeBSD.ORG Thu Nov 20 12:41:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4551016A4CE; Thu, 20 Nov 2003 12:41:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C035543FE3; Thu, 20 Nov 2003 12:41:12 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKKfCXJ095278; Thu, 20 Nov 2003 12:41:12 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKKfC9p095277; Thu, 20 Nov 2003 12:41:12 -0800 (PST) (envelope-from jhb) Message-Id: <200311202041.hAKKfC9p095277@repoman.freebsd.org> From: John Baldwin Date: Thu, 20 Nov 2003 12:41:12 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/syscons/keymaps INDEX.keymaps X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 20:41:14 -0000 jhb 2003/11/20 12:41:12 PST FreeBSD src repository Modified files: share/syscons/keymaps INDEX.keymaps Log: Fix a typo that broke one of the Greek keyboard maps. PR: bin/59078 Submitted by: Panagiotis Astithas Approved by: re (rwatson) Revision Changes Path 1.52 +1 -1 src/share/syscons/keymaps/INDEX.keymaps From owner-cvs-src@FreeBSD.ORG Thu Nov 20 12:43:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6AEB16A4CE; Thu, 20 Nov 2003 12:43:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DA7E43FD7; Thu, 20 Nov 2003 12:43:08 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKKh7XJ095418; Thu, 20 Nov 2003 12:43:07 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKKh73E095417; Thu, 20 Nov 2003 12:43:07 -0800 (PST) (envelope-from jhb) Message-Id: <200311202043.hAKKh73E095417@repoman.freebsd.org> From: John Baldwin Date: Thu, 20 Nov 2003 12:43:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/sysinstall Makefile menus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 20:43:08 -0000 jhb 2003/11/20 12:43:07 PST FreeBSD src repository Modified files: usr.sbin/sysinstall Makefile menus.c Log: Add Greek keymaps to sysinstall. PR: bin/59078 Submitted by: Panagiotis Astithas Approved by: re (rwatson) Revision Changes Path 1.131 +6 -5 src/usr.sbin/sysinstall/Makefile 1.381 +3 -0 src/usr.sbin/sysinstall/menus.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 13:23:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7B3316A4CE; Thu, 20 Nov 2003 13:23:12 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DBCD43FBF; Thu, 20 Nov 2003 13:23:09 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id B6BA15309; Thu, 20 Nov 2003 22:23:07 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id F1D115308; Thu, 20 Nov 2003 22:22:59 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 84BA533C85; Thu, 20 Nov 2003 22:22:59 +0100 (CET) To: John Baldwin References: <200311202028.hAKKSJgK094632@repoman.freebsd.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Thu, 20 Nov 2003 22:22:59 +0100 In-Reply-To: <200311202028.hAKKSJgK094632@repoman.freebsd.org> (John Baldwin's message of "Thu, 20 Nov 2003 12:28:19 -0800 (PST)") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.5 required=5.0 tests=RCVD_IN_DYNABLOCK autolearn=no version=2.60 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/boot0 boot0.s X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 21:23:12 -0000 John Baldwin writes: > Log: > Update the size of the OS string table that wasn't updated in the previ= ous > commit that removed the UNIX entry. >=20=20=20 > Submitted by: Rudolf Cejka > Approved by: re (rwatson) PR: kern/59256 DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Thu Nov 20 13:23:51 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0E7A16A4CF; Thu, 20 Nov 2003 13:23:50 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63EE843FE1; Thu, 20 Nov 2003 13:23:50 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKLNoXJ003676; Thu, 20 Nov 2003 13:23:50 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKLNoLl003675; Thu, 20 Nov 2003 13:23:50 -0800 (PST) (envelope-from jhb) Message-Id: <200311202123.hAKLNoLl003675@repoman.freebsd.org> From: John Baldwin Date: Thu, 20 Nov 2003 13:23:50 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_pci_link.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 21:23:51 -0000 jhb 2003/11/20 13:23:50 PST FreeBSD src repository Modified files: sys/dev/acpica acpi_pci_link.c Log: Try all of the possible interrupts for a link device when programming boot-disabled devices instead of skipping the last interrupt. This is especially important for devices that only have one interrupt as this bug was keeping any interrupt from being tried at all. Reviewed by: msmith Approved by: re (scottl) Revision Changes Path 1.10 +1 -1 src/sys/dev/acpica/acpi_pci_link.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 13:27:47 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D22116A4D0 for ; Thu, 20 Nov 2003 13:27:47 -0800 (PST) Received: from mail.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5655943FE0 for ; Thu, 20 Nov 2003 13:27:45 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 30951 invoked from network); 20 Nov 2003 21:27:44 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 20 Nov 2003 21:27:44 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAKLRfFn032188; Thu, 20 Nov 2003 16:27:41 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 20 Nov 2003 16:27:41 -0500 (EST) From: John Baldwin To: (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/boot0 boot0.s X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 21:27:47 -0000 On 20-Nov-2003 Dag-Erling Smørgrav wrote: > John Baldwin writes: >> Log: >> Update the size of the OS string table that wasn't updated in the previous >> commit that removed the UNIX entry. >> >> Submitted by: Rudolf Cejka >> Approved by: re (rwatson) > > PR: kern/59256 Oops, that's correct. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-cvs-src@FreeBSD.ORG Thu Nov 20 13:47:22 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FFA916A4CE; Thu, 20 Nov 2003 13:47:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 630F743F93; Thu, 20 Nov 2003 13:47:21 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKLlLXJ005243; Thu, 20 Nov 2003 13:47:21 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKLlKmZ005242; Thu, 20 Nov 2003 13:47:20 -0800 (PST) (envelope-from andre) Message-Id: <200311202147.hAKLlKmZ005242@repoman.freebsd.org> From: Andre Oppermann Date: Thu, 20 Nov 2003 13:47:20 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet6 raw_ip6.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 21:47:22 -0000 andre 2003/11/20 13:47:20 PST FreeBSD src repository Modified files: sys/netinet6 raw_ip6.c Log: Introduce tcp_hostcache and remove the tcp specific metrics from the routing table. Move all usage and references in the tcp stack from the routing table metrics to the tcp hostcache. It caches measured parameters of past tcp sessions to provide better initial start values for following connections from or to the same source or destination. Depending on the network parameters to/from the remote host this can lead to significant speedups for new tcp connections after the first one because they inherit and shortcut the learning curve. tcp_hostcache is designed for multiple concurrent access in SMP environments with high contention and is hash indexed by remote ip address. It removes significant locking requirements from the tcp stack with regard to the routing table. Reviewed by: sam (mentor), bms Reviewed by: -net, -current, core@kame.net (IPv6 parts) Approved by: re (scottl) Revision Changes Path 1.35 +3 -6 src/sys/netinet6/raw_ip6.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 13:49:31 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAB6F16A4CE for ; Thu, 20 Nov 2003 13:49:31 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7200E43FB1 for ; Thu, 20 Nov 2003 13:49:29 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 69829 invoked from network); 20 Nov 2003 21:52:32 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 20 Nov 2003 21:52:32 -0000 Message-ID: <3FBD36E8.A5ADB8C8@freebsd.org> Date: Thu, 20 Nov 2003 22:49:28 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200311202147.hAKLlKmZ005242@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: src/sys/netinet6 raw_ip6.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 21:49:32 -0000 Andre Oppermann wrote: > > andre 2003/11/20 13:47:20 PST > > FreeBSD src repository > > Modified files: > sys/netinet6 raw_ip6.c > Log: > Introduce tcp_hostcache and remove the tcp specific metrics from > the routing table. Move all usage and references in the tcp stack > from the routing table metrics to the tcp hostcache. > > It caches measured parameters of past tcp sessions to provide better > initial start values for following connections from or to the same > source or destination. Depending on the network parameters to/from > the remote host this can lead to significant speedups for new tcp > connections after the first one because they inherit and shortcut > the learning curve. > > tcp_hostcache is designed for multiple concurrent access in SMP > environments with high contention and is hash indexed by remote > ip address. > > It removes significant locking requirements from the tcp stack with > regard to the routing table. > > Reviewed by: sam (mentor), bms > Reviewed by: -net, -current, core@kame.net (IPv6 parts) > Approved by: re (scottl) > > Revision Changes Path > 1.35 +3 -6 src/sys/netinet6/raw_ip6.c This fixes IPv6 build of kernel. I forgot to add this file to the previous commit. I'm sorry for any inconvinence this may have caused. Pointy hat to me. -- Andre From owner-cvs-src@FreeBSD.ORG Thu Nov 20 14:21:52 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 648DB16A4CE; Thu, 20 Nov 2003 14:21:52 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB7FE43FAF; Thu, 20 Nov 2003 14:21:51 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKMLpXJ007943; Thu, 20 Nov 2003 14:21:51 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKMLpaC007942; Thu, 20 Nov 2003 14:21:51 -0800 (PST) (envelope-from jhb) Message-Id: <200311202221.hAKMLpaC007942@repoman.freebsd.org> From: John Baldwin Date: Thu, 20 Nov 2003 14:21:51 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_pcib.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 22:21:52 -0000 jhb 2003/11/20 14:21:51 PST FreeBSD src repository Modified files: sys/dev/acpica acpi_pcib.c Log: Fix a typo in my patches to support extended IRQ resources that broke the type checking for _PRS for a link device's interrupt resources. Approved by: re (scottl) Revision Changes Path 1.34 +1 -1 src/sys/dev/acpica/acpi_pcib.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 14:50:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A106716A4CE; Thu, 20 Nov 2003 14:50:27 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1669F43F75; Thu, 20 Nov 2003 14:50:27 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKMoQXJ009534; Thu, 20 Nov 2003 14:50:26 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKMoQhX009532; Thu, 20 Nov 2003 14:50:26 -0800 (PST) (envelope-from peter) Message-Id: <200311202250.hAKMoQhX009532@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 14:50:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys pcpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 22:50:27 -0000 peter 2003/11/20 14:50:26 PST FreeBSD src repository Modified files: sys/sys pcpu.h Log: Allow the MD backend to provide an alternative to #define curthread PCPU_GET(curthread) since its so heavily used in the kernel and ripe for compile-speed optimization on some platforms. Revision Changes Path 1.11 +2 -0 src/sys/sys/pcpu.h From owner-cvs-src@FreeBSD.ORG Thu Nov 20 14:54:46 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2500816A4CE; Thu, 20 Nov 2003 14:54:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A3D843F93; Thu, 20 Nov 2003 14:54:45 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKMsjXJ009765; Thu, 20 Nov 2003 14:54:45 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKMsj2Y009764; Thu, 20 Nov 2003 14:54:45 -0800 (PST) (envelope-from peter) Message-Id: <200311202254.hAKMsj2Y009764@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 14:54:45 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 machdep.c src/sys/amd64/include pcpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 22:54:46 -0000 peter 2003/11/20 14:54:45 PST FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c sys/amd64/include pcpu.h Log: Provide a streamlined '#define curthread __curthread()' for amd64 to avoid the compiler having to parse and optimize the PCPU_GET(curthread) so often. __curthread() is an inline optimized version of PCPU_GET(curthread) that knows that pc_curthread is at offset zero in the pcpu struct. Add a CTASSERT() to catch any possible changes to this. This accounts for just over a 1% wall clock speedup for total kernel compile/link time, and 20% compile time speedup on some specific files depending on which compile options are used. Approved by: re (jhb) Revision Changes Path 1.600 +3 -0 src/sys/amd64/amd64/machdep.c 1.41 +10 -0 src/sys/amd64/include/pcpu.h From owner-cvs-src@FreeBSD.ORG Thu Nov 20 15:23:23 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BC7516A4CE; Thu, 20 Nov 2003 15:23:23 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF12D43FA3; Thu, 20 Nov 2003 15:23:22 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKNNMXJ012375; Thu, 20 Nov 2003 15:23:22 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKNNMVl012370; Thu, 20 Nov 2003 15:23:22 -0800 (PST) (envelope-from peter) Message-Id: <200311202323.hAKNNMVl012370@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 15:23:22 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 machdep.c src/sys/i386/include pcpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 23:23:23 -0000 peter 2003/11/20 15:23:22 PST FreeBSD src repository Modified files: sys/i386/i386 machdep.c sys/i386/include pcpu.h Log: MFamd64: use a less compiler-intensive MD implementation of 'curthread' so that the compiler doesn't have to do so much work. Approved by: re (jhb) Revision Changes Path 1.583 +3 -0 src/sys/i386/i386/machdep.c 1.41 +10 -0 src/sys/i386/include/pcpu.h From owner-cvs-src@FreeBSD.ORG Thu Nov 20 15:42:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1515916A4EC for ; Thu, 20 Nov 2003 15:42:03 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 74DAA4400D for ; Thu, 20 Nov 2003 15:41:03 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 72789 invoked by uid 1000); 20 Nov 2003 23:40:58 -0000 Date: Thu, 20 Nov 2003 15:40:58 -0800 (PST) From: Nate Lawson To: John Baldwin In-Reply-To: Message-ID: <20031120153849.H72721@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/acpica acpi.c acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 23:42:06 -0000 On Thu, 20 Nov 2003, John Baldwin wrote: > On 20-Nov-2003 Nate Lawson wrote: > > On Wed, 19 Nov 2003, John Baldwin wrote: > >> One minor suggestion btw. Could you fix the hw.acpi.cpu.cpu_cx_lowest > >> to use the "C1", "C2", and "C3" strings for its user-visible interface > >> instead of the direct integer? Setting the value to C2 is a bit more > >> intuitive than setting it to 1 to get C2. > > > > I considered this before, however Cx is really a type, not a given state. > > There can be more than 3 sleep states. For instance, the IBM R40 has C1, > > C2, C3, and C3 (4 states). An index was the only unique way I could > > specify the states. The transition latency is also unique but setting a > > state to 182 to get the last C3 state is even worse from a user > > perspective. > > Ah. Maybe rename the sysctl/tunable to indicate that it is an index? No good ideas over here. Took me a while to even come up with hw.acpi.cpu.cx_lowest. You want to indicate higher states will be also used as determined by the scheduling algorithm and that states with higher indices provide more power savings but also more latency. cx_lowest_idx seems kinda lame. Suggestions? -Nate From owner-cvs-src@FreeBSD.ORG Thu Nov 20 15:45:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E951216A500 for ; Thu, 20 Nov 2003 15:45:33 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 9344E43FE1 for ; Thu, 20 Nov 2003 15:45:31 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 72810 invoked by uid 1000); 20 Nov 2003 23:45:32 -0000 Date: Thu, 20 Nov 2003 15:45:32 -0800 (PST) From: Nate Lawson To: Andre Oppermann In-Reply-To: <20031120200816.1F8C916A4DD@hub.freebsd.org> Message-ID: <20031120154119.M72721@root.org> References: <20031120200816.1F8C916A4DD@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/net if_faith.c if_loop.c route.h rtsock.c src/sys/netinet in_pcb.c in_pcb.h in_rmx.c ip_divert.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 23:45:34 -0000 On Thu, 20 Nov 2003, Andre Oppermann wrote: > Modified files: > sys/conf files > sys/net if_faith.c if_loop.c route.h rtsock.c > sys/netinet in_pcb.c in_pcb.h in_rmx.c ip_divert.c > ip_fw2.c ip_icmp.c ip_input.c ip_output.c > raw_ip.c tcp_input.c tcp_output.c > tcp_subr.c tcp_syncache.c tcp_timer.c > tcp_usrreq.c tcp_var.h udp_usrreq.c > sys/netinet6 icmp6.c in6_pcb.c in6_rmx.c in6_src.c > ip6_output.c udp6_output.c > Added files: > sys/netinet tcp_hostcache.c > Log: > Introduce tcp_hostcache and remove the tcp specific metrics from > the routing table. Move all usage and references in the tcp stack > from the routing table metrics to the tcp hostcache. > > It caches measured parameters of past tcp sessions to provide better > initial start values for following connections from or to the same > source or destination. Depending on the network parameters to/from > the remote host this can lead to significant speedups for new tcp > connections after the first one because they inherit and shortcut > the learning curve. This is very good. There was no reason to throw away rtt estimates each time a connection closed. Especially for http servers, this should make a big difference. Thanks so much! One great paper I read on this: Prashant Pradhan, Tzi-Cker Chiueh, Anindya Neogi, Aggregate TCP Congestion Control Using Multiple Network Probing, in proceedings of IEEE ICDCS'2000. http://www.ecsl.cs.sunysb.edu/~prashant/papers/atcp.ps.gz -Nate From owner-cvs-src@FreeBSD.ORG Thu Nov 20 15:49:29 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EDCE16A4CF; Thu, 20 Nov 2003 15:49:29 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D4B543FDD; Thu, 20 Nov 2003 15:49:28 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAKNnSXJ013694; Thu, 20 Nov 2003 15:49:28 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAKNnS5i013693; Thu, 20 Nov 2003 15:49:28 -0800 (PST) (envelope-from peter) Message-Id: <200311202349.hAKNnS5i013693@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 15:49:28 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/include pcpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 23:49:29 -0000 peter 2003/11/20 15:49:28 PST FreeBSD src repository Modified files: sys/amd64/include pcpu.h Log: Argh! Followup to previous commit. I checked in the patch with an unintended local change. Change Xurthread back to curthread. Revision Changes Path 1.42 +1 -1 src/sys/amd64/include/pcpu.h From owner-cvs-src@FreeBSD.ORG Thu Nov 20 16:02:30 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 566AE16A4CE; Thu, 20 Nov 2003 16:02:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 898C643FE1; Thu, 20 Nov 2003 16:02:29 -0800 (PST) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL02TXJ014250; Thu, 20 Nov 2003 16:02:29 -0800 (PST) (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL02Tvw014249; Thu, 20 Nov 2003 16:02:29 -0800 (PST) (envelope-from simon) Message-Id: <200311210002.hAL02Tvw014249@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Thu, 20 Nov 2003 16:02:29 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/share/man/man4 sym.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 00:02:30 -0000 simon 2003/11/20 16:02:29 PST FreeBSD src repository (doc committer) Modified files: (Branch: RELENG_4) share/man/man4 sym.4 Log: MFC 1.14-1.16: - Document the KZPCA-AA. - Sync the sym(4) manual page with the hardware notes, and change the list of supported controllers into a list. Revision Changes Path 1.5.2.8 +67 -17 src/share/man/man4/sym.4 From owner-cvs-src@FreeBSD.ORG Thu Nov 20 16:16:53 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17F4A16A4CF for ; Thu, 20 Nov 2003 16:16:53 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CFE543FD7 for ; Thu, 20 Nov 2003 16:16:47 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 79852 invoked from network); 21 Nov 2003 00:19:50 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 21 Nov 2003 00:19:50 -0000 Message-ID: <3FBD596E.CE7299BD@freebsd.org> Date: Fri, 21 Nov 2003 01:16:46 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Nate Lawson References: <20031120200816.1F8C916A4DD@hub.freebsd.org> <20031120154119.M72721@root.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/net if_faith.c if_loop.croute.h rtsock.c src/sys/netinet in_pcb.c in_pcb.h in_rmx.c ip_divert.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 00:16:53 -0000 Nate Lawson wrote: > > On Thu, 20 Nov 2003, Andre Oppermann wrote: > > Modified files: > > sys/conf files > > sys/net if_faith.c if_loop.c route.h rtsock.c > > sys/netinet in_pcb.c in_pcb.h in_rmx.c ip_divert.c > > ip_fw2.c ip_icmp.c ip_input.c ip_output.c > > raw_ip.c tcp_input.c tcp_output.c > > tcp_subr.c tcp_syncache.c tcp_timer.c > > tcp_usrreq.c tcp_var.h udp_usrreq.c > > sys/netinet6 icmp6.c in6_pcb.c in6_rmx.c in6_src.c > > ip6_output.c udp6_output.c > > Added files: > > sys/netinet tcp_hostcache.c > > Log: > > Introduce tcp_hostcache and remove the tcp specific metrics from > > the routing table. Move all usage and references in the tcp stack > > from the routing table metrics to the tcp hostcache. > > > > It caches measured parameters of past tcp sessions to provide better > > initial start values for following connections from or to the same > > source or destination. Depending on the network parameters to/from > > the remote host this can lead to significant speedups for new tcp > > connections after the first one because they inherit and shortcut > > the learning curve. > > This is very good. There was no reason to throw away rtt estimates each > time a connection closed. Especially for http servers, this should make a We didn't exactly throw it away. It was stored in the rmx_... structure in the routing table. However it was only done after 16 srtt measurements have been made, which is almost never the case with http traffic. With the new code the srtt is saved after four samples have been made. Every new connection then smoothes that value more and more. The question to be answered is whether it makes sense to lower initial threshold even more, to two or three samples. That has to profiled. But in opinion the new value is a very good choice which actually gives a good stating value for the next connection. The old code would save a srtt only in about 5-7% of all connections. And then the hit rate for new connections using one of the cached values was around 1%. At the moment the hostcache is only updated when a tcp connection closes. I am studying (measure) whether it makes sense to update it after n fresh samples to make the cache even more effective. > big difference. Thanks so much! You're welcome! :-) > One great paper I read on this: > Prashant Pradhan, Tzi-Cker Chiueh, Anindya Neogi, Aggregate TCP Congestion > Control Using Multiple Network Probing, in proceedings of IEEE ICDCS'2000. > http://www.ecsl.cs.sunysb.edu/~prashant/papers/atcp.ps.gz I will certainly have a look at it. The next thing I'm working on is dynamically sized tcp socket buffers. This is one of the largest problems for good performace at the moment. Once you get a couple of ms rtt away from the server/client you quickly hit the bandwidth*delay product in the socket buffer. My new code is starting with a small buffer size of 8 or 16K and automatically grows that in step with the CWND and remote receive/send windows. The default maximum is probably somewhere around 512k but can be raised to 1M or more. For example I'm in Europe and around 170ms away from the FreeBSD cluster. When I'm uploading something I can't get more than ~190kbit/s speed because I hit the socket buffer limit, even though I've got 20Mbit/s unused direct SprintLink US transit and the Y! connectivity is even more than that. So only a socket buffer of 425K would allow me to fill and use the full 20meg pipe. BTW: Is there a reason why we haven't enabled rfc3390 and inflight by default? I'm running all my (ISP) servers with it and it gives quite a boost, especially with http traffic. The inflight stuff is also very good for connections where the remote side has only limited bandwidth. It doesn't overload the remote path buffer and keeps the traffic smooth instead of hitting the packet loss and trying again. -- Andre From owner-cvs-src@FreeBSD.ORG Thu Nov 20 16:55:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C18A16A4CE; Thu, 20 Nov 2003 16:55:12 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E24A243FDD; Thu, 20 Nov 2003 16:55:11 -0800 (PST) (envelope-from trhodes@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL0tBXJ022382; Thu, 20 Nov 2003 16:55:11 -0800 (PST) (envelope-from trhodes@repoman.freebsd.org) Received: (from trhodes@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL0tBMO022381; Thu, 20 Nov 2003 16:55:11 -0800 (PST) (envelope-from trhodes) Message-Id: <200311210055.hAL0tBMO022381@repoman.freebsd.org> From: Tom Rhodes Date: Thu, 20 Nov 2003 16:55:11 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man4 Makefile ncv.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 00:55:12 -0000 trhodes 2003/11/20 16:55:11 PST FreeBSD src repository Modified files: share/man/man4 Makefile Added files: share/man/man4 ncv.4 Log: Bring in a new manual page, ncv.4, and attach it to the build. Based on an original version submitted by: non Approved by: re (scottl) Revision Changes Path 1.241 +1 -0 src/share/man/man4/Makefile 1.1 +127 -0 src/share/man/man4/ncv.4 (new) From owner-cvs-src@FreeBSD.ORG Thu Nov 20 17:23:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C188F16A4CE; Thu, 20 Nov 2003 17:23:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 320E943FF2; Thu, 20 Nov 2003 17:23:21 -0800 (PST) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL1NLXJ024468; Thu, 20 Nov 2003 17:23:21 -0800 (PST) (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL1NKS2024467; Thu, 20 Nov 2003 17:23:20 -0800 (PST) (envelope-from bmah) Message-Id: <200311210123.hAL1NKS2024467@repoman.freebsd.org> From: "Bruce A. Mah" Date: Thu, 20 Nov 2003 17:23:20 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 01:23:21 -0000 bmah 2003/11/20 17:23:20 PST FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: New release note: acpi(4) idle state support. Submitted by: njl Approved by: re (implicitly) Revision Changes Path 1.655 +6 -0 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Thu Nov 20 17:25:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA2FB16A4CE; Thu, 20 Nov 2003 17:25:08 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2011043FE0; Thu, 20 Nov 2003 17:25:03 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id hAL1P2EG002246; Thu, 20 Nov 2003 17:25:02 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) hAL1P2dL001016; Thu, 20 Nov 2003 17:25:02 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.10/8.12.10/Submit) id hAL1P2gZ001015; Thu, 20 Nov 2003 17:25:02 -0800 (PST) (envelope-from marcel) Date: Thu, 20 Nov 2003 17:25:02 -0800 From: Marcel Moolenaar To: Nate Lawson Message-ID: <20031121012502.GA914@dhcp01.pn.xcllnt.net> References: <20031120153849.H72721@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031120153849.H72721@root.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: John Baldwin Subject: Re: cvs commit: src/sys/dev/acpica acpi.c acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 01:25:08 -0000 On Thu, Nov 20, 2003 at 03:40:58PM -0800, Nate Lawson wrote: > On Thu, 20 Nov 2003, John Baldwin wrote: > > On 20-Nov-2003 Nate Lawson wrote: > > > On Wed, 19 Nov 2003, John Baldwin wrote: > > >> One minor suggestion btw. Could you fix the hw.acpi.cpu.cpu_cx_lowest > > >> to use the "C1", "C2", and "C3" strings for its user-visible interface > > >> instead of the direct integer? Setting the value to C2 is a bit more > > >> intuitive than setting it to 1 to get C2. > > > > > > I considered this before, however Cx is really a type, not a given state. > > > There can be more than 3 sleep states. For instance, the IBM R40 has C1, > > > C2, C3, and C3 (4 states). An index was the only unique way I could > > > specify the states. The transition latency is also unique but setting a > > > state to 182 to get the last C3 state is even worse from a user > > > perspective. > > > > Ah. Maybe rename the sysctl/tunable to indicate that it is an index? > > No good ideas over here. Took me a while to even come up with > hw.acpi.cpu.cx_lowest. You want to indicate higher states will be also > used as determined by the scheduling algorithm and that states with higher > indices provide more power savings but also more latency. cx_lowest_idx > seems kinda lame. Suggestions? Maybe make the Cx state type an "unimportant" attribute? MIB-like: hw.acpi.cpu.cx.count=4 hw.acpi.cpu.cx.lowest=0 hw.acpi.cpu.cx.0.type=C1 hw.acpi.cpu.cx.0.latency=1 hw.acpi.cpu.cx.0.longsleep=x hw.acpi.cpu.cx.0.shortsleep=y hw.acpi.cpu.cx.1.type=C2 : hw.acpu.cpu.cx.2.type=C3 : hw.acpu.cpu.cx.3.type=C3 : Something like this makes the sysctl variables less magical, better to parse mechanically and puts the emphasis on the index. It's more verbose though... $0.02 -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net From owner-cvs-src@FreeBSD.ORG Thu Nov 20 17:30:29 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA91B16A4CE; Thu, 20 Nov 2003 17:30:29 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6210143FD7; Thu, 20 Nov 2003 17:30:29 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL1UTXJ024917; Thu, 20 Nov 2003 17:30:29 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL1UTkG024916; Thu, 20 Nov 2003 17:30:29 -0800 (PST) (envelope-from tjr) Message-Id: <200311210130.hAL1UTkG024916@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 20 Nov 2003 17:30:29 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/sys getfsstat.2 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 01:30:30 -0000 tjr 2003/11/20 17:30:29 PST FreeBSD src repository Modified files: lib/libc/sys getfsstat.2 Log: Replace out of date struct statfs definition with a reference to statfs(2). Approved by: re Revision Changes Path 1.16 +3 -64 src/lib/libc/sys/getfsstat.2 From owner-cvs-src@FreeBSD.ORG Thu Nov 20 17:43:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CB7C16A4CE; Thu, 20 Nov 2003 17:43:54 -0800 (PST) Received: from eth0.b.smtp.sonic.net (eth0.b.smtp.sonic.net [64.142.19.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAB3E43FDD; Thu, 20 Nov 2003 17:43:52 -0800 (PST) (envelope-from bmah@intruder.kitchenlab.org) Received: from intruder.kitchenlab.org (adsl-64-142-31-106.sonic.net [64.142.31.106])hAL1hqnj026640 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 20 Nov 2003 17:43:52 -0800 Received: from intruder.kitchenlab.org (bmah@localhost [127.0.0.1]) hAL1hqcN048746; Thu, 20 Nov 2003 17:43:52 -0800 (PST) (envelope-from bmah@intruder.kitchenlab.org) Message-Id: <200311210143.hAL1hqcN048746@intruder.kitchenlab.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "Tim J. Robbins" In-Reply-To: <200311210130.hAL1UTkG024916@repoman.freebsd.org> References: <200311210130.hAL1UTkG024916@repoman.freebsd.org> Comments: In-reply-to "Tim J. Robbins" message dated "Thu, 20 Nov 2003 17:30:29 -0800." From: "Bruce A. Mah" X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1073690176P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 20 Nov 2003 17:43:52 -0800 Sender: bmah@intruder.kitchenlab.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys getfsstat.2 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bmah@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 01:43:54 -0000 --==_Exmh_1073690176P Content-Type: text/plain; charset=us-ascii If memory serves me right, "Tim J. Robbins" wrote: > tjr 2003/11/20 17:30:29 PST > > FreeBSD src repository > > Modified files: > lib/libc/sys getfsstat.2 > Log: > Replace out of date struct statfs definition with a reference to statfs(2). > > Approved by: re > > Revision Changes Path > 1.16 +3 -64 src/lib/libc/sys/getfsstat.2 PR docs/59502? Bruce. --==_Exmh_1073690176P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQE/vW3Y2MoxcVugUsMRAnRPAKCxUT/Ci2rpsdweH4Z+gzewYgf/EQCg1/oC r47Zlxc+nY9xzK8PwTVpULw= =hA8t -----END PGP SIGNATURE----- --==_Exmh_1073690176P-- From owner-cvs-src@FreeBSD.ORG Thu Nov 20 18:08:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4641116A4D0 for ; Thu, 20 Nov 2003 18:08:27 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 087EF43FE0 for ; Thu, 20 Nov 2003 18:08:25 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 73185 invoked by uid 1000); 21 Nov 2003 02:08:26 -0000 Date: Thu, 20 Nov 2003 18:08:26 -0800 (PST) From: Nate Lawson To: Marcel Moolenaar In-Reply-To: <20031121012502.GA914@dhcp01.pn.xcllnt.net> Message-ID: <20031120180509.G73176@root.org> References: <20031120153849.H72721@root.org> <20031121012502.GA914@dhcp01.pn.xcllnt.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: John Baldwin Subject: Re: cvs commit: src/sys/dev/acpica acpi.c acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 02:08:27 -0000 On Thu, 20 Nov 2003, Marcel Moolenaar wrote: > On Thu, Nov 20, 2003 at 03:40:58PM -0800, Nate Lawson wrote: > > No good ideas over here. Took me a while to even come up with > > hw.acpi.cpu.cx_lowest. You want to indicate higher states will be also > > used as determined by the scheduling algorithm and that states with higher > > indices provide more power savings but also more latency. cx_lowest_idx > > seems kinda lame. Suggestions? > > Maybe make the Cx state type an "unimportant" attribute? > > MIB-like: > > hw.acpi.cpu.cx.count=4 > hw.acpi.cpu.cx.lowest=0 > hw.acpi.cpu.cx.0.type=C1 > hw.acpi.cpu.cx.0.latency=1 > hw.acpi.cpu.cx.0.longsleep=x > hw.acpi.cpu.cx.0.shortsleep=y > hw.acpi.cpu.cx.1.type=C2 > : > hw.acpu.cpu.cx.2.type=C3 > : > hw.acpu.cpu.cx.3.type=C3 > : > > Something like this makes the sysctl variables less magical, better > to parse mechanically and puts the emphasis on the index. It's more > verbose though... Nice, but too verbose for my tastes. Since this is something that will only be looked at by someone while tuning the system, I think more compact is better. Also it's really good to be able to do sysctl hw.acpi.cpu and get only 5-10 lines. I plan to reduce the verboseness of the throttling entries as well once more of the power control/devd stuff is committed. -Nate From owner-cvs-src@FreeBSD.ORG Thu Nov 20 18:53:51 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FC0816A4CE; Thu, 20 Nov 2003 18:53:51 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D37943FEC; Thu, 20 Nov 2003 18:53:50 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL2roXJ029199; Thu, 20 Nov 2003 18:53:50 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL2rnwm029198; Thu, 20 Nov 2003 18:53:49 -0800 (PST) (envelope-from peter) Message-Id: <200311210253.hAL2rnwm029198@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 18:53:49 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/isa clock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 02:53:51 -0000 peter 2003/11/20 18:53:49 PST FreeBSD src repository Modified files: sys/amd64/isa clock.c Log: MFi386 rev 1.207 (phk): Don't mistakenly disable the TSC when using statclock_disable. Approved by: re (scottl) Revision Changes Path 1.207 +11 -11 src/sys/amd64/isa/clock.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 18:58:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECCF916A4CF; Thu, 20 Nov 2003 18:58:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61AD343FF2; Thu, 20 Nov 2003 18:58:26 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL2wQXJ029639; Thu, 20 Nov 2003 18:58:26 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL2wQAH029638; Thu, 20 Nov 2003 18:58:26 -0800 (PST) (envelope-from peter) Message-Id: <200311210258.hAL2wQAH029638@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 18:58:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/isa atpic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 02:58:27 -0000 peter 2003/11/20 18:58:26 PST FreeBSD src repository Modified files: sys/amd64/isa atpic.c Log: MFi386: pre-register idt slots for atpic so we catch any strays without blowing up. Approved by: re (scottl) Revision Changes Path 1.7 +22 -6 src/sys/amd64/isa/atpic.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 19:00:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C261216A4CF; Thu, 20 Nov 2003 19:00:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17BBC43FB1; Thu, 20 Nov 2003 19:00:06 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL305XJ029731; Thu, 20 Nov 2003 19:00:05 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL3052H029730; Thu, 20 Nov 2003 19:00:05 -0800 (PST) (envelope-from peter) Message-Id: <200311210300.hAL3052H029730@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 19:00:05 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 nexus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 03:00:06 -0000 peter 2003/11/20 19:00:05 PST FreeBSD src repository Modified files: sys/amd64/amd64 nexus.c Log: MFi386 rev 1.54 (jhb): Add interrupts that are actually available to the resource manager, rather than adding everything. Approved by: re (scottl) Revision Changes Path 1.57 +19 -3 src/sys/amd64/amd64/nexus.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 19:02:02 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D98616A4CE; Thu, 20 Nov 2003 19:02:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6134643FDD; Thu, 20 Nov 2003 19:02:01 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL321XJ029966; Thu, 20 Nov 2003 19:02:01 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL321vB029962; Thu, 20 Nov 2003 19:02:01 -0800 (PST) (envelope-from peter) Message-Id: <200311210302.hAL321vB029962@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 19:02:01 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 autoconf.c genassym.c identcpu.c initcpu.c legacy.c mp_machdep.c pmap.c sys_machdep.c trap.c vm_machdep.c src/sys/amd64/include _limits.h _stdint.h acpica_machdep.h asmacros.h atomic.h bus_dma.h limits.h proc.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 03:02:02 -0000 peter 2003/11/20 19:02:01 PST FreeBSD src repository Modified files: sys/amd64/amd64 autoconf.c genassym.c identcpu.c initcpu.c legacy.c mp_machdep.c pmap.c sys_machdep.c trap.c vm_machdep.c sys/amd64/include _limits.h _stdint.h acpica_machdep.h asmacros.h atomic.h bus_dma.h limits.h proc.h specialreg.h sys/amd64/isa isa.c isa_dma.c Log: Cosmetic and/or trivial sync up with i386. Approved by: re (rwatson) Revision Changes Path 1.177 +1 -1 src/sys/amd64/amd64/autoconf.c 1.151 +1 -1 src/sys/amd64/amd64/genassym.c 1.128 +1 -1 src/sys/amd64/amd64/identcpu.c 1.47 +1 -1 src/sys/amd64/amd64/initcpu.c 1.52 +1 -1 src/sys/amd64/amd64/legacy.c 1.227 +1 -1 src/sys/amd64/amd64/mp_machdep.c 1.447 +2 -2 src/sys/amd64/amd64/pmap.c 1.87 +1 -1 src/sys/amd64/amd64/sys_machdep.c 1.271 +1 -1 src/sys/amd64/amd64/trap.c 1.224 +1 -1 src/sys/amd64/amd64/vm_machdep.c 1.8 +10 -13 src/sys/amd64/include/_limits.h 1.2 +1 -1 src/sys/amd64/include/_stdint.h 1.4 +1 -1 src/sys/amd64/include/acpica_machdep.h 1.27 +1 -1 src/sys/amd64/include/asmacros.h 1.32 +10 -4 src/sys/amd64/include/atomic.h 1.26 +9 -9 src/sys/amd64/include/bus_dma.h 1.7 +0 -2 src/sys/amd64/include/limits.h 1.21 +1 -1 src/sys/amd64/include/proc.h 1.27 +3 -3 src/sys/amd64/include/specialreg.h 1.145 +4 -3 src/sys/amd64/isa/isa.c 1.16 +1 -1 src/sys/amd64/isa/isa_dma.c From owner-cvs-src@FreeBSD.ORG Thu Nov 20 19:20:00 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D976D16A4CE; Thu, 20 Nov 2003 19:20:00 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E0BB43FA3; Thu, 20 Nov 2003 19:20:00 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL3K0XJ033390; Thu, 20 Nov 2003 19:20:00 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL3JxmB033389; Thu, 20 Nov 2003 19:20:00 -0800 (PST) (envelope-from peter) Message-Id: <200311210320.hAL3JxmB033389@repoman.freebsd.org> From: Peter Wemm Date: Thu, 20 Nov 2003 19:19:59 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/conf GENERIC X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 03:20:01 -0000 peter 2003/11/20 19:19:59 PST FreeBSD src repository Modified files: sys/amd64/conf GENERIC Log: Turn on NO_MIXED_MODE for amd64 generic. It turns out that all the known samples of broken chipsets that needed mixed mode in the first place are so broken (ie: locks up) that we can't use IO APIC mode at all and it needs to be turned off in the bios. So, the MIXED_MODE penalty on the good chipsets gained nothing. Approved by: re (scottl) Revision Changes Path 1.399 +1 -0 src/sys/amd64/conf/GENERIC From owner-cvs-src@FreeBSD.ORG Thu Nov 20 21:01:31 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7C1016A4CE; Thu, 20 Nov 2003 21:01:31 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B81543FAF; Thu, 20 Nov 2003 21:01:31 -0800 (PST) (envelope-from tanimura@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL51VXJ044014; Thu, 20 Nov 2003 21:01:31 -0800 (PST) (envelope-from tanimura@repoman.freebsd.org) Received: (from tanimura@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL51VVT044013; Thu, 20 Nov 2003 21:01:31 -0800 (PST) (envelope-from tanimura) Message-Id: <200311210501.hAL51VVT044013@repoman.freebsd.org> From: Seigo Tanimura Date: Thu, 20 Nov 2003 21:01:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: CVSROOT access X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 05:01:32 -0000 tanimura 2003/11/20 21:01:31 PST FreeBSD src repository Modified files: . access Log: Add Mathew Kanner (matk) as a new src committer. He will be doing a noble job on the MIDI and sound framework. Mathew, welcome to the party! Approved by: core Mentored by: tanimura Revision Changes Path 1.621 +1 -0 CVSROOT/access From owner-cvs-src@FreeBSD.ORG Thu Nov 20 22:33:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61F3C16A4CE for ; Thu, 20 Nov 2003 22:33:08 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7FDA643FB1 for ; Thu, 20 Nov 2003 22:33:05 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 16534 invoked from network); 21 Nov 2003 06:33:04 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 21 Nov 2003 06:33:04 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 21 Nov 2003 00:33:03 -0600 (CST) From: Mike Silbersack To: Andre Oppermann In-Reply-To: <3FBD596E.CE7299BD@freebsd.org> Message-ID: <20031121002621.N1924@odysseus.silby.com> References: <20031120200816.1F8C916A4DD@hub.freebsd.org> <20031120154119.M72721@root.org> <3FBD596E.CE7299BD@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Nate Lawson Subject: Re: cvs commit: src/sys/conf files src/sys/net if_faith.c if_loop.croute.h rtsock.c src/sys/netinet in_pcb.c in_pcb.h in_rmx.c ip_divert.c ip_fw2.c ip_icmp.c ip_input.c ip_output.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 06:33:08 -0000 On Fri, 21 Nov 2003, Andre Oppermann wrote: > BTW: Is there a reason why we haven't enabled rfc3390 and inflight by > default? I'm running all my (ISP) servers with it and it gives quite > a boost, especially with http traffic. The inflight stuff is also very > good for connections where the remote side has only limited bandwidth. > It doesn't overload the remote path buffer and keeps the traffic smooth > instead of hitting the packet loss and trying again. > > -- > Andre We should probably put 3390 on soon, it was just me objecting before. I'm not so sure about inflight, though; it probably needs more verification before it's turned on by default. I'm looking forward to dynamic sockbuf sizing though, I think it's a prereq for the inflight code to be well tested. Mike "Silby" Silbersack From owner-cvs-src@FreeBSD.ORG Fri Nov 21 11:01:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D3D416A4D3; Fri, 21 Nov 2003 11:01:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B12AA43FBF; Fri, 21 Nov 2003 11:01:02 -0800 (PST) (envelope-from dcs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hALJ12XJ003277; Fri, 21 Nov 2003 11:01:02 -0800 (PST) (envelope-from dcs@repoman.freebsd.org) Received: (from dcs@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hALJ12uN003276; Fri, 21 Nov 2003 11:01:02 -0800 (PST) (envelope-from dcs) Message-Id: <200311211901.hALJ12uN003276@repoman.freebsd.org> From: "Daniel C. Sobral" Date: Fri, 21 Nov 2003 11:01:02 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/i386/loader loader.rc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 19:01:03 -0000 dcs 2003/11/21 11:01:02 PST FreeBSD src repository Modified files: sys/boot/i386/loader loader.rc Log: With the beastie menu a problem was introduced in which selecting a different kernel to boot with kernel="NAME" would load the kernel and loader.conf-selected modules from /boot/NAME, but it would not change module_path. So, for instance, the automatically loaded acpi.ko would come from /boot/kernel/acpi.ko, *always*. Mind you, this happened for unassisted boot. If you interrupted, typed "unload" and then "boot NAME", it would Do The Right Thing. The source of the problem is the double initialization with beastie's loader.rc. One would happen inside "start", and would load the kernel. The next one would happen later in the loader.rc script, resetting module_path. Because module_path is set to the Right Value by the functions in support.4th that actually load the kernel, when beastie.4th proceeded to boot module_path would remain wrong, as the kernel was already loaded. This can be corrected by removing either initialization, and also by changing the command used by beastie.4th from "boot" to "boot-conf", which makes sure you use the right kernel and modules. I chose to remove the second initialization, since this let you interrupt (or confirm) boot before beastie even comes up. I avoid also doing the boot-conf change because that would simply cause the kernel and modules to be loaded twice (in fact, that was my original patch, until, in writing this very commit message, I saw the error of my ways). This commit changes the semantics of module loading when using the beastie menu. Now it does what one would expect it to, but not what it was actually doing, so something may break for unusual setups depending on broken behavior. As our japanese friends so nicely put it, shikata ga nakatta. :-) Approved by: re (scottl) Revision Changes Path 1.2 +0 -3 src/sys/boot/i386/loader/loader.rc From owner-cvs-src@FreeBSD.ORG Fri Nov 21 11:33:40 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AD3216A4D0; Fri, 21 Nov 2003 11:33:40 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1294943FD7; Fri, 21 Nov 2003 11:33:36 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id AFBE465491; Fri, 21 Nov 2003 07:52:47 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 82257-03; Fri, 21 Nov 2003 07:52:47 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 2477A65487; Fri, 21 Nov 2003 07:52:47 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id EE4A81B; Fri, 21 Nov 2003 07:52:45 +0000 (GMT) Date: Fri, 21 Nov 2003 07:52:45 +0000 From: Bruce M Simpson To: Andre Oppermann Message-ID: <20031121075245.GC88923@saboteur.dek.spc.org> Mail-Followup-To: Andre Oppermann , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200311202147.hAKLlKmZ005242@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311202147.hAKLlKmZ005242@repoman.freebsd.org> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet6 raw_ip6.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 19:33:40 -0000 On Thu, Nov 20, 2003 at 01:47:20PM -0800, Andre Oppermann wrote: > Log: > Introduce tcp_hostcache and remove the tcp specific metrics from > the routing table. Move all usage and references in the tcp stack > from the routing table metrics to the tcp hostcache. Well done! No more PRCLONING routes confirmed by netstat -Arn -f inet. :) Host cache is being populated. BMS From owner-cvs-src@FreeBSD.ORG Fri Nov 21 13:03:43 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D33E316A4CE; Fri, 21 Nov 2003 13:03:43 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46A9043FF5; Fri, 21 Nov 2003 13:03:43 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hALL3hXJ016250; Fri, 21 Nov 2003 13:03:43 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hALL3gm6016249; Fri, 21 Nov 2003 13:03:42 -0800 (PST) (envelope-from imp) Message-Id: <200311212103.hALL3gm6016249@repoman.freebsd.org> From: Warner Losh Date: Fri, 21 Nov 2003 13:03:42 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf majors X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 21:03:44 -0000 imp 2003/11/21 13:03:42 PST FreeBSD src repository Modified files: sys/conf majors Log: New major number: 185 ce Cronyx Tau-32 E1 adapter (likely unneeded for current, but required for older versions of FreeBSD). Approved by: re@ (scottl) Revision Changes Path 1.182 +1 -0 src/sys/conf/majors From owner-cvs-src@FreeBSD.ORG Fri Nov 21 13:21:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E927416A4CE; Fri, 21 Nov 2003 13:21:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5844443FCB; Fri, 21 Nov 2003 13:21:18 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hALLLIXJ016923; Fri, 21 Nov 2003 13:21:18 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hALLLIKS016922; Fri, 21 Nov 2003 13:21:18 -0800 (PST) (envelope-from njl) Message-Id: <200311212121.hALLLIKS016922@repoman.freebsd.org> From: Nate Lawson Date: Fri, 21 Nov 2003 13:21:17 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: INTEL Subject: cvs commit: src/sys/contrib/dev/acpica exfldio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 21:21:19 -0000 njl 2003/11/21 13:21:17 PST FreeBSD src repository Modified files: (Branch: INTEL) sys/contrib/dev/acpica exfldio.c Log: Add the byte offset to the base address for IndexField objects. This fixes an interrupt storm for certain users. This is done on the vendor branch since the code is already in the 20031029 ACPI-CA dist and will be imported after 5.2R. Tested by: sebastian ssmoller PR: i386/57909 Approved by: re (jhb) Revision Changes Path 1.1.1.20 +19 -9 src/sys/contrib/dev/acpica/exfldio.c From owner-cvs-src@FreeBSD.ORG Fri Nov 21 13:24:32 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C248B16A4CE; Fri, 21 Nov 2003 13:24:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43BB343FA3; Fri, 21 Nov 2003 13:24:32 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hALLOWXJ017037; Fri, 21 Nov 2003 13:24:32 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hALLOVBB017036; Fri, 21 Nov 2003 13:24:31 -0800 (PST) (envelope-from njl) Message-Id: <200311212124.hALLOVBB017036@repoman.freebsd.org> From: Nate Lawson Date: Fri, 21 Nov 2003 13:24:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: INTEL Subject: cvs commit: src/sys/contrib/dev/acpica dsmthdat.c utdelete.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 21:24:33 -0000 njl 2003/11/21 13:24:31 PST FreeBSD src repository Modified files: (Branch: INTEL) sys/contrib/dev/acpica dsmthdat.c utdelete.c Log: Update code for checking the reference count and performing the final delete of objects. Also revert our temporary workaround in dsmthdat.c that always copied objects. This is the correct fix for errors evaluating _BST (and GBST) on IBM Thinkpads where an argument (Arg3) was returned to the caller and the object was freed while still in use. This will be in a future ACPI-CA dist. Thanks to: kochi@netbsd.org, shaohua.li@intel.com Revision Changes Path 1.1.1.18 +7 -23 src/sys/contrib/dev/acpica/dsmthdat.c 1.1.1.19 +38 -2 src/sys/contrib/dev/acpica/utdelete.c From owner-cvs-src@FreeBSD.ORG Fri Nov 21 13:30:24 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF0DE16A4CE for ; Fri, 21 Nov 2003 13:30:24 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 07EE843FEA for ; Fri, 21 Nov 2003 13:30:23 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 76020 invoked by uid 1000); 21 Nov 2003 21:30:24 -0000 Date: Fri, 21 Nov 2003 13:30:24 -0800 (PST) From: Nate Lawson To: cvs-all@FreeBSD.org In-Reply-To: <20031121212523.6D96D16A4FB@hub.freebsd.org> Message-ID: <20031121132950.F75993@root.org> References: <20031121212523.6D96D16A4FB@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/contrib/dev/acpica dsmthdat.c utdelete.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 21:30:25 -0000 On Fri, 21 Nov 2003, Nate Lawson wrote: > njl 2003/11/21 13:24:31 PST > > FreeBSD src repository > > Modified files: (Branch: INTEL) > sys/contrib/dev/acpica dsmthdat.c utdelete.c > Log: > Update code for checking the reference count and performing the final > delete of objects. Also revert our temporary workaround in dsmthdat.c > that always copied objects. This is the correct fix for errors > evaluating _BST (and GBST) on IBM Thinkpads where an argument (Arg3) > was returned to the caller and the object was freed while still in use. > This will be in a future ACPI-CA dist. > > Thanks to: kochi@netbsd.org, shaohua.li@intel.com > > Revision Changes Path > 1.1.1.18 +7 -23 src/sys/contrib/dev/acpica/dsmthdat.c > 1.1.1.19 +38 -2 src/sys/contrib/dev/acpica/utdelete.c Forgot... Approved by: re (scottl) From owner-cvs-src@FreeBSD.ORG Fri Nov 21 14:23:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4F3816A4CE; Fri, 21 Nov 2003 14:23:27 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA7E043FCB; Fri, 21 Nov 2003 14:23:26 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hALMNQXJ020221; Fri, 21 Nov 2003 14:23:26 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hALMNQ7B020220; Fri, 21 Nov 2003 14:23:26 -0800 (PST) (envelope-from jhb) Message-Id: <200311212223.hALMNQ7B020220@repoman.freebsd.org> From: John Baldwin Date: Fri, 21 Nov 2003 14:23:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha mp_machdep.c src/sys/amd64/amd64 mp_machdep.c src/sys/i386/i386 mp_machdep.c src/sys/ia64/ia64 mp_machdep.c src/sys/kern subr_smp.c src/sys/powerpc/powerpc mp_machdep.c src/sys/sparc64/sparc64 mp_machdep.c src/sys/sys ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 22:23:27 -0000 jhb 2003/11/21 14:23:26 PST FreeBSD src repository Modified files: sys/alpha/alpha mp_machdep.c sys/amd64/amd64 mp_machdep.c sys/i386/i386 mp_machdep.c sys/ia64/ia64 mp_machdep.c sys/kern subr_smp.c sys/powerpc/powerpc mp_machdep.c sys/sparc64/sparc64 mp_machdep.c sys/sys smp.h Log: - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called very early (SI_SUB_TUNABLES - 1) and is responsible for setting mp_maxid. cpu_mp_probe() is now called at SI_SUB_CPU and determines if SMP is actually present and sets mp_ncpus and all_cpus. Splitting these up allows an architecture to probe CPUs later than SI_SUB_TUNABLES by just setting mp_maxid to MAXCPU in cpu_mp_setmaxid(). This could allow the CPU probing code to live in a module, for example, since modules sysinit's in modules cannot be invoked prior to SI_SUB_KLD. This is needed to re-enable the ACPI module on i386. - For the alpha SMP probing code, use LOCATE_PCS() instead of duplicating its contents in a few places. Also, add a smp_cpu_enabled() function to avoid duplicating some code. There is room for further code reduction later since much of this code is also present in cpu_mp_start(). - All archs besides i386 still set mp_maxid to the same values they set it to before this change. i386 now sets mp_maxid to MAXCPU. Tested on: alpha, amd64, i386, ia64, sparc64 Approved by: re (scottl) Revision Changes Path 1.49 +45 -22 src/sys/alpha/alpha/mp_machdep.c 1.228 +20 -5 src/sys/amd64/amd64/mp_machdep.c 1.226 +7 -8 src/sys/i386/i386/mp_machdep.c 1.52 +8 -2 src/sys/ia64/ia64/mp_machdep.c 1.179 +6 -6 src/sys/kern/subr_smp.c 1.11 +5 -0 src/sys/powerpc/powerpc/mp_machdep.c 1.24 +9 -3 src/sys/sparc64/sparc64/mp_machdep.c 1.74 +6 -0 src/sys/sys/smp.h From owner-cvs-src@FreeBSD.ORG Fri Nov 21 14:58:57 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C71BE16A4CE; Fri, 21 Nov 2003 14:58:57 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 388A343FA3; Fri, 21 Nov 2003 14:58:57 -0800 (PST) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hALMwvXJ021853; Fri, 21 Nov 2003 14:58:57 -0800 (PST) (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hALMwuSu021852; Fri, 21 Nov 2003 14:58:56 -0800 (PST) (envelope-from sos) Message-Id: <200311212258.hALMwuSu021852@repoman.freebsd.org> From: Søren Schmidt Date: Fri, 21 Nov 2003 14:58:56 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata ata-chipset.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 22:58:57 -0000 sos 2003/11/21 14:58:56 PST FreeBSD src repository Modified files: sys/dev/ata ata-chipset.c Log: Fix support for the cmd646 chip. Spotted by: tmm reviewed by: re@ Revision Changes Path 1.47 +27 -2 src/sys/dev/ata/ata-chipset.c From owner-cvs-src@FreeBSD.ORG Fri Nov 21 16:27:11 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60C6316A4CE; Fri, 21 Nov 2003 16:27:11 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EC2143F75; Fri, 21 Nov 2003 16:27:09 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DB85B66C55; Fri, 21 Nov 2003 16:27:08 -0800 (PST) Date: Fri, 21 Nov 2003 16:27:08 -0800 From: Kris Kennaway To: =?unknown-8bit?Q?S=F8ren?= Schmidt Message-ID: <20031122002708.GA7926@xor.obsecurity.org> References: <200311212258.hALMwuSu021852@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <200311212258.hALMwuSu021852@repoman.freebsd.org> User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: sparc64@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-chipset.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 00:27:11 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 21, 2003 at 02:58:56PM -0800, S=F8ren Schmidt wrote: > sos 2003/11/21 14:58:56 PST >=20 > FreeBSD src repository >=20 > Modified files: > sys/dev/ata ata-chipset.c=20 > Log: > Fix support for the cmd646 chip. > =20 > Spotted by: tmm > reviewed by: re@ Thanks! This should fix the problems people have been seeing on Ultra 5/10 systems. Kris --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/vq1cWry0BWjoQKURAjFaAKCgFX7QBBI1WbqH/o0pDiOsy6hHKACgjfde 90pFXvE0JQofFMKNxN4nMnw= =4sQY -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- From owner-cvs-src@FreeBSD.ORG Fri Nov 21 16:48:09 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23DF616A4CF; Fri, 21 Nov 2003 16:48:09 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8855B43FE5; Fri, 21 Nov 2003 16:48:08 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAM0m8XJ032988; Fri, 21 Nov 2003 16:48:08 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAM0m83v032987; Fri, 21 Nov 2003 16:48:08 -0800 (PST) (envelope-from njl) Message-Id: <200311220048.hAM0m83v032987@repoman.freebsd.org> From: Nate Lawson Date: Fri, 21 Nov 2003 16:48:08 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/contrib/dev/acpica exfldio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 00:48:09 -0000 njl 2003/11/21 16:48:08 PST FreeBSD src repository Modified files: sys/contrib/dev/acpica exfldio.c Log: Commit rev 1.1.1.20 to HEAD. This file was off the vendor branch and thus the changes need to be made to HEAD. Approved by: re (previously) Revision Changes Path 1.18 +19 -9 src/sys/contrib/dev/acpica/exfldio.c From owner-cvs-src@FreeBSD.ORG Fri Nov 21 16:51:02 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86A3616A4CE for ; Fri, 21 Nov 2003 16:51:02 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 39EE043FE1 for ; Fri, 21 Nov 2003 16:50:59 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 76674 invoked by uid 1000); 22 Nov 2003 00:51:00 -0000 Date: Fri, 21 Nov 2003 16:51:00 -0800 (PST) From: Nate Lawson To: cvs-all@FreeBSD.org In-Reply-To: <20031122004821.9175716A564@hub.freebsd.org> Message-ID: <20031121165044.K76659@root.org> References: <20031122004821.9175716A564@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/contrib/dev/acpica exfldio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 00:51:02 -0000 Noticed by: truckman -Nate From owner-cvs-src@FreeBSD.ORG Fri Nov 21 17:11:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6316C16A4CE; Fri, 21 Nov 2003 17:11:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F2D43FE9; Fri, 21 Nov 2003 17:11:07 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAM1B7XJ034755; Fri, 21 Nov 2003 17:11:07 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAM1B743034754; Fri, 21 Nov 2003 17:11:07 -0800 (PST) (envelope-from peter) Message-Id: <200311220111.hAM1B743034754@repoman.freebsd.org> From: Peter Wemm Date: Fri, 21 Nov 2003 17:11:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 amd64_mem.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 01:11:08 -0000 peter 2003/11/21 17:11:07 PST FreeBSD src repository Modified files: sys/amd64/amd64 amd64_mem.c Log: Argh! The Athlon64 and Opteron only implement 40 bits of address space in the MTRR Base/Mask registers. If you use the documented algorithm in the systems programming guide, you'll get a GPF. The only thing that has prevented this so far is that the bios pre-sets some MTRR entries which we mis-interpreted sufficiently to fool the memcontrol interface into thinking all the address space was taken and therefore rejected XFree86's requests. However, not all bioses do this.. You get an insta-panic in that case. Grrr. A better fix (dynamic mask) will happen by 5.3/5-stable so that we automatically adapt to more than 40 physical bits. Approved by: re (scottl) Revision Changes Path 1.23 +4 -5 src/sys/amd64/amd64/amd64_mem.c From owner-cvs-src@FreeBSD.ORG Fri Nov 21 18:16:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84E0C16A4CE; Fri, 21 Nov 2003 18:16:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B314743FD7; Fri, 21 Nov 2003 18:16:53 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAM2GrXJ037961; Fri, 21 Nov 2003 18:16:53 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAM2GrQH037960; Fri, 21 Nov 2003 18:16:53 -0800 (PST) (envelope-from alfred) Message-Id: <200311220216.hAM2GrQH037960@repoman.freebsd.org> From: Alfred Perlstein Date: Fri, 21 Nov 2003 18:16:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/idmapd idmapd.8 idmapd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 02:16:54 -0000 alfred 2003/11/21 18:16:53 PST FreeBSD src repository Modified files: sbin/idmapd idmapd.8 idmapd.c Log: Bring in manpage for idmapd and change domain to @FreeBSD.org. Approved by: re Revision Changes Path 1.2 +62 -0 src/sbin/idmapd/idmapd.8 1.2 +2 -2 src/sbin/idmapd/idmapd.c From owner-cvs-src@FreeBSD.ORG Fri Nov 21 18:18:32 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52E2116A4CE; Fri, 21 Nov 2003 18:18:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A0FD43FF7; Fri, 21 Nov 2003 18:18:31 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAM2IVXJ038050; Fri, 21 Nov 2003 18:18:31 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAM2IVnk038049; Fri, 21 Nov 2003 18:18:31 -0800 (PST) (envelope-from alfred) Message-Id: <200311220218.hAM2IVnk038049@repoman.freebsd.org> From: Alfred Perlstein Date: Fri, 21 Nov 2003 18:18:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/mount_nfs4 mount_nfs4.8 mount_nfs4.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 02:18:32 -0000 alfred 2003/11/21 18:18:31 PST FreeBSD src repository Modified files: sbin/mount_nfs4 mount_nfs4.8 mount_nfs4.c Log: Cleanup manpage for mount_nfs4 (make it actually refer to nfs4 options). Cleanup option parsing for mount_nfs4 program, and remove dead code. Approved by: re Revision Changes Path 1.2 +22 -172 src/sbin/mount_nfs4/mount_nfs4.8 1.2 +4 -87 src/sbin/mount_nfs4/mount_nfs4.c From owner-cvs-src@FreeBSD.ORG Fri Nov 21 18:21:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FEC016A4CE; Fri, 21 Nov 2003 18:21:50 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C833343F75; Fri, 21 Nov 2003 18:21:49 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAM2LnXJ038283; Fri, 21 Nov 2003 18:21:49 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAM2LnOM038282; Fri, 21 Nov 2003 18:21:49 -0800 (PST) (envelope-from alfred) Message-Id: <200311220221.hAM2LnOM038282@repoman.freebsd.org> From: Alfred Perlstein Date: Fri, 21 Nov 2003 18:21:49 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsclient nfs.h nfs_bio.c nfs_subs.c nfs_vfsops.c nfsmount.h nfsnode.h src/sys/nfs4client nfs4_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 02:21:50 -0000 alfred 2003/11/21 18:21:49 PST FreeBSD src repository Modified files: sys/nfsclient nfs.h nfs_bio.c nfs_subs.c nfs_vfsops.c nfsmount.h nfsnode.h sys/nfs4client nfs4_vfsops.c Log: Use function pointers to remove the depenancy cross dependancy on nfs4 and the nfs3 client. Also fix some bugs that happen to be causing crashes in both v3 and v4 introduced by the v4 import. Submitted by: Jim Rees Approved by: re Revision Changes Path 1.3 +10 -79 src/sys/nfs4client/nfs4_vfsops.c 1.76 +14 -0 src/sys/nfsclient/nfs.h 1.126 +10 -19 src/sys/nfsclient/nfs_bio.c 1.122 +0 -4 src/sys/nfsclient/nfs_subs.c 1.145 +10 -0 src/sys/nfsclient/nfs_vfsops.c 1.25 +1 -0 src/sys/nfsclient/nfsmount.h 1.41 +1 -5 src/sys/nfsclient/nfsnode.h From owner-cvs-src@FreeBSD.ORG Fri Nov 21 19:27:10 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E8CD16A4CE; Fri, 21 Nov 2003 19:27:10 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EE3E43FD7; Fri, 21 Nov 2003 19:27:10 -0800 (PST) (envelope-from matk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAM3R9XJ041375; Fri, 21 Nov 2003 19:27:09 -0800 (PST) (envelope-from matk@repoman.freebsd.org) Received: (from matk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAM3R9we041374; Fri, 21 Nov 2003 19:27:09 -0800 (PST) (envelope-from matk) Message-Id: <200311220327.hAM3R9we041374@repoman.freebsd.org> From: Mathew Kanner Date: Fri, 21 Nov 2003 19:27:09 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys soundcard.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 03:27:10 -0000 matk 2003/11/21 19:27:09 PST FreeBSD src repository Modified files: sys/sys soundcard.h Log: New defines that paves the way for new midi features and ports. Changes consists of an IOCTL (SNDCTL_SEQ_GETTIME) and a constant. PR: kern/59233 Approved by: tanimura (mentor) Approved by: scottl (re) MFC after: 3 weeks Revision Changes Path 1.43 +2 -0 src/sys/sys/soundcard.h From owner-cvs-src@FreeBSD.ORG Fri Nov 21 22:04:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34FF16A4CE; Fri, 21 Nov 2003 22:04:13 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64A0A43FA3; Fri, 21 Nov 2003 22:04:13 -0800 (PST) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAM64DXJ055292; Fri, 21 Nov 2003 22:04:13 -0800 (PST) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAM64DCP055291; Fri, 21 Nov 2003 22:04:13 -0800 (PST) (envelope-from scottl) Message-Id: <200311220604.hAM64DCP055291@repoman.freebsd.org> From: Scott Long Date: Fri, 21 Nov 2003 22:04:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf newvers.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 06:04:14 -0000 scottl 2003/11/21 22:04:13 PST FreeBSD src repository Modified files: sys/conf newvers.sh Log: Move us into 5.2-BETA Revision Changes Path 1.56 +2 -2 src/sys/conf/newvers.sh From owner-cvs-src@FreeBSD.ORG Fri Nov 21 22:09:00 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5884116A4CE; Fri, 21 Nov 2003 22:09:00 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B652943FAF; Fri, 21 Nov 2003 22:08:59 -0800 (PST) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAM68xXJ055534; Fri, 21 Nov 2003 22:08:59 -0800 (PST) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAM68xp2055533; Fri, 21 Nov 2003 22:08:59 -0800 (PST) (envelope-from scottl) Message-Id: <200311220608.hAM68xp2055533@repoman.freebsd.org> From: Scott Long Date: Fri, 21 Nov 2003 22:08:59 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/mtree BSD.include.dist src/include Makefile src/share/man/man7 hier.7 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 06:09:00 -0000 scottl 2003/11/21 22:08:59 PST FreeBSD src repository Modified files: etc/mtree BSD.include.dist include Makefile share/man/man7 hier.7 Log: Install UDF header files to unbreak /sbin building when /sys is not present. Submitted by: imura@ryu16.org Revision Changes Path 1.76 +2 -0 src/etc/mtree/BSD.include.dist 1.207 +1 -1 src/include/Makefile 1.91 +2 -0 src/share/man/man7/hier.7 From owner-cvs-src@FreeBSD.ORG Sat Nov 22 07:28:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 887C416A4CE; Sat, 22 Nov 2003 07:28:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE9A743FEC; Sat, 22 Nov 2003 07:28:17 -0800 (PST) (envelope-from archie@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAMFSHXJ095573; Sat, 22 Nov 2003 07:28:17 -0800 (PST) (envelope-from archie@repoman.freebsd.org) Received: (from archie@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAMFSHDm095572; Sat, 22 Nov 2003 07:28:17 -0800 (PST) (envelope-from archie) Message-Id: <200311221528.hAMFSHDm095572@repoman.freebsd.org> From: Archie Cobbs Date: Sat, 22 Nov 2003 07:28:17 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/netgraph ng_pptpgre.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 15:28:18 -0000 archie 2003/11/22 07:28:17 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/netgraph ng_pptpgre.c Log: MFC: (rev. 1.31) Maximum ACK timeout for GRE packets from 10 -> 1 second. Revision Changes Path 1.2.2.14 +1 -1 src/sys/netgraph/ng_pptpgre.c From owner-cvs-src@FreeBSD.ORG Sat Nov 22 10:35:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2818E16A4CF for ; Sat, 22 Nov 2003 10:35:55 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E31043FE5 for ; Sat, 22 Nov 2003 10:35:53 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 81781 invoked by uid 1000); 22 Nov 2003 18:35:54 -0000 Date: Sat, 22 Nov 2003 10:35:54 -0800 (PST) From: Nate Lawson To: Mathew Kanner In-Reply-To: <20031122032743.17DBD16A57A@hub.freebsd.org> Message-ID: <20031122103519.C81733@root.org> References: <20031122032743.17DBD16A57A@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys soundcard.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 18:35:55 -0000 On Fri, 21 Nov 2003, Mathew Kanner wrote: > Modified files: > sys/sys soundcard.h > Log: > New defines that paves the way for new midi features and ports. > > Changes consists of an IOCTL (SNDCTL_SEQ_GETTIME) and a constant. > > PR: kern/59233 > Approved by: tanimura (mentor) > Approved by: scottl (re) > MFC after: 3 weeks > > Revision Changes Path > 1.43 +2 -0 src/sys/sys/soundcard.h Introduction? :) -Nate From owner-cvs-src@FreeBSD.ORG Sat Nov 22 15:37:00 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F02D16A4CE; Sat, 22 Nov 2003 15:37:00 -0800 (PST) Received: from newsguy.com (smtp.newsguy.com [129.250.170.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BBFA43FE0; Sat, 22 Nov 2003 15:36:59 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (200-140-002-193.bsace705.dsl.brasiltelecom.net.br [200.140.2.193]) by newsguy.com (8.12.9/8.12.8) with ESMTP id hAMNaqJV003486; Sat, 22 Nov 2003 15:36:53 -0800 (PST) (envelope-from dcs@newsguy.com) Message-ID: <3FBFF303.3090001@newsguy.com> Date: Sat, 22 Nov 2003 21:36:35 -0200 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en,pt-BR,pt,en-GB,en-US,ja MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200311211901.hALJ12uN003276@repoman.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable cc: "Daniel C. Sobral" cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/loader loader.rc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 23:37:00 -0000 Dag-Erling Sm=F8rgrav wrote: > "Daniel C. Sobral" writes: >=20 >> Log: >> With the beastie menu a problem was introduced in which selecting a >> different kernel to boot with kernel=3D"NAME" would load the kernel a= nd >> loader.conf-selected modules from /boot/NAME, but it would not change= >> module_path. So, for instance, the automatically loaded acpi.ko would= come >> from /boot/kernel/acpi.ko, *always*. >=20 > Thanks for fixing this. Unfortunately, loader.rc is only installed if > it doesn't already exist, and mergemaster doesn't handle it, so > installed systems need to be fixed manually. Is there something we > can do to the Makefile and / or mergemaster to address this? There have been many discussions around this subject before. The problem = is that /boot/loader.rc is deemed to be untouchable, so the solutions I=20 support won't handle this particular problem. I'd like to have=20 /boot/defaults/loader.rc to be loaded _if_ a /boot/loader.rc can't be=20 found, and only install that file. That would solve this kind of=20 situation in the future, but not now. I suggest a note in UPDATING. I can't see what more we could do. --=20 Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@banana.bsdconspiracy.net I'd like to work for something named "Alcohol, Tobacco and Firearms". From owner-cvs-src@FreeBSD.ORG Sat Nov 22 17:06:14 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98F7A16A4CE; Sat, 22 Nov 2003 17:06:14 -0800 (PST) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EFE143FBF; Sat, 22 Nov 2003 17:06:13 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.homeunix.net (66-91-236-204.san.rr.com [66.91.236.204]) by smtp-relay.omnis.com (Postfix) with ESMTP id 5E6E272E13; Sat, 22 Nov 2003 17:04:51 -0800 (PST) From: Wes Peters Organization: Softweyr To: Bruce Evans , Sheldon Hearn Date: Sat, 22 Nov 2003 17:06:04 -0800 User-Agent: KMail/1.5.4 References: <200311160710.hAG7AtRR047311@repoman.freebsd.org> <20031119095138.GA752@starjuice.net> <20031120064037.C8876@gamplex.bde.org> In-Reply-To: <20031120064037.C8876@gamplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311221706.04729.wes@softweyr.com> cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: re@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/fsck_ffs setup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 01:06:14 -0000 RE, Bruce: This patch should be committed before 5.2 RELEASE. On Wednesday 19 November 2003 12:17 pm, Bruce Evans wrote: > On Wed, 19 Nov 2003, Sheldon Hearn wrote: > > On (2003/11/15 23:10), Wes Peters wrote: > > > FreeBSD src repository > > > > > > Modified files: > > > sbin/fsck_ffs setup.c > > > Log: > > > Catch and report on filesystems that were interrupted during > > > newfs, sporting the new 'BAD' magic number. Exit with a unique > > > error code (11) so callers who care about this can respond > > > appropriately. > > > > Can you document this unique error code gracefully so that authors of > > such callers get clued in easily? > > Note that the rule about error exits in style(9) was intended to say > not to use a huge number of meaningless undocumented sequentially > numbered error exits, as is done in some old programs like fsck_ffs. > The rule got broken to advise using the not-so-huge number of > low-meaning documented sequentially numbered error exits in > . > > This error exit is a bug IMO and doesn't exist in my version. It > prevents readsb() returning to its caller so that the caller can either > abort or prompt for the next file system as appropriate. > > This patch also fixes: > - old bug: silent premature termination of the search for a superblock > after a read error. Perhaps a read error should be immediately > fatal. However, the non-searching case just returns for one. > - logic bug: as pointed out in my review, the search should be > identical with the one in the kernel. Bad magic number may be left > lying around in harmless places by a previous failure followed by a > newfs with different parameters. Then the kernel will find a > superblock but fsck would barf without this patch. It would be useful > to know about super blocks with the bad magic number so this version > should be changed a bit to print a message before continuing, at least > in the !preen case. > - old bug: the sanity check is not quite right here or in the kernel or > in other ffs utilities. > (a) There was no check that fs_bsize is not too large. My change for > this (to check MAXBSIZE) is not quite right. The kernel must > reject file systems whose block size is larger than vfs_bio can > support, but utilities need not. ffs systems with a block size larger > than MAXBSIZE may be created on non-FreeBSD systems that have a larger > value for this parameter. > (b) The check that fs_bsize is larger than sizeof(struct fs) is not > quite right. On systems with MINBSIZE smaller than the FreeBSD > value, newfs is happy to create file systems with the super block > smaller than the block size, and such file systems almost work. > I removed the check to allow testing such file systems and > replace it by checks on fs_sbsize. > > The failure cases in this patch have not all been tested at runtime. > > %%% > Index: setup.c > =================================================================== > RCS file: /home/ncvs/src/sbin/fsck_ffs/setup.c,v > retrieving revision 1.45 > diff -u -2 -r1.45 setup.c > --- setup.c 16 Nov 2003 07:10:55 -0000 1.45 > +++ setup.c 16 Nov 2003 11:29:27 -0000 > @@ -300,5 +298,5 @@ > { > ufs2_daddr_t super; > - int i; > + int i, seenbad; > > if (bflag) { > @@ -308,5 +306,5 @@ > if (sblock.fs_magic == FS_BAD2_MAGIC) { > fprintf(stderr, BAD_MAGIC_MSG); > - exit(11); > + return (0); > } > if (sblock.fs_magic != FS_UFS1_MAGIC && > @@ -317,13 +315,13 @@ > } > } else { > + seenbad = 0; > for (i = 0; sblock_try[i] != -1; i++) { > super = sblock_try[i] / dev_bsize; > if ((bread(fsreadfd, (char *)&sblock, super, > (long)SBLOCKSIZE))) > - return (0); > - if (sblock.fs_magic == FS_BAD2_MAGIC) { > - fprintf(stderr, BAD_MAGIC_MSG); > - exit(11); > - } > + continue; > + if (sblock.fs_magic == FS_BAD2_MAGIC) > + /* XXX should we sanity check it too? */ > + seenbad = 1; > if ((sblock.fs_magic == FS_UFS1_MAGIC || > (sblock.fs_magic == FS_UFS2_MAGIC && > @@ -331,9 +329,12 @@ > sblock.fs_ncg >= 1 && > sblock.fs_bsize >= MINBSIZE && > - sblock.fs_bsize >= sizeof(struct fs)) > + sblock.fs_bsize <= MAXBSIZE && > + sblock.fs_sbsize >= (int)sizeof(sblock) && > + sblock.fs_sbsize <= SBLOCKSIZE) > break; > } > if (sblock_try[i] == -1) { > - fprintf(stderr, "Cannot find file system superblock\n"); > + fprintf(stderr, seenbad ? BAD_MAGIC_MSG : > + "Cannot find file system superblock\n"); > return (0); > } > %%% > > Bruce -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com From owner-cvs-src@FreeBSD.ORG Sat Nov 22 17:11:11 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71D2916A4CE; Sat, 22 Nov 2003 17:11:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBF3043F75; Sat, 22 Nov 2003 17:11:10 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAN1BAXJ041317; Sat, 22 Nov 2003 17:11:10 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAN1BAGB041316; Sat, 22 Nov 2003 17:11:10 -0800 (PST) (envelope-from bde) Message-Id: <200311230111.hAN1BAGB041316@repoman.freebsd.org> From: Bruce Evans Date: Sat, 22 Nov 2003 17:11:10 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/sys reboot.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 01:11:11 -0000 bde 2003/11/22 17:11:10 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/sys reboot.h Log: MFC (1.22: fixed some style bugs). Revision Changes Path 1.18.2.2 +8 -8 src/sys/sys/reboot.h From owner-cvs-src@FreeBSD.ORG Sat Nov 22 17:47:20 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 476DD16A4CE; Sat, 22 Nov 2003 17:47:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE9E843FBF; Sat, 22 Nov 2003 17:47:19 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAN1lJXJ042478; Sat, 22 Nov 2003 17:47:19 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAN1lJKI042477; Sat, 22 Nov 2003 17:47:19 -0800 (PST) (envelope-from bde) Message-Id: <200311230147.hAN1lJKI042477@repoman.freebsd.org> From: Bruce Evans Date: Sat, 22 Nov 2003 17:47:19 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/sys reboot.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 01:47:20 -0000 bde 2003/11/22 17:47:19 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/sys reboot.h Log: MFC (1.23: changed RB_PAUSE to retrospectively avoid breaking binary compatibility, and marked the old value and RB_PROBEKBD as reserved for internal use in boot blocks. Also unintentionally clobber a style fix in 1.22). The corresponding change to boot/boot2.c has not been not merged, since RELENG_4's boot2 doesn't actually support RB_PAUSE (or even the 7 year old flag RB_MUTE), so any plain merge would just add an incomplete set of comments to code that should be rewritten so that it doesn't need the comments. RELENG_4's boot/loader does support these flags, and it doesn't need changing since it doesn't hard-code copies of them. Revision Changes Path 1.18.2.3 +4 -2 src/sys/sys/reboot.h From owner-cvs-src@FreeBSD.ORG Sat Nov 22 19:02:01 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF94516A4D2; Sat, 22 Nov 2003 19:02:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C89A43FA3; Sat, 22 Nov 2003 19:02:01 -0800 (PST) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAN320XJ045822; Sat, 22 Nov 2003 19:02:00 -0800 (PST) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAN3209U045821; Sat, 22 Nov 2003 19:02:00 -0800 (PST) (envelope-from tmm) Message-Id: <200311230302.hAN3209U045821@repoman.freebsd.org> From: Thomas Moestl Date: Sat, 22 Nov 2003 19:02:00 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet in_pcb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 03:02:01 -0000 tmm 2003/11/22 19:02:00 PST FreeBSD src repository Modified files: sys/netinet in_pcb.c Log: bzero() the the sockaddr used for the destination address for rtalloc_ign() in in_pcbconnect_setup() before it is filled out. Otherwise, stack junk would be left in sin_zero, which could cause host routes to be ignored because they failed the comparison in rn_match(). This should fix the wrong source address selection for connect() to 127.0.0.1, among other things. Reviewed by: sam Approved by: re (rwatson) Revision Changes Path 1.133 +1 -0 src/sys/netinet/in_pcb.c From owner-cvs-src@FreeBSD.ORG Sat Nov 22 19:09:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6510916A4CE for ; Sat, 22 Nov 2003 19:09:27 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id BC02143FCB for ; Sat, 22 Nov 2003 19:09:24 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 1782 invoked by uid 65534); 23 Nov 2003 03:09:23 -0000 Received: from p508E7AB5.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.142.122.181) by mail.gmx.net (mp013) with SMTP; 23 Nov 2003 04:09:23 +0100 X-Authenticated: #5374206 Received: by rota (Postfix, from userid 1001) id 104F7BD; Sun, 23 Nov 2003 04:10:37 +0100 (CET) Date: Sun, 23 Nov 2003 04:10:36 +0100 From: Thomas Moestl To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20031123031036.GA16180@timesink.dyndns.org> Mail-Followup-To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200311230302.hAN3209U045821@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311230302.hAN3209U045821@repoman.freebsd.org> User-Agent: Mutt/1.5.5.1i Subject: Re: cvs commit: src/sys/netinet in_pcb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 03:09:27 -0000 On Sat, 2003/11/22 at 19:02:00 -0800, Thomas Moestl wrote: > tmm 2003/11/22 19:02:00 PST > > FreeBSD src repository > > Modified files: > sys/netinet in_pcb.c > Log: > bzero() the the sockaddr used for the destination address for > rtalloc_ign() in in_pcbconnect_setup() before it is filled out. > Otherwise, stack junk would be left in sin_zero, which could > cause host routes to be ignored because they failed the comparison > in rn_match(). > This should fix the wrong source address selection for connect() to > 127.0.0.1, among other things. > > Reviewed by: sam ^, andre (oops). - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C From owner-cvs-src@FreeBSD.ORG Sat Nov 22 20:37:41 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 628B316A4CE; Sat, 22 Nov 2003 20:37:41 -0800 (PST) Received: from mgate12.so-net.ne.jp (mgate12.so-net.ne.jp [210.139.254.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FCBF43FD7; Sat, 22 Nov 2003 20:37:39 -0800 (PST) (envelope-from fuyuki@nigredo.org) Received: from mail.dg8.so-net.ne.jp (mspool12.so-net.ne.jp [210.139.248.12]) by mgate12.so-net.ne.jp with ESMTP id hAN4bar15050; Sun, 23 Nov 2003 13:37:36 +0900 (JST) Received: from ns.nigredo.org (p6241af.spprac00.ap.so-net.ne.jp [219.98.65.175]) by mail.dg8.so-net.ne.jp with ESMTP id hAN4bZY24999; Sun, 23 Nov 2003 13:37:35 +0900 (JST) Received: from ns.nigredo.org (localhost [IPv6:::1]) by ns.nigredo.org (Postfix) with ESMTP id 27F2220CD; Sun, 23 Nov 2003 13:37:35 +0900 (JST) Date: Sun, 23 Nov 2003 13:37:35 +0900 Message-ID: <86llq7bsz4.wl%fuyuki@nigredo.org> From: Kimura Fuyuki To: rwatson@FreeBSD.org In-Reply-To: <200311122156.hACLu7OR024315@repoman.freebsd.org> References: <200311122156.hACLu7OR024315@repoman.freebsd.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI) X-Public-Key: http://www.nigredo.org/fuyuki/public.key X-Fingerprint: 8D68 1138 1A85 8556 C6A9 274B 2C72 2E56 3AF7 3D89 MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libutil Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 04:37:41 -0000 At Wed, 12 Nov 2003 13:56:07 -0800 (PST), Robert Watson wrote: > > rwatson 2003/11/12 13:56:07 PST > > FreeBSD src repository > > Modified files: > lib/libutil Makefile > Log: > Bump the major version on libtuil. libutil now relies on the mac_* > symbols exported by newer versions of libc, and so we want applications > depending on the newer library code to be required to link against the > newer libc. Maybe there needs to tweak LIBDIR? # ls -l /lib|grep libutil lrwxr-xr-x 1 root wheel 12 Sep 3 13:53 libutil.so -> libutil.so.3 -r--r--r-- 1 root wheel 41560 Nov 13 07:45 libutil.so.3 -r--r--r-- 1 root wheel 41560 Nov 22 15:00 libutil.so.4 -- fuyuki