From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 01:37:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5C4816A4CE for ; Sun, 29 Feb 2004 01:37:01 -0800 (PST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70AFE43D1F for ; Sun, 29 Feb 2004 01:37:01 -0800 (PST) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp id 1AxNNY-0007wX-2S for freebsd-hackers@freebsd.org; Sun, 29 Feb 2004 11:36:56 +0200 X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 29 Feb 2004 11:36:56 +0200 From: Danny Braniss Message-Id: Subject: kernel options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 09:37:01 -0000 hi, is there a way of knowing with which kernel-options a particular kernel was compiled with (appart form the obvious config file)? danny From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 02:32:40 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FCFD16A4CF; Sun, 29 Feb 2004 02:32:40 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB56843D1D; Sun, 29 Feb 2004 02:32:39 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.10/8.12.10) with ESMTP id i1TAWYcj002322; Sun, 29 Feb 2004 13:32:35 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 29 Feb 2004 13:32:34 +0300 (MSK) From: Dmitry Morozovsky To: Julian Elischer In-Reply-To: Message-ID: <20040229133058.Y2224@woozle.rinet.ru> References: X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@freebsd.org cc: hackers@freebsd.org Subject: Re: HEADSUP.. USB MFC coming.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 10:32:40 -0000 On Sat, 28 Feb 2004, Julian Elischer wrote: JE> > Well, my main headache (SONY Clie SJ20) is now in a bit different state; before JE> > (at 4.9p1) it failed to attach with JE> > JE> > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 JE> > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 JE> > ucom0: init failed, STALLED JE> > device_probe_and_attach: ucom0 attach returned 6 JE> > ugen0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 JE> > JE> > now it is correctly identified (after HotSync activation) as JE> > JE> > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 JE> > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 JE> > JE> > However, I still can't figure out how to sync, as dlpsh can't attach to JE> > /dev/ucom before activatyng Sync, and never goes to the shell prompt when JE> JE> shouldn't it be /dev/ucom0? JE> (assuming it exists) They both exist and have the same pair (major, minor). JE> > I had I/O errors and hangups with cheap MemoryStick reader before, JE> > but do not have it by hand to quick check. Hope to check tomorrow. JE> JE> I'll go ahead with the MFC but I'll JE> try handle these reports afterwards... Thanks again, I'll post MS reader testing results tonight (I'm at GMT+3 ;-) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 04:24:17 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C07A16A4CE for ; Sun, 29 Feb 2004 04:24:17 -0800 (PST) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1540943D1F for ; Sun, 29 Feb 2004 04:24:16 -0800 (PST) (envelope-from maxim@macomnet.ru) Received: from mp3 (yfquoapm@mp3files.int.ru [195.128.64.20]) by relay.macomnet.ru (8.12.10/8.12.10) with ESMTP id i1TCNOOB7405590; Sun, 29 Feb 2004 15:23:25 +0300 (MSK) Date: Sun, 29 Feb 2004 15:23:24 +0300 (MSK) From: Maxim Konovalov To: Danny Braniss In-Reply-To: Message-ID: <20040229152109.Y28048@mp3files.int.ru> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: kernel options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 12:24:17 -0000 On Sun, 29 Feb 2004, 11:36+0200, Danny Braniss wrote: > hi, > is there a way of knowing with which kernel-options a particular kernel > was compiled with (appart form the obvious config file)? Yes, if you use 'options INCLUDE_CONFIG_FILE'. See /sys/conf/NOTES for details. -- Maxim Konovalov From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 05:48:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D745616A4CE for ; Sun, 29 Feb 2004 05:48:38 -0800 (PST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9051E43D2D for ; Sun, 29 Feb 2004 05:48:38 -0800 (PST) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp id 1AxRIu-000OQB-F8; Sun, 29 Feb 2004 15:48:24 +0200 X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Maxim Konovalov In-reply-to: Your message of Sun, 29 Feb 2004 15:23:24 +0300 (MSK) . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 29 Feb 2004 15:48:24 +0200 From: Danny Braniss Message-Id: cc: freebsd-hackers@freebsd.org Subject: Re: kernel options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 13:48:39 -0000 > On Sun, 29 Feb 2004, 11:36+0200, Danny Braniss wrote: > > > hi, > > is there a way of knowing with which kernel-options a particular kernel > > was compiled with (appart form the obvious config file)? > > Yes, if you use 'options INCLUDE_CONFIG_FILE'. See /sys/conf/NOTES > for details. i knew that im walking in the footsteps of giants :-) thanks, danny From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 28 09:52:10 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20D3316A4CE for ; Sat, 28 Feb 2004 09:52:10 -0800 (PST) Received: from jam.adverticum.net (jam.adverticum.net [195.228.75.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CD443D1F for ; Sat, 28 Feb 2004 09:52:09 -0800 (PST) (envelope-from grinder@pro.hu) Received: from wakumbi.prim.hu (wakumbi.prim.hu [195.228.75.115]) by jam.adverticum.net (Postfix) with ESMTP id 6C9DBAB878 for ; Sat, 28 Feb 2004 18:52:07 +0100 (CET) Received: from www-data by wakumbi.prim.hu with local (Exim 3.35 #1 (Debian)) id 1Ax8dD-0004z8-00 for ; Sat, 28 Feb 2004 18:52:07 +0100 Received: from gprs4.vodafone.hu [80.244.96.196] by www-data with webmail (PrimPosta); Sat, Feb 28 18:52:07 2004 +0100 (CET) From: grinder To: freebsd-hackers@freebsd.org Errors-To: grinder@pro.hu X-Sender: grinder@pro.hu MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Mailer: PrimPosta Sender: grinder@pro.hu Message-Id: Date: Sat, 28 Feb 2004 18:52:07 +0100 X-Mailman-Approved-At: Sun, 29 Feb 2004 05:57:40 -0800 Subject: Sockets and the owner process X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: grinder List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 17:52:10 -0000 I want to create a small kernel module which logs the socket operations. So in my module i have a socket structure, and i want to know which process (thread) owns it. But the socket structure isn't contains any reference to the process structure. If i walk through the vnode table i can find my socket by the so_gencnt "unique id", but the vnode structure isn't have any variables back to the proc structure. Is it possible to get the owner proc structure for a socket? Thanks, Tibor Kiss From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 28 16:51:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0277B16A4CE; Sat, 28 Feb 2004 16:51:13 -0800 (PST) Received: from euclide.usr.dico.unimi.it (euclide.usr.dico.unimi.it [159.149.148.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE73C43D31; Sat, 28 Feb 2004 16:51:11 -0800 (PST) (envelope-from saturnero@gufi.org) Received: from sberta.saturnero.sat ([213.140.17.96]) (authenticated bits=0)i1T0p9o4016612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 29 Feb 2004 01:51:09 +0100 (CET) (envelope-from saturnero@gufi.org) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sberta.saturnero.sat (Postfix) with ESMTP id 9EDB718CC02; Sun, 29 Feb 2004 01:51:04 +0100 (CET) From: Dario Freni To: freesbie@gufi.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-D4oERAL5a5kqYgzoL8DK" Message-Id: <1078014869.1249.29.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 29 Feb 2004 01:51:04 +0100 X-Mailman-Approved-At: Sun, 29 Feb 2004 05:57:40 -0800 cc: freebsd-hackers@freebsd.org cc: freebsd-chat@freebsd.org Subject: FreeSBIE-1.0-i386 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 00:51:13 -0000 --=-D4oERAL5a5kqYgzoL8DK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The FreeSBIE project is proud to announce the release of FreeSBIE-1.0-i386.iso FreeSBIE is a bootable CD with the FreeBSD operating system and a collection of software to address the needs of an etherogeneus public. FreeSBIE-1.0 is based on FreeBSD 5.2.1 for the ia32 platform, and has a hardware recognition system which lets it find automagically all the peripherals supported on FreeBSD 5.2.1. FreeSBIE-1.0-i386.iso is the result of the toolkit provided for FreeBSD, and is released to show the power of the operating system and of FreeSBIE itself. FreeSBIE-1.0-i386.iso is addressed to the following categories of users: - System Administrators; - Developers; - Final users; With FreeSBIE-1.0-i386.iso it is possible to satisfy users who: - have the need for multimedia applications; - make deep network analysis; - have problems with damaged or unusable FreeBSD installations; - want to test new FreeBSD functionalities; - need a completely functional FreeBSD system; - want to illustrate and/or release a product based on FreeBSD; - need the power of FreeBSD but don't have the immediate chance to=20 install it/configure it. FreeSBIE-1.0-i386.iso is also designed for day-to-day use through a collection of programs which come with it, thought for a typical workstation use: - Evolution as Personal Information Manager; - Gaim as Instant Messenger; - Pan as newsreader; - XMMS and MPlayer as multimedia players; - XChat as IRC client For a complete list of available applications on FreeSBIE-1.0-i386.iso, check the file FreeSBIE-1.0-pkgs.txt available on our FTP sites (see below). When choosing the applications we tried to address both the needs of the desktop users and console users. In fact we give you the chance to use Mutt, as well as Evolution, and together with Firefox we provide links, while with XChat we offer irssi. Those interested in downloading our software, can find FreeSBIE-1.0-i386.iso on the following FTP sites: =09 ftp://ftp.freesbie.org=09 ftp://ftp2.freesbie.org The main website for the FreeSBIE toolkit is: http://www.FreeSBIE.org where you can also find some more explicative screenshots. Our thanks for the help provided goes to: All the ones who are excluded from this list; All the authors of the included packages; The FreeBSD Team (http://www.FreeBSD.org); The Italian FreeBSD Users Group (http://www.gufi.org); nocomp@d173.com for the hardware donated; fjoe@FreeBSD.org for the cloop utility FreeBSD port (compressed filesystem) FreeSBIE-1.0-i386.iso will surely not be error-prone, wanted or not, but it's a 1.0 release, and as such please beg our pardon for our mistakes. To contact the members of the FreeSBIE project, we invite you to visit the project's website in the "contacts" section. Some programs included are released under the GPL license. The related sources can be found on the homepages of the rispected projects. The FreeSBIE project remains open to suggestions, developments and observations. Hoping to have created a usable product, efficient and satisfying for your needs, we wish you a great fun with FreeSBIE, The FreeSBIE project --=-D4oERAL5a5kqYgzoL8DK Content-Type: application/pgp-signature; name=signature.asc Content-Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAQTOVZ1XqWj1OqUERAhr4AKC72mJiOCyG3eKDZ76vZX5Xl1K9kgCeLWwq j8sl+R6sqrIHc4F/O1uLBNQ= =YN4h -----END PGP SIGNATURE----- --=-D4oERAL5a5kqYgzoL8DK-- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 01:58:31 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C96416A4CE for ; Sun, 29 Feb 2004 01:58:31 -0800 (PST) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CB9443D1F for ; Sun, 29 Feb 2004 01:58:31 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (e2939762f897564c1f952cafb3ed4fe3@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i1T9tEqK029770; Sun, 29 Feb 2004 03:55:14 -0600 (CST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D9338671E3; Sun, 29 Feb 2004 01:55:12 -0800 (PST) Date: Sun, 29 Feb 2004 01:55:12 -0800 From: Kris Kennaway To: Danny Braniss Message-ID: <20040229095512.GA96276@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Mailman-Approved-At: Sun, 29 Feb 2004 05:57:40 -0800 cc: freebsd-hackers@freebsd.org Subject: Re: kernel options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 09:58:31 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Feb 29, 2004 at 11:36:56AM +0200, Danny Braniss wrote: > hi, > is there a way of knowing with which kernel-options a particular kernel > was compiled with (appart form the obvious config file)? In general, no. Kris --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAQbcAWry0BWjoQKURAufOAJ9kJo/6irfgqs+e8gOaO6h0MDFbaACfXBzg FvLUmYXV7leR9/UepLr4hl0= =G9lH -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 06:11:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD29516A4CE for ; Sun, 29 Feb 2004 06:11:39 -0800 (PST) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 810DF43D1D for ; Sun, 29 Feb 2004 06:11:39 -0800 (PST) (envelope-from dan@langille.org) Received: from xeon (xeon.unixathome.org [192.168.0.18]) by bast.unixathome.org (Postfix) with ESMTP id 97A3F3D40; Sun, 29 Feb 2004 09:11:38 -0500 (EST) Date: Sun, 29 Feb 2004 09:11:38 -0500 (EST) From: Dan Langille X-X-Sender: dan@xeon.unixathome.org To: Danny Braniss In-Reply-To: <20040229095512.GA96276@xor.obsecurity.org> Message-ID: <20040229090905.G75461@xeon.unixathome.org> References: <20040229095512.GA96276@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: kernel options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 14:11:39 -0000 On Sun, 29 Feb 2004, Kris Kennaway wrote: > On Sun, Feb 29, 2004 at 11:36:56AM +0200, Danny Braniss wrote: > > hi, > > is there a way of knowing with which kernel-options a particular kernel > > was compiled with (appart form the obvious config file)? > > In general, no. I have read about an option to include the configuration file with the kernel. From my 4.9-stable /usr/src/sys/i386/conf/LINT file: # This allows you to actually store this configuration file into # the kernel binary itself, where it may be later read by saying: # strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL # options INCLUDE_CONFIG_FILE # Include this file in kernel Not useful unless you've used it, which is not the default case. -- Dan Langille - BSDCan: http://www.bsdcan.org/ From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 06:17:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1510116A4CE; Sun, 29 Feb 2004 06:17:24 -0800 (PST) Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1886F43D1F; Sun, 29 Feb 2004 06:17:23 -0800 (PST) (envelope-from scott@fishballoon.org) Received: from llama.fishballoon.org ([81.104.195.124]) by mta06-svc.ntlworld.comESMTP <20040229141721.VAVJ10498.mta06-svc.ntlworld.com@llama.fishballoon.org>; Sun, 29 Feb 2004 14:17:21 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.30; FreeBSD) id 1AxRkv-000BeJ-Nx; Sun, 29 Feb 2004 14:17:21 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.11/8.12.11/Submit) id i1TEHK5S000475; Sun, 29 Feb 2004 14:17:20 GMT (envelope-from scott) Date: Sun, 29 Feb 2004 14:17:20 +0000 From: Scott Mitchell To: Julian Elischer Message-ID: <20040229141720.GA447@tuatara.fishballoon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.9-STABLE i386 cc: stable@freebsd.org cc: hackers@freebsd.org Subject: Re: HEADSUP.. USB MFC coming.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 14:17:24 -0000 On Fri, Feb 27, 2004 at 05:54:18PM -0800, Julian Elischer wrote: > > I plan to commit the MFC at http://www.josef-k.net/freebsd/ > (the latest one) in the next couple of days. If you really care about > USB in 4.10 you might do well to test this on your equipment, > ESPECIALLY if you have unusual devices. Let me know of both successes > and failures please.. If I hear nothing I won't know if it's because > no-one tested it or it was just without problems.. Hi Julian, The usb.ko module failed to load with these patches (usb_allocmem undefined). Adding usb_mem.c to SRCS in /sys/modules/usb/Makefile seems to fix this - my USB mouse, flash reader and cheap-ass 'pen drive' all appear to be working as before. One strange thing though - booting from my usual kernel (which loads most things from modules) I get some extra whining when the USB ports are being probed: uhci0: port 0xd800-0xd81f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port error, restarting port 1 uhub0: port error, giving up port 1 umass0: Generic Mass Storage Device, rev 1.10/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) uhub0: port error, restarting port 2 uhub0: port error, giving up port 2 umass1: DMI MultiFlash, rev 1.10/1.00, addr 3 uhci1: port 0xdc00-0xdc1f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub1: port error, restarting port 1 uhub1: port error, giving up port 1 ugen0: LEGO Group LEGO USB Tower, rev 1.10/1.00, addr 2 uhub1: port error, restarting port 2 uhub1: port error, giving up port 2 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. Booting from a GENERIC built from the same sources, I don't get any of the 'port error' messages: uhci0: port 0xd800-0xd81f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered umass0: Generic Mass Storage Device, rev 1.10/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) umass1: DMI MultiFlash, rev 1.10/1.00, addr 3 uhci1: port 0xdc00-0xdc1f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ugen0: LEGO Group LEGO USB Tower, rev 1.10/1.00, addr 2 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. This doesn't seems to have any effect on whether things work or not though, other than the umass devices coming up on different SCSI busses if I don't load USB from the module, but I think that has always been the case. Otherwise it looks good. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 08:16:21 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B542D16A4CE for ; Sun, 29 Feb 2004 08:16:21 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAB2B43D2D for ; Sun, 29 Feb 2004 08:16:20 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id <15P4579N>; Sun, 29 Feb 2004 11:16:19 -0500 Message-ID: From: Don Bowman To: 'Mike Silbersack' , Don Bowman Date: Sun, 29 Feb 2004 11:16:00 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-hackers@freebsd.org Subject: RE: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 16:16:21 -0000 From: Mike Silbersack [mailto:silby@silby.com] > On Sat, 28 Feb 2004, Don Bowman wrote: > > > You could use ipfw to limit the damage of a syn flood, e.g. > > a keep-state rule with a limit of ~2-5 per source IP, lower the > > timeouts, increase the hash buckets in ipfw, etc. This would > > use a mask on src-ip of all bits. > > something like: > > allow tcp from any to any setup limit src-addr 2 > > > > this would only allow 2 concurrent TCP sessions per unique > > source address. Depends on the syn flood you are expecting > > to experience. You could also use dummynet to shape syn > > traffic to a fixed level i suppose. > > Does that really help? If so, we need to optimize the syncache. :( In a real-world situation, with some latency from the originating syn-flood attacker, the syncache behaves fine. In a synthetic test situation like this, with probably ~0 latency from the initiator, the syncache gets overwhelmed too. From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 08:33:51 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEBCD16A4CE for ; Sun, 29 Feb 2004 08:33:51 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF61443D1F for ; Sun, 29 Feb 2004 08:33:50 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i1TGWhDL047221; Sun, 29 Feb 2004 11:32:43 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i1TGWh1j047218; Sun, 29 Feb 2004 11:32:43 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 29 Feb 2004 11:32:43 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Mike Silbersack In-Reply-To: <20040229001251.Q11460@odysseus.silby.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: RE: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 16:33:52 -0000 On Sun, 29 Feb 2004, Mike Silbersack wrote: > On Sat, 28 Feb 2004, Don Bowman wrote: > > > this would only allow 2 concurrent TCP sessions per unique > > source address. Depends on the syn flood you are expecting > > to experience. You could also use dummynet to shape syn > > traffic to a fixed level i suppose. > > Does that really help? If so, we need to optimize the syncache. :( Given that we have syncookie support, the other thing we could consider doing under high syn load is simply to drop the syncache from the loop entirely. The syncache provides us with the ability to "gracefully degrade" as the syn rate goes up, but the FIFO cache bucket overflow handling means we pay the cost of syncache entry allocation even in the high load situation. It might be interesting to measure when syncache overflow is taking place, and simply drop it from the loop under a rate known to exceed the syncache capacity, then re-enable it again once the rate drops. This would remove a memory allocation, queue walking, and in the case of an SMP system, locking, from the syn handling path. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 11:41:41 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E92616A4CE for ; Sun, 29 Feb 2004 11:41:41 -0800 (PST) Received: from aries.ai.net (aries.ai.net [205.134.163.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C13643D39 for ; Sun, 29 Feb 2004 11:41:41 -0800 (PST) (envelope-from deepak@ai.net) Received: from ai.net (mikej@pool-151-200-114-38.res.east.verizon.net [151.200.114.38]) by aries.ai.net (8.9.3/8.9.3) with ESMTP id OAA13558 for ; Sun, 29 Feb 2004 14:41:40 -0500 (EST) (envelope-from deepak@ai.net) Message-ID: <40424073.5010905@ai.net> Date: Sun, 29 Feb 2004 14:41:39 -0500 From: Deepak Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 4.9 boot problem on em0 platform. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 19:41:41 -0000 As a part of tracking down a performance issue, I tried building a custom kernel (with just IPFW, DUMMYNET added, NMBCLUSTERS, commenting out MATH_EMULATE, INET6, I386, I486). The system is currently running a kernel from a similar machine with the same settings. The machine does run on this kernel: 4.9-RELEASE FreeBSD 4.9-RELEASE #8, with the above options, but I have not been able to compile a 4.9-RELEASE #2 (which is the source tree on the machine) kernel that has an identical config file. So, when it builds itself from -RELEASE sources, it hangs at: "pmap_mapdev: Couldn't alloc kernel virtual memory" I couldn't find a reference to anything recent. Nothing non-default (from a GENERIC kernel) with respect to ACPI has been touched. I see a reference to -CURRENT from 9/03, but that's it. Should I turn off power management? Is there a way to prevent ACPI support from being loaded at the kernel level? Should I just cvsup to 4.9-RELENG and try it again? It would be very nice if this were some how related to my network performance problem, but that might be too much to hope for. :) Thanks in advance, DJ From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 12:40:54 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C8CB16A4CE for ; Sun, 29 Feb 2004 12:40:54 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1CF243D39 for ; Sun, 29 Feb 2004 12:40:53 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id <15P458HZ>; Sun, 29 Feb 2004 15:40:52 -0500 Message-ID: From: Don Bowman To: 'Deepak Jain' , freebsd-hackers@freebsd.org Date: Sun, 29 Feb 2004 15:40:44 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: 4.9 boot problem on em0 platform. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 20:40:54 -0000 > From: Deepak Jain [mailto:deepak@ai.net] > As a part of tracking down a performance issue, I tried building a > custom kernel (with just IPFW, DUMMYNET added, NMBCLUSTERS, > commenting > out MATH_EMULATE, INET6, I386, I486). The system is currently > running a > kernel from a similar machine with the same settings. The > machine does > run on this kernel: 4.9-RELEASE FreeBSD 4.9-RELEASE #8, with > the above > options, but I have not been able to compile a 4.9-RELEASE #2 > (which is > the source tree on the machine) kernel that has an identical > config file. > > So, when it builds itself from -RELEASE sources, it hangs at: > > "pmap_mapdev: Couldn't alloc kernel virtual memory" I couldn't find a > reference to anything recent. Nothing non-default (from a GENERIC > kernel) with respect to ACPI has been touched. I see a reference to > -CURRENT from 9/03, but that's it. Just a guess, but i think you've bumped nmbclusters or nmbufs up too much (or perhaps maxsockets, maxfds, ...) and have run out of KVA. You can tune clusters & mbufs in loader.conf without recompiling kernel. You will want to see what vm.zone_kmem_pages, vm.zone_kmem_kvaspace are showing you, vmstat -z, vmstat -m, etc. You may want to alter VM_KMEM_SIZE_SCALE to e.g. '2' if you are trying to put more into the kernel mem space. From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 13:02:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79B7416A4CE for ; Sun, 29 Feb 2004 13:02:09 -0800 (PST) Received: from aries.ai.net (aries.ai.net [205.134.163.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EEDB43D2F for ; Sun, 29 Feb 2004 13:02:09 -0800 (PST) (envelope-from deepak@ai.net) Received: from ai.net (mikej@pool-151-200-114-38.res.east.verizon.net [151.200.114.38]) by aries.ai.net (8.9.3/8.9.3) with ESMTP id QAA20807; Sun, 29 Feb 2004 16:02:04 -0500 (EST) (envelope-from deepak@ai.net) Message-ID: <4042534B.1040105@ai.net> Date: Sun, 29 Feb 2004 16:02:03 -0500 From: Deepak Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Bowman , freebsd-hackers@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 4.9 boot problem on em0 platform. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 21:02:09 -0000 > Just a guess, but i think you've bumped nmbclusters or nmbufs up > too much (or perhaps maxsockets, maxfds, ...) and have run out of > KVA. > > You can tune clusters & mbufs in loader.conf without recompiling > kernel. You will want to see what vm.zone_kmem_pages, vm.zone_kmem_kvaspace > are showing you, vmstat -z, vmstat -m, etc. > > You may want to alter VM_KMEM_SIZE_SCALE to e.g. '2' if you are > trying to put more into the kernel mem space. > The kernel that works from another machine has the same settings (NMBCLUSTERS=65536, maxusers=512). The machine has 2GB of RAM. How do you undo the loader.conf settings when the machine won't boot because of the settings you made? :| thanks, Deepak From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 13:17:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCB6816A4CE for ; Sun, 29 Feb 2004 13:17:44 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0877343D31 for ; Sun, 29 Feb 2004 13:17:44 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id <15P458JB>; Sun, 29 Feb 2004 16:17:42 -0500 Message-ID: From: Don Bowman To: 'Deepak Jain' , Don Bowman , freebsd-hackers@freebsd.org Date: Sun, 29 Feb 2004 16:17:31 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: 4.9 boot problem on em0 platform. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 21:17:44 -0000 From: Deepak Jain [mailto:deepak@ai.net] > > Just a guess, but i think you've bumped nmbclusters or nmbufs up > > too much (or perhaps maxsockets, maxfds, ...) and have run out of > > KVA. > > > > You can tune clusters & mbufs in loader.conf without recompiling > > kernel. You will want to see what vm.zone_kmem_pages, > vm.zone_kmem_kvaspace > > are showing you, vmstat -z, vmstat -m, etc. > > > > You may want to alter VM_KMEM_SIZE_SCALE to e.g. '2' if you are > > trying to put more into the kernel mem space. > > > > The kernel that works from another machine has the same settings > (NMBCLUSTERS=65536, maxusers=512). The machine has 2GB of RAM. > > How do you undo the loader.conf settings when the machine won't boot > because of the settings you made? :| Use 'space' to get to the 'ok' loader prompt. now 'set' the values to a lower #... ok set path.path.path=value man loader will tell you about this. From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 14:35:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60F5616A4CE for ; Sun, 29 Feb 2004 14:35:47 -0800 (PST) Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD4B43D1F for ; Sun, 29 Feb 2004 14:35:46 -0800 (PST) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.11.7/8.11.6) id i1TMZju65944; Sun, 29 Feb 2004 22:35:45 GMT (envelope-from rb) Message-Id: <6.0.3.0.2.20040229223402.035ba880@gid.co.uk> X-Sender: rbmail@gid.co.uk (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Sun, 29 Feb 2004 22:35:41 +0000 To: hackers@freebsd.org From: Bob Bishop Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Intel wireless NIC on ThinkPad T41 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 22:35:47 -0000 Hi, Anyone managed to get this working? none5@pci2:2:0: class=0x028000 card=0x25518086 chip=0x10438086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/Wireless LAN 2100 3B Mini PCI Adapter' class = network -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 14:41:23 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEE7716A4CE for ; Sun, 29 Feb 2004 14:41:23 -0800 (PST) Received: from smtpout.mac.com (A17-250-248-87.apple.com [17.250.248.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFBCD43D1D for ; Sun, 29 Feb 2004 14:41:23 -0800 (PST) (envelope-from justin@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i1TMfNNS005016 for ; Sun, 29 Feb 2004 14:41:23 -0800 (PST) Received: from mac.com (c-24-6-87-110.client.comcast.net [24.6.87.110]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id i1TMfM5l002224 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 29 Feb 2004 14:41:23 -0800 (PST) Date: Sun, 29 Feb 2004 14:41:20 -0800 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Justin Walker To: freebsd-hackers@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <651556AE-6B08-11D8-BD24-00306544D642@mac.com> X-Mailer: Apple Mail (2.553) Subject: Re: Sockets and the owner process X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 22:41:23 -0000 On Saturday, February 28, 2004, at 09:52 AM, grinder wrote: > I want to create a small kernel module which logs the socket > operations. > > So in my module i have a socket structure, and i want to know > which process (thread) owns it. But the socket structure isn't > contains any reference to the process structure. If i walk through > the vnode table i can find my socket by the so_gencnt "unique id", > but the vnode structure isn't have any variables back to the proc > structure. > > Is it possible to get the owner proc structure for a socket? Not really. Socket descriptors, like other file-descriptors, can be handed off by the fork/exec process, and via local domain sockets to unrelated processes, so by the time that the socket is actually used, there can be no relation to the process that created it (e.g., inetd/xinetd creates it, waits for a connection, accepts the connection, and then passes the descriptor to the service process via fork/exec, and closes its version of that socket). The best you can hope for is to determine processes that are actually using the socket, and that can vary during the socket's lifetime. You would have to scour the file descriptor tables in all process structures to determine which processes had a handle on each socket you have an interest in. There is no real "ownership" of anything accessed via file descriptors. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | It's not whether you win or lose... | It's whether *I* win or lose. *--------------------------------------*-------------------------------* From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 15:38:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F04616A4CE for ; Sun, 29 Feb 2004 15:38:22 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27FE143D45 for ; Sun, 29 Feb 2004 15:38:20 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc11) with ESMTP id <2004022923381801100n1qf6e>; Sun, 29 Feb 2004 23:38:19 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA49364; Sun, 29 Feb 2004 15:38:18 -0800 (PST) Date: Sun, 29 Feb 2004 15:38:18 -0800 (PST) From: Julian Elischer To: Bob Bishop In-Reply-To: <6.0.3.0.2.20040229223402.035ba880@gid.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: Intel wireless NIC on ThinkPad T41 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 23:38:22 -0000 only in 5.2+ see "project evil" On Sun, 29 Feb 2004, Bob Bishop wrote: > Hi, > > Anyone managed to get this working? > > none5@pci2:2:0: class=0x028000 card=0x25518086 chip=0x10438086 rev=0x04 > hdr=0x00 > > vendor = 'Intel Corporation' > device = 'PRO/Wireless LAN 2100 3B Mini PCI Adapter' > class = network > > -- > Bob Bishop +44 (0)118 977 4017 > rb@gid.co.uk fax +44 (0)118 989 4254 > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 16:50:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B51216A4D0 for ; Sun, 29 Feb 2004 16:50:38 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4A5F43D2F for ; Sun, 29 Feb 2004 16:50:37 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004030100503601200gupite>; Mon, 1 Mar 2004 00:50:36 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA50016 for ; Sun, 29 Feb 2004 16:50:35 -0800 (PST) Date: Sun, 29 Feb 2004 16:50:34 -0800 (PST) From: Julian Elischer To: hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 00:50:38 -0000 Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? getting really annoying.. take this one for example:.. It has a legit FreeBSD from address of someone I'd read, and a subject line that I've seen before on this list, and all sorts of other forgery stuff. >From julian@elischer.org Sun Feb 29 16:29:03 2004 -0800 Status: R X-Status: X-Keywords: Return-Path: Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA49824 for ; Sun, 29 Feb 2004 16:29:00 -0800 (PST) From: jake@freebsd.org Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id A83295576A for ; Sun, 29 Feb 2004 16:28:59 -0800 (PST) (envelope-from jake@freebsd.org) Received: by hub.freebsd.org (Postfix) id A421316A4CF; Sun, 29 Feb 2004 16:28:59 -0800 (PST) Delivered-To: julian@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A10F516A4CE for ; Sun, 29 Feb 2004 16:28:59 -0800 (PST) Received: from freebsd.org (unknown [210.66.161.77]) by mx1.FreeBSD.org (Postfix) with SMTP id 419AB43D39 for ; Sun, 29 Feb 2004 16:28:50 -0800 (PST) (envelope-from jake@freebsd.org) To: julian@freebsd.org Subject: stolen Date: Mon, 1 Mar 2004 08:29:23 +0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="04136376" Message-Id: <20040301002850.419AB43D39@mx1.FreeBSD.org> [...] (spam deleted) This damned thing is obviously using a real mail as a template.. the only thing that it hasn't been able to spoof is the originating IP address.. in taiwan somewhere. [InterJet.elischer.org] 346 traceroute 210.66.161.77 traceroute to 210.66.161.77 (210.66.161.77), 30 hops max, 40 byte packets 1 10.144.192.1 (10.144.192.1) 13.072 ms 10.885 ms 10.212 ms 2 12.244.97.97 (12.244.97.97) 11.357 ms 9.902 ms 11.117 ms 3 12.244.67.86 (12.244.67.86) 13.140 ms 23.507 ms 11.977 ms 4 12.124.35.57 (12.124.35.57) 16.431 ms 25.404 ms 38.147 ms 5 gbr6-p80.sffca.ip.att.net (12.123.13.154) 20.889 ms 16.106 ms 15.797 ms 6 tbr2-p013601.sffca.ip.att.net (12.122.11.93) 26.930 ms 15.280 ms 16.038 m s 7 ggr2-p390.sffca.ip.att.net (12.123.13.194) 14.605 ms 31.905 ms 39.139 ms 8 p16-0-1-1.r20.plalca01.us.bb.verio.net (129.250.9.73) 21.166 ms 36.620 ms 16.578 ms 9 xe-0-2-0.r21.plalca01.us.bb.verio.net (129.250.4.231) 24.247 ms 22.128 ms 22.849 ms 10 p64-0-0-0.r21.mlpsca01.us.bb.verio.net (129.250.5.49) 35.048 ms 27.652 ms 24.794 ms 11 p16-6-0-0.r80.mlpsca01.us.bb.verio.net (129.250.3.24) 17.962 ms 18.794 ms 23.245 ms 12 p16-0-2-0.r20.tokyjp01.jp.bb.verio.net (129.250.4.154) 131.523 ms 131.186 ms 139.967 ms 13 ge-0-0-0.r00.tokyjp01.jp.bb.verio.net (129.250.3.121) 152.421 ms 146.529 m s 145.884 ms 14 p4-0-2-0.r00.taiptw01.tw.bb.verio.net (129.250.4.214) 198.825 ms 190.690 m s 185.596 ms 15 ge-0-0-0.a01.taiptw01.tw.ra.verio.net (61.58.32.35) 182.409 ms 184.256 ms 185.005 ms 16 61.58.33.106 (61.58.33.106) 179.527 ms 175.598 ms 182.063 ms 17 R59-169.seed.net.tw (139.175.59.169) 184.325 ms 177.720 ms 176.060 ms 18 R56-210.seed.net.tw (139.175.56.210) 181.436 ms 177.463 ms 176.991 ms 19 R58-178.seed.net.tw (139.175.58.178) 178.742 ms 183.660 ms 179.474 ms 20 sh38-33.seed.net.tw (139.175.38.33) 183.048 ms 181.770 ms 186.065 ms 21 h170-192-72-33.seed.net.tw (192.72.33.170) 189.714 ms 185.537 ms 196.507 ms 22 *^C [InterJet.elischer.org] From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 17:01:31 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E136E16A4CE; Sun, 29 Feb 2004 17:01:31 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9356F43D1D; Sun, 29 Feb 2004 17:01:31 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004030101013001200gulv3e>; Mon, 1 Mar 2004 01:01:30 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA50151; Sun, 29 Feb 2004 17:01:29 -0800 (PST) Date: Sun, 29 Feb 2004 17:01:28 -0800 (PST) From: Julian Elischer To: hackers@freebsd.org, stable@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 01:01:32 -0000 The USB code in RELENG_4 has been updated to match that in -current. Please test any USB devices that are critical to you BEFORE we release 4.10 :-) thanks Julian From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 17:18:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C322216A4CF; Sun, 29 Feb 2004 17:18:24 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id B56F943D1F; Sun, 29 Feb 2004 17:18:24 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc13) with ESMTP id <200403010118230150047anue>; Mon, 1 Mar 2004 01:18:24 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA50357; Sun, 29 Feb 2004 17:18:23 -0800 (PST) Date: Sun, 29 Feb 2004 17:18:21 -0800 (PST) From: Julian Elischer To: hackers@freebsd.org, stable@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 01:18:24 -0000 On Sun, 29 Feb 2004, Julian Elischer wrote: > > The USB code in RELENG_4 has been updated to match that in -current. > Please test any USB devices that are critical to you BEFORE we release > 4.10 :-) p.s. there are some more MFCs to come but they are minor (except for what looks like a major rewrite of parts of umass) > > > thanks > > Julian > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 17:27:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5C0616A4CE for ; Sun, 29 Feb 2004 17:27:35 -0800 (PST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE3AA43D31 for ; Sun, 29 Feb 2004 17:27:32 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp39-208.lns1.adl1.internode.on.net [150.101.39.208])i211RFwn036373; Mon, 1 Mar 2004 11:57:25 +1030 (CST) Received: from inchoate.gsoft.com.au (root@localhost.dons.net.au [127.0.0.1]) by midget.dons.net.au (8.12.9/8.12.9) with ESMTP id i211RDYS060434; Mon, 1 Mar 2004 11:57:13 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Julian Elischer , Bob Bishop Date: Mon, 1 Mar 2004 11:57:09 +1030 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403011157.10007.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang) cc: hackers@freebsd.org Subject: Re: Intel wireless NIC on ThinkPad T41 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 01:27:36 -0000 On Monday 01 March 2004 10:08, Julian Elischer wrote: > only in 5.2+ see "project evil" > > On Sun, 29 Feb 2004, Bob Bishop wrote: > > Hi, > > > > Anyone managed to get this working? > > > > none5@pci2:2:0: class=0x028000 card=0x25518086 chip=0x10438086 rev=0x04 > > hdr=0x00 > > > > vendor = 'Intel Corporation' > > device = 'PRO/Wireless LAN 2100 3B Mini PCI Adapter' > > class = network I have mine working with if_ndis (Project Evil). Let me know if you need a hand. See -> http://www.gsoft.com.au/~doconnor/I8600/ -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 17:45:00 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F19D16A4CE for ; Sun, 29 Feb 2004 17:45:00 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF9AB43D41 for ; Sun, 29 Feb 2004 17:44:59 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id <15P4595K>; Sun, 29 Feb 2004 20:44:58 -0500 Message-ID: From: Don Bowman To: 'Mike Tancsa' , Don Bowman Date: Sun, 29 Feb 2004 20:44:56 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-hackers@freebsd.org Subject: RE: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 01:45:00 -0000 From: Mike Tancsa [mailto:mike@sentex.net] > > On Sat, 28 Feb 2004 23:17:44 -0500, in sentex.lists.freebsd.hackers > > >If you want to spend more time in kernel, perhaps change > > > >I might have HZ @ 2500 as well. > > Hi, > Just curious as to the reasoning behind that ? @ high packet rates, you don't have enough DMA queues available to the em driver, and will drop. increasing the number of dma buffers will cause problems with cache occupancy. Increasing the HZ doesn't have a huge cost. From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 18:22:54 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5666816A4D0 for ; Sun, 29 Feb 2004 18:22:54 -0800 (PST) Received: from smtp3b.sentex.ca (smtp3b.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DD7543D3F for ; Sun, 29 Feb 2004 18:22:54 -0800 (PST) (envelope-from mike@sentex.net) Received: from avscan1.sentex.ca (avscan1.sentex.ca [199.212.134.11]) by smtp3b.sentex.ca (8.12.10/8.12.10) with ESMTP id i212MG3Z045692; Sun, 29 Feb 2004 21:22:16 -0500 (EST) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan1.sentex.ca (8.12.10/8.12.10) with ESMTP id i212Mlxa072531; Sun, 29 Feb 2004 21:22:48 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net ([192.168.43.27]) by lava.sentex.ca (8.12.9p2/8.12.9) with ESMTP id i212MkZa026439; Sun, 29 Feb 2004 21:22:46 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.0.3.0.0.20040229212058.05945af0@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Sun, 29 Feb 2004 21:23:47 -0500 To: Don Bowman From: Mike Tancsa In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new cc: freebsd-hackers@freebsd.org Subject: RE: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 02:22:54 -0000 At 08:44 PM 29/02/2004, Don Bowman wrote: >From: Mike Tancsa [mailto:mike@sentex.net] > > > > On Sat, 28 Feb 2004 23:17:44 -0500, in sentex.lists.freebsd.hackers > > > >If you want to spend more time in kernel, perhaps change > > > > > >I might have HZ @ 2500 as well. > > > > Hi, > > Just curious as to the reasoning behind that ? > >@ high packet rates, you don't have enough DMA >queues available to the em driver, and will drop. >increasing the number of dma buffers will cause >problems with cache occupancy. Increasing the HZ >doesn't have a huge cost. But why that value ? Did you determine it by trial and error or deduce it based on some other factors ? Also, is this value optimal for fxp based boxes. ---Mike From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 18:38:33 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D44B816A4CE for ; Sun, 29 Feb 2004 18:38:33 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AA6D43D2D for ; Sun, 29 Feb 2004 18:38:33 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id <15P450LP>; Sun, 29 Feb 2004 21:38:32 -0500 Message-ID: From: Don Bowman To: 'Mike Tancsa' , Don Bowman Date: Sun, 29 Feb 2004 21:38:20 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-hackers@freebsd.org Subject: RE: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 02:38:34 -0000 From: Mike Tancsa [mailto:mike@sentex.net] > At 08:44 PM 29/02/2004, Don Bowman wrote: > >From: Mike Tancsa [mailto:mike@sentex.net] > > > > > > On Sat, 28 Feb 2004 23:17:44 -0500, in > sentex.lists.freebsd.hackers > > > > >If you want to spend more time in kernel, perhaps change > > > > > > > >I might have HZ @ 2500 as well. > > > > > > Hi, > > > Just curious as to the reasoning behind that ? > > > >@ high packet rates, you don't have enough DMA > >queues available to the em driver, and will drop. > >increasing the number of dma buffers will cause > >problems with cache occupancy. Increasing the HZ > >doesn't have a huge cost. > > But why that value ? Did you determine it by trial and error > or deduce it > based on some other factors ? Also, is this value optimal > for fxp based boxes. I picked 2500 as the best for my system. Its higher than allowed by rfc1323 and PAWS [kern/61404], but not by so much that i anticipate a problem. For my target packets per second rate, it means that i can use a reasonable number of dma descriptors. I found that bridging performance in particular needs the higher hz to avoid dropping packets, to improve its performance. I'm not sure what affect on fxp. fxp is inherently limited by something internal to it, which prevents achieving high packet rates. bge is the best chip, but doesn't have the best bsd support. The value of HZ needs to be based on your target packet rate, the maximum latency in your system, and the size of your buffers for all steps. more buffers == better ability to handle latency bursts, but worse for cache occupancy. Freebsd is not the best system for trying to guarantee latency through, you can find things like ahd, syncache, arp freeing that will suddenly wake up and munch all kinds of cpu time with spl? taken. freebsd-current is both better and worse: its better with the fine grained locking, but worse since those locks can end up costing you more than you would have spent just taking giant and being done with it: semaphores are expensive, particularly on SMP systems. From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 20:01:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4B2416A4CE for ; Sun, 29 Feb 2004 20:01:44 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D7EC43D2F for ; Sun, 29 Feb 2004 20:01:44 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc13) with ESMTP id <200403010401430160059spoe>; Mon, 1 Mar 2004 04:01:43 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id UAA52010; Sun, 29 Feb 2004 20:01:42 -0800 (PST) Date: Sun, 29 Feb 2004 20:01:41 -0800 (PST) From: Julian Elischer To: Kris Kennaway In-Reply-To: <20040301032349.GA9391@xor.obsecurity.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 04:01:44 -0000 Oh it was just a rant.. :-( On Sun, 29 Feb 2004, Kris Kennaway wrote: > On Sun, Feb 29, 2004 at 04:50:34PM -0800, Julian Elischer wrote: > > > > Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? > > getting really annoying.. > > Yeah, but what do you expect anyone to do about it? > > Kris > From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 23:20:16 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E7BF16A4CE for ; Sun, 29 Feb 2004 23:20:16 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7515443D2D for ; Sun, 29 Feb 2004 23:20:15 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 3175 invoked from network); 1 Mar 2004 07:20:14 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 1 Mar 2004 07:20:14 -0000 X-pair-Authenticated: 209.68.2.70 Date: Mon, 1 Mar 2004 01:20:12 -0600 (CST) From: Mike Silbersack To: Julian Elischer In-Reply-To: Message-ID: <20040301011915.Q17086@odysseus.silby.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org cc: eik@freebsd.org Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 07:20:16 -0000 On Sun, 29 Feb 2004, Julian Elischer wrote: > Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? > getting really annoying.. Yeah, I'm getting it too. Worst part is, clamav 0.65 doesn't pick it up. I'm waiting for the 0.67 port to be committed... Mike "Silby" Silbersack From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 04:01:46 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C18116A4CE for ; Mon, 1 Mar 2004 04:01:46 -0800 (PST) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 645D943D3F for ; Mon, 1 Mar 2004 04:01:45 -0800 (PST) (envelope-from langd@informatik.tu-muenchen.de) Date: Mon, 1 Mar 2004 13:01:43 +0100 From: Daniel Lang To: Julian Elischer Message-ID: <20040301120143.GA57685@atrbg11.informatik.tu-muenchen.de> References: <20040301032349.GA9391@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: X-Geek: GCS/CC d-- s: a- C++$ UBS++++$ P+++$ L- E-(---) W+++(--) N++ o K w--- O? M? V? PS+(++) PE--(+) Y+ PGP+ t++ 5+++ X R+(-) tv+ b+ DI++ D++ G++ e+++ h---(-) r++>+++ y+ User-Agent: Mutt/1.5.1i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: hackers@freebsd.org cc: Kris Kennaway Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 12:01:46 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Julian Elischer wrote on Sun, Feb 29, 2004 at 08:01:41PM -0800: > Oh it was just a rant.. :-( >=20 [..] > > > Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? > > > getting really annoying.. > >=20 > > Yeah, but what do you expect anyone to do about it? [..] Many people are already using digital signatures. The occurence of massively forged senders in e-mails by spammers and viruses could be seen as motivation to establish a more widespread use of digital signatures. Of course it doesn't help for e-mail that we receive (unless we complain to the sender that one would only accept signed e-mails, which is a bit tough), but at least one could tell anyone, who complains that one has sent a virus, to check for the signature. Just a thought, Daniel P.S.: If your MUA complains about my signature, be sure to import the CA certificates from http://ca.in.tum.de/, just because it's not in the mozilla default root-ca set, it is not a less trustworthy CA. --=20 IRCnet: Mr-Spock =20 - In dieser Mail ist ein Geist, der Dich in den Hintern beisst -=20 Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/ --BXVAT5kNtrzKuDFl Content-Type: application/x-pkcs7-signature Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIIXgAYJKoZIhvcNAQcCoIIXcTCCF20CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC FUAwggbMMIIFtKADAgECAgIVezANBgkqhkiG9w0BAQUFADCBpjELMAkGA1UEBhMCREUxETAP BgNVBAcTCE11ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZlcnNpdGFldCBNdWVu Y2hlbjEiMCAGA1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEYMBYGA1UEAxMPUkJH LUJlbnV0emVyLUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGUwHhcNMDMwNTIwMTIz MTQyWhcNMDQwNTIxMDAwMDAwWjCBqzELMAkGA1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVu MSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZlcnNpdGFldCBNdWVuY2hlbjEiMCAGA1UECxMZ RmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEUMBIGA1UEAxMLRGFuaWVsIExhbmcxJDAiBgkq hkiG9w0BCQEWFWRhbmllbC5sYW5nQGluLnR1bS5kZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAw gYkCgYEAk55VXazdhYUuEJAHmO439gJwKVfvcdF64VyP8tzhYwiIx/9FOsQj8r8Gw2g0MDCa X2mCNiSKz32sUI33SQFhBhwxoF6bpq7d6pfeJ7UL+2T/bkRVF/Y7zPuMMK/wMbiEwyfvdjxk 8XsVtpj500LjW7QYdAHlijHRAY2nFk4f8bcCAwEAAaOCA38wggN7MAwGA1UdEwEB/wQCMAAw HQYDVR0OBBYEFPMLcu3eegcL6m8ObwlveYDdoYOpMIHKBgNVHSMEgcIwgb+AFK81Ou8wbY/H n0tx1dgCig9IKGPUoYGjpIGgMIGdMQswCQYDVQQGEwJERTERMA8GA1UEBxMITXVlbmNoZW4x KTAnBgNVBAoTIFRlY2huaXNjaGUgVW5pdmVyc2l0YWV0IE11ZW5jaGVuMSIwIAYDVQQLExlG YWt1bHRhZXQgZnVlciBJbmZvcm1hdGlrMQ8wDQYDVQQDEwZSQkctQ0ExGzAZBgkqhkiG9w0B CQEWDGNhQGluLnR1bS5kZYIBAjAOBgNVHQ8BAf8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUH AwIGCCsGAQUFBwMEMIGxBgNVHREEgakwgaaBD2xhbmdkQGluLnR1bS5kZYEVZGFuaWVsLmxh bmdAaW4udHVtLmRlgR9sYW5nZEBpbmZvcm1hdGlrLnR1LW11ZW5jaGVuLmRlgSVkYW5pZWwu bGFuZ0BpbmZvcm1hdGlrLnR1LW11ZW5jaGVuLmRlgRBsYW5nZEBjcy50dW0uZWR1gRZkYW5p ZWwubGFuZ0Bjcy50dW0uZWR1gQpkbEBsZW8ub3JnMAkGA1UdEgQCMAAwOAYDVR0fBDEwLzAt oCugKYYnaHR0cDovL2NhLmluLnR1bS5kZS9jcmxzL3VzZXJjYV9jcmwuY3JsMBEGCWCGSAGG +EIBAQQEAwIFoDCBnwYJYIZIAYb4QgENBIGRFoGORGllc2VzIFplcnRpZmlrYXQgd3VyZGUg YXVzZ2VzdGVsbHQgZnVlciBEYW5pZWwgTGFuZyB2b24gZGVyIFJCRy1CZW51dHplci1DQSwg RmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpayBkZXIgVGVjaG5pc2NoZW4gVW5pdmVyc2l0YWV0 IE11ZW5jaGVuLjA2BglghkgBhvhCAQMEKRYnaHR0cDovL2NhLmluLnR1bS5kZS9jZ2ktYmlu L3VzZXJjYS1yZXY/MDIGCWCGSAGG+EIBBAQlFiNodHRwOi8vY2EuaW4udHVtLmRlL2NnaS1i aW4vY2EtcmV2PzA2BglghkgBhvhCAQgEKRYnaHR0cDovL2NhLmluLnR1bS5kZS9wb2xpY2ll cy9yYmdjYS5odG1sMA0GCSqGSIb3DQEBBQUAA4IBAQAGrfB5rH9D6jl6Tx+hwXpv0a/TuV39 vIQWMCA1hi0V4pI+bMyGTW1k/Ve5C58wRZv7CSTnxTGoqZmqnV37GGQlZBmvsDE+u3FKL/T7 Tk/rlVajExCXGHwjgHp2FfCaVMawKSUrI60aDcUgLUtT2DKpEfKfr/MC7CDtCaYy6TW93cHc uv2oM+1PN+CIcR5PaqEySmeYoXBMXd6sktjyNUWLxsNhtFMVnOiwF3SZYbRbRobuEWM3o+W7 nijECUIKz8rvK3f/c8v9HlVitMbeaTs4J1nZUR9lsvGLik6vsfIgbmuP6MMkrKFYwq5XTR1x JtMcmvnqcWytpYFDVPGuGaj1MIIHKDCCBRCgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBnTEL MAkGA1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVu aXZlcnNpdGFldCBNdWVuY2hlbjEiMCAGA1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRp azEPMA0GA1UEAxMGUkJHLUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGUwHhcNMDIx MDA5MTY0MTAzWhcNMDQwNTIxMDAwMDAwWjCBpDELMAkGA1UEBhMCREUxETAPBgNVBAcTCE11 ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZlcnNpdGFldCBNdWVuY2hlbjEiMCAG A1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEWMBQGA1UEAxMNUkJHLVNlcnZlci1D QTEbMBkGCSqGSIb3DQEJARYMY2FAaW4udHVtLmRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A MIIBCgKCAQEAzAHBIFy4tKTvbMMg037hc9t2jR5MVpEUIPvrSWC4xpbr6Hw7abQW/lRfFpV8 enf9tSgfcl8kvGjAAD8AYeuDash6TQSUjBdZCe7V297oZ0dsuurZBkM5BwvLWF8vMiY+SD/+ XTqhnU6B/E9C+R5VXjXsXV2u9hDtKVC5hqVgnxRM5rT/LsUhcchgAXk2WuI8r9Llb+voPWwM FmHk2jxUwhvxZfGo15HDrvJUgzYsL36SmeYMI9Eo70uGmAQRPVVq2zn/3AC4z8X1cBd3ItnH YPbx0iUH5kEGq2KH5iCndwNq9oaFhKj+Y34wEv5BYl6sb5C9EBvtGyebNwuvmtC3tQIDAQAB o4ICaDCCAmQwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUH9QPe0VQVF1D2v8Su/itK/4O QMwwgcoGA1UdIwSBwjCBv4AU2WV+TUF/hD+1KtZ7E519yuW0XRqhgaOkgaAwgZ0xCzAJBgNV BAYTAkRFMREwDwYDVQQHEwhNdWVuY2hlbjEpMCcGA1UEChMgVGVjaG5pc2NoZSBVbml2ZXJz aXRhZXQgTXVlbmNoZW4xIjAgBgNVBAsTGUZha3VsdGFldCBmdWVyIEluZm9ybWF0aWsxDzAN BgNVBAMTBlJCRy1DQTEbMBkGCSqGSIb3DQEJARYMY2FAaW4udHVtLmRlggEAMA4GA1UdDwEB /wQEAwIBBjATBgNVHSUEDDAKBggrBgEFBQcDATA0BgNVHR8ELTArMCmgJ6AlhiNodHRwOi8v Y2EuaW4udHVtLmRlL2NybHMvY2FfY3JsLmNybDARBglghkgBhvhCAQEEBAMCAgQwgYQGCWCG SAGG+EIBDQR3FnVaZXJ0aWZpa2F0IGZ1ZXIgUkJHLVNlcnZlci1DQSBhdXNnZXN0ZWxsdCB2 b24gUkJHLUNBLCBGYWt1bHRhZXQgZnVlciBJbmZvcm1hdGlrIGRlciBUZWNobmlzY2hlbiBV bml2ZXJzaXRhZXQgTXVlbmNoZW4wMgYJYIZIAYb4QgEEBCUWI2h0dHA6Ly9jYS5pbi50dW0u ZGUvY2dpLWJpbi9jYS1yZXY/MDwGCWCGSAGG+EIBCAQvFi1odHRwOi8vY2EuaW4udHVtLmRl L3BvbGljaWVzL3NlcnZlcmNhcG9sLmh0bWwwDQYJKoZIhvcNAQEFBQADggIBAMzKnULQb6Kd hPNmKKmPSJJUOtbHxGH7Qi8paskt7dzDja/X7wz3524LGN2f05c1uAfyAP9Ar0nFthWy0qeM ueOtrOcSCj8AYwYN5H4drMC8GglQwlkD0M/nhPJ5xtAj8JzNYHzG1DK5tVgoJnF+t4KmTpI6 QJ6Dh3XDoZXubWd0jkHxQIzOKhs9PPjEzydmerC7B3Zt8vh7457Sk6wwZFhXc+nkeIIplnlD sBioOSyF7hZOwx4I2Auxss1zsyUQHCX88sOuZC0kYB7yRd1TMRti8josznux8k13sZBezFMP S2yCuKRBEk5Nt57OyGbIF4O7Mhn01mTnol2BDpTKJek45bIpRvSLl/xRPpjnzxLO1rXtXgCs GtkmXj+Zwo5fnL6OvZIiFgMV4ASsFclZexceHxDjpia1IHSFB/4I5fAys8Bw03idI+rfsla1 mW0AJuw260QgoBz+b+LKGosJdNosMfOJmNl0vW3Kq6NfYpZLkG0YJF9Xo6vsATFk9kNq56ye ila80uE2wDO/BGAcBMWQ4uwfrWqVPoW5X/oHcPISApnCBeZ+LyWvnTkgxCUeyqyxNOvaA/j7 jUoBb9l+GWup8EGND16mR/wYWAxYLgis1pn5QmSTbbKSWKcqDo6HBo1Zx9XRf76CZc7RJRp9 EXqYrkmlL9eg7qcnnS1rJbqxMIIHQDCCBSigAwIBAgIBAjANBgkqhkiG9w0BAQUFADCBnTEL MAkGA1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVu aXZlcnNpdGFldCBNdWVuY2hlbjEiMCAGA1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRp azEPMA0GA1UEAxMGUkJHLUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGUwHhcNMDIx MDA5MTcwMzUyWhcNMDQwNTIxMDAwMDAwWjCBpjELMAkGA1UEBhMCREUxETAPBgNVBAcTCE11 ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZlcnNpdGFldCBNdWVuY2hlbjEiMCAG A1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEYMBYGA1UEAxMPUkJHLUJlbnV0emVy LUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAoIBAQCtYQ5ycRY6fyrlvJgpeQCNhPxQduU59Kpv6xWId9sHL8NyI7nlmlWzMroD ddIqeg7QvvtPS+xorbQJ9rxh94lXZtwlGPYg4LC/1PHGnDt+8RGiq8GLbHyeJZoQnEGSovyn uR4wZ9qnApFRsXcUZ5W/CSSwjKnQeN39oFj8EC4xtmUuudV65sxGuGToRVoSnjeULJKYBNnC RxVx2MU5exKGQAuvgaVd7Ozb7ziZyWxhVCNrUQOGrSKDgyKLguWTNnD7sSOiOpie3IX8H2DV DvbcKcmMQr8ojwWutNDPadOth+J6qd/modqxB1VbH8wu0lezbhPM5dh7yUFCEqZoXXh9AgMB AAGjggJ+MIICejAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSvNTrvMG2Px59LcdXYAooP SChj1DCBygYDVR0jBIHCMIG/gBTZZX5NQX+EP7Uq1nsTnX3K5bRdGqGBo6SBoDCBnTELMAkG A1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZl cnNpdGFldCBNdWVuY2hlbjEiMCAGA1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEP MA0GA1UEAxMGUkJHLUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGWCAQAwDgYDVR0P AQH/BAQDAgEGMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDA0BgNVHR8ELTArMCmg J6AlhiNodHRwOi8vY2EuaW4udHVtLmRlL2NybHMvY2FfY3JsLmNybDAJBgNVHRIEAjAAMBEG CWCGSAGG+EIBAQQEAwIBBjCBhwYJYIZIAYb4QgENBHoWeFplcnRpZmlrYXQgZnVlciBSQkct QmVudXR6ZXItQ0EsIGF1c2dlc3RlbGx0IHZvbiBSQkctQ0EsIEZha3VsdGFldCBmdWVyIElu Zm9ybWF0aWsgZGVyIFRlY2huaXNjaGVuIFVuaXZlcnNpdGFldCBNdWVuY2hlbjAyBglghkgB hvhCAQQEJRYjaHR0cDovL2NhLmluLnR1bS5kZS9jZ2ktYmluL2NhLXJldj8wOgYJYIZIAYb4 QgEIBC0WK2h0dHA6Ly9jYS5pbi50dW0uZGUvcG9saWNpZXMvdXNlcmNhcG9sLmh0bWwwDQYJ KoZIhvcNAQEFBQADggIBAJapnE3b+p2nrryUkfTEl5iKTl7o8hLrB4FbLZsdBs16pIb0fIIq yGR0wlv0Qq5OLHm1hQzGkfhqEb2O+oBQJgaykxAB+6rKKOJdL12LSQrYXbDV8t/isyurwkFi fmcWDxVF4reDcz8F61KrVz46k2KtdY39CcuW+x1xQZRgier+jdBLLsbkM21XkufUrwnnO5Vr j0cD48XmcsVuWF0EkGo49jPHk8LG2cMyhQR/ZT4f1kegi9WmoV4NjKJnEU2QaTfbLUb2i509 RYf31oDnhq6oO1wCcRvVeDfyx5aj0y68sL1ySNmTQEELOmOFPqmVqa9BAR4wzuTXJi9UvOwF tQMsKq9AX4cFegDl4D4E5QQ7JladBMvJ0VALdGSGlGHARQGvO8SvapsOTVPC5n+UD6jwhTw0 pCPSypzIIrpT9vjxD7bDvudOfKguVRuX8poWID7yXcB0ApHdoNIMrGJx1Tc6SN6rGKWYre+W y/AsqMNNmR+YrJn/UOs6lKX9TtaHOFbxNPwo7RgdRg/srESEtIQ5IKkPA0Vt9Eh5H3VWBhrU b1gmvyNTwJFRqYmFhr7jFFdgnX3Jsbw81jl1z4jLdeeslLxs8vmnwQvWRz3BEPo+g0mrIuYt QjSdgGF8xHgyeRxfa8o3P/rncBysyNYe/AdWd6UGPmompEBZuFzSN+G8MYICCDCCAgQCAQEw ga0wgaYxCzAJBgNVBAYTAkRFMREwDwYDVQQHEwhNdWVuY2hlbjEpMCcGA1UEChMgVGVjaG5p c2NoZSBVbml2ZXJzaXRhZXQgTXVlbmNoZW4xIjAgBgNVBAsTGUZha3VsdGFldCBmdWVyIElu Zm9ybWF0aWsxGDAWBgNVBAMTD1JCRy1CZW51dHplci1DQTEbMBkGCSqGSIb3DQEJARYMY2FA aW4udHVtLmRlAgIVezAJBgUrDgMCGgUAoIGxMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEw HAYJKoZIhvcNAQkFMQ8XDTA0MDMwMTEyMDE0M1owIwYJKoZIhvcNAQkEMRYEFF+sGPO5HDgS NhyyGD7wmoY8qlEoMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwIC AgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3DQEB AQUABIGAebl8WmPx1GU+bJRwTWgzen6AP4yL08pKHZjSAhZRo4fiMBdgwpNo4m28nSj+7T8U LpeTUX0sXKWU9bDxBtWc65kNInM7kWEkl6q+R1kYqZgzmOd1FRrnGnQyB21bhD2W2YqMqt2L 959EzZqG0j1hVbVkZlsFnQzlkaRZW+/d9O4= --BXVAT5kNtrzKuDFl-- From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 00:33:33 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F41C816A4CE for ; Mon, 1 Mar 2004 00:33:32 -0800 (PST) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39E6643D1D for ; Mon, 1 Mar 2004 00:33:32 -0800 (PST) (envelope-from langd@informatik.tu-muenchen.de) Date: Mon, 1 Mar 2004 09:33:30 +0100 From: Daniel Lang To: Julian Elischer Message-ID: <20040301083330.GA54246@atrbg11.informatik.tu-muenchen.de> References: <20040301032349.GA9391@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: X-Geek: GCS/CC d-- s: a- C++$ UBS++++$ P+++$ L- E-(---) W+++(--) N++ o K w--- O? M? V? PS+(++) PE--(+) Y+ PGP+ t++ 5+++ X R+(-) tv+ b+ DI++ D++ G++ e+++ h---(-) r++>+++ y+ User-Agent: Mutt/1.5.1i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de X-Mailman-Approved-At: Mon, 01 Mar 2004 05:22:36 -0800 cc: hackers@freebsd.org cc: Kris Kennaway Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 08:33:33 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Julian Elischer wrote on Sun, Feb 29, 2004 at 08:01:41PM -0800: > Oh it was just a rant.. :-( >=20 [..] > > > Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? > > > getting really annoying.. > >=20 > > Yeah, but what do you expect anyone to do about it? [..] Many people are already using digital signatures. The occurence of massively forged senders in e-mails by spammers and viruses could be seen as motivation to establish a more widespread use of digital signatures. Of course it doesn't help for e-mail that we receive (unless we complain to the sender that one would only accept signed e-mails, which is a bit tough), but at least one could tell anyone, who complains that one has sent a virus, to check for the signature. Just a thought, Daniel P.S.: If your MUA complains about my signature, be sure to import the CA certificates from http://ca.in.tum.de/, just because it's not in the mozilla default root-ca set, it is not a less trustworthy CA. --=20 IRCnet: Mr-Spock =20 - In dieser Mail ist ein Geist, der Dich in den Hintern beisst -=20 Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/ --ZGiS0Q5IWpPtfppv Content-Type: application/x-pkcs7-signature Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIIXgAYJKoZIhvcNAQcCoIIXcTCCF20CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC FUAwggbMMIIFtKADAgECAgIVezANBgkqhkiG9w0BAQUFADCBpjELMAkGA1UEBhMCREUxETAP BgNVBAcTCE11ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZlcnNpdGFldCBNdWVu Y2hlbjEiMCAGA1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEYMBYGA1UEAxMPUkJH LUJlbnV0emVyLUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGUwHhcNMDMwNTIwMTIz MTQyWhcNMDQwNTIxMDAwMDAwWjCBqzELMAkGA1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVu MSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZlcnNpdGFldCBNdWVuY2hlbjEiMCAGA1UECxMZ RmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEUMBIGA1UEAxMLRGFuaWVsIExhbmcxJDAiBgkq hkiG9w0BCQEWFWRhbmllbC5sYW5nQGluLnR1bS5kZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAw gYkCgYEAk55VXazdhYUuEJAHmO439gJwKVfvcdF64VyP8tzhYwiIx/9FOsQj8r8Gw2g0MDCa X2mCNiSKz32sUI33SQFhBhwxoF6bpq7d6pfeJ7UL+2T/bkRVF/Y7zPuMMK/wMbiEwyfvdjxk 8XsVtpj500LjW7QYdAHlijHRAY2nFk4f8bcCAwEAAaOCA38wggN7MAwGA1UdEwEB/wQCMAAw HQYDVR0OBBYEFPMLcu3eegcL6m8ObwlveYDdoYOpMIHKBgNVHSMEgcIwgb+AFK81Ou8wbY/H n0tx1dgCig9IKGPUoYGjpIGgMIGdMQswCQYDVQQGEwJERTERMA8GA1UEBxMITXVlbmNoZW4x KTAnBgNVBAoTIFRlY2huaXNjaGUgVW5pdmVyc2l0YWV0IE11ZW5jaGVuMSIwIAYDVQQLExlG YWt1bHRhZXQgZnVlciBJbmZvcm1hdGlrMQ8wDQYDVQQDEwZSQkctQ0ExGzAZBgkqhkiG9w0B CQEWDGNhQGluLnR1bS5kZYIBAjAOBgNVHQ8BAf8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUH AwIGCCsGAQUFBwMEMIGxBgNVHREEgakwgaaBD2xhbmdkQGluLnR1bS5kZYEVZGFuaWVsLmxh bmdAaW4udHVtLmRlgR9sYW5nZEBpbmZvcm1hdGlrLnR1LW11ZW5jaGVuLmRlgSVkYW5pZWwu bGFuZ0BpbmZvcm1hdGlrLnR1LW11ZW5jaGVuLmRlgRBsYW5nZEBjcy50dW0uZWR1gRZkYW5p ZWwubGFuZ0Bjcy50dW0uZWR1gQpkbEBsZW8ub3JnMAkGA1UdEgQCMAAwOAYDVR0fBDEwLzAt oCugKYYnaHR0cDovL2NhLmluLnR1bS5kZS9jcmxzL3VzZXJjYV9jcmwuY3JsMBEGCWCGSAGG +EIBAQQEAwIFoDCBnwYJYIZIAYb4QgENBIGRFoGORGllc2VzIFplcnRpZmlrYXQgd3VyZGUg YXVzZ2VzdGVsbHQgZnVlciBEYW5pZWwgTGFuZyB2b24gZGVyIFJCRy1CZW51dHplci1DQSwg RmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpayBkZXIgVGVjaG5pc2NoZW4gVW5pdmVyc2l0YWV0 IE11ZW5jaGVuLjA2BglghkgBhvhCAQMEKRYnaHR0cDovL2NhLmluLnR1bS5kZS9jZ2ktYmlu L3VzZXJjYS1yZXY/MDIGCWCGSAGG+EIBBAQlFiNodHRwOi8vY2EuaW4udHVtLmRlL2NnaS1i aW4vY2EtcmV2PzA2BglghkgBhvhCAQgEKRYnaHR0cDovL2NhLmluLnR1bS5kZS9wb2xpY2ll cy9yYmdjYS5odG1sMA0GCSqGSIb3DQEBBQUAA4IBAQAGrfB5rH9D6jl6Tx+hwXpv0a/TuV39 vIQWMCA1hi0V4pI+bMyGTW1k/Ve5C58wRZv7CSTnxTGoqZmqnV37GGQlZBmvsDE+u3FKL/T7 Tk/rlVajExCXGHwjgHp2FfCaVMawKSUrI60aDcUgLUtT2DKpEfKfr/MC7CDtCaYy6TW93cHc uv2oM+1PN+CIcR5PaqEySmeYoXBMXd6sktjyNUWLxsNhtFMVnOiwF3SZYbRbRobuEWM3o+W7 nijECUIKz8rvK3f/c8v9HlVitMbeaTs4J1nZUR9lsvGLik6vsfIgbmuP6MMkrKFYwq5XTR1x JtMcmvnqcWytpYFDVPGuGaj1MIIHKDCCBRCgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBnTEL MAkGA1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVu aXZlcnNpdGFldCBNdWVuY2hlbjEiMCAGA1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRp azEPMA0GA1UEAxMGUkJHLUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGUwHhcNMDIx MDA5MTY0MTAzWhcNMDQwNTIxMDAwMDAwWjCBpDELMAkGA1UEBhMCREUxETAPBgNVBAcTCE11 ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZlcnNpdGFldCBNdWVuY2hlbjEiMCAG A1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEWMBQGA1UEAxMNUkJHLVNlcnZlci1D QTEbMBkGCSqGSIb3DQEJARYMY2FAaW4udHVtLmRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A MIIBCgKCAQEAzAHBIFy4tKTvbMMg037hc9t2jR5MVpEUIPvrSWC4xpbr6Hw7abQW/lRfFpV8 enf9tSgfcl8kvGjAAD8AYeuDash6TQSUjBdZCe7V297oZ0dsuurZBkM5BwvLWF8vMiY+SD/+ XTqhnU6B/E9C+R5VXjXsXV2u9hDtKVC5hqVgnxRM5rT/LsUhcchgAXk2WuI8r9Llb+voPWwM FmHk2jxUwhvxZfGo15HDrvJUgzYsL36SmeYMI9Eo70uGmAQRPVVq2zn/3AC4z8X1cBd3ItnH YPbx0iUH5kEGq2KH5iCndwNq9oaFhKj+Y34wEv5BYl6sb5C9EBvtGyebNwuvmtC3tQIDAQAB o4ICaDCCAmQwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUH9QPe0VQVF1D2v8Su/itK/4O QMwwgcoGA1UdIwSBwjCBv4AU2WV+TUF/hD+1KtZ7E519yuW0XRqhgaOkgaAwgZ0xCzAJBgNV BAYTAkRFMREwDwYDVQQHEwhNdWVuY2hlbjEpMCcGA1UEChMgVGVjaG5pc2NoZSBVbml2ZXJz aXRhZXQgTXVlbmNoZW4xIjAgBgNVBAsTGUZha3VsdGFldCBmdWVyIEluZm9ybWF0aWsxDzAN BgNVBAMTBlJCRy1DQTEbMBkGCSqGSIb3DQEJARYMY2FAaW4udHVtLmRlggEAMA4GA1UdDwEB /wQEAwIBBjATBgNVHSUEDDAKBggrBgEFBQcDATA0BgNVHR8ELTArMCmgJ6AlhiNodHRwOi8v Y2EuaW4udHVtLmRlL2NybHMvY2FfY3JsLmNybDARBglghkgBhvhCAQEEBAMCAgQwgYQGCWCG SAGG+EIBDQR3FnVaZXJ0aWZpa2F0IGZ1ZXIgUkJHLVNlcnZlci1DQSBhdXNnZXN0ZWxsdCB2 b24gUkJHLUNBLCBGYWt1bHRhZXQgZnVlciBJbmZvcm1hdGlrIGRlciBUZWNobmlzY2hlbiBV bml2ZXJzaXRhZXQgTXVlbmNoZW4wMgYJYIZIAYb4QgEEBCUWI2h0dHA6Ly9jYS5pbi50dW0u ZGUvY2dpLWJpbi9jYS1yZXY/MDwGCWCGSAGG+EIBCAQvFi1odHRwOi8vY2EuaW4udHVtLmRl L3BvbGljaWVzL3NlcnZlcmNhcG9sLmh0bWwwDQYJKoZIhvcNAQEFBQADggIBAMzKnULQb6Kd hPNmKKmPSJJUOtbHxGH7Qi8paskt7dzDja/X7wz3524LGN2f05c1uAfyAP9Ar0nFthWy0qeM ueOtrOcSCj8AYwYN5H4drMC8GglQwlkD0M/nhPJ5xtAj8JzNYHzG1DK5tVgoJnF+t4KmTpI6 QJ6Dh3XDoZXubWd0jkHxQIzOKhs9PPjEzydmerC7B3Zt8vh7457Sk6wwZFhXc+nkeIIplnlD sBioOSyF7hZOwx4I2Auxss1zsyUQHCX88sOuZC0kYB7yRd1TMRti8josznux8k13sZBezFMP S2yCuKRBEk5Nt57OyGbIF4O7Mhn01mTnol2BDpTKJek45bIpRvSLl/xRPpjnzxLO1rXtXgCs GtkmXj+Zwo5fnL6OvZIiFgMV4ASsFclZexceHxDjpia1IHSFB/4I5fAys8Bw03idI+rfsla1 mW0AJuw260QgoBz+b+LKGosJdNosMfOJmNl0vW3Kq6NfYpZLkG0YJF9Xo6vsATFk9kNq56ye ila80uE2wDO/BGAcBMWQ4uwfrWqVPoW5X/oHcPISApnCBeZ+LyWvnTkgxCUeyqyxNOvaA/j7 jUoBb9l+GWup8EGND16mR/wYWAxYLgis1pn5QmSTbbKSWKcqDo6HBo1Zx9XRf76CZc7RJRp9 EXqYrkmlL9eg7qcnnS1rJbqxMIIHQDCCBSigAwIBAgIBAjANBgkqhkiG9w0BAQUFADCBnTEL MAkGA1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVu aXZlcnNpdGFldCBNdWVuY2hlbjEiMCAGA1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRp azEPMA0GA1UEAxMGUkJHLUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGUwHhcNMDIx MDA5MTcwMzUyWhcNMDQwNTIxMDAwMDAwWjCBpjELMAkGA1UEBhMCREUxETAPBgNVBAcTCE11 ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZlcnNpdGFldCBNdWVuY2hlbjEiMCAG A1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEYMBYGA1UEAxMPUkJHLUJlbnV0emVy LUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAoIBAQCtYQ5ycRY6fyrlvJgpeQCNhPxQduU59Kpv6xWId9sHL8NyI7nlmlWzMroD ddIqeg7QvvtPS+xorbQJ9rxh94lXZtwlGPYg4LC/1PHGnDt+8RGiq8GLbHyeJZoQnEGSovyn uR4wZ9qnApFRsXcUZ5W/CSSwjKnQeN39oFj8EC4xtmUuudV65sxGuGToRVoSnjeULJKYBNnC RxVx2MU5exKGQAuvgaVd7Ozb7ziZyWxhVCNrUQOGrSKDgyKLguWTNnD7sSOiOpie3IX8H2DV DvbcKcmMQr8ojwWutNDPadOth+J6qd/modqxB1VbH8wu0lezbhPM5dh7yUFCEqZoXXh9AgMB AAGjggJ+MIICejAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSvNTrvMG2Px59LcdXYAooP SChj1DCBygYDVR0jBIHCMIG/gBTZZX5NQX+EP7Uq1nsTnX3K5bRdGqGBo6SBoDCBnTELMAkG A1UEBhMCREUxETAPBgNVBAcTCE11ZW5jaGVuMSkwJwYDVQQKEyBUZWNobmlzY2hlIFVuaXZl cnNpdGFldCBNdWVuY2hlbjEiMCAGA1UECxMZRmFrdWx0YWV0IGZ1ZXIgSW5mb3JtYXRpazEP MA0GA1UEAxMGUkJHLUNBMRswGQYJKoZIhvcNAQkBFgxjYUBpbi50dW0uZGWCAQAwDgYDVR0P AQH/BAQDAgEGMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDA0BgNVHR8ELTArMCmg J6AlhiNodHRwOi8vY2EuaW4udHVtLmRlL2NybHMvY2FfY3JsLmNybDAJBgNVHRIEAjAAMBEG CWCGSAGG+EIBAQQEAwIBBjCBhwYJYIZIAYb4QgENBHoWeFplcnRpZmlrYXQgZnVlciBSQkct QmVudXR6ZXItQ0EsIGF1c2dlc3RlbGx0IHZvbiBSQkctQ0EsIEZha3VsdGFldCBmdWVyIElu Zm9ybWF0aWsgZGVyIFRlY2huaXNjaGVuIFVuaXZlcnNpdGFldCBNdWVuY2hlbjAyBglghkgB hvhCAQQEJRYjaHR0cDovL2NhLmluLnR1bS5kZS9jZ2ktYmluL2NhLXJldj8wOgYJYIZIAYb4 QgEIBC0WK2h0dHA6Ly9jYS5pbi50dW0uZGUvcG9saWNpZXMvdXNlcmNhcG9sLmh0bWwwDQYJ KoZIhvcNAQEFBQADggIBAJapnE3b+p2nrryUkfTEl5iKTl7o8hLrB4FbLZsdBs16pIb0fIIq yGR0wlv0Qq5OLHm1hQzGkfhqEb2O+oBQJgaykxAB+6rKKOJdL12LSQrYXbDV8t/isyurwkFi fmcWDxVF4reDcz8F61KrVz46k2KtdY39CcuW+x1xQZRgier+jdBLLsbkM21XkufUrwnnO5Vr j0cD48XmcsVuWF0EkGo49jPHk8LG2cMyhQR/ZT4f1kegi9WmoV4NjKJnEU2QaTfbLUb2i509 RYf31oDnhq6oO1wCcRvVeDfyx5aj0y68sL1ySNmTQEELOmOFPqmVqa9BAR4wzuTXJi9UvOwF tQMsKq9AX4cFegDl4D4E5QQ7JladBMvJ0VALdGSGlGHARQGvO8SvapsOTVPC5n+UD6jwhTw0 pCPSypzIIrpT9vjxD7bDvudOfKguVRuX8poWID7yXcB0ApHdoNIMrGJx1Tc6SN6rGKWYre+W y/AsqMNNmR+YrJn/UOs6lKX9TtaHOFbxNPwo7RgdRg/srESEtIQ5IKkPA0Vt9Eh5H3VWBhrU b1gmvyNTwJFRqYmFhr7jFFdgnX3Jsbw81jl1z4jLdeeslLxs8vmnwQvWRz3BEPo+g0mrIuYt QjSdgGF8xHgyeRxfa8o3P/rncBysyNYe/AdWd6UGPmompEBZuFzSN+G8MYICCDCCAgQCAQEw ga0wgaYxCzAJBgNVBAYTAkRFMREwDwYDVQQHEwhNdWVuY2hlbjEpMCcGA1UEChMgVGVjaG5p c2NoZSBVbml2ZXJzaXRhZXQgTXVlbmNoZW4xIjAgBgNVBAsTGUZha3VsdGFldCBmdWVyIElu Zm9ybWF0aWsxGDAWBgNVBAMTD1JCRy1CZW51dHplci1DQTEbMBkGCSqGSIb3DQEJARYMY2FA aW4udHVtLmRlAgIVezAJBgUrDgMCGgUAoIGxMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEw HAYJKoZIhvcNAQkFMQ8XDTA0MDMwMTA4MzMzMFowIwYJKoZIhvcNAQkEMRYEFF+sGPO5HDgS NhyyGD7wmoY8qlEoMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwIC AgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMA0GCSqGSIb3DQEB AQUABIGAgH+NRltEiAg4NVK8ZEJLTR15/2X5zif5tiEajd6WRnCX2H7T2J3gBoXe8iDeSrJ6 be4b+9gs5f+ukG9up8vmMaL34HGXr9X35KWvXVGB5h8pT4ae7eS5MuwIsr2qFjnd/Do12dNW 1wWChrWvkgFg10GeHkFnpmbWbbScryBJyHs= --ZGiS0Q5IWpPtfppv-- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 07:40:37 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16BD416A4CE; Sun, 29 Feb 2004 07:40:37 -0800 (PST) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17B1F43D1D; Sun, 29 Feb 2004 07:40:35 -0800 (PST) (envelope-from Holger.Kipp@alogis.com) Received: (from hk@localhost) by alogis.com (8.11.1/8.9.3) id i1TFeVU56618; Sun, 29 Feb 2004 16:40:31 +0100 (CET) (envelope-from hk) Date: Sun, 29 Feb 2004 16:40:31 +0100 From: Holger Kipp To: alexander.pohoyda@gmx.net Message-ID: <20040229164031.A56175@intserv.int1.b.intern> References: <20040229141720.GA447@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20040229141720.GA447@tuatara.fishballoon.org>; from rsm@freebsd.org on Sun, Feb 29, 2004 at 02:17:20PM +0000 X-Mailman-Approved-At: Mon, 01 Mar 2004 05:23:51 -0800 cc: stable@freebsd.org cc: hackers@freebsd.org cc: hardware@freebsd.org Subject: USB 2.0 Hub, patch for BSD stack X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 15:40:37 -0000 I have an ednet. USB 2.0 Hub 4-1 which seems to be identicyl to the Cypress Semiconductor Slim Hub. The latest 4.9-STABLE is still missing the patch > > --- uhub.c.orig Fri Jul 4 20:17:50 2003 > > +++ uhub.c Fri Jul 4 21:57:31 2003 > > @@ -185,7 +185,7 @@ > > /* Get hub descriptor. */ > > req.bmRequestType = UT_READ_CLASS_DEVICE; > > req.bRequest = UR_GET_DESCRIPTOR; > > - USETW(req.wValue, 0); > > + USETW2(req.wValue, (dev->address > 1 ? UDESC_HUB : 0), 0); > > USETW(req.wIndex, 0); > > USETW(req.wLength, USB_HUB_DESCRIPTOR_SIZE); > > DPRINTFN(1,("usb_init_hub: getting hub descriptor\n")); http://lists.freebsd.org/pipermail/freebsd-hardware/2003-July/000390.html The hub is now working on my system, even though detaching and attaching an 8-in-1 Card Reader (USB 2: hama 46945) several times locks the system (ie reset required). Will this patch be MFCd any time soon or was this part just forgotten, as the other minor patches (usbdevs.h, usbdevs_data.h) made it to 4.9-STABLE? Regards, Holger Kipp From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 07:45:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C67B916A4CE; Sun, 29 Feb 2004 07:45:35 -0800 (PST) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59C8443D1D; Sun, 29 Feb 2004 07:45:34 -0800 (PST) (envelope-from Holger.Kipp@alogis.com) Received: (from hk@localhost) by alogis.com (8.11.1/8.9.3) id i1TFjWC56930; Sun, 29 Feb 2004 16:45:32 +0100 (CET) (envelope-from hk) Date: Sun, 29 Feb 2004 16:45:32 +0100 From: Holger Kipp To: alexander.pohoyda@gmx.net Message-ID: <20040229164532.A56871@intserv.int1.b.intern> References: <20040229141720.GA447@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20040229141720.GA447@tuatara.fishballoon.org>; from rsm@freebsd.org on Sun, Feb 29, 2004 at 02:17:20PM +0000 X-Mailman-Approved-At: Mon, 01 Mar 2004 05:23:51 -0800 cc: stable@freebsd.org cc: hackers@freebsd.org cc: hardware@freebsd.org Subject: USB 2.0 Hub, patch for BSD stack, addendum X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 15:45:35 -0000 Here what happens after detaching and attaching: Feb 29 16:43:26 katrin /kernel: umass0: at uhub2 port 4 (addr 3) disconnected Feb 29 16:43:26 katrin /kernel: (da0:umass-sim0:0:0:0): lost device Feb 29 16:43:26 katrin /kernel: (da0:umass-sim0:0:0:0): removing device entry Feb 29 16:43:26 katrin /kernel: umass0: detached Feb 29 16:43:33 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3 Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB reset failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-in clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: BBB bulk-out clear stall failed, IOERROR Feb 29 16:43:40 katrin /kernel: umass0: at uhub2 port 4 (addr 3) disconnected Feb 29 16:43:40 katrin /kernel: umass0: detached Feb 29 16:43:42 katrin /kernel: umass0: SMSC 223 USB97C223, rev 2.00/1.95, addr 3 MfG, Holger Kipp From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 15:38:05 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D67A16A4CE for ; Sun, 29 Feb 2004 15:38:05 -0800 (PST) Received: from smtp3b.sentex.ca (smtp3b.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3042D43D46 for ; Sun, 29 Feb 2004 15:38:05 -0800 (PST) (envelope-from mike@sentex.net) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smtp3b.sentex.ca (8.12.10/8.12.10) with ESMTP id i1TNbW3Z030924; Sun, 29 Feb 2004 18:37:32 -0500 (EST) (envelope-from mike@sentex.net) Received: from BLUELAPIS.sentex.ca (cage.simianscience.com [64.7.134.1]) by smtp2.sentex.ca (8.12.10/8.12.10) with SMTP id i1TNc3C9053611; Sun, 29 Feb 2004 18:38:03 -0500 (EST) (envelope-from mike@sentex.net) From: Mike Tancsa To: Don Bowman Date: Sun, 29 Feb 2004 18:38:15 -0500 Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 01 Mar 2004 05:23:51 -0800 cc: freebsd-hackers@freebsd.org Subject: Re: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 23:38:05 -0000 On Sat, 28 Feb 2004 23:17:44 -0500, in sentex.lists.freebsd.hackers > >If you want to spend more time in kernel, perhaps change > >I might have HZ @ 2500 as well. Hi, Just curious as to the reasoning behind that ? ---Mike From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 19:36:00 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5974316A4CE for ; Sun, 29 Feb 2004 19:36:00 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25A9043D2D for ; Sun, 29 Feb 2004 19:36:00 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (68697ea30f9ae636d8cf7c4e6f43b99d@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i213Yrp1005701; Sun, 29 Feb 2004 19:34:54 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B8E16537DC; Sun, 29 Feb 2004 19:35:50 -0800 (PST) Date: Sun, 29 Feb 2004 19:23:49 -0800 From: Kris Kennaway To: Julian Elischer Message-ID: <20040301032349.GA9391@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Mailman-Approved-At: Mon, 01 Mar 2004 05:23:51 -0800 cc: hackers@freebsd.org Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 03:36:00 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 29, 2004 at 04:50:34PM -0800, Julian Elischer wrote: >=20 > Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? > getting really annoying.. Yeah, but what do you expect anyone to do about it? Kris --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAQqzFWry0BWjoQKURAlVOAKDG74HvUjTxYvgFWUH+CPOvWh0rSACfTNMG kg4J/1jwaGY+m3HVkLirTZQ= =vAGW -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1-- From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 19:36:03 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D4B716A4CE for ; Sun, 29 Feb 2004 19:36:03 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DE4D43D2D for ; Sun, 29 Feb 2004 19:36:03 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (2a1bbf05ee0ecd4fe588384fa213a409@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i213Yrp1005246; Sun, 29 Feb 2004 19:34:54 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 25377537DA; Sun, 29 Feb 2004 19:35:47 -0800 (PST) Date: Sun, 29 Feb 2004 19:28:56 -0800 From: Kris Kennaway To: Julian Elischer Message-ID: <20040301032856.GA10110@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Mailman-Approved-At: Mon, 01 Mar 2004 05:23:51 -0800 cc: hackers@freebsd.org Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 03:36:03 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 29, 2004 at 04:50:34PM -0800, Julian Elischer wrote: >=20 > Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? > getting really annoying.. Yeah, but what do you expect anyone to do about it? Kris --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAQq33Wry0BWjoQKURAsxrAJ9IjFLxCS+Spb8VogvlxiUaOZrJ3wCdF8hT SvZUXD9mOjzC421gw7fc6VE= =7Wen -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN-- From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 03:58:46 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4173416A4CE for ; Mon, 1 Mar 2004 03:58:46 -0800 (PST) Received: from dust.freshx.de (freshx.de [80.190.100.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EF1F43D1F for ; Mon, 1 Mar 2004 03:58:46 -0800 (PST) (envelope-from kai@freshx.de) Received: from localhost (localhost [127.0.0.1]) by dust.freshx.de (Postfix) with ESMTP id AF43715E323 for ; Mon, 1 Mar 2004 12:58:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by dust.freshx.de (Postfix) with ESMTP id E744F15E315 for ; Mon, 1 Mar 2004 12:58:27 +0100 (CET) Received: from 127.0.0.1 ( [127.0.0.1]) as user dust0005@localhost by localhost with HTTP; Mon, 1 Mar 2004 12:58:27 +0100 Message-ID: <1078142307.40432563ccfe7@localhost> Date: Mon, 1 Mar 2004 12:58:27 +0100 From: Kai Mosebach To: freebsd-hackers@freebsd.org References: <20040301011915.Q17086@odysseus.silby.com> In-Reply-To: <20040301011915.Q17086@odysseus.silby.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Virus-Scanned: by AMaViS 0.3.12 X-Mailman-Approved-At: Mon, 01 Mar 2004 05:23:51 -0800 Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 11:58:46 -0000 well, i collected about 2200 iworm.swens from freebsd since december'03 which is about 700 per month or 20 per day ... isnt there a way to track this down ? its at all not the best reference, freebsd gives besides its known advantages ... best kai > > On Sun, 29 Feb 2004, Julian Elischer wrote: > > > Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? > > getting really annoying.. > > Yeah, I'm getting it too. Worst part is, clamav 0.65 doesn't pick it > up. I'm waiting for the 0.67 port to be committed... > > Mike "Silby" Silbersack > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 08:11:55 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C074816A4CE for ; Mon, 1 Mar 2004 08:11:55 -0800 (PST) Received: from smtp3b.sentex.ca (smtp3b.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F0CD43D41 for ; Mon, 1 Mar 2004 08:11:55 -0800 (PST) (envelope-from mike@sentex.net) Received: from avscan1.sentex.ca (avscan1.sentex.ca [199.212.134.11]) by smtp3b.sentex.ca (8.12.10/8.12.10) with ESMTP id i21GB73Z036604; Mon, 1 Mar 2004 11:11:12 -0500 (EST) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan1.sentex.ca (8.12.10/8.12.10) with ESMTP id i21GBexa035564; Mon, 1 Mar 2004 11:11:40 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net ([192.168.43.27]) by lava.sentex.ca (8.12.9p2/8.12.9) with ESMTP id i21GBdZa028950; Mon, 1 Mar 2004 11:11:40 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.0.3.0.0.20040301105700.072c4f00@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Mon, 01 Mar 2004 11:12:07 -0500 To: Don Bowman From: Mike Tancsa In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new cc: freebsd-hackers@freebsd.org Subject: RE: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 16:11:55 -0000 At 09:38 PM 29/02/2004, Don Bowman wrote: >From: Mike Tancsa [mailto:mike@sentex.net] > > At 08:44 PM 29/02/2004, Don Bowman wrote: > > >From: Mike Tancsa [mailto:mike@sentex.net] > > > > > > > > On Sat, 28 Feb 2004 23:17:44 -0500, in > > sentex.lists.freebsd.hackers > > > > > >If you want to spend more time in kernel, perhaps change > > > > > > > > > >I might have HZ @ 2500 as well. >I picked 2500 as the best for my system. Its higher than >allowed by rfc1323 and PAWS [kern/61404], but not by so much >that i anticipate a problem. Do you run the box with the supplied patch ? On the firewall device I was thinking of experimenting with, I do have long TCP sessions that it sounds like HZ=2500 would break. >For my target packets per second >rate, it means that i can use a reasonable number of dma >descriptors. I found that bridging performance in particular >needs the higher hz to avoid dropping packets, to improve >its performance. In terms of fiddling with the em tunables, what are the drawbacks of moving from 256 to 512 on EM_MAX_TXD EM_MAX_RXD >more buffers == better ability to handle latency >bursts, but worse for cache occupancy. Buffers as is net.inet.ip.intr_queue_maxlen ? Thanks, ---Mike From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 08:53:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37E9B16A4CE for ; Mon, 1 Mar 2004 08:53:13 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03A4C43D45 for ; Mon, 1 Mar 2004 08:53:13 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id BDC775309; Mon, 1 Mar 2004 17:53:11 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 8A0265308; Mon, 1 Mar 2004 17:53:04 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 167FC33C6B; Mon, 1 Mar 2004 17:53:04 +0100 (CET) To: Kris Kennaway References: <20040301032856.GA10110@xor.obsecurity.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Mon, 01 Mar 2004 17:53:04 +0100 In-Reply-To: <20040301032856.GA10110@xor.obsecurity.org> (Kris Kennaway's message of "Sun, 29 Feb 2004 19:28:56 -0800") 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.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: hackers@freebsd.org cc: Julian Elischer Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 16:53:13 -0000 Kris Kennaway writes: > On Sun, Feb 29, 2004 at 04:50:34PM -0800, Julian Elischer wrote: > > Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? > > getting really annoying.. > Yeah, but what do you expect anyone to do about it? Swen and MyDoom are easy to detect and reject at the SMTP stage. The fact that our mail servers don't do this is a PITA, as it forces list subscribers to accept them as well (if you reject list mail because it contains a virus, Mailman disables your subscription) DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 09:08:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3B5716A4CE for ; Mon, 1 Mar 2004 09:08:22 -0800 (PST) Received: from 82-41-27-158.cable.ubr04.edin.blueyonder.co.uk (82-41-27-158.cable.ubr04.edin.blueyonder.co.uk [82.41.27.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3486D43D31 for ; Mon, 1 Mar 2004 09:08:22 -0800 (PST) (envelope-from andrew@mux.org.uk) Received: from mux.org.uk (spatula.flat [192.168.0.2]) by myriad.flat (Postfix) with ESMTP id 001E4C5; Mon, 1 Mar 2004 15:56:19 +0000 (GMT) Message-ID: <40436E04.9000706@mux.org.uk> Date: Mon, 01 Mar 2004 17:08:20 +0000 From: Andrew Boothman User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040228 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <20040301032856.GA10110@xor.obsecurity.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: hackers@freebsd.org cc: Julian Elischer cc: Kris Kennaway Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 17:08:22 -0000 Dag-Erling Smørgrav wrote: >>>Somewhere out there there is a ?Virus?/?Hacker?/?Spammer? >>>getting really annoying.. >> >>Yeah, but what do you expect anyone to do about it? > > > Swen and MyDoom are easy to detect and reject at the SMTP stage. The > fact that our mail servers don't do this is a PITA, as it forces list > subscribers to accept them as well (if you reject list mail because it > contains a virus, Mailman disables your subscription). You shoudn't reject email because it contains Swen or MyDoom anyway, all you'll do is generate a bounce message to someone who never sent you the infected mail in the first place - becuase the SMTP envelope addresses are forged. I believe the correct thing to do is to accept in and silently drop it. From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 11:43:15 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3852016A4CE for ; Mon, 1 Mar 2004 11:43:15 -0800 (PST) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF25243D1D for ; Mon, 1 Mar 2004 11:43:14 -0800 (PST) (envelope-from craig@tobuj.gank.org) Received: from localhost (ion.gank.org [69.55.238.164]) by ion.gank.org (mail) with ESMTP id 37F602B301 for ; Mon, 1 Mar 2004 13:43:14 -0600 (CST) Received: from ion.gank.org ([69.55.238.164]) by localhost (ion.gank.org [69.55.238.164]) (amavisd-new, port 10024) with LMTP id 73159-03 for ; Mon, 1 Mar 2004 13:43:13 -0600 (CST) Received: from owen1492.uf.corelab.com (pix.corelab.com [12.45.169.2]) by ion.gank.org (mail) with ESMTP id F10532B2E6 for ; Mon, 1 Mar 2004 13:43:12 -0600 (CST) From: Craig Boston To: freebsd-hackers@freebsd.org Date: Mon, 1 Mar 2004 13:43:07 -0600 User-Agent: KMail/1.6 References: <20040301032856.GA10110@xor.obsecurity.org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200403011343.08007.craig@tobuj.gank.org> X-Virus-Scanned: by amavisd-new at gank.org Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 19:43:15 -0000 On Monday 01 March 2004 10:53 am, Dag-Erling Sm=F8rgrav wrote: > Swen and MyDoom are easy to detect and reject at the SMTP stage. The > fact that our mail servers don't do this is a PITA, as it forces list > subscribers to accept them as well (if you reject list mail because it > contains a virus, Mailman disables your subscription) Most of the Swens I get don't come from the list servers but are sent to my= =20 subscription address directly (probably grabbed from posts to the list). I have a separate address for each list to make sorting easier. When I set= up=20 freebsd-hackers, I was getting Swen sent to me within an hour of posting to= =20 the list for the first time. I filter it but it still wastes bandwidth... Craig From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 13:28:28 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8B5E16A4CE; Mon, 1 Mar 2004 13:28:28 -0800 (PST) Received: from ciberia.viavale.com.br (ciberia.viavale.com.br [200.143.116.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DC9F43D53; Mon, 1 Mar 2004 13:28:28 -0800 (PST) (envelope-from klaus@viavale.com.br) Received: from viavale.com.br (chile.viavale.com.br [192.168.9.30]) by ciberia.viavale.com.br (Postfix) with ESMTP id 8FE5E2E11A; Mon, 1 Mar 2004 18:28:21 -0300 (BRT) Message-ID: <4043AB06.2050401@viavale.com.br> Date: Mon, 01 Mar 2004 18:28:38 -0300 From: Klaus User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: System Crash(bundirty) on 5.2.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 21:28:28 -0000 Hi all. First, sorry for my bad english =) Well, on the past(28/03/2003 on FreeBSD 5.1-Release), i'm read about the nfs bug, and now, i'm got the same error on my fbsd box, and on history of all freebsd lists i've found the same response: no fix for this bug. On my server the error appears, only before to mount my nfs home and mailspool dir into my server, and (the interessing point) when i run any ftp server, the server go down, with the error: "panic: bundirty: buffer 0xe28a198f" About the box: My server is a FreeBSD 5.2.1-RELEASE, running apache+php, mysql4.0, openwebmail 2.30, proftpd 1.2.9(tried to use the internal ftp, but doesn't solve the problem), mounting two nfs volumes: /data and /var/mail /data: openwebmail users directory on other server, not my MTA box I'm using NIS to auth the users on all systems. The question: Can functions like, getpw* cause this problem? running only apache, mysql, openwebmail, the system dont crash, but before start any ftp server and anyone make upload of files the system stop with the error described above. Thanks 4 all. Klaus Porto Schneider From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 14:04:32 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 347C816A4CE for ; Mon, 1 Mar 2004 14:04:32 -0800 (PST) Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B92043D1F for ; Mon, 1 Mar 2004 14:04:31 -0800 (PST) (envelope-from A.J.Caines@halplant.com) Received: from mail.halplant.com ([68.100.162.49]) by lakemtao03.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040301220429.XXEP29592.lakemtao03.cox.net@mail.halplant.com> for ; Mon, 1 Mar 2004 17:04:29 -0500 Received: by mail.halplant.com (Postfix, from userid 1001) id 5B31EA; Mon, 1 Mar 2004 17:04:29 -0500 (EST) Date: Mon, 1 Mar 2004 17:04:29 -0500 From: Andrew J Caines To: FreeBSD Hackers Message-ID: <20040301220429.GA11963@hal9000.halplant.com> Mail-Followup-To: FreeBSD Hackers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.9-STABLE X-URL: http://halplant.com:88/ X-Yahoo-Profile: AJ_Z0 X-ICQ: 283813972 Importance: Normal User-Agent: Mutt/1.5.6i Subject: Recovering from RELENG_5_1 -> RELENG_5.2 world/kernel statfs fubar? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew J Caines List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 22:04:32 -0000 [ nb. There's a question at the bottom. The rest is for context and the archives, since I couldn't find this kind of detail there. ] System running RELENG_5_1 (5.1-p12, IIRC) built RELENG_5_2 and started installworld before installkernel in flagrant violation of the correct method and dire warnings of 20031112 in UPDATING. The installworld borked early on during an mtree process and for reasons I can't quite determine the output which should have eneded up in a file didn't. From the datestamps, most or much of /bin and /usr got updated. Booting the old (5.1) kernel made it almost to single user, but /bin/sh wouldn't play. With the help of CD 2 from my 5.1 set I put the new kernel in place and booted it, expecting the worst, however almost everything runs fine - desktop, tools, apps and even the not-yet-installed linux.ko. The problems I still have that /usr/bin/make was the old one, so there was no simple installkernel/world option to fix things. # /usr/bin/make Bad system call (core dumped) I replaced /usr/bin/make with /usr/obj/home/src/usr.bin/make/make and after being much confused relaced /usr/obj/home/src/make.i386/make too since this one appears to be used instead of /usr/bin/make - part of the bootstrap, presumably. With make appearing to work, a "make installkernel KERNCONF=MYKERNEL" bombed on the first "install". Unlike make, /usr/bin/install seems to run ok, despite being the old 5.1 version and doesn't core: # /usr/bin/install -v usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] ... After a bit of digging in /usr/obj and /usr/src, it looks like usr.bin/install has been replaced with usr.bin/xinstall, which gets installed as /usr/bin/install. Replacing /usr/bin/install with /usr/obj/home/src/i386/home/src/usr.bin/xinstall/xinstall made no difference and althugh this new /usr/bin/install seems to run ok, the installkernel still bombed with a signal 12: # make installkernel KERNCONF=MYKERNEL ... mkdir -p /boot/kernel install -p -m 555 -o root -g wheel kernel /boot/kernel *** Signal 12 This looks like it's doing the same kind of bootstrap jiggery-pokery, but I can't find another install after digging deep with find and make debugging output. Since install is static, it's not a so problem. Other seemingly broken bits I've found so far include logging through syslog (which is running), sockstat -4, csh (which I don't use and know is tcsh and is a contrib, but I can't find any sign of anything resenbing a csh binary in /usr/obj). How can I dig myself out of this hole so I can installkernel and installworld with my shiney new 5.2.1 build? I'm sure I've glossed over or missed much critial information, so please let me know whatis relevant and needed. For starteds, here are lists of all files in /bin, /lib, /usr/bin, /usr/lib and /sbin installed during the last installworld[1]. and all files not installed during the recent aborted installworld[2]. I'm AJC_Z0 (09:00 - 18:00 EST) and AJ_Z0 in #freebsd on FreeNode IRC. [1] http://halplant.com:88/misc/51.files.lastinstallworld [2] http://halplant.com:88/misc/51.files.ALL -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 | From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 14:17:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B79C16A4CE for ; Mon, 1 Mar 2004 14:17:06 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF40643D2F for ; Mon, 1 Mar 2004 14:17:01 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i21MGuKH016714 for ; Mon, 1 Mar 2004 14:16:56 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i21MGuYB016710 for FreeBSD-Hackers@FreeBSD.org; Mon, 1 Mar 2004 14:16:56 -0800 Date: Mon, 1 Mar 2004 14:16:56 -0800 From: Brooks Davis To: FreeBSD Hackers Message-ID: <20040301221655.GA23344@Odin.AC.HMC.Edu> References: <20040301220429.GA11963@hal9000.halplant.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <20040301220429.GA11963@hal9000.halplant.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Subject: Re: Recovering from RELENG_5_1 -> RELENG_5.2 world/kernel statfs fubar? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 22:17:06 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 01, 2004 at 05:04:29PM -0500, Andrew J Caines wrote: [Tale of pain and suffering related to statfs change omitted.] > How can I dig myself out of this hole so I can installkernel and > installworld with my shiney new 5.2.1 build? Download fixit CDs or floppy images for 5.2+ or from snapshots.jp.freebsd.org and install the included kernel on your hard drive by hand. It will work with your halfway installed world. Use that to install the correct kernel. Reboot with that kernel and finish following the instructions in UPDATING. Alternatly, you could use any fixit CD that can read your disks to install the new kernel by hand (i.e. copying files from /usr/obj). -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAQ7ZXXY6L6fI4GtQRAixHAKCs5fXNc+UcJ46OewVeAiPPdUXfsgCgp5VG d31qT1eFVssNR6Bgn4tSpNs= =Squ4 -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 18:33:45 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D599E16A4CE for ; Mon, 1 Mar 2004 18:33:45 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CC0043D1F for ; Mon, 1 Mar 2004 18:33:43 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i222WZDL093385 for ; Mon, 1 Mar 2004 21:32:35 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i222WZOf093382 for ; Mon, 1 Mar 2004 21:32:35 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 1 Mar 2004 21:32:35 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: hackers@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Looking for static analysis tool to generate call graphs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 02:33:45 -0000 I'd like to generate static call graphs from sections of src/sys/kern, src/sys/net, and src/sys/netinet, and ideally, get an output that looks pretty when printed to a (perhaps large) piece of paper. It doesn't need to be able to handle function pointer magic in structures (vnode operations, socket operations, file descriptor operations, sysinits, etc); I just want a fairly high-level graph to get a feel for particular chunks of code spanning a couple of C files. Anyone have any recommendations? Preferably something that can actually parse the variant of C we use in our kernel :-). Thanks, Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 22:21:50 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76D7216A4CE; Mon, 1 Mar 2004 22:21:50 -0800 (PST) Received: from relay.mortal.ru (unknown [62.16.86.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 394C143D1D; Mon, 1 Mar 2004 22:21:49 -0800 (PST) (envelope-from zevlg@yandex.ru) Received: from us.dmz.local (wus000.dmz.local [10.32.1.6]) by relay.mortal.ru (8.11.6/8.11.6) with ESMTP id i226LjJ28495; Tue, 2 Mar 2004 09:21:45 +0300 Received: from us.dmz.local (localhost.dmz.local [127.0.0.1]) by us.dmz.local (8.12.3/8.12.3) with ESMTP id i226Pqxt025431; Tue, 2 Mar 2004 09:25:52 +0300 (MSK) (envelope-from zevlg@yandex.ru) Received: (from wtc05@localhost) by us.dmz.local (8.12.3/8.12.3/Submit) id i226PoGN025430; Tue, 2 Mar 2004 09:25:50 +0300 (MSK) X-Authentication-Warning: us.dmz.local: wtc05 set sender to zevlg@yandex.ru using -f To: Robert Watson References: From: Zajcev Evgeny Date: Tue, 02 Mar 2004 09:25:50 +0300 In-Reply-To: (Robert Watson's message of "Mon, 1 Mar 2004 21:32:35 -0500 (EST)") Message-ID: <82y8qjhij5.fsf@us.dmz.local> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celery, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: hackers@freebsd.org Subject: Re: Looking for static analysis tool to generate call graphs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 06:21:50 -0000 Robert Watson writes: > I'd like to generate static call graphs from sections of src/sys/kern, > src/sys/net, and src/sys/netinet, and ideally, get an output that looks > pretty when printed to a (perhaps large) piece of paper. It doesn't need > to be able to handle function pointer magic in structures (vnode > operations, socket operations, file descriptor operations, sysinits, etc); > I just want a fairly high-level graph to get a feel for particular chunks > of code spanning a couple of C files. Anyone have any recommendations? > Preferably something that can actually parse the variant of C we use in > our kernel :-). > I used patch to gcc to output call graph in dot format based on parse tree generated by gcc year or so ago. It was pretty nice, but I dont awared is this patch yet supported or not. You can find some info about it at http://luxik.cdi.cz/~devik/mm.htm > Thanks, > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Senior Research Scientist, McAfee Research > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- lg From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 1 22:44:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87B0616A4CE for ; Mon, 1 Mar 2004 22:44:35 -0800 (PST) Received: from cydem.org (h68-149-254-167.ed.shawcable.net [68.149.254.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF60F43D2F for ; Mon, 1 Mar 2004 22:44:33 -0800 (PST) (envelope-from soralx@cydem.org) Received: by cydem.org (Postfix/FreeBSD, from userid 426) id 835E339466; Mon, 1 Mar 2004 23:44:33 -0700 (MST) Received: from soralx.cydem.org (h68-149-254-171.ed.shawcable.net [68.149.254.171]) by cydem.org (Postfix/FreeBSD) with ESMTP id F0070389B8 for ; Mon, 1 Mar 2004 23:44:32 -0700 (MST) From: To: hackers@freebsd.org Date: Mon, 1 Mar 2004 23:44:29 -0700 User-Agent: KMail/1.5 References: <20040301032856.GA10110@xor.obsecurity.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403012344.29357.soralx@cydem.org> Subject: Re: SPAM/virii apparently from freeBSD addresses. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 06:44:35 -0000 > Swen and MyDoom are easy to detect and reject at the SMTP stage. The > fact that our mail servers don't do this is a PITA, as it forces list > subscribers to accept them as well (if you reject list mail because it > contains a virus, Mailman disables your subscription) not a problem - those should be silently discarded and not rejected anyway Timestamp: 0x40442CF6 [SorAlx] http://cydem.org.ua/ From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 00:10:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16CB016A4CE for ; Tue, 2 Mar 2004 00:10:08 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5957743D31 for ; Tue, 2 Mar 2004 00:10:07 -0800 (PST) SRS0=GDDuOwti=F7=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i228A5Jh074049 for freebsd-hackers@freebsd.org; Tue, 2 Mar 2004 09:10:05 +0100 (CET) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200403020810.I228A5FQ074036@asarian-host.net> Date: Tue, 02 Mar 2004 08:10:05 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: hRIbvWH3i+NIkXe1GoObG7iuZWc87bfTgJUMV+8OEYdfql41rR3TTX5xuqpDVWfHgVqLtOkwpXNc/gJmQzm4qg== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAQERBXTFqW1BleBN9AQGQqgf+JIMPQYTVZfk6SVbSAgeO2Ac30ZhISOB0 fkwwZIhB3mDcmR/FtomOS25JATmcBJRuLsTXEq/v17MBmlHD4o1A58mFAua2qJGs bcVeJOzxd4WFKjXX1i+tS4FPm9dkTOvneZYnx9KB2X8wxOO/Ho1BlkJ6nw3UYhs2 sfl8cmfJcdDgC5PoYgL+leshIPCkseuJ3uRtEMDzcnA2c2EmTSjRFMmNtDDT2usK J0NVBYm9/K8lZJ3nwYs05orgilhKr4VufttUh7VRNznT/Y1gqRQIi6gXOBRQM7lT eMWZNQo4P/0CIhwnGnYc4bXcddgM1XOzg0Kkda6cRBjwKrW+us5HgA== =LT+b Subject: FreeBSD 4.7R and SATA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 08:10:08 -0000 Hello, Does FreeBSD 4.7R support SATA drives? I was planning on using an ASUS A7V600 motherboard, which has a serial ATA RAID configuration. Thanks, - Mark From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 00:17:15 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4242A16A4CE; Tue, 2 Mar 2004 00:17:15 -0800 (PST) Received: from pathfinder.roks.biz (roks.biz [212.110.133.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id F217F43D1D; Tue, 2 Mar 2004 00:17:12 -0800 (PST) (envelope-from quetzal@roks.biz) Received: from pathfinder.roks.biz (localhost.roks.biz [127.0.0.1]) by pathfinder.roks.biz (8.12.9p2/8.12.9) with ESMTP id i2288JOs002381; Tue, 2 Mar 2004 10:08:20 +0200 (EET) (envelope-from quetzal@pathfinder.roks.biz) Received: (from quetzal@localhost) by pathfinder.roks.biz (8.12.9p2/8.12.9/Submit) id i2288Hja002380; Tue, 2 Mar 2004 10:08:17 +0200 (EET) (envelope-from quetzal) Date: Tue, 2 Mar 2004 10:08:17 +0200 From: quetzal@roks.biz To: Dmitry Morozovsky Message-ID: <20040302080817.GA2311@pathfinder.roks.biz> References: <20040229004436.F85955@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040229004436.F85955@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org cc: hackers@freebsd.org cc: Julian Elischer Subject: Re: HEADSUP.. USB MFC coming.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 08:17:15 -0000 On Sun, Feb 29, 2004 at 12:54:33AM +0300, Dmitry Morozovsky wrote: > > Well, my main headache (SONY Clie SJ20) is now in a bit different state; before > (at 4.9p1) it failed to attach with > > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 > ucom0: init failed, STALLED > device_probe_and_attach: ucom0 attach returned 6 > ugen0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 > > now it is correctly identified (after HotSync activation) as Strange... On my Sony Clie SJ33 this patch seems does not take effect: ucom0: Sony Palm Handheld, rev 1.10/1.00, addr 2 ucom0: Sony Palm Handheld, rev 1.10/1.00, addr 2 ucom0: init failed, IOERROR device_probe_and_attach: ucom0 attach returned 6 uhub0: port 2, set config at addr 2 failed uhub0: device problem, disabling port 2 uhub0: port error, restarting port 2 It is not a bug report about this patch it's just a vout for device. Best regards, Nikolay Pavlov. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 00:39:00 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D884716A4CE for ; Tue, 2 Mar 2004 00:39:00 -0800 (PST) Received: from dmlb.org (cpc2-cmbg4-6-0-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09D9843D1F for ; Tue, 2 Mar 2004 00:39:00 -0800 (PST) (envelope-from dmlb@dmlb.org) Received: from cpc2-cmbg4-6-0-cust36.cmbg.cable.ntl.com ([81.96.76.36] helo=DJK1Comp) by dmlb.org with smtp (Exim 3.36 #1) id 1Ay5Py-000Ikr-00; Tue, 02 Mar 2004 08:38:22 +0000 Message-ID: <004a01c40031$b70c4a50$a7ac77c1@DJK1Comp> From: "Duncan Barclay" To: "Mark" , References: <200403020810.I228A5FQ074036@asarian-host.net> Date: Tue, 2 Mar 2004 08:38:19 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Subject: Re: FreeBSD 4.7R and SATA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 08:39:01 -0000 From: "Mark" Subject: FreeBSD 4.7R and SATA > Hello, > > Does FreeBSD 4.7R support SATA drives? I was planning on using an ASUS > A7V600 motherboard, which has a serial ATA RAID configuration. Check the archives for a couple of hacks to recognise the chipsets correctly. I cannot remember if this is for the A7V600 board. But it is for a recent Asus board. It should give you some pointers. http://lists.freebsd.org/pipermail/freebsd-hackers/2003-December/004351.html Duncan From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 00:51:42 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AC0516A4CE for ; Tue, 2 Mar 2004 00:51:42 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id C880343D1F for ; Tue, 2 Mar 2004 00:51:41 -0800 (PST) SRS0=GDDuOwti=F7=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i228peFn075299 for freebsd-hackers@freebsd.org; Tue, 2 Mar 2004 09:51:40 +0100 (CET) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200403020851.I228PCQF075271@asarian-host.net> Date: Tue, 02 Mar 2004 08:51:40 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: Pyp1her9a7DGmnBDjjnzUm0kvlq9AvR5VwFbCbbbNwx55YM9vXXwvOlarxhNWp4SIEpjwShSSsFEPDuBux1u7Q== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: "Duncan Barclay" References: <200403020810.I228A5FQ074036@asarian-host.net> <004a01c40031$b70c4a50$a7ac77c1@DJK1Comp> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAQERLHDFqW1BleBN9AQFgAggAju7fxmeRfbHEsxcDys7nj22IdFANZKNm o3jjCTLxvbxha1UynrIKwZwkW3VkxW/k0JBJMsuSyAZwHgtt2Z03e8ZG+SMTdK6Z v88AeTsd16JWtENLEdM4N7YZ6ZBbOz9PDSuUeGnAafQW8WFEoAUkwd93mjGG/rPh kwRvgPnnmiaVGw5Q2nP8wz63jMvfkMJslWYiobGBtcEFd7lZi6QsOtvSVWhFRKH1 ElxZnFFOaqjoTVdT3ay795wClBe4ag4+l1x8KaLKXELm41T3vytXYmH+hYFbbKgo s8WKMjidV3+Ecd+ou7TLpPISxep/MvYk+4DGYq38oUhLQQK7fGtsFg== =oQna cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 4.7R and SATA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 08:51:42 -0000 ----- Original Message ----- From: "Duncan Barclay" To: "Mark" ; Sent: Tuesday, March 02, 2004 9:39 AM Subject: Re: FreeBSD 4.7R and SATA > > Hello, > > > > Does FreeBSD 4.7R support SATA drives? I was planning on using an > > ASUS A7V600 motherboard, which has a serial ATA RAID configuration. > > Check the archives for a couple of hacks to recognise the chipsets > correctly. Thanks for replying. I neglected to mention that the controller is the VT8237. I did indeed see some patches, for 5.2. But I am really needing it for 4.7R as well (upgrading the system o 5.2 is, for various reasons, undoable). Would such a patch work on 4.7 too? Thanks, - Mark From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 01:19:50 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8157716A4CE for ; Tue, 2 Mar 2004 01:19:50 -0800 (PST) Received: from dmlb.org (cpc2-cmbg4-6-0-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4348A43D3F for ; Tue, 2 Mar 2004 01:19:50 -0800 (PST) (envelope-from dmlb@dmlb.org) Received: from cpc2-cmbg4-6-0-cust36.cmbg.cable.ntl.com ([81.96.76.36] helo=DJK1Comp) by dmlb.org with smtp (Exim 3.36 #1) id 1Ay63a-000IqH-00; Tue, 02 Mar 2004 09:19:18 +0000 Message-ID: <005801c40037$6ec545c0$a7ac77c1@DJK1Comp> From: "Duncan Barclay" To: "Mark" References: <200403020810.I228A5FQ074036@asarian-host.net> <004a01c40031$b70c4a50$a7ac77c1@DJK1Comp> <200403020851.I228PCQF075271@asarian-host.net> Date: Tue, 2 Mar 2004 09:19:14 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 4.7R and SATA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 09:19:50 -0000 > > > Hello, > > > > > > Does FreeBSD 4.7R support SATA drives? I was planning on using an > > > ASUS A7V600 motherboard, which has a serial ATA RAID configuration. > > > > Check the archives for a couple of hacks to recognise the chipsets > > correctly. > > Thanks for replying. I neglected to mention that the controller is the > VT8237. > > I did indeed see some patches, for 5.2. But I am really needing it for 4.7R > as well (upgrading the system o 5.2 is, for various reasons, undoable). > Would such a patch work on 4.7 too? These are for 4.9, but I think they will apply for 4.7R > Thanks, > > - Mark > > > From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 03:28:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAD0216A4CE for ; Tue, 2 Mar 2004 03:28:47 -0800 (PST) Received: from jam.adverticum.net (jam.adverticum.net [195.228.75.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19B2A43D3F for ; Tue, 2 Mar 2004 03:28:47 -0800 (PST) (envelope-from grinder@pro.hu) Received: from wakumbi.prim.hu (wakumbi.prim.hu [195.228.75.115]) by jam.adverticum.net (Postfix) with ESMTP id E9E8BAB1EE for ; Tue, 2 Mar 2004 12:28:44 +0100 (CET) Received: from www-data by wakumbi.prim.hu with local (Exim 3.35 #1 (Debian)) id 1Ay84q-0002Kt-00 for ; Tue, 02 Mar 2004 12:28:44 +0100 Received: from gprs4.vodafone.hu [80.244.96.196] by www-data with webmail (PrimPosta); Tue, Mar 2 12:28:44 2004 +0100 (CET) From: grinder To: freebsd-hackers@freebsd.org Errors-To: grinder@pro.hu X-Sender: grinder@pro.hu MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Mailer: PrimPosta Sender: grinder@pro.hu Message-Id: Date: Tue, 02 Mar 2004 12:28:44 +0100 Subject: Re: Re: Sockets and the owner process X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: grinder List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 11:28:47 -0000 > The best you can hope for is to determine processes that are actually > using the socket, and that can vary during the socket's lifetime. You > would have to scour the file descriptor tables in all process > structures to determine which processes had a handle on each socket you > have an interest in. I found that too your solution is the only way. But i have a problem with that. The proc structure has a variable: struct vnode *p_tracep; This is a pointer to the vnode list, so this is good for me, if i can walk through the opened vnode list for a process. But how can i find out which process opened that vnode and how can i walk through the opened vnode list (for one specified process)? As i see the vnode struct has multiple variables with vnode pointer type: struct vnode { ... TAILQ_ENTRY(vnode) v_freelist; /* vnode freelist */ TAILQ_ENTRY(vnode) v_nmntvnodes; /* vnodes for mount point */ LIST_ENTRY(vnode) v_synclist; /* vnodes with dirty buffers */ ... struct vnode *v_dd; /* .. vnode */ ... }; Which way is good for me if i would like to walk through the list (so which is a pointer to the next vnode item)? Thanks, Tibor Kiss From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 01:07:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA63016A4CE for ; Tue, 2 Mar 2004 01:07:01 -0800 (PST) Received: from jkh-gw.brierdr.com (adsl-64-173-3-158.dsl.sntc01.pacbell.net [64.173.3.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A60643D1F for ; Tue, 2 Mar 2004 01:07:01 -0800 (PST) (envelope-from jkh@queasyweasel.com) Received: from [64.173.15.98] (IDENT:470-ident-is-a-completely-pointless-protocol-that-offers-no-security-or-traceability-at-all-so-take@adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by jkh-gw.brierdr.com (8.12.10/8.12.10) with ESMTP id i2296OrF015719 for ; Tue, 2 Mar 2004 01:06:24 -0800 (PST) (envelope-from jkh@queasyweasel.com) Mime-Version: 1.0 (Apple Message framework v612) To: FreeBSD Hackers Message-Id: Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-2--1020512019; protocol="application/pkcs7-signature" From: "Jordan K. Hubbard" Date: Tue, 2 Mar 2004 01:06:59 -0800 X-Mailer: Apple Mail (2.612) X-Mailman-Approved-At: Tue, 02 Mar 2004 05:16:55 -0800 X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Another conformance question... This time fputs(). X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 09:07:01 -0000 --Apple-Mail-2--1020512019 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I submit for your consideration the following test program and the wonderful variety of test results it produces: #include #include int main(int argc, char *argv[]) { int rc; FILE *fp=fopen("/dev/zero", "r"); rc = fputs("Hello world\n", fp); printf("errno = %d, rc = %d\n", errno, rc); errno = 0; rc = fwrite("Hello world again\n", 1, 18, fp); printf("fwrite errno = %d, rc = %d\n", errno, rc); fclose(fp); } On Red Hat Linux 9.0, it outputs the following: errno = 9, rc = -1 fwrite errno = 9, rc = 0 Just to save you the grepping, errno #9 is EBADF, "bad file number". Now we KNOW that the mode on that fopen is (a) on a device which doesn't allow writing and (b) of the wrong open mode ("r" rather than "w"), but this discussion concerns "the right thing to do" when faced with just these sorts of bogus situations and one could probably argue that Linux returns the wrong errno here, but it does set errno. What does FreeBSD do? It does this: errno = 0, rc = -1 fwrite errno = 0, rc = 0 Given that it's just not kosher to write on a read-only fp and get no error back at all, I would argue (though not passionately) for the following diff to libc: --- stdio/fvwrite.c 22 Mar 2002 21:53:04 -0000 1.15 +++ stdio/fvwrite.c 2 Mar 2004 08:40:25 -0000 @@ -43,6 +43,7 @@ #include #include #include +#include #include "local.h" #include "fvwrite.h" @@ -67,8 +68,10 @@ if ((len = uio->uio_resid) == 0) return (0); /* make sure we can write */ - if (cantwrite(fp)) + if (cantwrite(fp)) { + errno = EACCES; return (EOF); + } #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define COPY(n) (void)memcpy((void *)fp->_p, (void *)p, (size_t)(n)) That gives us this behavior for our little test program: errno = 13, rc = -1 fwrite errno = 13, rc = 0 In both cases, we get EACCES for fputs() or fwrite() attempts on a read-only file pointer pointing to a read-only device, something we'd expect to get "permission denied" for I think. In the case where we open the fp for write access, the FreeBSD behavior is unchanged: errno = 19, rc = 0 fwrite errno = 0, rc = 18 Which gives us ENODEV for the fputs(3) and no error for the fwrite(3). I'm not sure why an error is returned at all in the fputs(3) case since it seems perfectly valid to write onto /dev/null and simply have the data be discarded, but that error is coming back from somewhere deeper of the bowels of stdio and has nothing to do with my proposed diff in any case. Red Hat Linux, interestingly enough, returns errno 25 in this case (ENOTTY)! This is your libc. This is your libc on SUSv2*. Any questions? * References: http://www.opengroup.org/onlinepubs/007908799/xsh/fwrite.html http://www.opengroup.org/onlinepubs/007908799/xsh/fputs.html -- Jordan K. Hubbard Engineering Manager, BSD technology group Apple Computer --Apple-Mail-2--1020512019-- From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 00:29:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16E5D16A4CE for ; Tue, 2 Mar 2004 00:29:02 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BEB943D1F for ; Tue, 2 Mar 2004 00:29:01 -0800 (PST) (envelope-from sos@DeepCore.dk) Received: from DeepCore.dk (sos.deepcore.dk [194.192.25.130]) by spider.deepcore.dk (8.12.10/8.12.10) with ESMTP id i228Ph0G092732; Tue, 2 Mar 2004 09:25:43 +0100 (CET) (envelope-from sos@DeepCore.dk) Message-ID: <404445A7.5050701@DeepCore.dk> Date: Tue, 02 Mar 2004 09:28:23 +0100 From: =?windows-1252?Q?S=F8ren_Schmidt?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040126 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark References: <200403020810.I228A5FQ074036@asarian-host.net> In-Reply-To: <200403020810.I228A5FQ074036@asarian-host.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 X-Mailman-Approved-At: Tue, 02 Mar 2004 05:17:55 -0800 cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 4.7R and SATA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 08:29:02 -0000 Mark wrote: > Hello, > > Does FreeBSD 4.7R support SATA drives? I was planning on using an ASUS > A7V600 motherboard, which has a serial ATA RAID configuration. You need somthing much more up to date than 4.7R to get SATA support. 4.9 has limitted support for a few SATA controllers, but to get real SATA support you need to go for 5.2.1 -Søren From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 03:03:45 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C98F516A4CF for ; Tue, 2 Mar 2004 03:03:45 -0800 (PST) Received: from nexlab.it (danex.i-m-c.it [213.198.155.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 5CC2843D2F for ; Tue, 2 Mar 2004 03:03:44 -0800 (PST) (envelope-from thefly@acaro.org) Received: (qmail 20598 invoked by uid 1220); 2 Mar 2004 11:03:43 -0000 Message-ID: <20040302110343.20597.qmail@nexlab.it> From: thefly@acaro.org To: freebsd-hackers@freebsd.org Date: Tue, 02 Mar 2004 12:03:43 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 02 Mar 2004 05:17:55 -0800 Subject: [Driver WD1100] Compilation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 11:03:45 -0000 hello, i've got a question about the driver compilation. I finally wrote my driver, and i'm trying to compile it to test it. I tryed to use /usr/share/examples/drivers/make_device_driver.sh to build the whole stuff, but it doesn't work... Anyway I put the driver.c and the header i built to /usr/src/sys/dev/wd/ and trying to compile it with gcc -I/sys but it gives me a bunch of errors about definitions it doesn't find (definitions of kernel functions and structures). I didn't find this question in the FAQ so my question is: now that the .c is written, how do i compile it and link it to the kernel image? My previous post was about the use of the NewBus interface for accessing PCI devices, could some of you please have a look at my driver (it's about 200 lines with includes and comments and stuff) http://chiakotay.acaro.org/acaro/wd1100/ . Thanks in advance, Claudio Martella From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 03:05:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88CA016A4CE for ; Tue, 2 Mar 2004 03:05:35 -0800 (PST) Received: from nexlab.it (danex.i-m-c.it [213.198.155.21]) by mx1.FreeBSD.org (Postfix) with SMTP id DCEFB43D1F for ; Tue, 2 Mar 2004 03:05:34 -0800 (PST) (envelope-from thefly@acaro.org) Received: (qmail 20681 invoked by uid 1220); 2 Mar 2004 11:05:34 -0000 Message-ID: <20040302110534.20680.qmail@nexlab.it> From: thefly@acaro.org To: freebsd-hackers@freebsd.org Date: Tue, 02 Mar 2004 12:05:34 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 02 Mar 2004 05:17:55 -0800 Subject: [Driver WD1100] Ooops URL error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 11:05:35 -0000 hello, i'm sorry, i wrote the wrong URL in my last message, the right one is http://chiakotay.nexlab.it/acaro/wd1100/ thanks Claudio Martella From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 07:17:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C34F16A4CE for ; Tue, 2 Mar 2004 07:17:39 -0800 (PST) Received: from msgbas2x.cos.agilent.com (msgbas1tx.cos.agilent.com [192.25.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBF5A43D1F for ; Tue, 2 Mar 2004 07:17:38 -0800 (PST) (envelope-from chuck_tuffli@agilent.com) Received: from relcos1.cos.agilent.com (relcos1.cos.agilent.com [130.29.152.239]) by msgbas2x.cos.agilent.com (Postfix) with ESMTP id 67CE588FD; Tue, 2 Mar 2004 08:17:38 -0700 (MST) Received: from rtl.rose.agilent.com (rtl.rose.agilent.com [130.30.179.189]) by relcos1.cos.agilent.com (Postfix) with ESMTP id 150915BA; Tue, 2 Mar 2004 08:17:38 -0700 (MST) Received: from cre85086tuf.rose.agilent.com (cre85086tuf [130.30.174.150]) ESMTP id HAA11741; Tue, 2 Mar 2004 07:17:36 -0800 (PST) Received: by cre85086tuf.rose.agilent.com (Postfix, from userid 1001) id A8CB819E2AC; Tue, 2 Mar 2004 07:17:22 -0800 (PST) Date: Tue, 2 Mar 2004 07:17:22 -0800 From: Chuck Tuffli To: thefly@acaro.org Message-ID: <20040302151722.GA10533@cre85086tuf.rose.agilent.com> References: <20040302110343.20597.qmail@nexlab.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040302110343.20597.qmail@nexlab.it> User-Agent: Mutt/1.4i cc: freebsd-hackers@freebsd.org Subject: Re: [Driver WD1100] Compilation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 15:17:39 -0000 On Tue, Mar 02, 2004 at 06:03:43AM -0500, thefly@acaro.org wrote: > hello, i've got a question about the driver compilation. I finally wrote > my driver, and i'm trying to compile it to test it. I tryed to use > /usr/share/examples/drivers/make_device_driver.sh to build the whole > stuff, but it doesn't work... Anyway I put the driver.c and the header i [snip] Try creating a Makefile similar to the other loadable modules. For example, MAINTAINER = you@yourdomain.whatever KMOD = mydriver .PATH: ${.CURDIR}/../../dev/wd SRCS = driver.c .include Then just type make. See src/sys/modules/*/Makefile for other examples. -- Chuck Tuffli Agilent Technologies, Storage Area Networking From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 08:16:42 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A704216A4CE for ; Tue, 2 Mar 2004 08:16:42 -0800 (PST) Received: from msgbas1x.cos.agilent.com (msgbas1x.cos.agilent.com [192.25.240.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F4243D2F for ; Tue, 2 Mar 2004 08:16:42 -0800 (PST) (envelope-from chuck_tuffli@agilent.com) Received: from relcos1.cos.agilent.com (relcos1.cos.agilent.com [130.29.152.239]) by msgbas1x.cos.agilent.com (Postfix) with ESMTP id 2835127246; Tue, 2 Mar 2004 09:16:42 -0700 (MST) Received: from rtl.rose.agilent.com (rtl.rose.agilent.com [130.30.179.189]) by relcos1.cos.agilent.com (Postfix) with ESMTP id CF0B158D; Tue, 2 Mar 2004 09:16:41 -0700 (MST) Received: from cre85086tuf.rose.agilent.com (cre85086tuf [130.30.174.150]) ESMTP id IAA14469; Tue, 2 Mar 2004 08:16:39 -0800 (PST) Received: by cre85086tuf.rose.agilent.com (Postfix, from userid 1001) id 311F319E2AC; Tue, 2 Mar 2004 08:16:28 -0800 (PST) Date: Tue, 2 Mar 2004 08:16:28 -0800 From: Chuck Tuffli To: thefly@acaro.org Message-ID: <20040302161627.GB10533@cre85086tuf.rose.agilent.com> References: <20040302155403.6267.qmail@nexlab.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040302155403.6267.qmail@nexlab.it> User-Agent: Mutt/1.4i cc: freebsd-hackers@freebsd.org Subject: Re: Compilation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 16:16:42 -0000 For the pci_* calls, you need to add the interface stuff. In Makefile SRC = bus_if.h device_if.h pci_if.h device.c In device.c uncomment the #include lines ---chuck On Tue, Mar 02, 2004 at 10:54:03AM -0500, thefly@acaro.org wrote: > I did that. I've got some #difine collisions with PCI and some system > defines not finding files like: > > @/sys/bus.h:320: device_if.h: No such file or directory > @/sys/bus.h:321: bus_if.h: No such file or directory > In file included from wd1100-lkm.c:28: > @/pci/pcivar.h:176: pci_if.h: No such file or directory > In file included from wd1100-lkm.c:28: > > or problems with functions not found like: > > @/pci/pcivar.h: In function `pci_enable_io': > @/pci/pcivar.h:274: warning: implicit declaration of function > `PCI_ENABLE_IO' > @/pci/pcivar.h: In function `pci_disable_io': > @/pci/pcivar.h:280: warning: implicit declaration of function > `PCI_DISABLE_IO' > @/pci/pcivar.h: In function `pci_set_powerstate': > @/pci/pcivar.h:307: warning: implicit declaration of function > `PCI_SET_POWERSTATE' > > code is here: http://chiakotay.nexlab.it/acaro/wd1100/wd1100.c > > > > > Chuck Tuffli writes: > > Try creating a Makefile similar to the other loadable modules. For > > example, > > > > MAINTAINER = you@yourdomain.whatever > > KMOD = mydriver > > > > .PATH: ${.CURDIR}/../../dev/wd > > > > SRCS = driver.c > > > > .include > > > > Then just type make. See src/sys/modules/*/Makefile for other > > examples. > > -- Chuck Tuffli Agilent Technologies, Storage Area Networking From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 11:52:23 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9C3E16A4CE for ; Tue, 2 Mar 2004 11:52:23 -0800 (PST) Received: from lilzmailso01.liwest.at (lilzmailso01.liwest.at [212.33.55.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D6CF43D2D for ; Tue, 2 Mar 2004 11:52:23 -0800 (PST) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at ([212.33.58.27]) by lilzmailso01.liwest.at with esmtp (Exim 4.24) id 1AyFwD-0001jg-LF for hackers@freebsd.org; Tue, 02 Mar 2004 20:52:21 +0100 From: Daniela To: hackers@freebsd.org Date: Tue, 2 Mar 2004 20:46:22 +0000 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403022046.22882.dgw@liwest.at> Subject: Strange behaviour in assembly language program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 19:52:24 -0000 Hi! I'm already a bit experienced with assembly, and started to enter my executables directly in the hexeditor (for educational purpose only; I know this is poor programming style). I do not yet fully understand all aspects of the ELF header, but I managed to somehow write working ELF executables. I tried first a program that exits with status 1, and it works. But then I tried other values, and found out that it always exits with 1 no matter what I enter. I don't think I made a stupid mistake, because the Linux version (exit value given in EBX and ELF_OSABI = 03) runs perfectly in emulation mode. The first strange thing is, that it doesn't run on a real Linux system (tells me it doesn't have enough core memory for a 96 byte program). Second strange thing: Finally I came up with the simplest ASM program that reproduces the error. Here it is: .text .global _start _start: pushl $0 movl $1, %eax int $0x80 I looked everywhere (Developer's handbook, Google, ...) to find the solution, but all resources I consulted tell me this is the right way to do it. This program, however, always exits with 1 regardless of the value I push. Please, can someone tell me that I made a really stupid error? I'm already pulling my hair out. Thanks for your time. Daniela From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 12:15:54 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE3F916A4CE for ; Tue, 2 Mar 2004 12:15:54 -0800 (PST) Received: from episec.com (episec.com [69.55.237.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 78B8E43D1F for ; Tue, 2 Mar 2004 12:15:54 -0800 (PST) (envelope-from edelkind-freebsd-hackers@episec.com) Received: (qmail 15845 invoked by uid 1024); 2 Mar 2004 20:15:54 -0000 Date: Tue, 2 Mar 2004 15:15:54 -0500 From: ari To: Daniela Message-ID: <20040302201554.GA50518@episec.com> Mail-Followup-To: ari , Daniela , hackers@freebsd.org References: <200403022046.22882.dgw@liwest.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403022046.22882.dgw@liwest.at> cc: hackers@freebsd.org Subject: Re: Strange behaviour in assembly language program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 20:15:54 -0000 dgw@liwest.at said this stuff: > Finally I came up with the simplest ASM program that reproduces the error. > Here it is: > > .text > .global _start > _start: > pushl $0 > movl $1, %eax > int $0x80 > > I looked everywhere (Developer's handbook, Google, ...) to find the solution, > but all resources I consulted tell me this is the right way to do it. > This program, however, always exits with 1 regardless of the value I push. The kernel expects the interrupt to take place from within a function. Try: .text .global _start _start: pushl $8 movl $1, %eax call doint doint: int $0x80 Or, if you really want the program as simple as possible, you can push 0, eax, garbage, anything onto the stack in place of the return address: .text .global _start _start: pushl $8 pushl $0 movl $1, %eax int $0x80 ari From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 13:16:31 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B8BF16A4CE for ; Tue, 2 Mar 2004 13:16:31 -0800 (PST) Received: from lilzmailso01.liwest.at (lilzmailso01.liwest.at [212.33.55.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2290D43D2D for ; Tue, 2 Mar 2004 13:16:31 -0800 (PST) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at ([212.33.58.27]) by lilzmailso01.liwest.at with esmtp (Exim 4.24) id 1AyHFd-0003gI-Hh; Tue, 02 Mar 2004 22:16:29 +0100 From: Daniela To: ari Date: Tue, 2 Mar 2004 22:10:31 +0000 User-Agent: KMail/1.5.3 References: <200403022046.22882.dgw@liwest.at> <20040302201554.GA50518@episec.com> In-Reply-To: <20040302201554.GA50518@episec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403022210.31451.dgw@liwest.at> cc: hackers@freebsd.org Subject: Re: Strange behaviour in assembly language program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 21:16:31 -0000 On Tuesday 02 March 2004 20:15, ari wrote: > dgw@liwest.at said this stuff: > > Finally I came up with the simplest ASM program that reproduces the > > error. Here it is: > > > > .text > > .global _start > > _start: > > pushl $0 > > movl $1, %eax > > int $0x80 > > > > I looked everywhere (Developer's handbook, Google, ...) to find the > > solution, but all resources I consulted tell me this is the right way to > > do it. This program, however, always exits with 1 regardless of the value > > I push. > > .text > .global _start > _start: > pushl $8 > pushl $0 > movl $1, %eax > int $0x80 With this suggestion, it always returns 0 instead of 1. Shouldn't pushl place 4 bytes on the stack? It translates into the instruction 0x6A (pushes only one byte). BTW, when I assemble it with as(1), there is always an extra instruction after my code, and it's a different one each time (and it's always one that effectively does nothing). Who ordered that? Is it because of alignment constraints in the ELF file? From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 19:19:42 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11FF016A4CF for ; Tue, 2 Mar 2004 19:19:42 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A21D843D3F for ; Tue, 2 Mar 2004 19:19:41 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i233IVDL017403 for ; Tue, 2 Mar 2004 22:18:31 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i233IVB8017400 for ; Tue, 2 Mar 2004 22:18:31 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 2 Mar 2004 22:18:31 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: hackers@FreeBSD.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Looking for static analysis tool to generate call graphs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 03:19:42 -0000 On Mon, 1 Mar 2004, Robert Watson wrote: > I'd like to generate static call graphs from sections of src/sys/kern, > src/sys/net, and src/sys/netinet, and ideally, get an output that looks > pretty when printed to a (perhaps large) piece of paper. It doesn't > need to be able to handle function pointer magic in structures (vnode > operations, socket operations, file descriptor operations, sysinits, > etc); I just want a fairly high-level graph to get a feel for particular > chunks of code spanning a couple of C files. Anyone have any > recommendations? Preferably something that can actually parse the > variant of C we use in our kernel :-). Well, using a scary combination of grep, awk, a long list of "omit this" regexp's, and prcc from cflow, I got the following: http://www.watson.org/~robert/freebsd/20040302-sockets.ps Duck and cover. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 22:27:49 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 656D716A4CE for ; Tue, 2 Mar 2004 22:27:49 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91B4C43D3F for ; Tue, 2 Mar 2004 22:27:48 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i236RerQ017621 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Wed, 3 Mar 2004 07:27:46 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i236RWuL005630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 3 Mar 2004 07:27:32 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id i236RVc5082778 for ; Wed, 3 Mar 2004 07:27:31 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id i236RVaG082777 for freebsd-hackers@freebsd.org; Wed, 3 Mar 2004 07:27:31 +0100 (CET) (envelope-from ticso) Date: Wed, 3 Mar 2004 07:27:31 +0100 From: Bernd Walter To: freebsd-hackers@freebsd.org Message-ID: <20040303062730.GK44313@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de Subject: how to get cpu states more than once a second? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 06:27:49 -0000 Currently I get the states via kern.cp_time, but this only allows a granularity of a single second and I need something around 50-100ms. Application is a LED bargraph which doesn't have the intended effect with just a single update per second. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 22:43:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 037EC16A4CE; Tue, 2 Mar 2004 22:43:06 -0800 (PST) Received: from relay.mortal.ru (unknown [62.16.86.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB48A43D31; Tue, 2 Mar 2004 22:43:04 -0800 (PST) (envelope-from zevlg@yandex.ru) Received: from us.dmz.local (wus000.dmz.local [10.32.1.6]) by relay.mortal.ru (8.11.6/8.11.6) with ESMTP id i236h2J13901; Wed, 3 Mar 2004 09:43:02 +0300 Received: from us.dmz.local (localhost.dmz.local [127.0.0.1]) by us.dmz.local (8.12.3/8.12.3) with ESMTP id i236l9xt088506; Wed, 3 Mar 2004 09:47:09 +0300 (MSK) (envelope-from zevlg@yandex.ru) Received: (from wtc05@localhost) by us.dmz.local (8.12.3/8.12.3/Submit) id i236l8Aa088505; Wed, 3 Mar 2004 09:47:08 +0300 (MSK) X-Authentication-Warning: us.dmz.local: wtc05 set sender to zevlg@yandex.ru using -f To: Robert Watson References: From: Zajcev Evgeny Date: Wed, 03 Mar 2004 09:47:08 +0300 In-Reply-To: (Robert Watson's message of "Tue, 2 Mar 2004 22:18:31 -0500 (EST)") Message-ID: <82brneh1g3.fsf@us.dmz.local> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celery, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: hackers@freebsd.org Subject: Re: Looking for static analysis tool to generate call graphs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 06:43:06 -0000 Robert Watson writes: > Well, using a scary combination of grep, awk, a long list of "omit this" > regexp's, and prcc from cflow, I got the following: > > http://www.watson.org/~robert/freebsd/20040302-sockets.ps Actually it looks kind a mess. Maybe use dot's clustering or ranking to organize callgraph a little? like this: Clustering output: digraph cg { a -> b; b->c; a->c; c->d; a->d; subgraph "cluster_one.c" { label="one.c"; a; b;}; subgraph "cluster_two.c" { label="two.c"; c; d;} } Layered output: digraph cg { a -> b; b->c; a->c; c->d; a->d; { rank = same; a; c; } { rank = same; b; d; } } So soXXX functions may be with same rank, also some high level functions such as `accept', `listen', `send', etc may have same rank, so callgraph will look like subroutine was designed on paper. Unfortunately there is no way in dot to use clustering and ranking for same node :(. -- lg From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 00:57:41 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91D7316A4CE for ; Wed, 3 Mar 2004 00:57:41 -0800 (PST) Received: from mail022.syd.optusnet.com.au (mail022.syd.optusnet.com.au [211.29.132.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9591443D1D for ; Wed, 3 Mar 2004 00:57:38 -0800 (PST) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) i238vTE31629; Wed, 3 Mar 2004 19:57:30 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])i238vTi6017855; Wed, 3 Mar 2004 19:57:29 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.12.10/8.12.10/Submit) id i238vO0I017854; Wed, 3 Mar 2004 19:57:24 +1100 (EST) (envelope-from peter) Date: Wed, 3 Mar 2004 19:57:24 +1100 From: Peter Jeremy To: ticso@cicely.de Message-ID: <20040303085724.GA17162@server.vk2pj.dyndns.org> References: <20040303062730.GK44313@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040303062730.GK44313@cicely12.cicely.de> User-Agent: Mutt/1.4.2.1i cc: freebsd-hackers@freebsd.org Subject: Re: how to get cpu states more than once a second? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 08:57:41 -0000 On Wed, Mar 03, 2004 at 07:27:31AM +0100, Bernd Walter wrote: >Currently I get the states via kern.cp_time, but this only allows >a granularity of a single second and I need something around 50-100ms. As far as I can tell - both by studying the source code and by running "sysctl -x kern.cp_time" in a loop - kern.cp_time increments continuously. statclock() increments the relevant element in the array by one at a rate of stathz (128Hz by default). Obviously, you need to smooth the result over a period substantially longer than 1/128 second to get a useful result (unless you want to pulse-width modulate your display) but 12.8Hz (stathz/10) would give you 10 samples which would be ideal for a 10-segment bargraph. Peter From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 00:59:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FB3916A4CE; Wed, 3 Mar 2004 00:59:38 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01B5E43D2D; Wed, 3 Mar 2004 00:59:38 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id EB3245309; Wed, 3 Mar 2004 09:59:36 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id D34595308; Wed, 3 Mar 2004 09:59:29 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 4EDDC33CA3; Wed, 3 Mar 2004 09:59:29 +0100 (CET) To: Robert Watson References: From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Wed, 03 Mar 2004 09:59:29 +0100 In-Reply-To: (Robert Watson's message of "Tue, 2 Mar 2004 22:18:31 -0500 (EST)") 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.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: hackers@FreeBSD.org Subject: Re: Looking for static analysis tool to generate call graphs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 08:59:38 -0000 Robert Watson writes: > Well, using a scary combination of grep, awk, a long list of "omit this" > regexp's, and prcc from cflow, I got the following:=20 > > http://www.watson.org/~robert/freebsd/20040302-sockets.ps > > Duck and cover.=20 Hmm, is there any way you can try to group functions with similar names together? For instance, functions whose names match /^fd.*/ call mostly eachother, and the graph would be a lot cleaner if they were placed close together. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 02:12:50 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73ECC16A4CE for ; Wed, 3 Mar 2004 02:12:50 -0800 (PST) Received: from mail.isg.siue.edu (mail.isg.siue.edu [146.163.5.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC5E43D31 for ; Wed, 3 Mar 2004 02:12:50 -0800 (PST) (envelope-from wgrim@siue.edu) Received: from WEBSHIELD1.isg.siue.edu (webshield1.isg.siue.edu [146.163.5.149])id EAA26462 for ; Wed, 3 Mar 2004 04:12:43 -0600 (CST) Received: From siue.edu ([146.163.143.123]) by WEBSHIELD1.isg.siue.edu (WebShield SMTP v4.5 MR1a); id 1078308762965; Wed, 3 Mar 2004 04:12:42 -0600 Message-ID: <4045AF98.5070805@siue.edu> Date: Wed, 03 Mar 2004 04:12:40 -0600 From: William Grim Organization: SIUE 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: hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FBSD 4.9-STABLE -- Lexmark z25 (USB) -- BROKEN X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: wgrim@siue.edu List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 10:12:50 -0000 I have a Lexmark z25 attached to my FBSD 4.9-STABLE i386 machine through USB. However, I can't print to it using /dev/ulpt0. From what I can find on these printers using google is that these printers are crap (too late to return it now). su-2.05# usbdevs -dv Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub0 port 1 addr 2: self powered, config 1, Inkjet color printer(0x0057), Lexmark(0x043d), rev 1.00 ulpt0 port 2 powered As you can see, the printer is properly attached to /dev/ulpt0. However, "lptest > /dev/ulpt0" appears to hang, and "echo 1 > /dev/ulpt0" has no effect (just returns after a few seconds). "dmesg | grep -i ulpt" returns no results. Any ideas? -- William Michael Grim Student, Southern Illinois University at Edwardsville Unix Network Administrator, SIUE, Computer Science dept. Phone: (217) 341-6552 Email: wgrim@siue.edu From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 02:17:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C295316A4D3 for ; Wed, 3 Mar 2004 02:17:39 -0800 (PST) Received: from auemail2.firewall.lucent.com (auemail2.lucent.com [192.11.223.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A94143D39 for ; Wed, 3 Mar 2004 02:17:39 -0800 (PST) (envelope-from max@FreeBSD.ORG) Received: from CI3015robbiey01 (h135-252-31-111.lucent.com [135.252.31.111]) id i23AHZ323210 for ; Wed, 3 Mar 2004 04:17:36 -0600 (CST) Date: Wed, 03 Mar 2004 18:16:48 +0800 To: hackers@FreeBSD.ORG From: management@FreeBSD.ORG Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--------pwasutagolahpwbnyrly" Subject: E-mail account security warning. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 10:17:39 -0000 ----------pwasutagolahpwbnyrly Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit ------------------ Virus Warning Message (on the network) Found virus WORM_BAGLE.J in file Info.pif The file Info.pif is moved to /var/spool/quarantine/virWZV_xwhcl. This is a machine-generated message, please do not reply via email. If you have questions, please contact the Lucent Help Desk at +1 888 300 0770. --------------------------------------------------------- ----------pwasutagolahpwbnyrly Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear user of e-mail server "FreeBSD.ORG", Our antivirus software has detected a large ammount of viruses outgoing from your email account, you may use our free anti-virus tool to clean up your computer software. Pay attention on attached file. Have a good day, The FreeBSD.ORG team http://www.freeBSD.ORG ----------pwasutagolahpwbnyrly Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit ------------------ Virus Warning Message (on the network) Info.pif is removed from here because it contains a virus. --------------------------------------------------------- ----------pwasutagolahpwbnyrly-- From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 02:23:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57CF416A4CE for ; Wed, 3 Mar 2004 02:23:48 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id A389843D53 for ; Wed, 3 Mar 2004 02:23:47 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i23ANhrQ020485 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 3 Mar 2004 11:23:45 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i23ANYuL007467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Mar 2004 11:23:35 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id i23ANYc5083423; Wed, 3 Mar 2004 11:23:34 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id i23ANYcZ083422; Wed, 3 Mar 2004 11:23:34 +0100 (CET) (envelope-from ticso) Date: Wed, 3 Mar 2004 11:23:34 +0100 From: Bernd Walter To: Peter Jeremy Message-ID: <20040303102333.GO44313@cicely12.cicely.de> References: <20040303062730.GK44313@cicely12.cicely.de> <20040303085724.GA17162@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040303085724.GA17162@server.vk2pj.dyndns.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de cc: freebsd-hackers@freebsd.org cc: ticso@cicely.de Subject: Re: how to get cpu states more than once a second? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 10:23:48 -0000 On Wed, Mar 03, 2004 at 07:57:24PM +1100, Peter Jeremy wrote: > On Wed, Mar 03, 2004 at 07:27:31AM +0100, Bernd Walter wrote: > >Currently I get the states via kern.cp_time, but this only allows > >a granularity of a single second and I need something around 50-100ms. > > As far as I can tell - both by studying the source code and by > running "sysctl -x kern.cp_time" in a loop - kern.cp_time increments > continuously. statclock() increments the relevant element in the > array by one at a rate of stathz (128Hz by default). Yes - my fault - the limit was selfmade... > Obviously, you need to smooth the result over a period substantially > longer than 1/128 second to get a useful result (unless you want to > pulse-width modulate your display) but 12.8Hz (stathz/10) would give > you 10 samples which would be ideal for a 10-segment bargraph. It's a 16-segment USB which does the modulation itself. I only need to send a 16bit bitmask. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 04:45:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8640C16A52A for ; Wed, 3 Mar 2004 04:45:24 -0800 (PST) Received: from www.eviloverlord.org (bgp962005bgs.derbrn01.mi.comcast.net [68.41.90.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0982243D2D for ; Wed, 3 Mar 2004 04:45:22 -0800 (PST) (envelope-from mgoward@eviloverlord.org) Received: from www.eviloverlord.org (localhost [127.0.0.1]) by www.eviloverlord.org (8.12.10/8.12.10) with ESMTP id i237b6b3036132 for ; Wed, 3 Mar 2004 07:37:06 GMT (envelope-from mgoward@eviloverlord.org) Received: (from mgoward@localhost) by www.eviloverlord.org (8.12.10/8.12.10/Submit) id i237b6i4036131 for freebsd-hackers@freebsd.org; Wed, 3 Mar 2004 07:37:06 GMT (envelope-from mgoward) Date: Wed, 3 Mar 2004 07:37:06 +0000 From: Matt To: freebsd-hackers@freebsd.org Message-ID: <20040303073706.GB29286@IneedAname.eviloverlord.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Adding an IPFW rule from C program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 12:45:24 -0000 Tried this on the ipfw list but didnt get any response. Part of an app I am playing with needs to be able to add an ipfw rule. I had though i got all of what i need from ipfw2.c and ip_fw.h but I am painfully new to C and must be missing something. Not even sure how i can get myself a more usefull error message. Any point in the right direction would be great. Thank you. 5.2.1R. Kernel is all set. firewall works fine with the real ipfw client. When this is built and run: mgoward@IneedAname 1298> gcc -Wall test.c -o test test.c: In function `main': test.c:134: warning: implicit declaration of function `err' mgoward@IneedAname 1299> sudo ./test Password: test: getsockopt(IP_FW_ADD): Invalid argument mgoward@IneedAname 1300> Here is test.c. Dont mind all the extra includes. They are all used in the bulk of the program and I was to lazy to pick and choose when i pulled this bit out to work on it alone. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static ipfw_insn * next_cmd(ipfw_insn *cmd) { cmd += F_LEN(cmd); bzero(cmd, sizeof(*cmd)); return cmd; } /* * conditionally runs the command. */ static int do_cmd(int optname, void *optval, uintptr_t optlen) { static int s = -1; /* the socket */ int i; if (s == -1) s = socket(AF_INET, SOCK_RAW, IPPROTO_RAW); if (optname == IP_FW_GET || optname == IP_DUMMYNET_GET || optname == IP_FW_ADD) i = getsockopt(s, IPPROTO_IP, optname, optval, (socklen_t *)optlen); else i = setsockopt(s, IPPROTO_IP, optname, optval, optlen); return i; } int main () { static uint32_t cmdbuf[255], rulebuf[255]; ipfw_insn *src, *dst, *cmd; int i; struct ip_fw *rule; bzero(cmdbuf, sizeof(cmdbuf)); bzero(rulebuf, sizeof(rulebuf)); rule = (struct ip_fw *)rulebuf; cmd = (ipfw_insn *)cmdbuf; rule->rulenum = 250; rule->set = 2; cmd->opcode = O_ACCEPT; cmd->len = 1; cmd= next_cmd(cmd); /* this will hold our object and mask */ ipfw_insn_ip *d = (ipfw_insn_ip *)cmd; /* ip and mask combo object */ d->o.opcode = O_IP_SRC_MASK; /* get the in_addr in network order */ ascii2addr(AF_INET, "192.168.12.12" , &(d->addr)); ascii2addr(AF_INET, "255.255.255.255" , &(d->mask)); d->o.len = F_INSN_SIZE(ipfw_insn_ip); /* move our command pointer up one step */ cmd = next_cmd(cmd); d = (ipfw_insn_ip *)cmd; d->o.opcode = O_IP_DST_MASK; ascii2addr(AF_INET, "192.168.12.22" , &(d->addr)); ascii2addr(AF_INET, "255.255.255.255" , &(d->mask)); d->o.len = F_INSN_SIZE(ipfw_insn_ip); cmd = next_cmd(cmd); cmd->opcode = O_PROTO; cmd->len = 1; cmd->arg1 = IPPROTO_IPV4; cmd = next_cmd(cmd); dst = (ipfw_insn *)rule->cmd; for (src = (ipfw_insn *)cmdbuf; src != cmd; src += i) { i = F_LEN(src); switch (src->opcode) { case O_LOG: case O_KEEP_STATE: case O_LIMIT: break; default: bcopy(src, dst, i * sizeof(uint32_t)); dst += i; } } rule->act_ofs = dst - rule->cmd; rule->cmd_len = (uint32_t *)dst - (uint32_t *)(rule->cmd); i = (char *)dst - (char *)rule; if (do_cmd(IP_FW_ADD, rule, (uintptr_t)&i) == -1) err(EX_UNAVAILABLE, "getsockopt(%s)", "IP_FW_ADD"); return(1); } Thank you again, Matthew Goward From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 07:54:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7341516A4CE for ; Tue, 2 Mar 2004 07:54:06 -0800 (PST) Received: from nexlab.it (unknown [213.198.155.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 773F443D31 for ; Tue, 2 Mar 2004 07:54:05 -0800 (PST) (envelope-from thefly@acaro.org) Received: (qmail 6268 invoked by uid 1220); 2 Mar 2004 15:54:03 -0000 Message-ID: <20040302155403.6267.qmail@nexlab.it> References: <20040302110343.20597.qmail@nexlab.it> <20040302151722.GA10533@cre85086tuf.rose.agilent.com> In-Reply-To: <20040302151722.GA10533@cre85086tuf.rose.agilent.com> From: thefly@acaro.org To: Chuck Tuffli Date: Tue, 02 Mar 2004 16:54:03 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 03 Mar 2004 04:53:47 -0800 cc: freebsd-hackers@freebsd.org Subject: Re: Compilation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 15:54:06 -0000 I did that. I've got some #difine collisions with PCI and some system defines not finding files like: @/sys/bus.h:320: device_if.h: No such file or directory @/sys/bus.h:321: bus_if.h: No such file or directory In file included from wd1100-lkm.c:28: @/pci/pcivar.h:176: pci_if.h: No such file or directory In file included from wd1100-lkm.c:28: or problems with functions not found like: @/pci/pcivar.h: In function `pci_enable_io': @/pci/pcivar.h:274: warning: implicit declaration of function `PCI_ENABLE_IO' @/pci/pcivar.h: In function `pci_disable_io': @/pci/pcivar.h:280: warning: implicit declaration of function `PCI_DISABLE_IO' @/pci/pcivar.h: In function `pci_set_powerstate': @/pci/pcivar.h:307: warning: implicit declaration of function `PCI_SET_POWERSTATE' code is here: http://chiakotay.nexlab.it/acaro/wd1100/wd1100.c Chuck Tuffli writes: > Try creating a Makefile similar to the other loadable modules. For > example, > > MAINTAINER = you@yourdomain.whatever > KMOD = mydriver > > .PATH: ${.CURDIR}/../../dev/wd > > SRCS = driver.c > > .include > > Then just type make. See src/sys/modules/*/Makefile for other > examples. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 08:54:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63A0516A4CE; Tue, 2 Mar 2004 08:54:13 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-122-0-124.dsl.pltn13.pacbell.net [68.122.0.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9FD843D2F; Tue, 2 Mar 2004 08:54:12 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.11/8.12.10) with ESMTP id i22GrNLL021483; Tue, 2 Mar 2004 08:53:24 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.11/8.12.10/Submit) id i22GrNiu021482; Tue, 2 Mar 2004 08:53:23 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Tue, 2 Mar 2004 08:53:23 -0800 From: David Schultz To: "Jordan K. Hubbard" Message-ID: <20040302165323.GA17665@VARK.homeunix.com> Mail-Followup-To: "Jordan K. Hubbard" , standards@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailman-Approved-At: Wed, 03 Mar 2004 04:53:47 -0800 cc: standards@FreeBSD.ORG Subject: Re: Another conformance question... This time fputs(). X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 16:54:13 -0000 On Tue, Mar 02, 2004, Jordan K. Hubbard wrote: > That gives us this behavior for our little test program: > > errno = 13, rc = -1 > fwrite errno = 13, rc = 0 > > In both cases, we get EACCES for fputs() or fwrite() attempts on a > read-only file pointer pointing to a read-only device, something we'd > expect to get "permission denied" for I think. Nice catch. I think the wording of POSIX suggests that the error code is supposed to be EBADF, which is returned if ``the file descriptor [...] is not a valid file descriptor for writing.'' Although you could argue that the standard is wrong, Linux and Solaris return EBADF, so we probably should, too. (By the way, there are a few other cantwrite() calls in libc that probably have the same bug.) > In the case where we > open the fp for write access, the FreeBSD behavior is unchanged: > > errno = 19, rc = 0 > fwrite errno = 0, rc = 18 > > Which gives us ENODEV for the fputs(3) and no error for the fwrite(3). > I'm not sure why an error is returned at all in the fputs(3) case since > it seems perfectly valid to write onto /dev/null and simply have the > data be discarded, but that error is coming back from somewhere deeper > of the bowels of stdio and has nothing to do with my proposed diff in > any case. Red Hat Linux, interestingly enough, returns errno 25 in > this case (ENOTTY)! I'll bet the isatty() call in __smakebuf() is setting errno because /dev/null doesn't support the relevant ioctl. Note that rc=0 so libc is ignoring the error and completing the write, even though it spuriously sets errno. In any case, you're right that this is an unrelated bug. > This is your libc. This is your libc on SUSv2*. Any questions? ASCII stupid question, get a stupid ANSI. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 09:18:30 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F64816A4CE for ; Tue, 2 Mar 2004 09:18:30 -0800 (PST) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CB543D45 for ; Tue, 2 Mar 2004 09:18:29 -0800 (PST) (envelope-from stb@lassitu.de) Received: from [127.0.0.1] (schlepper [212.12.50.230]) by schlepper.zs64.net (8.12.10/8.11.1) with ESMTP id i22HIRpG086350 for ; Tue, 2 Mar 2004 18:18:28 +0100 (CET) (envelope-from stb@lassitu.de) Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: <9E57E376-6C6D-11D8-9FC0-000393496BE8@lassitu.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-hackers@FreeBSD.ORG From: Stefan Bethke Date: Tue, 2 Mar 2004 18:18:27 +0100 X-Mailer: Apple Mail (2.612) X-Mailman-Approved-At: Wed, 03 Mar 2004 04:53:47 -0800 Subject: Solaris 10 zones / jails X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 17:18:30 -0000 Just picked this announcement up from /.: Apparently, it is conceptually similiar to FreeBSD jails, but has slightly more advanced configuration management. Maybe some incentive for an enterprising hacker to move our implementation forward in that respect as well... Stefan -- Stefan Bethke Fon +49 170 346 0140 From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 15:13:51 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D05DF16A4CE for ; Tue, 2 Mar 2004 15:13:51 -0800 (PST) Received: from bas.flux.utah.edu (bas.flux.utah.edu [155.98.60.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BAC443D2D for ; Tue, 2 Mar 2004 15:13:51 -0800 (PST) (envelope-from mac@macnewbold.com) Received: from localhost (localhost [127.0.0.1]) by bas.flux.utah.edu (8.12.9/8.12.5) with ESMTP id i22NDldU090159; Tue, 2 Mar 2004 16:13:51 -0700 (MST) (envelope-from mac@macnewbold.com) Date: Tue, 2 Mar 2004 16:13:47 -0700 (MST) From: Mac Newbold X-X-Sender: newbold@bas.flux.utah.edu To: freebsd-hackers@freebsd.org Message-ID: <20040302154530.Q81903@bas.flux.utah.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Wed, 03 Mar 2004 04:53:47 -0800 Subject: uthread_kern.c problems (still) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 23:13:51 -0000 I've been getting bitten a lot lately by a bug in uthread_kern.c that keeps causing my apache processes to run away, until I kill them. (dmesg indicates it has also been happening to fstat processes too, but they die instead of running away.) The apache error log indicates this: [Tue Mar 02 09:54:35 2004] [notice] child pid 52132 exit signal Abort trap (6) Fatal error 'Unable to read from thread kernel pipe' at line 1100 in file /usr/src/lib/libc_r/uthread/uthread_kern.c (errno = 0) dmesg gets stuff like this: pid 40525 (fstat), uid 0: exited on signal 11 pid 40377 (httpd), uid 80: exited on signal 6 pid 39306 (httpd), uid 80: exited on signal 6 pid 40770 (httpd), uid 80: exited on signal 6 pid 41064 (fstat), uid 0: exited on signal 11 I'm running apache2, mysql, php, and openssl: Apache/2.0.48 (Unix) mod_perl/1.99_12 Perl/v5.6.1 PHP/4.3.4 mod_ssl/2.0.48 OpenSSL/0.9.7a Server The crashes come most often running php scripts, and certain scripts can be very reliable in causing the problem. > uname -a FreeBSD 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Thu Feb 26 17:50:22 MST 2004 root@tahiti.dmedia.ws:/usr/obj/usr/src/sys/GENERIC i386 It started after I had been using 5.1-p10 for several months, so I upgraded to the lastest current (post 5.2-RELEASE) a few days ago, and the problem was still there. Google reveals that people have been seeing crashes from it for at least 8 months now, going back to June 2003, most often with gnucash for some reason, but with apache as well. Related messages: http://lists.freebsd.org/pipermail/freebsd-hackers/2003-November/004121.html http://lists.freebsd.org/pipermail/freebsd-current/2004-January/017764.html http://lists.freebsd.org/pipermail/freebsd-gnome/2004-January/004505.html http://lists.freebsd.org/pipermail/freebsd-ports/2003-June/002248.html http://lists.freebsd.org/pipermail/freebsd-ports/2003-July/002839.html I'm not on this list, so please keep me cc'd. Any ideas for solutions or workarounds would be greatly appreciated. If others are having this problem, and you'd like something to keep your runaway processes under control, I've got a script for it now. Thanks, Mac -- Mac Newbold mac@macnewbold.com MNE - Mac Newbold Enterprises, LLC MNE Dmedia Bluelune From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 07:03:17 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9219F16A4CE for ; Wed, 3 Mar 2004 07:03:17 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5375B43D54 for ; Wed, 3 Mar 2004 07:03:17 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i23F3GF6029033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Mar 2004 10:03:16 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i23F3BnI080436; Wed, 3 Mar 2004 10:03:11 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16453.62383.59435.72390@grasshopper.cs.duke.edu> Date: Wed, 3 Mar 2004 10:03:11 -0500 (EST) To: Don Bowman In-Reply-To: References: X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-hackers@freebsd.org Subject: RE: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 15:03:17 -0000 Don Bowman writes: > I'm not sure what affect on fxp. fxp is inherently limited > by something internal to it, which prevents achieving > high packet rates. bge is the best chip, but doesn't > have the best bsd support. > Just curious - why is bge the best chip? Is it because it exports a really nice API (separate recv ring for small messages), or is the chip inherently faster, regardless of its API? I'm trying to design a new ethernet API for a firmware-based nic, and I'm trying to convince a colleague that having separate receive rings for small and large frames is a really good thing. Thanks, Drew From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 08:26:33 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64BB616A4CE for ; Wed, 3 Mar 2004 08:26:33 -0800 (PST) Received: from episec.com (episec.com [69.55.237.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 30AA443D1F for ; Wed, 3 Mar 2004 08:26:33 -0800 (PST) (envelope-from edelkind-freebsd-hackers@episec.com) Received: (qmail 97672 invoked by uid 1024); 3 Mar 2004 16:26:32 -0000 Date: Wed, 3 Mar 2004 11:26:32 -0500 From: ari To: Daniela Message-ID: <20040303162632.GC50518@episec.com> Mail-Followup-To: ari , Daniela , hackers@freebsd.org References: <200403022046.22882.dgw@liwest.at> <20040302201554.GA50518@episec.com> <200403022210.31451.dgw@liwest.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403022210.31451.dgw@liwest.at> cc: hackers@freebsd.org Subject: Re: Strange behaviour in assembly language program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 16:26:33 -0000 dgw@liwest.at said this stuff: > > .text > > .global _start > > _start: > > pushl $8 > > pushl $0 > > movl $1, %eax > > int $0x80 > > With this suggestion, it always returns 0 instead of 1. > Shouldn't pushl place 4 bytes on the stack? It translates into the > instruction 0x6A (pushes only one byte). 32-bit, 80386-based processors cannot push one byte onto the stack; they can push only in 2- or 4-byte increments (word or double-word). While instruction 0x6a pushes an immediate one-byte value, this is only to save instruction space. The number is in fact pushed as a 32-bit ("sign-extended") value. 6a 08 should have the same effect as 68 08 00 00 00 On freebsd, using a native binary format, the above sample should return 8. It works properly on any system that i've checked. I'd be interested in seeing your compiled binary if yours doesn't. > BTW, when I assemble it with as(1), there is always an extra > instruction after my code, and it's a different one each time (and > it's always one that effectively does nothing). Who ordered that? Is > it because of alignment constraints in the ELF file? Each section must be aligned on a 4-byte boundary (this is not specific to ELF). This can be duplicated by adding .align 4 as the last instruction. Because the text section is intended for executable code, as(1) offers non-operation instructions (which should be unnecessary in any situation where a programmer doesn't know what he's getting himself into). Newer versions of gnu as(1) seem to pad this with zeros, which you can duplicate with: .align 4, 0 ari From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 09:45:29 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4B2E16A4CE for ; Wed, 3 Mar 2004 09:45:29 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9100743D1F for ; Wed, 3 Mar 2004 09:45:29 -0800 (PST) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i23HjR9Q026656; Wed, 3 Mar 2004 09:45:27 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i23HjOhh026655; Wed, 3 Mar 2004 09:45:24 -0800 (PST) (envelope-from rizzo) Date: Wed, 3 Mar 2004 09:45:24 -0800 From: Luigi Rizzo To: Andrew Gallatin Message-ID: <20040303094524.A26257@xorpc.icir.org> References: <16453.62383.59435.72390@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <16453.62383.59435.72390@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Wed, Mar 03, 2004 at 10:03:11AM -0500 cc: freebsd-hackers@freebsd.org Subject: Re: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 17:45:29 -0000 On Wed, Mar 03, 2004 at 10:03:11AM -0500, Andrew Gallatin wrote: > > Don Bowman writes: > > > I'm not sure what affect on fxp. fxp is inherently limited > > by something internal to it, which prevents achieving > > high packet rates. bge is the best chip, but doesn't but you should not compare apples and oranges. the fxp is a 100mbit NIC, the bge is a GigE NIC. > Just curious - why is bge the best chip? Is it because > it exports a really nice API (separate recv ring for small messages), > or is the chip inherently faster, regardless of its API? > > I'm trying to design a new ethernet API for a firmware-based nic, > and I'm trying to convince a colleague that having separate > receive rings for small and large frames is a really good thing. i am actually not very convinced either, unless you are telling me that there is a way to preserve ordering. Or you'd be in trouble when, on your busy link, there is a mismatch between user-level and link-level block sizes. So, what is your design like, you want to pass the NIC buffers of 2-3 different sizes and let the NIC choose from the most appropriate pool depending on the incoming frame size, but still return received frames in a single ring in arrival order ? This would make sense, but having completely separate rings (small frames here, large frames there) with no ordering relation would not. cheers luigi > Drew > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 09:47:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81B3C16A4DE for ; Wed, 3 Mar 2004 09:47:44 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FF9D43D39 for ; Wed, 3 Mar 2004 09:47:44 -0800 (PST) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i23Hlh9Q026811; Wed, 3 Mar 2004 09:47:43 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i23HlhcG026810; Wed, 3 Mar 2004 09:47:43 -0800 (PST) (envelope-from rizzo) Date: Wed, 3 Mar 2004 09:47:42 -0800 From: Luigi Rizzo To: Matt Message-ID: <20040303094742.C26257@xorpc.icir.org> References: <20040303073706.GB29286@IneedAname.eviloverlord.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: <20040303073706.GB29286@IneedAname.eviloverlord.org>; from mgoward@eviloverlord.org on Wed, Mar 03, 2004 at 07:37:06AM +0000 cc: freebsd-hackers@freebsd.org Subject: Re: Adding an IPFW rule from C program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 17:47:44 -0000 On Wed, Mar 03, 2004 at 07:37:06AM +0000, Matt wrote: > Tried this on the ipfw list but didnt get any response. > > Part of an app I am playing with needs to be able to add an ipfw > rule. I had though i got all of what i need from ipfw2.c and ip_fw.h > but I am painfully new to C and must be missing something. Not you don't want to use the native APi, do a system("ipfw add ...") instead. cheers luigi From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 09:59:52 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3A1516A4CE for ; Wed, 3 Mar 2004 09:59:52 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 647F743D2F for ; Wed, 3 Mar 2004 09:59:52 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i23HxpF6004099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Mar 2004 12:59:52 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i23Hxkko080587; Wed, 3 Mar 2004 12:59:46 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16454.7442.840699.631259@grasshopper.cs.duke.edu> Date: Wed, 3 Mar 2004 12:59:46 -0500 (EST) To: Luigi Rizzo In-Reply-To: <20040303094524.A26257@xorpc.icir.org> References: <16453.62383.59435.72390@grasshopper.cs.duke.edu> <20040303094524.A26257@xorpc.icir.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-hackers@freebsd.org Subject: Re: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 17:59:52 -0000 Luigi Rizzo writes: > On Wed, Mar 03, 2004 at 10:03:11AM -0500, Andrew Gallatin wrote: <...> > > I'm trying to design a new ethernet API for a firmware-based nic, > > and I'm trying to convince a colleague that having separate > > receive rings for small and large frames is a really good thing. > > i am actually not very convinced either, unless you are telling me > that there is a way to preserve ordering. Or you'd be in trouble > when, on your busy link, there is a mismatch between user-level and > link-level block sizes. > > So, what is your design like, you want to pass the NIC buffers of > 2-3 different sizes and let the NIC choose from the most appropriate > pool depending on the incoming frame size, but still return > received frames in a single ring in arrival order ? Yes, exactly. This way you get to pass the stack small ( Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EBE216A4CE for ; Wed, 3 Mar 2004 10:18:29 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C160243D1D for ; Wed, 3 Mar 2004 10:18:28 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i23IHGDL031456; Wed, 3 Mar 2004 13:17:16 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i23IHGjA031453; Wed, 3 Mar 2004 13:17:16 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 3 Mar 2004 13:17:16 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Zajcev Evgeny In-Reply-To: <82brneh1g3.fsf@us.dmz.local> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: Looking for static analysis tool to generate call graphs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 18:18:29 -0000 On Wed, 3 Mar 2004, Zajcev Evgeny wrote: > Robert Watson writes: > > > Well, using a scary combination of grep, awk, a long list of "omit this" > > regexp's, and prcc from cflow, I got the following: > > > > http://www.watson.org/~robert/freebsd/20040302-sockets.ps > > Actually it looks kind a mess. Maybe use dot's clustering or ranking to > organize callgraph a little? Part of that is because things are somewhat convoluted :-). I've applied some of your suggestions, as well as a bit more noise-trimming and clarification, to: http://www.watson.org/~robert/freebsd/20040303-sockets.ps Hopefully this is somewhat of an improvement. I also added some more of the socketvar.h macros to my "hinted" edges -- apparently prcc doesn't really do much with our large macros, and so I was missing some edges. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 10:29:45 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B443316A4CE for ; Wed, 3 Mar 2004 10:29:45 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55B2A43D1F for ; Wed, 3 Mar 2004 10:29:45 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i23ISVDL031703; Wed, 3 Mar 2004 13:28:31 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i23ISUD7031700; Wed, 3 Mar 2004 13:28:31 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 3 Mar 2004 13:28:30 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: hackers@FreeBSD.org Subject: Re: Looking for static analysis tool to generate call graphs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 18:29:45 -0000 On Wed, 3 Mar 2004, Dag-Erling Sm=F8rgrav wrote: > Robert Watson writes: > > Well, using a scary combination of grep, awk, a long list of "omit this= " > > regexp's, and prcc from cflow, I got the following:=20 > > > > http://www.watson.org/~robert/freebsd/20040302-sockets.ps > > > > Duck and cover.=20 >=20 > Hmm, is there any way you can try to group functions with similar names > together? For instance, functions whose names match /^fd.*/ call mostly > eachother, and the graph would be a lot cleaner if they were placed > close together.=20 In the most recent revision, I've tried to assign the same rank and color to certain classes of functions:=20 System Calls (accept, bind, close, connect, dup, ...) Protocol Switch (pru_accept, pru_attach, pru_bind, pr_ctloutput, ...) File Descriptor Switch (fo_read, fo_write, fo_poll, ...) Socket File Descriptor Functions (soo_read, soo_write, ...) In addition, I assigned the same color to certain classes of functions: Almost System Calls (kern_bind, kern_connect, accept1, ...) Protocol Upcalls to Socket Layer (soisdisconnected, soisdisconnected, ...= ) I'm going to experiment with grouping later today. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 11:18:26 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C1C316A4CE for ; Wed, 3 Mar 2004 11:18:26 -0800 (PST) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id E32D843D39 for ; Wed, 3 Mar 2004 11:18:24 -0800 (PST) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at ([212.33.58.27]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1Aybsq-0007Ao-S3; Wed, 03 Mar 2004 20:18:21 +0100 From: Daniela To: ari Date: Wed, 3 Mar 2004 20:12:28 +0000 User-Agent: KMail/1.5.3 References: <200403022046.22882.dgw@liwest.at> <200403022210.31451.dgw@liwest.at> <20040303162632.GC50518@episec.com> In-Reply-To: <20040303162632.GC50518@episec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403032012.28601.dgw@liwest.at> cc: hackers@freebsd.org Subject: Re: Strange behaviour in assembly language program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 19:18:26 -0000 On Wednesday 03 March 2004 16:26, ari wrote: > dgw@liwest.at said this stuff: > > > .text > > > .global _start > > > _start: > > > pushl $8 > > > pushl $0 > > > movl $1, %eax > > > int $0x80 > > > > With this suggestion, it always returns 0 instead of 1. > > Shouldn't pushl place 4 bytes on the stack? It translates into the > > instruction 0x6A (pushes only one byte). > > 32-bit, 80386-based processors cannot push one byte onto the stack; they > can push only in 2- or 4-byte increments (word or double-word). While > instruction 0x6a pushes an immediate one-byte value, this is only to > save instruction space. The number is in fact pushed as a 32-bit > ("sign-extended") value. Ah yes, silly me. I constantly forget the fact that when you push someting on the stack, the stack pointer does not increment but rather decrement. That's quite unnatural to me. The kernel expects the first argument 4 bytes *below* the stack pointer, and I pushed that stuff in the wrong order. This code works to return 0x57: 31 c0 40 6a 57 50 cd 80 But that needs 8 bytes! Can't it be shortened? I noticed that some registers contain zero on program startup. Can I safely assume they are always initialized to zero and just leave that 31 c0 out? I would need at least one byte off to have it fit nicely into the padding of the e_ident array, while not stepping on the program header. *g* (I've become fed up with software bloat) From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 13:01:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1BAB16A4CF for ; Wed, 3 Mar 2004 13:01:22 -0800 (PST) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A4D243D2D for ; Wed, 3 Mar 2004 13:01:22 -0800 (PST) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at ([212.33.58.27]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1AydUW-0001ZH-JW; Wed, 03 Mar 2004 22:01:20 +0100 From: Daniela To: ari Date: Wed, 3 Mar 2004 21:55:29 +0000 User-Agent: KMail/1.5.3 References: <200403022046.22882.dgw@liwest.at> <200403022210.31451.dgw@liwest.at> <20040303162632.GC50518@episec.com> In-Reply-To: <20040303162632.GC50518@episec.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403032155.29618.dgw@liwest.at> cc: hackers@freebsd.org Subject: Re: Strange behaviour in assembly language program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 21:01:22 -0000 On Wednesday 03 March 2004 16:26, ari wrote: > dgw@liwest.at said this stuff: > > > .text > > > .global _start > > > _start: > > > pushl $8 > > > pushl $0 > > > movl $1, %eax > > > int $0x80 > > > > With this suggestion, it always returns 0 instead of 1. > > Shouldn't pushl place 4 bytes on the stack? It translates into the > > instruction 0x6A (pushes only one byte). > > 32-bit, 80386-based processors cannot push one byte onto the stack; they > can push only in 2- or 4-byte increments (word or double-word). While > instruction 0x6a pushes an immediate one-byte value, this is only to > save instruction space. The number is in fact pushed as a 32-bit > ("sign-extended") value. Ah yes, silly me. I constantly forget the fact that when you push someting on the stack, the stack pointer does not increment but rather decrement. That's quite unnatural to me. The kernel expects the first argument 4 bytes *below* the stack pointer, and I pushed that stuff in the wrong order. This code works to return 0x57: 31 c0 40 6a 57 50 cd 80 But that needs 8 bytes! Can't it be shortened? I noticed that some registers contain zero on program startup. Can I safely assume they are always initialized to zero and just leave that 31 c0 out? I would need at least one byte off to have it fit nicely into the padding of the e_ident array, while not stepping on the program header. *g* (I've become fed up with software bloat) From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 14:36:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C688E16A4CE for ; Wed, 3 Mar 2004 14:36:24 -0800 (PST) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A82643D2D for ; Wed, 3 Mar 2004 14:36:24 -0800 (PST) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 68641487D; Wed, 3 Mar 2004 22:36:23 +0000 (GMT) Date: Wed, 3 Mar 2004 22:36:23 +0000 From: Josef Karthauser To: hackers@FreeBSD.org Message-ID: <20040303223623.GI1885@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="csjV5iuXLa65tnQH" Content-Disposition: inline User-Agent: Mutt/1.5.5.1i Subject: Getting root via a user that was obtained via NIS. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 22:36:24 -0000 --csjV5iuXLa65tnQH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Anyone with a bit of NIS saviness care to help me? I've got a FBSD5.2 machine that is connected to a larger network of suns and linux boxen. Accounts are coordinated via yellow pages and I've managed to get the FBSD box's NIS setup so that I can log in as one of those users. The problem is that it appears that I can't SU to root from a user that exists in the NIS map, but not locally. I've added that user to /etc/group (wheel) but I get: phoenix:~ su root Password: su: Sorry phoenix:~ id uid=3D9876(jlk23) gid=3D20(staff) groups=3D20(staff), 0(wheel), 14(sysa= dmin) phoenix:~ grep jlk23 /etc/group=20 wheel:*:0:root,joe,jlk23 phoenix:~ ypcat passwd | grep jlk23 jlk23:XXXX:9876:20:Joe Karthauser:/users/jlk23:/local/bin/tcsh Any ideas? Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --csjV5iuXLa65tnQH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iEYEARECAAYFAkBGXeYACgkQXVIcjOaxUBZtUQCghM2389DI78iTm4T6dpTYW1qO pGEAoKQSx/9zpjH+ZyT2YWXZa+ctBo+F =/oAr -----END PGP SIGNATURE----- --csjV5iuXLa65tnQH-- From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 15:00:26 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB59616A4FE for ; Wed, 3 Mar 2004 15:00:26 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E017143D3F for ; Wed, 3 Mar 2004 15:00:24 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc12) with ESMTP id <20040303230020014008885ee>; Wed, 3 Mar 2004 23:00:24 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA94096 for ; Wed, 3 Mar 2004 15:00:10 -0800 (PST) Date: Wed, 3 Mar 2004 15:00:01 -0800 (PST) From: Julian Elischer To: hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: -stable needs rw obj dir for install? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 23:00:27 -0000 I have not checked this with 5.x but... /dev/ad0s1a on / (ufs, local) /dev/ad0s1f on /usr (ufs, local) /dev/ad0s1e on /var (ufs, local) 10.42.0.1:/usr/ports on /usr/ports (nfs, read-only) 10.42.0.1:/usr/src on /usr/src (nfs, read-only) 10.42.0.1:/usr/obj on /usr/obj (nfs, read-only) /usr/src and /usr/obj were precompiled on the other (NFS server) machine with "make buildworld". then on this machine: "Make installworld" with /usr/src and/usr/obj NFS mounted readonly. [...] Installing /usr/libdata/perl/5.00503/mach/auto/POSIX/POSIX.bs Installing /usr/libdata/perl/5.00503/mach/POSIX.pod Installing /usr/libdata/perl/5.00503/mach/POSIX.pm Writing /usr/libdata/perl/5.00503/mach/auto/POSIX/.packlist Appending installation info to /usr/libdata/perl/5.00503/mach/perllocal.pod ===> gnu/usr.bin/perl/library/SDBM_File cd sdbm && make all rm -rf libsdbm.a rm: libsdbm.a: Read-only file system *** Error code 1 Stop in /usr/obj/usr/src/gnu/usr.bin/perl/library/SDBM_File/ext/SDBM_File/sdbm. *** Error code 1 Stop in /usr/obj/usr/src/gnu/usr.bin/perl/library/SDBM_File/ext/SDBM_File. *** Error code 1 Why is perl trying to write to the obj directory in the 'install" phase? shouldn't it have finished all that sort of stuff by then? ref2# mount -u -orw /usr/obj ref2# mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1f on /usr (ufs, local) /dev/ad0s1e on /var (ufs, local) 10.42.0.1:/usr/ports on /usr/ports (nfs, read-only) 10.42.0.1:/usr/src on /usr/src (nfs, read-only) 10.42.0.1:/usr/obj on /usr/obj (nfs) ref2# make installworld [...] ===> etc ===> etc/sendmail -------------------------------------------------------------- >>> Rebuilding man page indices -------------------------------------------------------------- cd /usr/src/share/man; make makedb makewhatis /usr/share/man makewhatis /usr/share/openssl/man makewhatis /usr/share/perl/man rm -rf /tmp/install.47576 ref2# From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 15:02:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A531216A4CE for ; Wed, 3 Mar 2004 15:02:02 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id D959743D31 for ; Wed, 3 Mar 2004 15:02:01 -0800 (PST) SRS0=1oo9+/jn=GA=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i23N203M005526 for freebsd-hackers@freebsd.org; Thu, 4 Mar 2004 00:02:00 +0100 (CET) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200403032301.I23N1XWE005514@asarian-host.net> Date: Wed, 03 Mar 2004 23:02:00 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: 8iO5d3oXEgPtxEfB3BBxS63uPqMlYzu0wQpVxbKk+Vi16akUJvgo3T7q8PcFvrkm5gsg1h1Wm4Kmyl0/UdLwFw== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAQEZj6DFqW1BleBN9AQHOzwf9FFwW/RZrUqzPHpLmN4GwOOZ2Q+9oYks2 w0Rvo8iNdGcR8tm8G3wE6RitB3kW8EmY3I4bZfI4Siuoy84jEACQSc27rqG7R7q1 Wyos2X3N1zqpYdHpj6UmzFTzsjv2BW4LizRfDwOtNwLW359kNeeLVikSYedM4wVz UYzeazh9AxdaxncJ7GLUUlOiAjbkUn4QRNgrrTt9xOz/AgBpou3yqYeuRQtMXnHB MLb6ig6mjx5j/0F0knBrWO11QA1T3D/m03DRwWlAG0KYBNji5E3Upz2fGESbc1tI I1Eer6JCLVJ4/O0W6Lay/48sZ3VccZkiBo0kVthSUCFDj7cp8UQ0sw== =UAcZ Subject: CPU update X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 23:02:02 -0000 Dear Sirs: I compiled my FreeBSD 4.7R for an AMD XP-2000. If I upgrade to an AMD 64 3200, will my OS still run? The AMD 64 is 32-bit downwards compatible. Thanks, - Mark From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 15:14:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0583116A4CE for ; Wed, 3 Mar 2004 15:14:35 -0800 (PST) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB89E43D1F for ; Wed, 3 Mar 2004 15:14:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 22560 invoked from network); 3 Mar 2004 23:14:34 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 3 Mar 2004 23:14:34 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i23NEV28089894; Wed, 3 Mar 2004 18:14:31 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-hackers@FreeBSD.org Date: Wed, 3 Mar 2004 18:09:38 -0500 User-Agent: KMail/1.6 References: <200403032301.I23N1XWE005514@asarian-host.net> In-Reply-To: <200403032301.I23N1XWE005514@asarian-host.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <200403031809.38843.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Mark Subject: Re: CPU update X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 23:14:35 -0000 On Wednesday 03 March 2004 06:02 pm, Mark wrote: > Dear Sirs: > > I compiled my FreeBSD 4.7R for an AMD XP-2000. If I upgrade to an AMD 64 > 3200, will my OS still run? The AMD 64 is 32-bit downwards compatible. Yes. FreeBSD 5.x also supports amd64 natively. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 15:21:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63D5D16A4CE for ; Wed, 3 Mar 2004 15:21:24 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E0043D1F for ; Wed, 3 Mar 2004 15:21:23 -0800 (PST) SRS0=1oo9+/jn=GA=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i23NLMOI006701 for freebsd-hackers@freebsd.org; Thu, 4 Mar 2004 00:21:22 +0100 (CET) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200403032321.I23NLMBJ006689@asarian-host.net> Date: Wed, 03 Mar 2004 23:21:22 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: 2bthnsR4d22VSqWCdaWSxCtnHCSCP/a6ym9B6Bhgn6Ygflc3mRj0HY4tM6XiLVlMeYMc48tRoOz2CTvW4UmeQw== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: References: <200403032301.I23N1XWE005514@asarian-host.net> <200403031809.38843.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAQEZocjFqW1BleBN9AQEhqwf+IFU2YRJPMBM2jWxR8Aku/Ixq2bsf8T8/ st0VaqLnWvj291CSJXuPzP9epza4JKRSb859fsQOGXTQbah+7P9VYx6aAgaIn2Iv I0py6XbAHv97CsoM7CvrQQSl+82CzEOI0YbwG/z9UgjkbOwbA7gi7fvFeBQp0FR8 r4V3+seDY1udkeKghd+DZVFj7ik2XhaEfTeUsqFMi/CGN9fkhBSlojTJH3rfCIMc pG7wXQiwJ7hr03U90TKKRulY71cspxrv1FqQoKnZDbqsIDbo+p+Gm7HC6FHhYAoC 1RpsQYFJXuHnMtBLvAgIkTsDLAG1Hi6gQvmrJ0/I6xGrKxlJMKAhFQ== =+IIw Subject: Re: CPU update X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 23:21:24 -0000 ----- Original Message ----- From: "John Baldwin" To: Cc: "Mark" Sent: Thursday, March 04, 2004 12:14 AM Subject: Re: CPU update > On Wednesday 03 March 2004 06:02 pm, Mark wrote: > > Dear Sirs: > > > > I compiled my FreeBSD 4.7R for an AMD XP-2000. If I upgrade to an > > AMD 64 3200, will my OS still run? The AMD 64 is 32-bit downwards > > compatible. > > Yes. FreeBSD 5.x also supports amd64 natively. Thank you for your answer. Am I reading your "also" right, that you say, "Yes, 4.7R will run on the AMD 64 too; but only 5.x will support its native 64 bit mode support"? Thanks, - Mark From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 15:37:04 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA91116A4CE for ; Wed, 3 Mar 2004 15:37:04 -0800 (PST) Received: from mx01.netapp.com (mx01.netapp.com [198.95.226.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA1FF43D1D for ; Wed, 3 Mar 2004 15:37:04 -0800 (PST) (envelope-from kmacy@netapp.com) Received: from frejya.corp.netapp.com (frejya [10.57.157.119]) i23NaNJC010727; Wed, 3 Mar 2004 15:36:23 -0800 (PST) Received: from siml3-fe.eng.netapp.com (siml3-fe.eng.netapp.com [10.56.9.153]) i23NaMDf008257; Wed, 3 Mar 2004 15:36:22 -0800 (PST) Date: Wed, 3 Mar 2004 15:36:22 -0800 (PST) From: Kip Macy X-X-Sender: kmacy@siml3.eng.netapp.com To: Mark In-Reply-To: <200403032321.I23NLMBJ006689@asarian-host.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: CPU update X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 23:37:05 -0000 Barring any BIOS issues a standard ia32 kernel will boot and run happily on an AMD64 processor. -Kip On Wed, 3 Mar 2004, Mark wrote: > ----- Original Message ----- > From: "John Baldwin" > To: > Cc: "Mark" > Sent: Thursday, March 04, 2004 12:14 AM > Subject: Re: CPU update > > > > On Wednesday 03 March 2004 06:02 pm, Mark wrote: > > > > Dear Sirs: > > > > > > I compiled my FreeBSD 4.7R for an AMD XP-2000. If I upgrade to an > > > AMD 64 3200, will my OS still run? The AMD 64 is 32-bit downwards > > > compatible. > > > > Yes. FreeBSD 5.x also supports amd64 natively. > > Thank you for your answer. > > Am I reading your "also" right, that you say, "Yes, 4.7R will run on the AMD > 64 too; but only 5.x will support its native 64 bit mode support"? > > Thanks, > > - Mark > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- ================================================================ If I have not seen as far as others, it is because I have been standing in the footprints of giants. -- from Usenet From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 15:47:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5B2D16A4CE for ; Wed, 3 Mar 2004 15:47:24 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F55243D1F for ; Wed, 3 Mar 2004 15:47:24 -0800 (PST) SRS0=1oo9+/jn=GA=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i23NlNxg008026 for freebsd-hackers@freebsd.org; Thu, 4 Mar 2004 00:47:23 +0100 (CET) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200403032347.I23NLMDU008011@asarian-host.net> Date: Wed, 03 Mar 2004 23:47:22 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: hnI8DNrs+gnyG7CAwzUQVMLXe6cBdWkTUFQrj7uYskQOllOSreC4cLXRsHEoS1hZJeoIdfEl9JYsG1Q0gbQZxA== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAQEZuijFqW1BleBN9AQEvDAf/drgQ0JH182YFBOG0N5XJWUKwJR7n2KFI g75RjTQNfTbIUDqznQRTmdPCzI3EnTSKwptT2nEI1/UUsqi7pJ0f4tGS5iTIRRhI zmxMuOSGq9tYSUvFZYDSehPB+6IiBN+oFEtMAeZFwM/YU9apyPwq1sGo4vIXpVUS 5tpHCkPegR5QZBU4zwcY/f0b4tl1+By2i/dIAQsxARXv/V23rIsZufa0TELgpUT8 eFgvvelFsKde2lR+9Ntkq1GqyTfOSPkktnG6niXnZGo0Q9xndfApyT4Oi4HcN0bK Su926Gp3rBSVNtStNHwEUiZkSnvcu3Gjfqm1e+63Cwjfz4sfqsWaNg== =Q/gr Subject: Re: CPU update X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 23:47:24 -0000 ----- Original Message ----- From: "Kip Macy" To: "Mark" Cc: Sent: Thursday, March 04, 2004 12:37 AM Subject: Re: CPU update > Barring any BIOS issues a standard ia32 kernel will boot and run happily > on an AMD64 processor. Thanks; that is good news. :) - Mark From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 15:58:26 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3B1A16A4CE for ; Wed, 3 Mar 2004 15:58:26 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BEF443D1F for ; Wed, 3 Mar 2004 15:58:22 -0800 (PST) SRS0=1oo9+/jn=GA=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i23NwLYn008685 for freebsd-hackers@freebsd.org; Thu, 4 Mar 2004 00:58:21 +0100 (CET) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200403032358.I23NWLLL008672@asarian-host.net> Date: Wed, 03 Mar 2004 23:58:21 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: GzQpDfc/7+M00sEjYatVTKZOTuQZjgq8dx9riZUTN1Cf5SLWTKyFlV+QpqWqcZon/vzXk8McNwUy8Zt5ZtRbFQ== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAQEZxHTFqW1BleBN9AQEYIQf5AaVDGxQ8CsuxhZ1WEUFT12c0X/wWPOAV ttMrWvTGGGoPuEH7Pmz9BpPcYqJL3MHBWPK24Yyk77ttVvI/vMCQTToSaWNnMn/k RjHhFeCSclYTgF+VJfBzQmsGuNcLvbUNPe0kZEtGebbjqXZaDsYnj/mgEdTdDH1F an6bl9l2Nejtrr4p50QvFkHiYefcgqWVugdszIYxHRo2VhoEQtSHNBfxWSmPQyKC HYWGGGbqouJwUJndwhVftfDJrXWfAgegxPx2QuYkFc9eLw28nHqRXr+6X/NeG7/d UO9kRJEIM5WQc46z63GMUllgESBTwW1xxqozresCTFjGtrose4AYkQ== =eZAe Subject: Promise 20378 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 23:58:26 -0000 Dear Sirs: I currently run my FreeBSD 4.7R, perfectly, on a Promise 20276 (RAID 1). However, this chipset does not appear on; http://www.freebsd.org/relnotes/4-STABLE/hardware/i386/x27.html#AEN33 Now I am looking at the board based on the Promise 20378 (ATA133). That does not appear on the list either; will 4.7R be able to use it, though? Thanks, - Mark From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 16:45:49 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5AE616A4CE for ; Wed, 3 Mar 2004 16:45:49 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3459743D45 for ; Wed, 3 Mar 2004 16:45:47 -0800 (PST) (envelope-from tim@kientzle.com) Received: from kientzle.com (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i240j790029372; Wed, 3 Mar 2004 16:45:08 -0800 (PST) (envelope-from tim@kientzle.com) Message-ID: <40467C13.6070901@kientzle.com> Date: Wed, 03 Mar 2004 16:45:07 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: -stable needs rw obj dir for install? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 00:45:49 -0000 Julian Elischer wrote: > > 10.42.0.1:/usr/src on /usr/src (nfs, read-only) > 10.42.0.1:/usr/obj on /usr/obj (nfs, read-only) > > /usr/src and /usr/obj were precompiled on the other (NFS server) machine > with "make buildworld". > > then on this machine: > "Make installworld" with /usr/src and/usr/obj NFS mounted readonly. I've recently done this on -CURRENT and it does work there. (Of course, -CURRENT doesn't have Perl in the base system; maybe this is part of the reason?) Tim Kientzle From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 16:50:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AE8816A4CE for ; Wed, 3 Mar 2004 16:50:24 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 533C643D31 for ; Wed, 3 Mar 2004 16:50:24 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc11) with ESMTP id <2004030400502301300r9t9ae>; Thu, 4 Mar 2004 00:50:23 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA95217; Wed, 3 Mar 2004 16:50:22 -0800 (PST) Date: Wed, 3 Mar 2004 16:50:21 -0800 (PST) From: Julian Elischer To: kientzle@acm.org In-Reply-To: <40467C13.6070901@kientzle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: -stable needs rw obj dir for install? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 00:50:24 -0000 On Wed, 3 Mar 2004, Tim Kientzle wrote: > Julian Elischer wrote: > > > > 10.42.0.1:/usr/src on /usr/src (nfs, read-only) > > 10.42.0.1:/usr/obj on /usr/obj (nfs, read-only) > > > > /usr/src and /usr/obj were precompiled on the other (NFS server) machine > > with "make buildworld". > > > > then on this machine: > > "Make installworld" with /usr/src and/usr/obj NFS mounted readonly. > > I've recently done this on -CURRENT and it does > work there. (Of course, -CURRENT doesn't have Perl > in the base system; maybe this is part of the reason?) > > Tim Kientzle > The prize goes to Kris Kennaway who suggested that it was a time sync problem between the NFS server and client.. There in fact was a time problem. wierd.. From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 18:15:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BDE316A4CE for ; Wed, 3 Mar 2004 18:15:35 -0800 (PST) Received: from mail.isg.siue.edu (mail.isg.siue.edu [146.163.5.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABA9043D1F for ; Wed, 3 Mar 2004 18:15:34 -0800 (PST) (envelope-from wgrim@siue.edu) Received: from WEBSHIELD2.isg.siue.edu (webshield2.isg.siue.edu [146.163.5.150])id UAA06245 for ; Wed, 3 Mar 2004 20:15:32 -0600 (CST) Received: From siue.edu ([146.163.143.123]) by WEBSHIELD2.isg.siue.edu (WebShield SMTP v4.5 MR1a); id 1078366531830; Wed, 3 Mar 2004 20:15:31 -0600 Message-ID: <4046913D.1000800@siue.edu> Date: Wed, 03 Mar 2004 20:15:25 -0600 From: William Grim Organization: SIUE 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: hackers@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: -stable needs rw obj dir for install? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: wgrim@siue.edu List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 02:15:35 -0000 Julian Elischer wrote: >The prize goes to Kris Kennaway who suggested that it was a time sync >problem between the NFS server and client.. > >There in fact was a time problem. > >wierd.. > > I don't know how it was determined that there was a time sync problem; however, in general, "make" creates updated object files depending on the time an object was created. If the source code is newer than the object that would be built from the source code, then the object is rebuilt. Maybe this will help you understand why the times have to be in sync between and NFS server and client. -- William Michael Grim Student, Southern Illinois University at Edwardsville Unix Network Administrator, SIUE, Computer Science dept. Phone: (217) 341-6552 Email: wgrim@siue.edu From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 18:25:27 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A15A16A4CE for ; Wed, 3 Mar 2004 18:25:27 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FEA343D1F for ; Wed, 3 Mar 2004 18:25:27 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc12) with ESMTP id <200403040225260140086mefe>; Thu, 4 Mar 2004 02:25:26 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA96026; Wed, 3 Mar 2004 18:25:25 -0800 (PST) Date: Wed, 3 Mar 2004 18:25:23 -0800 (PST) From: Julian Elischer To: William Grim In-Reply-To: <4046913D.1000800@siue.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: -stable needs rw obj dir for install? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 02:25:27 -0000 On Wed, 3 Mar 2004, William Grim wrote: > Julian Elischer wrote: > > >The prize goes to Kris Kennaway who suggested that it was a time sync > >problem between the NFS server and client.. > > > >There in fact was a time problem. > > > >wierd.. > > > > > I don't know how it was determined that there was a time sync problem; > however, in general, "make" creates updated object files depending on > the time an object was created. If the source code is newer than the > object that would be built from the source code, then the object is rebuilt. > > Maybe this will help you understand why the times have to be in sync > between and NFS server and client Well of course I know that, but THEORETICALLY all the dependencies were ALSO on the NFS partition so they should still have matched the result. There must be a dependency on something outside of /usr/src/ or /usr/obj > > -- > William Michael Grim > Student, Southern Illinois University at Edwardsville > Unix Network Administrator, SIUE, Computer Science dept. > Phone: (217) 341-6552 > Email: wgrim@siue.edu > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 22:23:16 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5699C16A4CE for ; Wed, 3 Mar 2004 22:23:16 -0800 (PST) Received: from a.mail.mho.net (a.mail.base.mho.net [64.58.4.35]) by mx1.FreeBSD.org (Postfix) with SMTP id 1B61A43D46 for ; Wed, 3 Mar 2004 22:23:16 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 9180 invoked from network); 4 Mar 2004 06:23:15 -0000 Received: from unknown (HELO junior-wifi.samsco.home) (64.58.1.252) by a.mail.mho.net with SMTP; 4 Mar 2004 06:23:15 -0000 From: Scott Long To: hackers@freebsd.org Date: Wed, 3 Mar 2004 23:20:00 -0700 User-Agent: KMail/1.6 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200403032320.00448.scottl@freebsd.org> Subject: Call for FreeBSD Bi-Monthly Status Reports X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 06:23:16 -0000 All, It's time for the Jan-Feb 2004 FreeBSD status report. It hasn't been quite two months since the last report, but I'm trying to get back onto the normal 2-month cycle. Please submit your report to monthly@freebsd.org by March 13, 2004. The template for the report is at http://www.freebsd.org/status/reports-sample.xml. As always, we are looking for reports on projects that relate to FreeBSD. Topics can include ongoing development, new features, documentation, or wahtever else relates to the progress and spread of FreeBSD. Again, reports are due by March 13. Thanks a lot! Scott Long From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 22:51:49 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D6EE16A4CE for ; Wed, 3 Mar 2004 22:51:49 -0800 (PST) Received: from a.mail.mho.net (a.mail.base.mho.net [64.58.4.35]) by mx1.FreeBSD.org (Postfix) with SMTP id D31EF43D31 for ; Wed, 3 Mar 2004 22:51:48 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 18531 invoked from network); 4 Mar 2004 06:51:48 -0000 Received: from unknown (HELO junior-wifi.samsco.home) (64.58.1.252) by a.mail.mho.net with SMTP; 4 Mar 2004 06:51:48 -0000 From: Scott Long To: hackers@freebsd.org Date: Wed, 3 Mar 2004 23:48:34 -0700 User-Agent: KMail/1.6 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200403032348.34600.scottl@freebsd.org> Subject: Resend: Call for FreeBSD Bi-Monthly Status Reports X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 06:51:49 -0000 [Resending to correct the URL below] All, It's time for the Jan-Feb 2004 FreeBSD status report. It hasn't been quite two months since the last report, but I'm trying to get back onto the normal 2-month cycle. Please submit your report to monthly@freebsd.org by March 13, 2004. The template for the report is at http://www.freebsd.org/news/status/report-sample.xml. As always, we are looking for reports on projects that relate to FreeBSD. Topics can include ongoing development, new features, documentation, or wahtever else relates to the progress and spread of FreeBSD. Again, reports are due by March 13. Thanks a lot! Scott Long From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 23:02:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C57F16A4CE for ; Wed, 3 Mar 2004 23:02:48 -0800 (PST) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B45443D1D for ; Wed, 3 Mar 2004 23:02:48 -0800 (PST) (envelope-from mark@markdnet.demon.co.uk) Received: from lizacnet.demon.co.uk ([80.177.208.105] helo=192.168.0.2) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 1AymsZ-000Pqt-0W for freebsd-hackers@freebsd.org; Thu, 04 Mar 2004 07:02:47 +0000 From: Mark Dixon To: freebsd-hackers@freebsd.org Date: Thu, 4 Mar 2004 07:04:23 +0000 User-Agent: KMail/1.6 References: <200403032301.I23N1XWE005514@asarian-host.net> <200403031809.38843.jhb@FreeBSD.org> In-Reply-To: <200403031809.38843.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_+TtRAB9zCZSIfZx"; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <200403040704.42175.mark@markdnet.demon.co.uk> Subject: Re: CPU update X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 07:02:48 -0000 --Boundary-03=_+TtRAB9zCZSIfZx Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 03 Mar 2004 23:09, John Baldwin wrote: > On Wednesday 03 March 2004 06:02 pm, Mark wrote: > > Dear Sirs: > > > > I compiled my FreeBSD 4.7R for an AMD XP-2000. If I upgrade to an AMD 64 > > 3200, will my OS still run? The AMD 64 is 32-bit downwards compatible. > > Yes. FreeBSD 5.x also supports amd64 natively. The next question is then can you rebuild world and ports for amd64, reboot= =20 and run in 64bit mode? Mark --Boundary-03=_+TtRAB9zCZSIfZx Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBARtT+LqgJ90OcaiARAo9UAKDgBnInz0skGLLx7Jo+oVr3OuYQeQCfVsTt mpj8jO/vfWhEWcMHUyFN7ys= =fqX0 -----END PGP SIGNATURE----- --Boundary-03=_+TtRAB9zCZSIfZx-- From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 23:45:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0288216A4CE for ; Wed, 3 Mar 2004 23:45:13 -0800 (PST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id B24FB43D48 for ; Wed, 3 Mar 2004 23:45:12 -0800 (PST) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp id 1AynXZ-000C7F-Hw for freebsd-hackers@freebsd.org; Thu, 04 Mar 2004 09:45:09 +0200 X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Mar 2004 09:45:09 +0200 From: Danny Braniss Message-Id: Subject: IBM BladeCenter success story anybody? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 07:45:13 -0000 hi, while evaluating such a box, im stuck. 1) diskless boot/pxe: loads, but booting the kernel with acpi hangs, without acpi fails - it seems that the Broadcom NIC is not recognized. 2) trying to install via cd bios boots the cd ok, but the boot on the cd failes to read. the hardware seems ok, linux did boot and work ok (of cource ibm poured some M$ into linux :-) btw, i tried current as of yesterday. danny From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 4 04:13:23 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF74116A4CE for ; Thu, 4 Mar 2004 04:13:23 -0800 (PST) Received: from moo.sysabend.org (moo.sysabend.org [66.111.41.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF93143D1F for ; Thu, 4 Mar 2004 04:13:23 -0800 (PST) (envelope-from ragnar@sysabend.org) Received: by moo.sysabend.org (Postfix, from userid 1004) id 0E1C7BF2; Thu, 4 Mar 2004 04:13:23 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by moo.sysabend.org (Postfix) with ESMTP id 0CAE2BF1; Thu, 4 Mar 2004 04:13:23 -0800 (PST) Date: Thu, 4 Mar 2004 04:13:23 -0800 (PST) From: Jamie Bowden To: Julian Elischer In-Reply-To: Message-ID: <20040304041048.N57346-100000@moo.sysabend.org> X-representing: Only myself. X-badge: We don't need no stinking badges. X-obligatory-profanity: Fuck X-moo: Moo. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org cc: William Grim Subject: Re: -stable needs rw obj dir for install? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 12:13:24 -0000 On Wed, 3 Mar 2004, Julian Elischer wrote: > On Wed, 3 Mar 2004, William Grim wrote: > > Julian Elischer wrote: > > >There in fact was a time problem. > > I don't know how it was determined that there was a time sync problem; > > however, in general, "make" creates updated object files depending on > > the time an object was created. If the source code is newer than the > > object that would be built from the source code, then the object is > > rebuilt. > > Maybe this will help you understand why the times have to be in sync > > between and NFS server and client > Well of course I know that, but THEORETICALLY all the dependencies were > ALSO on the NFS partition so they should still have matched the result. > There must be a dependency on something outside of /usr/src/ or /usr/obj No, the timestamp on the files is written by the server that the physical disk lives on, but make is reading the local clock, so if they aren't in sync, make gets real confused real fast. Been there, done that, got the T-shirt. Jamie Bowden -- "It was half way to Rivendell when the drugs began to take hold" Hunter S Tolkien "Fear and Loathing in Barad Dur" Iain Bowen From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 4 04:42:07 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09C1C16A4CE for ; Thu, 4 Mar 2004 04:42:07 -0800 (PST) Received: from arbornet.org (m-net.arbornet.org [209.142.209.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id B232C43D48 for ; Thu, 4 Mar 2004 04:42:06 -0800 (PST) (envelope-from sybexmy@m-net.arbornet.org) Received: from m-net.arbornet.org (localhost [127.0.0.1]) by arbornet.org (8.12.3p2/8.11.2) with ESMTP id i24CkBX2025793 for ; Thu, 4 Mar 2004 07:46:11 -0500 (EST) (envelope-from sybexmy@m-net.arbornet.org) Received: (from sybexmy@localhost) by m-net.arbornet.org (8.12.3p2/8.12.3/Submit) id i24CkBEV025792 for freebsd-hackers@freebsd.org; Thu, 4 Mar 2004 07:46:11 -0500 (EST) From: sybexmy alias Message-Id: <200403041246.i24CkBEV025792@m-net.arbornet.org> To: freebsd-hackers@freebsd.org Date: Thu, 4 Mar 2004 07:46:11 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: Issues with SSH+LDAP on FreeBSD 5.2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 12:42:07 -0000 Hi All, I'm attempting to integrate SSH with LDAP and PAM on a FREEBSD 5.2 host. However I'm having "access denied" error message when I try to ssh to my ldap server using PUTTY Release 0.53b. I have google around and found several document like "http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html". This documentation also does not work. I really hope that some body can guide me and give some comment what I have done wrong in my configuration files. Thank you in advance.. Sybexmy FreeBSD 5.2 RELEASE | +-openldap-server-2.1.26_1 +-pam_ldap-1.6.7_1 +-nss_ldap-1.204_5 +-OpenSSH_3.6.1p1 Client(PUTTY Release 0.53b) ------------------------ login as: testuser1 Sent username "testuser1" testuser1@10.1.7.107's password: Access denied testuser1@10.1.7.107's password: Server: LDAP DEBUGING LEVEL 4: ---------------------- sybexmy-file-svr# ./debug_slapd.sh daemon_init: ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/ bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002) bdb_db_init: Initializing BDB database bdb_db_open: dc=sybexmy,dc=com slapd starting connection_get(13) ==> bdb_bind: dn: cn=proxyuser,dc=sybexmy,dc=com send_ldap_result: err=0 matched="" text="" connection_get(13) SRCH "ou=People,dc=sybexmy,dc=com" 1 0 1 0 0 filter: (&(objectClass=posixAccount)(uid=testuser1)) attrs: uid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass bdb_idl_fetch_key: %ou=people,dc=sybexmy,dc=com bdb_idl_fetch_key: [b49d1940] bdb_idl_fetch_key: [5941c014] bdb_idl_fetch_key: [7f114c03] SSH DEBUGING (sshd port: 1234): ---------------------------------------------- sybexmy-file-svr# ./debug_sshd.sh debug2: read_server_config: filename /etc/ssh/sshd_config debug1: sshd version OpenSSH_3.6.1p1 FreeBSD-20030924 debug1: private host key: #0 type 0 RSA1 debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key. debug1: read PEM private key done: type DSA debug1: private host key: #1 type 2 DSA debug1: Bind to port 1234 on ::. Server listening on :: port 1234. debug1: Bind to port 1234 on 0.0.0.0. Server listening on 0.0.0.0 port 1234. Generating 768 bit RSA key. RSA key generation complete. debug1: Server will not fork when running in debugging mode. debug1: res_init() Connection from 10.1.7.100 port 1269 debug1: Client protocol version 1.5; client software version PuTTY-Release-0.53b debug1: no match: PuTTY-Release-0.53b debug1: Local version string SSH-1.99-OpenSSH_3.6.1p1 FreeBSD-20030924 debug2: Network child is on pid 960 debug3: privsep user:group 22:22 debug3: preauth child monitor started debug1: permanently_set_uid: 22/22 debug1: Sent 768 bit server key and 1024 bit host key. debug3: mm_request_receive entering debug1: Encryption type: blowfish debug3: mm_request_send entering: type 28 debug3: monitor_read: checking request 28 debug3: mm_request_receive_expect entering: type 29 debug3: mm_request_receive entering debug3: mm_request_send entering: type 29 debug3: mm_ssh1_session_id entering debug2: monitor_read: 28 used once, disabling now debug3: mm_request_send entering: type 30 debug3: mm_request_receive entering debug1: Received session key; encryption turned on. debug3: monitor_read: checking request 30 debug3: mm_answer_sessid entering debug2: monitor_read: 30 used once, disabling now debug3: mm_request_receive entering debug1: Installing crc compensation attack detector. debug3: mm_getpwnamallow entering debug3: mm_request_send entering: type 6 debug3: monitor_read: checking request 6 debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM debug3: mm_answer_pwnamallow debug3: mm_request_receive_expect entering: type 7 debug3: mm_request_receive entering debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1 debug3: mm_request_send entering: type 7 debug3: mm_start_pam entering debug2: monitor_read: 6 used once, disabling now debug3: mm_request_send entering: type 41 debug3: mm_request_receive entering debug1: Attempting authentication for testuser1. debug3: monitor_read: checking request 41 debug3: mm_auth_password entering debug1: PAM: initializing for "testuser1" debug3: mm_request_send entering: type 10 debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD debug3: mm_request_receive_expect entering: type 11 debug3: mm_request_receive entering debug3: Trying to reverse map address 10.1.7.100. debug1: PAM: setting PAM_RHOST to "machine185.nat.sybexmy.com" debug2: monitor_read: 41 used once, disabling now debug3: mm_request_receive entering debug3: monitor_read: checking request 10 debug3: mm_answer_authpassword: sending result 0 debug3: mm_request_send entering: type 11 debug3: mm_auth_password: user not authenticated Failed none for testuser1 from 10.1.7.100 port 1269 debug3: mm_request_receive entering debug3: mm_auth_password entering debug3: mm_request_send entering: type 10 debug3: monitor_read: checking request 10 debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD debug3: mm_answer_authpassword: sending result 0 debug3: mm_request_receive_expect entering: type 11 debug3: mm_request_send entering: type 11 debug3: mm_request_receive entering Failed password for testuser1 from 10.1.7.100 port 1269 debug3: mm_request_receive entering debug3: mm_auth_password: user not authenticated Failed password for testuser1 from 10.1.7.100 port 1269 sybexmy-file-svr# more /etc/ssh/sshd_config PasswordAuthentication yes ChallengeResponseAuthentication yes PermitRootLogin yes PrintLastLog yes sybexmy-file-svr# more/etc/pam.d/sshd auth sufficient /usr/local/lib/pam_ldap.so account sufficient /usr/local/lib/pam_ldap.so session sufficient /usr/local/lib/pam_ldap.so password required pam_unix.so no_warn try_first_pass LDAP SEARCH: ------------ # testuser1, People, sybexmy.com dn: uid=testuser1,ou=People,dc=sybexmy,dc=com cn: testuser1 Account sn: testuser1 uid: testuser1 uidNumber: 1001 gidNumber: 513 loginShell: /bin/csh gecos: testuser1 Account description: testuser1 Account sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 1077709156 displayName: testuser1 Account sambaSID: S-1-5-21-541008154-732489941-378898453-3002 sambaPrimaryGroupSID: S-1-5-21-541008154-732489941-378898453-513 sambaHomeDrive: H: sambaHomePath: \\SERVER\home sambaProfilePath: \\SERVER\profiles\testuser1 sambaPwdMustChange: 2147483647 sambaLMPassword: 419A6932ED4147C2AAD3B435B51404EE sambaPwdLastSet: 1077709156 sambaAcctFlags: [U] sambaNTPassword: 58A54CB6584BEDE940DFD029FD76E2D2 sambaLogonScript: startup.cmd objectClass: top objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSamAccount userPassword:: e1NTSEF9R2RITzhDbmhtV3IyVjBkWFFlbTVwYnlPT0hqc0pOSEU= homeDirectory: /home/testuser1 From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 06:53:07 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FE5616A4CE for ; Wed, 3 Mar 2004 06:53:07 -0800 (PST) Received: from nexlab.it (unknown [213.198.155.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 35B7343D39 for ; Wed, 3 Mar 2004 06:53:06 -0800 (PST) (envelope-from thefly@acaro.org) Received: (qmail 23265 invoked by uid 1220); 3 Mar 2004 14:53:05 -0000 Message-ID: <20040303145305.23264.qmail@nexlab.it> From: thefly@acaro.org To: freebsd-hackers@freebsd.org Date: Wed, 03 Mar 2004 15:53:05 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 04 Mar 2004 05:10:48 -0800 Subject: [Driver SC1100 Watchdog] device taken by some other driver, but which one? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 14:53:07 -0000 I finally built my driver for Geode's SC1100 Watchdog, but i got a bad news. My probe() function gets called just one time, and for the wrong device. with an pciconf -lv i get: chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x00011078 rev=0x00 hdr=0x00 vendor = 'Cyrix Corp (Now owned by VIA)' device = 'MediaGXm MMX Cyrix Integrated CPU' class = bridge subclass = HOST-PCI sis0@pci0:6:0: class=0x020000 card=0x0020100b chip=0x0020100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' device = 'DP83815/16 MacPhyter 10/100 Mb/s Ethernet MAC & PHY' class = network subclass = ethernet sis1@pci0:7:0: class=0x020000 card=0x0020100b chip=0x0020100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' device = 'DP83815/16 MacPhyter 10/100 Mb/s Ethernet MAC & PHY' class = network subclass = ethernet sis2@pci0:8:0: class=0x020000 card=0x0020100b chip=0x0020100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' device = 'DP83815/16 MacPhyter 10/100 Mb/s Ethernet MAC & PHY' class = network subclass = ethernet hifn0@pci0:14:0: class=0x0b4000 card=0x00000000 chip=0x001213a3 rev=0x01 hdr=0x00 vendor = 'HI-FN Inc.' device = '7951 Security Processor' class = processor isab0@pci0:18:0: class=0x060100 card=0x0500100b chip=0x0510100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' class = bridge subclass = PCI-ISA chip1@pci0:18:1: class=0x068000 card=0x0501100b chip=0x0511100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' class = bridge subclass = PCI-unknown atapci0@pci0:18:2: class=0x010180 card=0x0502100b chip=0x0502100b rev=0x01 hdr=0x00 vendor = 'National Semiconductor' device = 'SCx200 IDE' class = mass storage subclass = ATA chip2@pci0:18:5: class=0x068000 card=0x0505100b chip=0x0515100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' class = bridge subclass = PCI-unknown none0@pci0:19:0: class=0x0c0310 card=0xa0f80e11 chip=0xa0f80e11 rev=0x08 hdr=0x00 vendor = 'Compaq Computer Corp (Now owned by Hewlett-Packard)' device = 'ZFMicro USB Open Host Controller' class = serial bus subclass = USB and the probe() 's called for a0f8 0e11 which is the USB serial bus. My device is the 515 100b which is that PCI-unknown taken by chip2. What's wrong? FreeBSD mu1-04 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Tue Sep 16 17:04:58 GMT 2003 root@:/usr/src/sys/compile/NET4801 i386 TIA Claudio Martella From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 08:04:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7C9916A4CE; Wed, 3 Mar 2004 08:04:08 -0800 (PST) Received: from www.wcborstel.nl (node-c-0ab6.a2000.nl [62.194.10.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50BB843D1F; Wed, 3 Mar 2004 08:04:07 -0800 (PST) (envelope-from jorn@wcborstel.nl) Received: by www.wcborstel.nl (Postfix, from userid 80) id 700C5170D4; Wed, 3 Mar 2004 17:03:40 +0100 (CET) To: stable@freebsd.org, hackers@freebsd.org Received: from 172.16.1.2 (auth. user jorn@www.wcborstel.nl) by www.wcborstel.nl with HTTP; Wed, 03 Mar 2004 16:03:40 +0000 X-IlohaMail-Blah: jorn@www.wcborstel.nl X-IlohaMail-Method: mail() [mem] X-IlohaMail-Dummy: moo X-Mailer: IlohaMail/0.8.12 (On: www.wcborstel.nl) From: "Jorn Argelo" Bounce-To: "Jorn Argelo" Errors-To: "Jorn Argelo" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20040303160340.700C5170D4@www.wcborstel.nl> Date: Wed, 3 Mar 2004 17:03:40 +0100 (CET) X-Mailman-Approved-At: Thu, 04 Mar 2004 05:10:48 -0800 Subject: Standard sbc and pcm support in GENERIC kernel? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 16:04:08 -0000 Hi all, I've been on the question list for some time, and I have noticed that many people do not know how to get sound support up and running in FreeBSD 5.X. I know that re-compiling the kernel is easy enough, but there are still people not willing to do so, as I have noticed on the list. Therefor I thought it might be an idea to put sound support in the GENERIC kernel configuration, so that newbies will no longer find themselves stuck with that. The more advanced users and system administrators of servers will re-compile the kernel anyway (I think), so they might as well kick out sound support if that is not required. I hope to hear other people's opinion about this. Cheers, Jorn P.S: I am not suscribed on the stable or the hackers list, so please CC me. From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 09:40:14 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 041C716A4CE for ; Wed, 3 Mar 2004 09:40:14 -0800 (PST) Received: from nfluid.plus.com (unknown [62.254.241.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDC5743D2D for ; Wed, 3 Mar 2004 09:40:12 -0800 (PST) (envelope-from chris@nfluid.plus.com) Received: from localhost (localhost [[UNIX: localhost]]) by nfluid.plus.com (8.11.6/8.11.2) id i23HgiO02487 for freebsd-hackers@freebsd.org; Wed, 3 Mar 2004 17:42:44 GMT Content-Type: text/plain; charset="us-ascii" From: Chris Smith Organization: netFluid Technology Ltd To: freebsd-hackers@freebsd.org Date: Wed, 3 Mar 2004 17:42:43 +0000 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200403031742.43986.chris@nfluid.co.uk> X-Mailman-Approved-At: Thu, 04 Mar 2004 05:10:48 -0800 Subject: Kernel SysV IPC defaults. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: chris@nfluid.co.uk List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 17:40:14 -0000 Hi all. Probably no one has ever noticed, but if you look at the default ipc sett= ings=20 for message queues as defined by default are screwy. (ipcs -T if you want to have a look). Consider MSGMAX (max bytes in a message) and MSGMNB (max bytes in a queu= e) The defaults are MSGMAX > MSGMNB, which is clearly backwards. I forget what the default kernel values actually are as I've recompiled t= he=20 kernel to sort them out for my server, but it's something like MSGMAX =3D= 4096=20 and MSGMNB =3D 2048. I ported my middleware a while ago to freebsd, but it failed to run as it= was=20 trying to put messages of 4096 bytes into a queue that can only contain a= t=20 most 2048 bytes _in total_ for all messages in the queue. Basically it allows someone to put half a message in a queue. Hehe :o) I had to put a kludge in my middleware to use the smaller of MSGMAX and M= SGMNB=20 as the maximum message size - however this is terribly inefficient as it=20 effectively means that you can only have one message in a queue at any on= e=20 time, which defeats the point of having a queue, and makes the middelware= =20 perform extremely poorly. The reason for emailing you is that for all my porting effort, you cannot= use=20 my middleware out-of-the-box on freebsd without a kernel rebuild - which = is a=20 shame, and has put people off. The fix to this is to alter the two defaults in the relevent header file = to=20 more sensible values. I wouldn't advocate making them too big, as it's=20 sensless 'reserving' kernel space for something that is (I admit) rarely = used=20 - but values of msgmax 2048 or 4096 and msgmnb 4096 or 8192 seem sensible= (if=20 msgmnb is at least twice msgmax). If you're going to use the middleware in anger, you'd tune your kernel by= =20 rebuilding anyway - but as it is, users are not getting this far! Regards, Chris --=20 Chris Smith Technical Architect - netFluid Technology Ltd. "Internet Technologies, Distributed Systems and Tuxedo Consultancy" E: chris@nfluid.co.uk W: http://www.nfluid.co.uk From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 11:58:31 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D77A16A4CE; Wed, 3 Mar 2004 11:58:31 -0800 (PST) Received: from mail.takas.lt (mail-src.takas.lt [212.59.31.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3428843D31; Wed, 3 Mar 2004 11:58:30 -0800 (PST) (envelope-from jorn@wcborstel.nl) Received: from mail pickup service by mail.takas.lt with Microsoft SMTPSVC; Wed, 3 Mar 2004 21:58:29 +0200 Received: from mx2.freebsd.org ([216.136.204.119]) by mail.takas.lt with Microsoft SMTPSVC(5.0.2195.6713); Wed, 3 Mar 2004 18:05:25 +0200 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id E24AA56298; Wed, 3 Mar 2004 08:04:39 -0800 (PST) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0C29B16A4DC; Wed, 3 Mar 2004 08:04:37 -0800 (PST) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7C9916A4CE; Wed, 3 Mar 2004 08:04:08 -0800 (PST) Received: from www.wcborstel.nl (node-c-0ab6.a2000.nl [62.194.10.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50BB843D1F; Wed, 3 Mar 2004 08:04:07 -0800 (PST) (envelope-from jorn@wcborstel.nl) Received: by www.wcborstel.nl (Postfix, from userid 80) id 700C5170D4; Wed, 3 Mar 2004 17:03:40 +0100 (CET) To: stable@freebsd.org, hackers@freebsd.org Received: from 172.16.1.2 (auth. user jorn@www.wcborstel.nl) by www.wcborstel.nl with HTTP; Wed, 03 Mar 2004 16:03:40 +0000 X-IlohaMail-Blah: jorn@www.wcborstel.nl X-IlohaMail-Method: mail() [mem] X-IlohaMail-Dummy: moo X-Mailer: IlohaMail/0.8.12 (On: www.wcborstel.nl) From: "Jorn Argelo" Bounce-To: "Jorn Argelo" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20040303160340.700C5170D4@www.wcborstel.nl> Date: Wed, 3 Mar 2004 17:03:40 +0100 (CET) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-OriginalArrivalTime: 03 Mar 2004 16:05:28.0109 (UTC) FILETIME=[586675D0:01C40139] X-Mailman-Approved-At: Thu, 04 Mar 2004 05:10:48 -0800 Subject: Standard sbc and pcm support in GENERIC kernel? X-BeenThere: freebsd-hackers@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 19:58:31 -0000 Hi all, I've been on the question list for some time, and I have noticed that many people do not know how to get sound support up and running in FreeBSD 5.X. I know that re-compiling the kernel is easy enough, but there are still people not willing to do so, as I have noticed on the list. Therefor I thought it might be an idea to put sound support in the GENERIC kernel configuration, so that newbies will no longer find themselves stuck with that. The more advanced users and system administrators of servers will re-compile the kernel anyway (I think), so they might as well kick out sound support if that is not required. I hope to hear other people's opinion about this. Cheers, Jorn P.S: I am not suscribed on the stable or the hackers list, so please CC me. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 13:31:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB6BF16A4CE; Wed, 3 Mar 2004 13:31:47 -0800 (PST) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9A8943D39; Wed, 3 Mar 2004 13:31:47 -0800 (PST) (envelope-from rpratt1950@earthlink.net) Received: from user167.net971.fl.sprint-hsd.net ([69.34.136.167] helo=kt.weeble.com) by avocet.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1Aydxv-0002Un-00; Wed, 03 Mar 2004 13:31:43 -0800 Date: Wed, 3 Mar 2004 16:31:57 -0500 From: Randy Pratt To: Jorn Argelo Message-Id: <20040303163157.3440f8cb.rpratt1950@earthlink.net> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 04 Mar 2004 05:10:48 -0800 cc: stable@freebsd.org cc: hackers@freebsd.org Subject: Re: Standard sbc and pcm support in GENERIC kernel? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 21:31:47 -0000 On Wed, 3 Mar 2004 17:03:40 +0100 (CET) you wrote: > I've been on the question list for some time, and I have noticed > that many people do not know how to get sound support up and > running in FreeBSD 5.X. I know that re-compiling the kernel is easy > enough, but there are still people not willing to do so, as I have > noticed on the list. Therefor I thought it might be an idea to put > sound support in the GENERIC kernel configuration, so that newbies > will no longer find themselves stuck with that. I think I've read more than one time about problems fitting the installation on the 1.44M floppies. Definitely a bikeshed discussion but adding to the documentation regarding kldload or a knob in sysinstall to turn on all sound modules is preferable to adding to the kernel. Best regards, Randy From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 15:50:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5A7C16A4CF for ; Wed, 3 Mar 2004 15:50:47 -0800 (PST) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id A366343D2F for ; Wed, 3 Mar 2004 15:50:47 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (24b3aa7ad1522f5d682d70fcb9d00fcd@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i23NoWOo010103; Wed, 3 Mar 2004 17:50:33 -0600 (CST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C7160511A5; Wed, 3 Mar 2004 15:50:31 -0800 (PST) Date: Wed, 3 Mar 2004 15:50:31 -0800 From: Kris Kennaway To: Julian Elischer Message-ID: <20040303235031.GA47386@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Thu, 04 Mar 2004 05:10:48 -0800 cc: hackers@freebsd.org Subject: Re: -stable needs rw obj dir for install? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 23:50:48 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 03, 2004 at 03:00:01PM -0800, Julian Elischer wrote: > I have not checked this with 5.x but... >=20 >=20 > /dev/ad0s1a on / (ufs, local) > /dev/ad0s1f on /usr (ufs, local) > /dev/ad0s1e on /var (ufs, local) > 10.42.0.1:/usr/ports on /usr/ports (nfs, read-only) > 10.42.0.1:/usr/src on /usr/src (nfs, read-only) > 10.42.0.1:/usr/obj on /usr/obj (nfs, read-only) >=20 > /usr/src and /usr/obj were precompiled on the other (NFS server) machine > with "make buildworld". >=20 >=20 > then on this machine:=20 > "Make installworld" with /usr/src and/usr/obj NFS mounted readonly. >=20 > [...] > Installing /usr/libdata/perl/5.00503/mach/auto/POSIX/POSIX.bs > Installing /usr/libdata/perl/5.00503/mach/POSIX.pod > Installing /usr/libdata/perl/5.00503/mach/POSIX.pm > Writing /usr/libdata/perl/5.00503/mach/auto/POSIX/.packlist > Appending installation info to > /usr/libdata/perl/5.00503/mach/perllocal.pod > =3D=3D=3D> gnu/usr.bin/perl/library/SDBM_File > cd sdbm && make all > rm -rf libsdbm.a > rm: libsdbm.a: Read-only file system > *** Error code 1 The usual cause of perl build problems like this is a desynchronized clock (perl will try and rebuild things if it thinks they're out of date by virtue of a bad timestamp). Kris --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFARm9HWry0BWjoQKURApWoAKC/y6u//FO4LBI9uxi5P/u91NhqyACfVklE vcNLORLc8bs+eYIpzUDqWh4= =wrsm -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua-- From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 3 22:54:12 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D759216A4CE for ; Wed, 3 Mar 2004 22:54:12 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CA4A43D3F for ; Wed, 3 Mar 2004 22:54:12 -0800 (PST) (envelope-from sos@DeepCore.dk) Received: from DeepCore.dk (sos.deepcore.dk [194.192.25.130]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i246qvsR043384; Thu, 4 Mar 2004 07:53:12 +0100 (CET) (envelope-from sos@DeepCore.dk) Message-ID: <4046D25E.3000103@DeepCore.dk> Date: Thu, 04 Mar 2004 07:53:18 +0100 From: =?windows-1252?Q?S=F8ren_Schmidt?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040126 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark References: <200403032358.I23NWLLL008672@asarian-host.net> In-Reply-To: <200403032358.I23NWLLL008672@asarian-host.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 X-Mailman-Approved-At: Thu, 04 Mar 2004 05:10:48 -0800 cc: freebsd-hackers@freebsd.org Subject: Re: Promise 20378 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 06:54:13 -0000 Mark wrote: > Dear Sirs: > > I currently run my FreeBSD 4.7R, perfectly, on a Promise 20276 (RAID 1). > However, this chipset does not appear on; > > http://www.freebsd.org/relnotes/4-STABLE/hardware/i386/x27.html#AEN33 > > Now I am looking at the board based on the Promise 20378 (ATA133). That does > not appear on the list either; will 4.7R be able to use it, though? No, you need 5.1 or later for those to be supported. -Søren From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 4 04:01:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACE3116A4CF for ; Thu, 4 Mar 2004 04:01:22 -0800 (PST) Received: from cache2.telkomsel.co.id (cache2.telkomsel.co.id [202.155.14.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E51243D2F for ; Thu, 4 Mar 2004 04:01:18 -0800 (PST) (envelope-from denisz@telkomsel.co.id) Received: from telkomsel.co.id (gsi-mail.telkomsel.co.id [10.1.83.222]) i24C15ka057094 for ; Thu, 4 Mar 2004 19:01:06 +0700 (JAVT) (envelope-from denisz@telkomsel.co.id) Message-Id: <200403041201.i24C15ka057094@cache2.telkomsel.co.id> Received: from matrix Deni_Kurniawan@telkomsel.co.id [10.1.80.240] on Novell NetWare via secured & encrypted transport (TLS); Thu, 04 Mar 2004 19:01:05 +0700 From: "Deni Kurniawan" To: Date: Thu, 4 Mar 2004 19:01:16 +0700 Organization: TELKOMSEL MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0028_01C4021B.1318EE30" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcQB4GWOD0ckyzjeR6KYfrrw7j06Cw== X-Mailman-Approved-At: Thu, 04 Mar 2004 05:10:48 -0800 X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Kernel panic on 5.2.1-RELEASE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deni_kurniawan@telkomsel.co.id List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 12:01:22 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0028_01C4021B.1318EE30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, can anyone advise me on what cause this kernel panic [attached as jpg snapshot] panic screen captured from RAC is it caused by bge1 as currently this interface being used for doing snort testing (i.e, it was flooded by trunk traffic from our networks) or is there any known bugs related to the hardware ? the OS is 5.2.1-RELEASE-p1 on DELL 2650 dmesg as follow: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE-p1 #5: Wed Mar 3 14:46:01 WIT 2004 root@cvsx.telkomsel.co.id:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a351f4. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) XEON(TM) CPU 1.80GHz (1794.39-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff Hyperthreading: 2 logical CPUs real memory = 4026466304 (3839 MB) avail memory = 3913216000 (3731 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic1: Changing APIC ID to 5 ioapic2: Changing APIC ID to 6 ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fc430 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_cpu2: on acpi0 acpi_cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 15 INTA is routed to irq 5 pci0: at device 4.0 (no driver attached) pci0: at device 4.1 (no driver attached) pci0: at device 4.2 (no driver attached) pci0: at device 14.0 (no driver attached) atapci0: port 0x8b0-0x8bf,0x8d8-0x8db,0x8d0-0x8d7,0x8c8-0x8cb,0x8c0-0x8c7 at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: simplex device, DMA on primary only ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] ohci0: mem 0xfe100000-0xfe100fff irq 5 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered isab0: at device 15.3 on pci0 isa0: on isab0 pcib1: on acpi0 pci4: on pcib1 pcib2: at device 8.0 on pci4 pci5: on pcib2 pci5: at device 6.0 (no driver attached) pci5: at device 6.1 (no driver attached) aac0: mem 0xf0000000-0xf7ffffff irq 30 at device 8.1 on pci4 aac0: [MPSAFE] aac0: i960RX 100MHz, 118MB cache memory, optional battery present aac0: Kernel 2.7-1, Build 3170, S/N 7620d3 aac0: Supported Options=75c pcib3: on acpi0 pci3: on pcib3 bge0: mem 0xfcf10000-0xfcf1ffff irq 28 at device 6.0 on pci3 bge0: Ethernet address: 00:06:5b:f0:df:25 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: mem 0xfcf00000-0xfcf0ffff irq 29 at device 8.0 on pci3 bge1: Ethernet address: 00:06:5b:f0:df:26 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto pcib4: on acpi0 pci2: on pcib4 pcib5: on acpi0 pci1: on pcib5 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A orm0: