From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 02:01:18 2003 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 2F5A216A4BF for ; Sun, 24 Aug 2003 02:01:18 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A4643F85 for ; Sun, 24 Aug 2003 02:01:17 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 43E153ABB3F; Sun, 24 Aug 2003 11:02:23 +0200 (CEST) Date: Sun, 24 Aug 2003 11:02:23 +0200 From: Pawel Jakub Dawidek To: Tim Kientzle Message-ID: <20030824090223.GW47959@garage.freebsd.pl> References: <3F4828F5.8090207@acm.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="KRJ4yArSHF8vY7I3" Content-Disposition: inline In-Reply-To: <3F4828F5.8090207@acm.org> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE-p3 i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Inode Operations 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, 24 Aug 2003 09:01:18 -0000 --KRJ4yArSHF8vY7I3 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 23, 2003 at 07:54:45PM -0700, Tim Kientzle wrote: +> I'm working on some archiving programs and need to (for various +> reasons) keep track of a very large number of files so that I +> can revisit them at the end of the operation. For example, +> on extract, I need to set directory access times and permissions +> after the complete extract is finished, which requires me to +> record every created directory. (No, there is no way around +> this short of re-scanning the entire archive a second +> time, which is impractical at best.) +>=20 +> Right now, I'm storing the full pathname of each such +> file, but that is taking up a lot of memory, so I'm looking +> for a more compact approach. It occurred to me that +> the device number/inode (as returned by stat(2)) is another +> way to uniquely identify a file. As it turns out, I need to +> stat() everything anyway, so collecting such identifiers is easy. +> But, I can't find any system calls that actually use this information. +>=20 +> Question: Are there any system calls that allow you to +> access/modify a file based only on the device number/inode number? Check getfh(2)/fhopen(2) syscall if you are root. --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --KRJ4yArSHF8vY7I3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBP0h/Hz/PhmMH/Mf1AQG4pQQAnaruTo/0GKFzrwkpS4PiaQwl9dHPLTSM YHcoqqPxhyVJ5PydPi5neERV1z8Ldpng2vYQc4Zn/zzWye089TN86cpMreB/06xG +E7XldE6DiXwSSjIxbRVWUxEVtc391R4mWmVcfnJhfeFRCzYp5x2fp+ddfkBIuyt tgOlaFEuPGA= =JSDM -----END PGP SIGNATURE----- --KRJ4yArSHF8vY7I3-- From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 10:03:48 2003 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 33DBF16A4BF for ; Sun, 24 Aug 2003 10:03:48 -0700 (PDT) Received: from thot.infomex.pl (thot.infomex.pl [195.205.200.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D03E43F85 for ; Sun, 24 Aug 2003 10:03:47 -0700 (PDT) (envelope-from warex@vsh.pl) Received: by thot.infomex.pl (Postfix, from userid 1590) id B25DA274D2; Sun, 24 Aug 2003 19:05:27 +0200 (CEST) Received: from xxxifh6kxt8och (unknown [195.205.200.91]) by thot.infomex.pl (Postfix) with ESMTP id 7395C271CD for ; Sun, 24 Aug 2003 19:05:27 +0200 (CEST) Message-ID: <004a01c36a61$a7b49eb0$5bc8cdc3@xxxifh6kxt8och> From: "Markus Paluschek" To: Date: Sun, 24 Aug 2003 19:03:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Kernel Panic on FreeBSD-5.1-p2 with SMP support 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, 24 Aug 2003 17:03:48 -0000 I have Compaq Proliant Server with 2 Pentium Xeon IV 2,4GHz processors. After installing FreeBSD-5.1, upgrading to FreeBSD-5.1-p2 by cvsup and recompiling kernel with SMP support I;ve download ircd-hybrid-7 sources and installed on user account after running it and writing /restart my.ircd.server Im getting kernel panic: Fatal trap 12: page fault while in kernel mode cpuid = 2; lapic.id = 06000000 fault virtual address = 0xc4 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02a3981 stack pointer = 0x10:0xe3a83c0c frame pointer = 0x10:0xe3a83c54 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 5582 (ircd) trap number = 12 panic: page fault cpuid = 2; lapic.id = 0600000 boot() called on cpu#2 syncing disks, buffers remaning... 5132 5132 5132 5131 5131 5131 5131 than system locks, need to reset. What to do for fixing that? Markus Paluschek From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 10:45:54 2003 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 2D3D616A4BF for ; Sun, 24 Aug 2003 10:45:54 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7586743FBD for ; Sun, 24 Aug 2003 10:45:53 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h7OHjbrO095024; Sun, 24 Aug 2003 13:45:37 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h7OHjbXh095021; Sun, 24 Aug 2003 13:45:37 -0400 (EDT) Date: Sun, 24 Aug 2003 13:45:37 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Markus Paluschek In-Reply-To: <004a01c36a61$a7b49eb0$5bc8cdc3@xxxifh6kxt8och> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: Kernel Panic on FreeBSD-5.1-p2 with SMP support 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, 24 Aug 2003 17:45:54 -0000 On Sun, 24 Aug 2003, Markus Paluschek wrote: > I have Compaq Proliant Server with 2 Pentium Xeon IV 2,4GHz processors. > After installing FreeBSD-5.1, upgrading to FreeBSD-5.1-p2 by cvsup and > recompiling kernel with SMP support I;ve download ircd-hybrid-7 sources > and installed on user account after running it and writing /restart > my.ircd.server Im getting kernel panic: than system locks, need to > reset. What to do for fixing that? There's a pretty useful chapter in the FreeBSD Developer's Handbook on kernel debugging: the starting point for debugging a panic is to get a stack trace and posting that. I would actually suggest updating to FreeBSD 5-CURRENT, since some pretty large bugfixes have gone into the tree since the release, and they may well have fixed the problem you're bumping into. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 13:04:10 2003 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 0070A16A4BF for ; Sun, 24 Aug 2003 13:04:10 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 642A643FA3 for ; Sun, 24 Aug 2003 13:04:09 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h7OK48QX001699 for ; Sun, 24 Aug 2003 13:04:08 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h7OK48SP001698 for freebsd-hackers@freebsd.org; Sun, 24 Aug 2003 13:04:08 -0700 (PDT) Date: Sun, 24 Aug 2003 13:04:08 -0700 From: "David O'Brien" To: freebsd-hackers@freebsd.org Message-ID: <20030824200408.GA1576@dragon.nuxi.com> References: <20030821183421.GN85538@numachi.com> <20030821183944.GA87316@ussenterprise.ufp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030821183944.GA87316@ussenterprise.ufp.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.1-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Subject: Re: dd to floppies broken? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: 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: Sun, 24 Aug 2003 20:04:10 -0000 On Thu, Aug 21, 2003 at 02:39:44PM -0400, Leo Bicknell wrote: > In a message written on Thu, Aug 21, 2003 at 02:34:21PM -0400, Brian Reichert wrote: > > # dd bs=8192 of=/dev/fd0 if=memtest86-2.9/precomp.bin > > 10+1 records in > > 10+1 records out > > 84480 bytes transferred in 3.775199 secs (22378 bytes/sec) > > fd0 is block buffered. Try: > dd bs=18k of=/dev/rfd0c if=memtest86-2.9/precomp.bin Since FreeBSD 4.0 we haven't had block devices. rfd0 is an alias for fd0 now. You also don't need to specify the 'c' partition as the 'fd0' is already the entire media device -- rather than just the FreeBSD portion of it. From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 13:26:17 2003 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 DB71B16A4BF; Sun, 24 Aug 2003 13:26:17 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0058943FBD; Sun, 24 Aug 2003 13:26:17 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h7OKQGQX001892; Sun, 24 Aug 2003 13:26:16 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h7OKQFQZ001891; Sun, 24 Aug 2003 13:26:15 -0700 (PDT) Date: Sun, 24 Aug 2003 13:26:15 -0700 From: "David O'Brien" To: "Jin Guojun [NCS]" , "Greg 'groggy' Lehey" Message-ID: <20030824202615.GB1576@dragon.nuxi.com> Mail-Followup-To: David O'Brien , "Jin Guojun [NCS]" , Greg 'groggy' Lehey , FreeBSD Hackers , FreeBSD hardware Users References: <20030816102051.GB820@wantadilla.lemis.com> <3F3EC949.4759F1A8@lbl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F3EC949.4759F1A8@lbl.gov> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.1-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: FreeBSD Hackers cc: FreeBSD hardware Users Subject: Re: nVIDIA nForece2, again X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FreeBSD Hackers , FreeBSD hardware Users List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 20:26:18 -0000 On Sat, Aug 16, 2003 at 05:16:09PM -0700, Jin Guojun [NCS] wrote: > It is a vague problem on term of best performance -- what. > NVidia has better memory bandwidth in AMD motherboards. s/better/best/ > In terms of IDE performance, the AMD 760MP has > the best performance in all chipsets in the world. 760 gives true > 200 MB/s I/O IDE throughput, where most other chipsets only gives > 100/133 MB/s on both IDE buses with 4 drives. Acutally the nForce chip is based on the AMD 760 chipset. :-) > > My main machine has just fried a southbridge, and I'm looking for a > > replacement. From what I can see, in the AMD range, the current best > > performer is the nVIDIA nForece2. I've read Bill Paul's description > > of the problems with the onboard NIC, and if I buy one of these > > boards, I'll certainly swell his mailbox of disgruntled nVIDIA > > customers. The best nForce2 board is the Asus A7N8X Deluxe (rev 2.0 board). (note this isn't the "-X" board, which is stripped down). http://usa.asus.com/products/mb/socketa/a7n8x-d/overview.HTM Just one nice thing about this board is it has 2 NIC's. The nVidia proprity one, and an normal 3Com xl(4) one. > > I've heard that it has an IOAPIC on it, even for single processors. This is true for any nForce (original, 2, or 3) based board. You can probably even run an SMP kernel on it. > > Based on what I've read, I'd probably be putting a Barton 2600XP+ and > > 0.5 to 1 GB of DDR memory into it. Don't forget to install DIMM's in pairs. -- -- David (obrien@FreeBSD.org) From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 13:37:15 2003 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 46D0716A4BF for ; Sun, 24 Aug 2003 13:37:15 -0700 (PDT) Received: from remt21.cluster1.charter.net (remt21.cluster1.charter.net [209.225.8.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8833143F3F for ; Sun, 24 Aug 2003 13:37:14 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt21.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 134177768 for freebsd-hackers@freebsd.org; Sun, 24 Aug 2003 16:37:09 -0400 From: "Charles Howse" To: Date: Sun, 24 Aug 2003 15:36:41 -0500 Message-ID: <001c01c36a7f$7856a140$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Looking for detailed documentation: Install to existing filesystem 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, 24 Aug 2003 20:37:15 -0000 Hi, I've posted this request to 'questions' with no response, so now I'll ask 'hackers'. I'm a hobbyist, and for my personal education, I would like to learn how to install FBSD from an existing filesystem, rather than from FTP or CD. My intention is to copy the files to a directory on the second HDD of my present FBSD system, and point sysinstall to that partition/directory during the install. This would be useful in situations where the Internet or CD's are not available and the system needs to be re-installed. I can't seem to find any "detailed" instructions. The handbook just glosses over it, saying follow the instructions on the screen in sysinstall. I've Googled for days and can only find other people asking the same question and talking about their failures. I need to know: 1) What files do I need to have on the partition from which I will be installing? 2) ftp address and directory where I can find those files. 3) Can FBSD install from the .iso files? 4) A link to a tutorial or howto would really be nice. If none exists, I might consider writing one once I figure out how to do it properly. Please CC reply to me directly, as I am not subscribed to 'hackers'. Thanks, Charles From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 16:42:57 2003 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 4281C16A4BF for ; Sun, 24 Aug 2003 16:42:57 -0700 (PDT) Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73BD743F75 for ; Sun, 24 Aug 2003 16:42:56 -0700 (PDT) (envelope-from bicknell@ussenterprise.ufp.org) Received: from ussenterprise.ufp.org (bicknell@localhost [127.0.0.1]) by ussenterprise.ufp.org (8.12.9/8.12.9) with ESMTP id h7ONgt8i051171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 24 Aug 2003 19:42:55 -0400 (EDT) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.12.9/8.12.9/Submit) id h7ONgtd7051169 for freebsd-hackers@freebsd.org; Sun, 24 Aug 2003 19:42:55 -0400 (EDT) Date: Sun, 24 Aug 2003 19:42:55 -0400 From: Leo Bicknell To: "David O'Brien" Message-ID: <20030824234255.GB50910@ussenterprise.ufp.org> Mail-Followup-To: David O'Brien References: <20030821183421.GN85538@numachi.com> <20030821183944.GA87316@ussenterprise.ufp.org> <20030824200408.GA1576@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <20030824200408.GA1576@dragon.nuxi.com> Organization: United Federation of Planets X-PGP-Key: http://www.ufp.org/~bicknell/ Subject: Re: dd to floppies broken? 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, 24 Aug 2003 23:42:57 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In a message written on Sun, Aug 24, 2003 at 01:04:08PM -0700, David O'Brie= n wrote: > Since FreeBSD 4.0 we haven't had block devices. rfd0 is an alias for fd0 > now. You also don't need to specify the 'c' partition as the 'fd0' is > already the entire media device -- rather than just the FreeBSD portion > of it. Thanks for the info. I figured out what worked back with 0.8 NetBSD and have stuck with it ever since. :) --=20 Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/SU1/Nh6mMG5yMTYRAoCvAJ0U3qXx/D3hFygvCaIIKrlrVWzZYQCfYn/n iadYdyRmLPo3szoMny0uDm0= =JYLj -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 16:48:35 2003 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 99E4616A4BF for ; Sun, 24 Aug 2003 16:48:35 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1C2C43FEA for ; Sun, 24 Aug 2003 16:48:34 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Sun, 24 Aug 2003 19:48:32 -0400 Message-ID: From: Don Bowman To: "'freebsd-hackers@freebsd.org'" Date: Sun, 24 Aug 2003 19:48:21 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: machine check exception on i386? 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, 24 Aug 2003 23:48:35 -0000 has anyone implemented a handler for the machine check exception [MCE] on a x86 architecture? e.g. a xeon? In particular, on an SMP machine. What could one do if this exception where to occur [its intended to be fatal]. From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 24 17:42:58 2003 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 7917C16A4BF for ; Sun, 24 Aug 2003 17:42:58 -0700 (PDT) Received: from aleph.counter.li.org (aleph.counter.li.org [158.38.152.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id C590C43FE3 for ; Sun, 24 Aug 2003 17:42:56 -0700 (PDT) (envelope-from null@counter.li.org) Received: (from mail@localhost) by aleph.counter.li.org (8.11.2/8.8.7) id h7P0gsx08264 for freebsd-hackers@freebsd.org; Mon, 25 Aug 2003 00:42:54 GMT Date: Mon, 25 Aug 2003 00:42:54 GMT Message-Id: <200308250042.h7P0gsx08264@aleph.counter.li.org> X-Authentication-Warning: aleph.counter.li.org: mail set sender to null@counter.li.org using -f From: Linux Counter To: freebsd-hackers@freebsd.org Subject: Reply from Linux usage counter 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, 25 Aug 2003 00:42:58 -0000 The subject line of your message was Re: Re: My details. This did NOT contain the word "Linux". The counter has unfortunately been the recipient of many sorts of messages, some of which were not intended as registrations. Therefore, the subject line MUST include "Linux" to perform a simple registration. Please include the word "Linux" in the subject line, perform a registration using the form below, or register using the Web forms at http://counter.li.org/ in order to register. If you have any unusual problems - contact harald@alvestrand.no! HELP FOR THE LINUX USAGE COUNTER ================================ This message is intended for you to edit, and send right back to the Linux-counter@uninett.no address. DO NOT USE "REPLY"!!!!!!!!!!!!!!! (Practice has shown that putting the counter in the Reply-To: or From: fields of a message is a GREAT way of causing mail loops, and defending against them is a *lot* of effort. Therefore, this counter does not do it) There are two ways of registering: Simple and complex. For the SIMPLE method, simply send a message with the subject line being one of: I use Linux at home I use Linux at work I use Linux at school I do not use Linux You can also do combinations, like "I use Linux at home and at work". The counter will attempt to guess your country of origin, and count you accordingly. Information about you will not be made public. Complex registration -------------------- The complex features of the counter are accessed by using commands. A command looks like (for instance) //MACHINE, and starts in the left column. You can register MACHINES, FRIENDS and data about YOURSELF (PERSON). Below is listed an example of each of the sections, with comments that aid you in filling them out correctly. Remember to put the value on the same line as the field name! Only use the FRIENDS section if it is unlikely that the people will register themselves! When the templates are accepted by the daemon, they will be added to the database. Data will be added even if it is not parsed properly. They may be thrown out in later duplicate elimination, or you may receive a query from me regarding the validity of the data, but otherwise, they will be counted. You can also register using the WWW forms at http://domen.uninett.no/~hta/linux/counter.html You can get a report from the counter by specifying the command //REPORT The following reports are available: short - The standard listing of Linux usage, including per-country data machines - Statistics on registered Linux machines persons - Persons who use Linux, sorted by country, and some statistics All these reports are also available by anonymous FTP to aun.uninett.no, directory pub/misc/linux-counter, or through the World Wide Web at http://domen.uninett.no/~hta/linux/counter.html The counter also understands //HELP. When you use a command, the subject line of the message is *not* recorded in the counter. Good luck! Harald Tveit Alvestrand Sorry, the record help is out of order //END The END command is only required if you have a mailer that adds stuff below the last line of the message. This is the Linux Counter summary as of Sun Aug 24 20:11:30 2003 There are 137158 persons registerd. 1407 users have been registered by friends. There are 122014 machines registered. I guesstimate that between 0.2% and 5% of all Linux users have registered with the Linux Counter. So the total number of Linux users is probably between 2,743,160 and 68,579,000 people. WHERE LINUX USERS LIVE The table is sorted by number of Linux users divided by population No Country Pers Fri Mach P/Mpop Mpop ====================================================================== 1 FO Faroe Islands 50 0 20 1140.1 0.0 2 AQ Antarctica 3 0 3 729.0 0.0 3 TK Tokelau 1 0 0 674.8 0.0 4 IS Iceland 177 1 150 654.8 0.3 5 FI Finland 3128 21 3149 612.7 5.1 6 NO Norway 2165 24 2480 493.9 4.4 7 DK Denmark 2566 6 2278 488.8 5.2 8 EE Estonia 707 12 562 484.4 1.5 9 FK Falkland Islands (Islas Malv 1 0 3 421.2 0.0 10 SJ Svalbard and Jan Mayen 1 0 0 368.3 0.0 11 SE Sweden 3244 30 3946 364.5 8.9 12 SH Saint Helena 2 0 0 294.9 0.0 13 LU Luxembourg 114 0 151 274.1 0.4 14 GI Gibraltar 7 0 2 243.4 0.0 15 SI Slovenia 467 1 342 239.3 2.0 16 NL Netherlands 3564 17 3964 228.9 15.6 17 NZ New Zealand 769 0 814 216.7 3.5 18 HU Hungary 2083 17 1845 208.2 10.0 19 SM San Marino 5 0 3 203.9 0.0 20 AT Austria 1571 11 1849 195.8 8.0 21 MC Monaco 6 1 5 189.2 0.0 22 PL Poland 7196 23 4695 186.2 38.6 23 CH Switzerland 1334 10 1748 185.1 7.2 24 AD Andorra 13 0 15 178.7 0.1 25 BE Belgium 1759 512 1783 173.0 10.2 26 GL Greenland 10 0 16 171.8 0.1 27 IE Ireland 597 1 435 167.4 3.6 28 CA Canada 4566 19 4780 158.4 28.8 29 AU Australia 2492 18 2768 136.5 18.3 30 ES Spain 5335 8 3344 136.2 39.2 31 DE Germany 11164 81 12613 133.6 83.5 32 PW Palau 2 0 2 118.0 0.0 33 FR France 6319 32 5622 108.4 58.3 34 US USA 28305 298 29238 106.2 266.5 35 AW Aruba 7 0 2 103.3 0.1 36 MT Malta 38 0 25 101.2 0.4 37 IL Israel 544 3 389 100.3 5.4 38 LI Liechtenstein 3 0 11 96.4 0.0 39 SG Singapore 322 1 180 94.8 3.4 40 GB Great Britain 5258 43 5767 89.9 58.5 41 PT Portugal 839 3 670 85.0 9.9 42 MV Maldives 23 0 2 84.9 0.3 43 IT Italy 4414 35 3797 76.8 57.5 44 VG Virgin Islands (British) 1 0 1 75.8 0.0 45 LV Latvia 173 0 130 70.1 2.5 46 NC New Caledonia 13 0 4 69.2 0.2 47 RO Romania 1476 11 1065 68.2 21.7 48 LT Lithuania 241 2 206 66.1 3.6 49 CZ Czech Republic 672 9 637 65.1 10.3 50 CY Cyprus 47 0 44 63.1 0.7 51 CL Chile 886 0 511 61.8 14.3 52 BS Bahamas 16 0 8 61.7 0.3 53 AG Antigua and Barbuda 4 0 3 60.9 0.1 54 BR Brazil 9636 18 4597 59.2 162.7 55 KY Cayman Islands 2 0 0 57.7 0.0 56 BG Bulgaria 486 1 359 56.4 8.6 57 CR Costa Rica 193 0 104 55.7 3.5 58 RE Reunion 37 0 20 54.5 0.7 59 MQ Martinique 21 0 16 52.6 0.4 60 UY Uruguay 169 0 133 52.2 3.2 61 AS American Samoa 3 0 2 50.4 0.1 62 PF French Polynesia 11 0 5 48.9 0.2 63 BM Bermuda 3 0 1 48.3 0.1 64 DM Dominica 4 0 0 48.2 0.1 65 BN Brunei 14 0 3 46.7 0.3 66 GU Guam 7 0 0 44.6 0.2 67 HR Croatia 220 0 132 44.0 5.0 68 SK Slovakia 236 0 242 43.9 5.4 69 GR Greece 429 5 325 40.7 10.5 70 AR Argentina 1330 1 888 38.4 34.7 71 MP Northern Mariana Islands 2 0 3 38.3 0.1 72 BA Bosnia and Herzegovina 99 0 25 37.3 2.7 73 KR Korea (South) 1666 2 342 36.6 45.5 74 BZ Belize 8 0 2 36.5 0.2 75 FM Micronesia, Federated States 4 0 0 31.9 0.1 76 SV El Salvador 185 0 41 31.7 5.8 77 BB Barbados 8 0 12 31.1 0.3 78 PR Puerto Rico 109 0 53 28.5 3.8 79 MK Macedonia 58 0 37 27.6 2.1 80 BH Bahrain 16 0 12 27.1 0.6 81 VE Venezuela 594 0 349 27.0 22.0 82 AE United Arab Emirates 82 0 26 26.8 3.1 83 MO Macau 13 0 8 26.2 0.5 84 QA Qatar 14 1 4 25.6 0.5 85 VC Saint Vincent and the Grenad 3 0 0 25.3 0.1 86 MX Mexico 2384 6 1059 24.9 95.8 87 TT Trinidad and Tobago 31 1 8 24.4 1.3 88 KN Saint Kitts and Nevis 1 0 1 24.2 0.0 89 PA Panama 57 0 49 21.5 2.7 90 CU Cuba 222 1 93 20.3 11.0 91 MY Malaysia 404 4 181 20.2 20.0 92 CS Czechoslovakia (former) 307 0 12 19.5 15.7 93 MU Mauritius 22 0 14 19.3 1.1 94 PS Palestine 50 0 3 19.1 2.6 95 KW Kuwait 37 0 8 19.0 2.0 96 LB Lebanon 69 1 18 18.3 3.8 97 EH Western Sahara 4 0 3 18.0 0.2 98 ZA South Africa 738 1 668 17.7 41.7 99 BY Belarus 179 1 74 17.2 10.4 100 TN Tunisia 152 0 32 16.9 9.0 101 CO Colombia 594 1 356 16.1 36.8 102 UA Ukraine 800 4 539 15.7 50.9 103 TW Taiwan 327 2 188 15.2 21.5 104 BO Bolivia 105 0 60 14.7 7.2 105 AN Netherlands Antilles 3 0 0 14.4 0.2 106 RU Russia 1975 12 1325 13.3 148.2 107 JM Jamaica 34 0 7 13.1 2.6 108 PY Paraguay 71 0 29 12.9 5.5 109 KI Kiribati 1 0 0 12.4 0.1 110 EC Ecuador 124 0 59 10.8 11.5 111 GD Grenada 1 0 2 10.5 0.1 112 YT Mayotte 1 0 0 9.9 0.1 113 GT Guatemala 109 0 45 9.7 11.3 114 TO Tonga 1 0 0 9.4 0.1 115 SR Suriname 4 0 6 9.2 0.4 116 DO Dominican Republic 73 0 42 9.0 8.1 117 PH Philippines 664 2 274 8.9 74.5 118 TR Turkey 530 1 270 8.5 62.5 119 NA Namibia 14 0 11 8.3 1.7 120 FJ Fiji 6 0 3 7.7 0.8 121 MD Moldova 34 0 22 7.6 4.5 122 PE Peru 182 0 77 7.4 24.5 123 ST Sao Tome and Principe 1 0 0 6.9 0.1 124 GF French Guiana 1 0 0 6.6 0.2 125 AL Albania 19 1 7 5.8 3.2 126 VU Vanuatu 1 0 0 5.6 0.2 127 HN Honduras 30 0 16 5.4 5.6 128 NI Nicaragua 21 0 21 4.9 4.3 129 GE Georgia 25 0 45 4.8 5.2 130 CV Cape Verde 2 0 0 4.5 0.4 131 SA Saudi Arabia 86 0 15 4.4 19.4 132 KZ Kazakhstan 74 0 43 4.4 16.9 133 AM Armenia 15 0 15 4.3 3.5 134 OM Oman 9 0 9 4.1 2.2 135 TH Thailand 224 1 110 3.8 58.9 136 JO Jordan 15 0 3 3.6 4.2 137 DZ Algeria 97 0 24 3.3 29.2 138 IN India 2797 2 882 2.9 952.1 139 KG Kyrgyzstan 13 0 8 2.9 4.5 140 GY Guyana 2 0 5 2.8 0.7 141 LK Sri Lanka 52 0 14 2.8 18.6 142 IR Iran 184 0 39 2.8 66.1 143 AZ Azerbaijan 20 0 4 2.6 7.7 144 GA Gabon 3 0 3 2.6 1.2 145 JP Japan 287 1 288 2.3 125.4 146 NP Nepal 50 0 11 2.3 22.1 147 EG Egypt 132 0 31 2.1 63.6 148 MN Mongolia 5 0 6 2.0 2.5 149 ID Indonesia 409 9 201 2.0 206.6 150 PK Pakistan 254 0 59 2.0 129.3 151 KM Comoros 1 0 0 1.8 0.6 152 TJ Tajikistan 9 0 1 1.5 5.9 153 CM Cameroon 21 0 18 1.5 14.3 154 UZ Uzbekistan 34 0 19 1.5 23.4 155 ZW Zimbabwe 16 0 13 1.4 11.3 156 SY Syria 22 0 2 1.4 15.6 157 LA Laos 7 0 1 1.4 5.0 158 BW Botswana 2 0 0 1.4 1.5 159 MA Morocco 39 0 24 1.3 29.8 160 LY Libya 7 0 0 1.3 5.4 161 KE Kenya 33 0 4 1.2 28.2 162 ER Eritrea 4 0 0 1.2 3.4 163 ZM Zambia 10 0 5 1.1 9.2 164 VN Vietnam 80 0 11 1.1 74.0 165 CI Cote d'Ivoire 14 0 7 0.9 14.8 166 SN Senegal 8 0 5 0.9 9.1 167 AO Angola 9 0 2 0.9 10.3 168 CN China 1002 1 320 0.8 1210.0 169 MG Madagascar 11 0 6 0.8 13.7 170 UG Uganda 14 0 1 0.7 20.2 171 PG Papua New Guinea 3 0 2 0.7 4.4 172 GH Ghana 12 0 1 0.7 17.7 173 RW Rwanda 4 0 0 0.6 6.9 174 KH Cambodia 6 0 0 0.6 10.9 175 BT Bhutan 1 0 0 0.5 1.8 176 BD Bangladesh 59 0 20 0.5 123.1 177 LR Liberia 1 0 0 0.5 2.1 178 MM Myanmar 21 0 11 0.5 46.0 179 HT Haiti 3 0 2 0.4 6.7 180 TG Togo 2 0 2 0.4 4.6 181 TZ Tanzania 12 0 4 0.4 29.1 182 GN Guinea 3 0 4 0.4 7.4 183 NG Nigeria 42 0 11 0.4 103.9 184 CG Congo 1 0 1 0.4 2.5 185 YE Yemen 5 0 1 0.4 13.5 186 SD Sudan 11 0 3 0.3 31.5 187 MW Malawi 2 0 0 0.2 9.5 188 BJ Benin 1 0 1 0.2 5.7 189 BI Burundi 1 0 0 0.2 5.9 190 IQ Iraq 3 0 2 0.1 21.4 191 SO Somalia 1 0 2 0.1 9.6 192 ML Mali 1 0 0 0.1 9.7 193 AF Afghanistan 2 0 1 0.1 22.7 194 ET Ethiopia 4 0 5 0.1 57.2 195 MZ Mozambique 1 0 0 0.1 17.9 196 CD Democratic Congo 1 0 5 0.0 46.5 197 XW The World (Somewhere in it) 112 71 1 0.0 5771.9 WHERE PEOPLE USE LINUX Place Users Percent ============================== home 123746 91.86% school 27474 20.40% somewhere 495 0.37% work 65234 48.43% ============================== TOTAL 134705 100.00% NOTE: The total is the 134705 users who answered this question. Some gave more than one answer, so the number of answers is 216949 From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 07:28:06 2003 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 B593616A4BF for ; Mon, 25 Aug 2003 07:28:06 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 008AC43FF7 for ; Mon, 25 Aug 2003 07:28:06 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from slave.my.domain ([192.168.200.39]) by dmlb.org with esmtp (Exim 3.36 #1) id 19rIK5-000Lu0-00; Mon, 25 Aug 2003 15:27:57 +0100 Received: from dmlb by slave.my.domain with local (Exim 3.36 #1) id 19rIK5-000Ite-00; Mon, 25 Aug 2003 15:27:57 +0100 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 25 Aug 2003 15:27:57 +0100 (BST) From: Duncan Barclay To: Greg Lehey , freebsd-hackers@freebsd.org Sender: Duncan Barclay Subject: mbuf/mbuf cluster adjustments (bcm driver) 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, 25 Aug 2003 14:28:06 -0000 Hi I've finally managed to get back to work on the bcm driver for Broadcom 440x chips. I think the RX packet loss/performance problem that people have with the driver from July is down to how I am accounting for a 30byte header that the chip prepends to an incoming packet. At present, the driver preallocates a load of mbuf clusters for the chip to DMA into. The chip then loads the mbuf cluster with this 30byte header followed by the real packet. I then account for this header by doing an m_adj(m, 30) before if_input(). However, this doesn't seem to work all the time. Looking at the code for m_adj I don't think it is meant for use with mbuf clusters. Is there a tidy way of trimming this header off from the mbuf cluster? I'm going to first try manually copying stuff to confirm that this is the problem and then try m_pullup followed by m_adj. Thanks Duncan -- ________________________________________________________________________ Duncan Barclay | dmlb@dmlb.org | dmlb@freebsd.org| From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 11:37:06 2003 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 6C82316A4BF for ; Mon, 25 Aug 2003 11:37:06 -0700 (PDT) Received: from remt21.cluster1.charter.net (remt21.cluster1.charter.net [209.225.8.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE13743FEA for ; Mon, 25 Aug 2003 11:37:05 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt21.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 134177768 for freebsd-hackers@freebsd.org; Sun, 24 Aug 2003 16:37:09 -0400 From: "Charles Howse" To: Date: Sun, 24 Aug 2003 15:36:41 -0500 Message-ID: <001c01c36a7f$7856a140$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Looking for detailed documentation: Install to existing filesystem 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, 25 Aug 2003 18:37:06 -0000 Hi, I've posted this request to 'questions' with no response, so now I'll ask 'hackers'. I'm a hobbyist, and for my personal education, I would like to learn how to install FBSD from an existing filesystem, rather than from FTP or CD. My intention is to copy the files to a directory on the second HDD of my present FBSD system, and point sysinstall to that partition/directory during the install. This would be useful in situations where the Internet or CD's are not available and the system needs to be re-installed. I can't seem to find any "detailed" instructions. The handbook just glosses over it, saying follow the instructions on the screen in sysinstall. I've Googled for days and can only find other people asking the same question and talking about their failures. I need to know: 1) What files do I need to have on the partition from which I will be installing? 2) ftp address and directory where I can find those files. 3) Can FBSD install from the .iso files? 4) A link to a tutorial or howto would really be nice. If none exists, I might consider writing one once I figure out how to do it properly. Please CC reply to me directly, as I am not subscribed to 'hackers'. Thanks, Charles From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 11:52:59 2003 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 1BD9B16A4BF for ; Mon, 25 Aug 2003 11:52:59 -0700 (PDT) Received: from mail.silverwraith.com (66-214-182-79.la-cbi.charterpipeline.net [66.214.182.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA21843FE5 for ; Mon, 25 Aug 2003 11:52:55 -0700 (PDT) (envelope-from avleen@silverwraith.com) Received: from avleen by mail.silverwraith.com with local (Exim 4.20) id 19rMSU-000KTY-Kr; Mon, 25 Aug 2003 11:52:54 -0700 Date: Mon, 25 Aug 2003 11:52:54 -0700 From: Avleen Vig To: Charles Howse Message-ID: <20030825185254.GF558@silverwraith.com> References: <001c01c36a7f$7856a140$04fea8c0@moe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001c01c36a7f$7856a140$04fea8c0@moe> User-Agent: Mutt/1.5.4i Sender: Avleen Vig cc: freebsd-hackers@freebsd.org Subject: Re: Looking for detailed documentation: Install to existing filesystem 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, 25 Aug 2003 18:52:59 -0000 On Sun, Aug 24, 2003 at 03:36:41PM -0500, Charles Howse wrote: > Hi, > I've posted this request to 'questions' with no response, so now I'll > ask 'hackers'. > > I'm a hobbyist, and for my personal education, I would like to learn how > to install FBSD from an existing filesystem, rather than from FTP or CD. > > My intention is to copy the files to a directory on the second HDD of my > present FBSD system, and point sysinstall to that partition/directory > during the install. This may not answer the questions you posed, but it may be a good start for you. You have two options i can think of, if you want to mimic a traditional /stand/sysinstall installation process. 1) install an FTP server, and choose an FTP install. 2) export the hard drive over NFS, and use that. Or, a better way which I would recommend: download the source code, and put if on the second drive. We'll assume /usr/src and /usr/obj are mounted on the *second* hard drive. Run something like this: cd /usr/src make buildworld * * the '' is a flag I don't recall off the top of my head, but * it lets you change which drive / other mounted location, the new * build is installed to. Maybe someone else can help here? make buildkernel then when you want to install to a third hard drive, mount it as the location give in '' to make on the previous step, then run: make make installkernel make installworld mergemaster that should isntall the compiled sources to the new drive pretty quickly. From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 13:12:57 2003 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 D5A4216A51D for ; Mon, 25 Aug 2003 13:12:56 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45D4543FCB for ; Mon, 25 Aug 2003 13:12:56 -0700 (PDT) (envelope-from hexd@comcast.net) Received: from hexd (pcp03484859pcs.indpnd01.mo.comcast.net[68.86.74.158](untrusted sender)) by comcast.net (rwcrmhc13) with SMTP id <2003082520005201500mg6ane>; Mon, 25 Aug 2003 20:00:52 +0000 Message-ID: <000801c36b43$94056bf0$9e4a5644@hexd> From: "mike" To: Date: Mon, 25 Aug 2003 15:00:47 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: bcm4400 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, 25 Aug 2003 20:12:57 -0000 Hello, I am trying to find this driver. It is a broadcom 4400..=20 I ran slackware and found a suitable driver, now switching to freebsd I = cant find one, I was hoping someone has. =20 Thanks From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 13:22:53 2003 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 933C616A4BF for ; Mon, 25 Aug 2003 13:22:53 -0700 (PDT) Received: from remt28.cluster1.charter.net (remt28.cluster1.charter.net [209.225.8.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3A9243FDD for ; Mon, 25 Aug 2003 13:22:52 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt28.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 132655393 for freebsd-hackers@freebsd.org; Mon, 25 Aug 2003 16:22:51 -0400 From: "Charles Howse" To: Date: Mon, 25 Aug 2003 15:22:41 -0500 Message-ID: <000f01c36b46$a30fcbb0$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20030825185254.GF558@silverwraith.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Looking for detailed documentation: Install to existing filesystem 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, 25 Aug 2003 20:22:53 -0000 > This may not answer the questions you posed, but it may be a=20 > good start > for you. Hi Avleen, thanks for the reply! Before I do anything else, I'd like to ask why the option of installing to an existing filesystem exists, if there is no documentation on *exactly* how to set it up and do it. Shall we write a howto? I've been told that FBSD users just don't do that kind of install, but if that's true, why is the option there? No offense, but I'm very surprised that of all the people that read the questions and hackers lists, all over the planet, no one has replied and said, "Oh, I know how to do that, here's what you do..." Don't you think that's unusual? > You have two options i can think of, if you want to mimic a=20 > traditional > /stand/sysinstall installation process. > 1) install an FTP server, and choose an FTP install. > 2) export the hard drive over NFS, and use that. >=20 > Or, a better way which I would recommend: > download the source code, and put if on the second drive. We'll assume > /usr/src and /usr/obj are mounted on the *second* hard drive. Your 'better way' assumes FBSD is installed, working, and the computer is bootable. Correct? If, for some reason, the computer is not bootable, I'd have to boot from the CD or floppies, escape from the install, drop to single user mode, mount the appropriate partitions/slices, and continue from there. Correct? As I write this, I see that Joshua Oreman [oremanj@get-linux.org] has replied. Great! I see his corrected series of commands. I still need to know which files and directories I need to download or copy to the second HDD. I have all 3 CD's, if I can use them. From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 13:56:25 2003 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 89FFF16A4BF; Mon, 25 Aug 2003 13:56:25 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id F271743F85; Mon, 25 Aug 2003 13:56:23 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from orac.my.domain ([192.168.200.75] helo=orac) by dmlb.org with smtp (Exim 3.36 #1) id 19rONy-000MIA-00; Mon, 25 Aug 2003 21:56:22 +0100 Message-ID: <000501c36b4b$57ba6b20$4bc8a8c0@orac> From: "Duncan Barclay" To: , Date: Mon, 25 Aug 2003 21:56:23 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: New BETA of Broadcom 440x chipset driver 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, 25 Aug 2003 20:56:25 -0000 Hi I think I have fixed the RX packet loss and memory corruption problems with the previous version of the driver. Please try the code at http://people.freebsd.org/~dmlb/bcm-0308252140.tar.gz I have manged to get full link speed ftping large files in both direction. Also, I have successfully populated an empty /usr/src tree with cvsup whilst up and downloading 50MB files. Would people please try this and feed back good and bad experiences. I would be interested if people could run their favorite net bench marks with the hw.bcm_rx_quick sysctl set to 1 (default) and 0. Setting to zero forces the driver to copy data from the NIC, one causes the driver to do a small 44 byte memory shuffle. Whilst wire speed should not differ, time spent in the interrupt routine should be less with the sysctl set to 1. Please do not use on a "valuable" system. The problem that this release tries to fix sometimes resulted in kernel memory corruption. All the best Duncan From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 15:23:07 2003 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 4DE3616A4BF for ; Mon, 25 Aug 2003 15:23:07 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEC8743FEA for ; Mon, 25 Aug 2003 15:23:05 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc13) with ESMTP id <2003082522230401500k7upie>; Mon, 25 Aug 2003 22:23:04 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA24424; Mon, 25 Aug 2003 15:23:04 -0700 (PDT) Date: Mon, 25 Aug 2003 15:23:02 -0700 (PDT) From: Julian Elischer To: mike In-Reply-To: <000801c36b43$94056bf0$9e4a5644@hexd> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: bcm4400 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, 25 Aug 2003 22:23:07 -0000 it's still in development. On Mon, 25 Aug 2003, mike wrote: > Hello, > I am trying to find this driver. It is a broadcom 4400.. > I ran slackware and found a suitable driver, now switching to freebsd I cant find one, I was hoping someone has. > Thanks > _______________________________________________ > 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 Aug 25 15:37:52 2003 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 F27D416A4C1 for ; Mon, 25 Aug 2003 15:37:51 -0700 (PDT) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A6E043FDF for ; Mon, 25 Aug 2003 15:37:51 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao05.cox.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with ESMTP id <20030825223749.FVCN13237.lakemtao05.cox.net@mezz.mezzweb.com>; Mon, 25 Aug 2003 18:37:49 -0400 To: mike References: <000801c36b43$94056bf0$9e4a5644@hexd> Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed From: Jeremy Messenger MIME-Version: 1.0 Date: Mon, 25 Aug 2003 17:36:50 -0500 In-Reply-To: <000801c36b43$94056bf0$9e4a5644@hexd> User-Agent: Opera7.11/Linux M2 build 406 cc: freebsd-hackers@freebsd.org Subject: Re: bcm4400 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, 25 Aug 2003 22:37:52 -0000 On Mon, 25 Aug 2003 15:00:47 -0500, mike wrote: > Hello, > I am trying to find this driver. It is a broadcom 4400.. I ran slackware > and found a suitable driver, now switching to freebsd I cant find one, I > was hoping someone has. Thanks Check -> http://lists.freebsd.org/pipermail/freebsd-hackers/2003- August/002765.html Cheers, Mezz -- bsdforums.org 's moderator, mezz. From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 18:34:18 2003 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 9F1B116A4BF; Mon, 25 Aug 2003 18:34:18 -0700 (PDT) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1399743FE0; Mon, 25 Aug 2003 18:34:17 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu88-246-041.nc.rr.com [24.88.246.41]) h7Q1UTCJ007760; Mon, 25 Aug 2003 21:30:45 -0400 (EDT) From: "Michael E. Mercer" To: Joshua Oreman , questions@freebsd.org, hackers@freebsd.org In-Reply-To: <1057801685.352.20.camel@dual.mmercer.com> References: <1057595687.349.2.camel@dual.mmercer.com> <20030707170352.GC4668@webserver.get-linux.org> <1057635800.361.3.camel@dual.mmercer.com> <20030708161124.GA3790@webserver.get-linux.org> <1057683917.349.1.camel@dual.mmercer.com> <20030709171904.GD5010@webserver.get-linux.org> <1057783088.356.0.camel@dual.mmercer.com> <20030709220049.GA984@webserver.get-linux.org> <1057801685.352.20.camel@dual.mmercer.com> Content-Type: text/plain Message-Id: <1061861618.369.2.camel@dual.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Mon, 25 Aug 2003 21:33:38 -0400 Content-Transfer-Encoding: 7bit Subject: THANKS!!! Re: USB mouse/keyboard causes kernel panic during boot sequence 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, 26 Aug 2003 01:34:19 -0000 As of Saturday evening, the kernel no longer panics and boots up fine with USB devices plugged in. THANK YOU! THANK YOU! THANK YOU! to the person who made the last change to USB code! later Michael Mercer On Wed, 2003-07-09 at 21:48, Michael E. Mercer wrote: > > > > There is one last thing you can do: put > > > > options DDB > > > > in your kernel config file. Recompile. Reproduce. > > > > ddb> trace > > > > ... > > > > ddb> continue > > > > ... > > > > ddb> continue > > > > Uptime - 0s > > > > Rebooting... > > > > > > > > -- Josh > > Next time it involves this much typing... don't tell me... :P > > uhci_idone(0,c2e17180,c2e18000,c2e17180,c0494d6c) at +0xc > uhci_waitintr(c2e18000,c2e17180,c2e17180,8,c0494d7c) at +0xb6 > uhci_device_ctrl_start(c2e17180,0,c0494da4,c026f219,c2e17180) at +0x2c > uhci_device_ctrl_transfer(c2e,17180,0,c2e17180,c0494e0c,c026fc12) at > +0x1f > usbd_transfer(c2e17180,c0494dd4,c026fc1b,c2e17180,c2e17130) at +0xd1 > usbd_sync_transfer(c2e17180,c2e17130,c2e17100,c2e17130,c2e0daf0) at > +0x10 > usbd_request_flags(c2e17100,c0494e0c,c2e17130,0,0) at +0x5f > usbd_do_request(c2e17100,c0494e0c,c2e17130,c2e17100,0) at +0x18 > usbd_get_desc(c2e17100,1,0,8,c2e17130) at +0x67 > usbd_new_device(c2e17300,c2e18000,1,200,1,c2e17260) at +0x148 > uhub_explore(c2e17480,c2e17500,c2e17c00,0,c0494ea0) at +0x2be > usb_attach(c2e17500,c0494ebc,c0186f0f,c2e17500,c2e18000) at +0x112 > DEVICE_ATTACH(c2e17500,c2e18000,c2e17c00,0,1) at +0x2e > device_probe_and_attach(c2e17500) at +0x63 > uhci_pci_attach(c2e17c00,c0494f08,c0186f0f,c2e17c00,c2e17c00) at +0x2c6 > DEVICE_ATTACH(c2e17c00,c2e17c00,c2e16280,0,0) at +0x2e > device_probe_and_attach(c2e17c00) at +0x63 > bus_generic_attach(c2e16100,c0494f40,c0186f0f,c2e16100,c2e16100) at > +0x16 > DEVICE_ATTACH(c2e16100,c2e16100,c2e16400,0,1) at +0x2e > device_probe_and_attach(c2e16100) at +0x63 > bus_generic_attach(c2e16280,c0494f78,c0186f0f,c2e16280,c2e16280) at > +0x16 > DEVICE_ATTACH(c2e16280,c2e16280,c1454880,0,1) at +0x2e > device_probe_and_attach(c2e16280) at +0x63 > bus_generic_attach(c2e16400,c2e16400,c0494fa4,c012dd6e,c2e16400) at > +0x16 > nexus_attach(c2e16400,c0494fc0,c0186f0f,c2e16400,c2e16400) at +0xd > DEVICE_ATTACH(c2e16400,c2e16400,c0386ad0,49c000,1) at +0x2e > device_probe_and_attach(c2e16400) at +0x63 > root_bus_configure(c1454880,c035e6ec,0) at +0x16 > configure(0,491c00,49c00,0,c012d660) at +0x2a > mi_startup(0,0,0,0,0) at +0x69 > begin() at +0x47 > > That's it... hope I read my writing correctly.... :) > Michael > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 19:24:49 2003 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 3103616A4BF; Mon, 25 Aug 2003 19:24:49 -0700 (PDT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 626C043FDF; Mon, 25 Aug 2003 19:24:48 -0700 (PDT) (envelope-from larse@ISI.EDU) Received: from isi.edu (c-24-130-112-121.we.client2.attbi.com [24.130.112.121]) by boreas.isi.edu (8.11.6p2/8.11.2) with ESMTP id h7Q2OZn18532; Mon, 25 Aug 2003 19:24:35 -0700 (PDT) Message-ID: <3F4AC503.5050804@isi.edu> Date: Mon, 25 Aug 2003 19:25:07 -0700 From: Lars Eggert Organization: USC Information Sciences Institute User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Duncan Barclay References: <000501c36b4b$57ba6b20$4bc8a8c0@orac> In-Reply-To: <000501c36b4b$57ba6b20$4bc8a8c0@orac> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms010903020208010505020201" cc: freebsd-hackers@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: New BETA of Broadcom 440x chipset driver 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, 26 Aug 2003 02:24:49 -0000 This is a cryptographically signed message in MIME format. --------------ms010903020208010505020201 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Duncan, Duncan Barclay wrote: > > I think I have fixed the RX packet loss and memory corruption problems with > the previous version of the driver. Please try the code at > > http://people.freebsd.org/~dmlb/bcm-0308252140.tar.gz this version works great! > Would people please try this and feed back good and bad experiences. I would > be interested if people could run their favorite net bench marks with the > hw.bcm_rx_quick sysctl set to 1 (default) and 0. I didn't see a difference, but my router in the middle is the bottleneck. Lars -- Lars Eggert USC Information Sciences Institute --------------ms010903020208010505020201 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJtjCC AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2Vydmlj ZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkG CSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAw MDBaFw0wNDA4MjcyMzU5NTlaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2Vy dGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAw LjguMzAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN4zMqZjxwklRT7SbngnZ4HF2ogZ gpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0caCjbZjxw0+iZdsN+kvx1t1hpfmFzVWaNRqd knWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M88Dm0m1SKE4f/s5udSWYALQmJ7JRr6aFp AgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwxLTI5NzAS BgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQQFAAOBgQAxsUtH XfkBceX1U2xdedY9mMAmE2KBIqcS+CKV6BtJtyd7BDm6/ObyJOuR+r3sDSo491BVqGz3Da1M G7wD9LXrokefbKIMWI0xQgkRbLAaadErErJAXWr5edDqLiXdiuT82w0fnQLzWtvKPPZE6iZp h39Ins6ln+eE2MliYq0FxjCCAzkwggKioAMCAQICAwp2bzANBgkqhkiG9w0BAQQFADCBkjEL MAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du MQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYD VQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwMB4XDTAzMDgwMTE3MjkyOVoX DTA0MDczMTE3MjkyOVowVDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYD VQQDEwtMYXJzIEVnZ2VydDEcMBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCCASIwDQYJ KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMb7PuLXnwV+45vwlkgogdSijd5HVqUB14bWvoK0 MjWPnkLPMDMDEezdsMG1BPiZyNeqXlJJtEgdAK8H2Mc9/qLeJUq3CoAeD6Wrjq4QaxJBXgdS KcGDeQAZSDgwUJS9vx9+cXJVfLyOYxJ+CLBcO/eu8PvSi17lk6oeAbrskSGDu/Xi1o2SC4Qm l69k8xcZQEMQDodkIk/U5SJmsCRGGYdy7opHZb58yXI8eiIGp5MlgryFmmgrp1pg3OYzPOR9 zJjn7Pu1vsd97LM5hLnKrmNuYt02jLNSjr8HmpLyWCDZq4Jlfq1YgNYZZ4KOSxipia7Bxjcs nMOsxEWiolkVVT8CAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIBBAQTTDJ1TXlmZkJO VWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1UdEwEB/wQCMAAwDQYJ KoZIhvcNAQEEBQADgYEANRaPsUtrdJzTW0AMj/EQamqxOkZnzwnPWGryqskMKIf+OKa+eaXp zlBv8CHdffv9hrYpvzWUxk0WW+YJ2LRdd4fFiVGXZCGU60eYeZGf7Z8ORoexylJpvUuKZCE4 aPGY2/QZXDfOs1NE82Bhgltx59dpWfH2K0dxbpHslO8/IbowggM5MIICoqADAgECAgMKdm8w DQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MDAeFw0wMzA4MDExNzI5MjlaFw0wNDA3MzExNzI5MjlaMFQxDzANBgNVBAQTBkVnZ2VydDEN MAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkqhkiG9w0BCQEWDWxh cnNlQGlzaS5lZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDG+z7i158FfuOb 8JZIKIHUoo3eR1alAdeG1r6CtDI1j55CzzAzAxHs3bDBtQT4mcjXql5SSbRIHQCvB9jHPf6i 3iVKtwqAHg+lq46uEGsSQV4HUinBg3kAGUg4MFCUvb8ffnFyVXy8jmMSfgiwXDv3rvD70ote 5ZOqHgG67JEhg7v14taNkguEJpevZPMXGUBDEA6HZCJP1OUiZrAkRhmHcu6KR2W+fMlyPHoi BqeTJYK8hZpoK6daYNzmMzzkfcyY5+z7tb7HfeyzOYS5yq5jbmLdNoyzUo6/B5qS8lgg2auC ZX6tWIDWGWeCjksYqYmuwcY3LJzDrMRFoqJZFVU/AgMBAAGjVjBUMCoGBStlAQQBBCEwHwIB ADAaMBgCAQQEE0wydU15ZmZCTlViTkpKY2RaMnMwGAYDVR0RBBEwD4ENbGFyc2VAaXNpLmVk dTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBADUWj7FLa3Sc01tADI/xEGpqsTpG Z88Jz1hq8qrJDCiH/jimvnml6c5Qb/Ah3X37/Ya2Kb81lMZNFlvmCdi0XXeHxYlRl2QhlOtH mHmRn+2fDkaHscpSab1LimQhOGjxmNv0GVw3zrNTRPNgYYJbcefXaVnx9itHcW6R7JTvPyG6 MYID1TCCA9ECAQEwgZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZp Y2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4z MAIDCnZvMAkGBSsOAwIaBQCgggIPMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI hvcNAQkFMQ8XDTAzMDgyNjAyMjUwN1owIwYJKoZIhvcNAQkEMRYEFMg2rheO6hqvxSRZeI6i yvIHVx+fMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0G CCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGrBgkrBgEEAYI3EAQxgZ0w gZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNh cGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNl czEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4zMAIDCnZvMIGtBgsq hkiG9w0BCRACCzGBnaCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2Fw ZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRp ZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44 LjMwAgMKdm8wDQYJKoZIhvcNAQEBBQAEggEAa7WSuA0wWxpUOHpdxw0SGZ9lTd5NWaydoZJj VeYQcJCqHzE6vQ4d06tlMiPsAZuJgjoRI5p6UuUAjnA2kdtyv23jT8baOaTMWbR/O/ElhcX9 wG8eITI0632Bj/HZK8Eqj2eQ+dZwRXq+j+PVkiaQ63UQzj8rvd8KBktmNxpInnPnEVOMeS2m x66HhhdDU238t6Wjpp+QVo9rchmoY07oFWXWMMtsKYvSnGEoaO7KJRMJerIca3ldjUJ/TnxL lKAHY+xkMBePDQjCSnps/+GaaDt1+U6hJY3Z4gKDBLJMwCJRNaW5LvMvdQTeenMN3IfBzAzt +wPUk9d6sH53IMe2wgAAAAAAAA== --------------ms010903020208010505020201-- From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 20:00:43 2003 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 0991216A4BF for ; Mon, 25 Aug 2003 20:00:43 -0700 (PDT) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68E9243FA3 for ; Mon, 25 Aug 2003 20:00:42 -0700 (PDT) (envelope-from cnst@rbcmail.ru) Received: from user236.net406.nc.sprint-hsd.net ([65.40.91.236] helo=rbcmail.ru) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19rU4X-0002RJ-00; Mon, 25 Aug 2003 20:00:42 -0700 Message-ID: <3F4ACD54.5070403@rbcmail.ru> Date: Mon, 25 Aug 2003 23:00:36 -0400 From: Constantine User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.5a) Gecko/20030718 X-Accept-Language: en-gb, ru, en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: /stand/sysinstall: Why do we always have to download /INDEX for any installation changes? 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, 26 Aug 2003 03:00:43 -0000 Hello, all! Why do we always have to download .../packages/INDEX file, when we want to browse the package list from /stand/sysinstall? The size of the file is 3 megabytes, and it takes about a minute to download on my 512K DSL line (I bet it takes forever for those, who have dial-up :-) ). Why not keep a local-copy of this file and compare md5sum for the one on the ftp-server? AFAIK, we do not change the INDEX file within one release, so we do not even need to compare md5sum! Or keeping a gzipped version of that file would speed up the download in about 10 times, which is something one might consider... Cheers, Constantine. From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 25 23:07:47 2003 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 C0E7016A4BF for ; Mon, 25 Aug 2003 23:07:47 -0700 (PDT) Received: from webmail.kent.edu (webmail.kent.edu [131.123.74.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6C6743FFD for ; Mon, 25 Aug 2003 23:07:46 -0700 (PDT) (envelope-from sdavu@kent.edu) X-WebMail-UserID: sdavu Date: Tue, 26 Aug 2003 02:21:35 -0400 Sender: Sandeep Kumar Davu From: Sandeep Kumar Davu To: freebsd-hackers@freebsd.org X-EXP32-SerialNo: 00002334 Message-ID: <3F4F7C29@webmail.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.51.06 Subject: Dell fast ethernet 3ccfe575bt-d 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, 26 Aug 2003 06:07:47 -0000 Hi, I was intalling freebsd on laptop and could not find the drivers for 3ccfe575bt-d fast ethernet 10/100base-tx ethernet card. Could anyone please enligten me where can I find the driver for this card. cheers. Sandeep. From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 00:06:06 2003 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 C032316A4BF for ; Tue, 26 Aug 2003 00:06:06 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 029AA43FDD for ; Tue, 26 Aug 2003 00:06:06 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h7Q765wN034003; Tue, 26 Aug 2003 01:06:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 26 Aug 2003 01:06:04 -0600 (MDT) Message-Id: <20030826.010604.64927828.imp@bsdimp.com> To: sdavu@kent.edu From: "M. Warner Losh" In-Reply-To: <3F4F7C29@webmail.kent.edu> References: <3F4F7C29@webmail.kent.edu> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Dell fast ethernet 3ccfe575bt-d 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, 26 Aug 2003 07:06:06 -0000 In message: <3F4F7C29@webmail.kent.edu> Sandeep Kumar Davu writes: : I was intalling freebsd on laptop and could not find the drivers for : 3ccfe575bt-d fast ethernet 10/100base-tx ethernet card. Could anyone please : enligten me where can I find the driver for this card. /usr/src/sys/dev/xl in current. nowhere on 4.x stable. Warner From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 00:15:03 2003 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 564F016A4BF for ; Tue, 26 Aug 2003 00:15:03 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD0DB43FF2 for ; Tue, 26 Aug 2003 00:14:59 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h7Q7ElI05406; Tue, 26 Aug 2003 09:14:47 +0200 (MEST) Date: Tue, 26 Aug 2003 09:14:47 +0200 (CEST) From: Harti Brandt To: Duncan Barclay In-Reply-To: Message-ID: <20030826091342.D51682@beagle.fokus.fraunhofer.de> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: mbuf/mbuf cluster adjustments (bcm driver) 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, 26 Aug 2003 07:15:03 -0000 On Mon, 25 Aug 2003, Duncan Barclay wrote: DB>I then account for this header by doing an m_adj(m, 30) before DB>if_input(). However, this doesn't seem to work all the time. Looking at DB>the code for m_adj I don't think it is meant for use with mbuf DB>clusters. Is there a tidy way of trimming this header off from the mbuf DB>cluster? I'm going to first try manually copying stuff to confirm that DB>this is the problem and then try m_pullup followed by m_adj. m_adj should work on any mbuf whether with a cluster or not given that you mbuf is setup correctly. Where do you see a dependence on not beeing a cluster in that code? harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 00:42:06 2003 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 050A516A4BF for ; Tue, 26 Aug 2003 00:42:06 -0700 (PDT) Received: from nimbus5.internetters.co.uk (nimbus5.internetters.co.uk [207.228.254.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B0BA43FAF for ; Tue, 26 Aug 2003 00:42:05 -0700 (PDT) (envelope-from bsnlcom@nimbus5.internetters.co.uk) Received: (from bsnlcom@localhost) by nimbus5.internetters.co.uk (8.12.8/8.12.8) id h7Q7g4QQ017181; Tue, 26 Aug 2003 03:42:04 -0400 (EDT) Date: Tue, 26 Aug 2003 03:42:04 -0400 (EDT) Message-Id: <200308260742.h7Q7g4QQ017181@nimbus5.internetters.co.uk> To: hackers@FreeBSD.ORG References: <200308260742.h7Q7g1ae005873@nimbus9.internetters.co.uk> In-Reply-To: <200308260742.h7Q7g1ae005873@nimbus9.internetters.co.uk> Precedence: junk X-Loop: info@bsnl.com From: BSNL Auto-Reply Subject: Thank You For Your Email X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 07:42:06 -0000 Thank you for your email. BSNL Bodybuilding & Sports in North London staff are currently extremely busy, so there may be a delay before we can respond to you. If you have requested an entry for your North London gym, healthclub, fitness centre or other physical leisure facility in our website directory, this will be considered within a week or so, and we will then advise you if we are able to include it. We reserve the right to determine all listings which are included on our website. Thank you for your interest. BSNL Bodybuilding & Sports in North London www.bsnl.com A service of Get On The Web Limited From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 00:45:49 2003 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 D90DD16A4BF for ; Tue, 26 Aug 2003 00:45:49 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 154B743FF9 for ; Tue, 26 Aug 2003 00:45:49 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from orac.my.domain ([192.168.200.75] helo=orac) by dmlb.org with smtp (Exim 3.36 #1) id 19rYTl-000N6m-00; Tue, 26 Aug 2003 08:43:01 +0100 Message-ID: <008e01c36ba5$ad5c9e90$4bc8a8c0@orac> From: "Duncan Barclay" To: "Harti Brandt" References: <20030826091342.D51682@beagle.fokus.fraunhofer.de> Date: Tue, 26 Aug 2003 08:43:01 +0100 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 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-hackers@freebsd.org Subject: Re: mbuf/mbuf cluster adjustments (bcm driver) 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, 26 Aug 2003 07:45:50 -0000 From: "Harti Brandt" > On Mon, 25 Aug 2003, Duncan Barclay wrote: > > DB>I then account for this header by doing an m_adj(m, 30) before > DB>if_input(). However, this doesn't seem to work all the time. Looking at > DB>the code for m_adj I don't think it is meant for use with mbuf > DB>clusters. Is there a tidy way of trimming this header off from the mbuf > DB>cluster? I'm going to first try manually copying stuff to confirm that > DB>this is the problem and then try m_pullup followed by m_adj. > > m_adj should work on any mbuf whether with a cluster or not given that > you mbuf is setup correctly. Where do you see a dependence on not beeing a > cluster in that code? Just before I went to bed last night I think I realised what the problem is. I don't think I set the mbuf up correctly. doh! Thanks for letting me know it should work. > harti Duncan From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 01:04:12 2003 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 089C816A4BF for ; Tue, 26 Aug 2003 01:04:12 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4BFA43FAF for ; Tue, 26 Aug 2003 01:04:11 -0700 (PDT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 864742ED424; Tue, 26 Aug 2003 01:04:11 -0700 (PDT) Date: Tue, 26 Aug 2003 10:04:11 +0200 From: Maxime Henrion To: "M. Warner Losh" Message-ID: <20030826080411.GD28730@elvis.mu.org> References: <3F4F7C29@webmail.kent.edu> <20030826.010604.64927828.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030826.010604.64927828.imp@bsdimp.com> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: sdavu@kent.edu Subject: Re: Dell fast ethernet 3ccfe575bt-d 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, 26 Aug 2003 08:04:12 -0000 M. Warner Losh wrote: > In message: <3F4F7C29@webmail.kent.edu> > Sandeep Kumar Davu writes: > : I was intalling freebsd on laptop and could not find the drivers for > : 3ccfe575bt-d fast ethernet 10/100base-tx ethernet card. Could anyone please > : enligten me where can I find the driver for this card. > > /usr/src/sys/dev/xl in current. nowhere on 4.x stable. The sources for the xl(4) driver live in /usr/src/sys/pci, not in /usr/src/sys/dev/xl which doesn't exist. The driver is contained in the if_xl.c and if_xlreg.h files. Cheers, Maxime From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 01:22:44 2003 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 68E2A16A4BF for ; Tue, 26 Aug 2003 01:22:44 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0730F43F85 for ; Tue, 26 Aug 2003 01:22:43 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 68437 invoked from network); 26 Aug 2003 08:22:41 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 26 Aug 2003 08:22:41 -0000 X-pair-Authenticated: 209.68.2.70 Date: Tue, 26 Aug 2003 03:21:44 -0500 (CDT) From: Mike Silbersack To: Maxime Henrion In-Reply-To: <20030826080411.GD28730@elvis.mu.org> Message-ID: <20030826032109.F504@odysseus.silby.com> References: <3F4F7C29@webmail.kent.edu> <20030826.010604.64927828.imp@bsdimp.com> <20030826080411.GD28730@elvis.mu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: sdavu@kent.edu Subject: Re: Dell fast ethernet 3ccfe575bt-d 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, 26 Aug 2003 08:22:44 -0000 On Tue, 26 Aug 2003, Maxime Henrion wrote: > M. Warner Losh wrote: > > In message: <3F4F7C29@webmail.kent.edu> > > Sandeep Kumar Davu writes: > > : I was intalling freebsd on laptop and could not find the drivers for > > : 3ccfe575bt-d fast ethernet 10/100base-tx ethernet card. Could anyone please > > : enligten me where can I find the driver for this card. > > > > /usr/src/sys/dev/xl in current. nowhere on 4.x stable. > > The sources for the xl(4) driver live in /usr/src/sys/pci, not in > /usr/src/sys/dev/xl which doesn't exist. The driver is contained in the > if_xl.c and if_xlreg.h files. > > Cheers, > Maxime * 3Com 3c575TX 10/100Mbps/RJ-45 (Cardbus, Hurricane ASIC) No cardbus support in -stable. :) Mike "Silby" Silbersack From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 06:35:31 2003 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 8DB7E16A4BF for ; Tue, 26 Aug 2003 06:35:31 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-97.dsl.lsan03.pacbell.net [64.169.107.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0CD243FE9 for ; Tue, 26 Aug 2003 06:35:30 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id E23B666B04; Tue, 26 Aug 2003 06:35:29 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 1C6495BA; Tue, 26 Aug 2003 06:35:30 -0700 (PDT) Date: Tue, 26 Aug 2003 06:35:30 -0700 From: Kris Kennaway To: Constantine Message-ID: <20030826133530.GA16842@rot13.obsecurity.org> References: <3F4ACD54.5070403@rbcmail.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <3F4ACD54.5070403@rbcmail.ru> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org Subject: Re: /stand/sysinstall: Why do we always have to download /INDEX for any installation changes? 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, 26 Aug 2003 13:35:31 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 25, 2003 at 11:00:36PM -0400, Constantine wrote: > Hello, all! >=20 > Why do we always have to download .../packages/INDEX file, when we want= =20 > to browse the package list from /stand/sysinstall? Please send patches :-) kris --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/S2IhWry0BWjoQKURAuFUAJ9PtoB2qQA/eeuHdmTTMMnCv1bFyQCaAh4R o4dJD8yoKPeQQ6dx0CpwrK0= =9q2N -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 07:12:27 2003 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 1833216A4C0 for ; Tue, 26 Aug 2003 07:12:27 -0700 (PDT) Received: from mail.brunbowl.com (mail.brunblrds.com [65.201.220.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F13643FEC for ; Tue, 26 Aug 2003 07:12:26 -0700 (PDT) (envelope-from debbie.morgan@brunbowl.com) From: debbie.morgan@brunbowl.com To: hackers@FreeBSD.ORG Message-ID: Date: Tue, 26 Aug 2003 10:01:54 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Subject: Debbie Morgan/MSK/BIRG is out of the office. 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, 26 Aug 2003 14:12:27 -0000 I will be out of the office starting 08/26/2003 and will not return until 08/28/2003. From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 07:45:38 2003 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 6A42716A4BF for ; Tue, 26 Aug 2003 07:45:38 -0700 (PDT) Received: from scuzzy.ben.algroup.co.uk (dsl-217-155-92-105.zen.co.uk [217.155.92.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB6843F93 for ; Tue, 26 Aug 2003 07:45:37 -0700 (PDT) (envelope-from ben@scuzzy.ben.algroup.co.uk) Received: by scuzzy.ben.algroup.co.uk (Postfix, from userid 1000) id A4B8C108946; Tue, 26 Aug 2003 14:45:34 +0000 (GMT) To: hackers@FreeBSD.ORG From: ben@algroup.co.uk Precedence: bulk Message-Id: <20030826144534.A4B8C108946@scuzzy.ben.algroup.co.uk> Date: Tue, 26 Aug 2003 14:45:34 +0000 (GMT) Sender: ben@scuzzy.ben.algroup.co.uk Subject: I'm away X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 14:45:38 -0000 I'm away until Tuesday the 26th of August. If you want something to do with A.L. Digital then try Adam (adam@algroup.co.uk), Dominic (dominic@aldigital.co.uk) or the ALD project managers (projects@aldigital.co.uk), or call +44 (20) 8742 0755. I'll be checking in occasionally with the office, so you can also leave me a message there. If you have a problem with any of the software I maintain, try the appropriate mailing list. If you've just posted to a mailing list, my apologies. One day I'll figure out how not to spam you with this message. If you really want me to read your message now, then try putting [URGENT] in the subject. No promises, I may not bother to read them while I'm away, but I'll definitely see them when I get back. If you are really, really desparate, ring the office and tell them. Cheers, Ben. From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 09:33:50 2003 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 C909116A4BF for ; Tue, 26 Aug 2003 09:33:50 -0700 (PDT) Received: from apollo2.cloudnet.com (apollo2.cloudnet.com [209.188.96.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id D543D43F75 for ; Tue, 26 Aug 2003 09:33:49 -0700 (PDT) (envelope-from tyler@statuo.com) Received: from TYBOX (hidden-user@mtc.cloudnet.com [209.188.99.187] (may be forged)) by apollo2.cloudnet.com (8.12.9/8.12.9) with ESMTP id h7QGXmq0081344 for ; Tue, 26 Aug 2003 11:33:48 -0500 (CDT) From: "Tyler Kellen" To: Date: Tue, 26 Aug 2003 11:33:59 -0500 Message-ID: <000001c36bef$da8d1260$a700000a@TYBOX> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Subject: Minimalist FreeBSD 4.8 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, 26 Aug 2003 16:33:50 -0000 Hey all, I'm new to this mailing list and I'm certainly no FreeBSD hacker. I'm hoping one of you can help me out. I'd like to say I am a former linux user, but I'm not there yet. I currently run a linux from scratch box. I'd like to migrate to FreeBSD. I've got a 4.8 minimal install on an extra machine. As an LFS user I find the FreeBSD 4.8 minimal install to be pretty far from minimal. I'm looking for a way to strip down my 4.8 box to nothing but gcc and vi. Unfortunately I don't quite know how to get there. I've checked out the PicoBSD project, the MiniBSD project and the FreeBSD From Scratch projects extensively. I'm not famillar enough with FreeBSD to get any of them up and running the way I want. I'm hoping to end up with an empty system that I can fool around with and learn from the bottom up. The information I'm looking to aquire is the absolute minimum files required to boot FreeBSD 4.8 into multi-user mode. If this involves deleting a massive amount of directories and files, or setting up a new drive and copying only the needed files, I think I can make it work. Can any of you help me out? Or point me to a truly minimal distribution that uses FreeBSD 4.8? Thanks in advance, Tyler From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 10:20:26 2003 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 7A10716A4BF for ; Tue, 26 Aug 2003 10:20:26 -0700 (PDT) Received: from epita.fr (hermes.epita.fr [163.5.255.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5519443FBF for ; Tue, 26 Aug 2003 10:20:25 -0700 (PDT) (envelope-from le-hen_j@epita.fr) Received: from carpediem (carpediem.epita.fr [10.42.42.5]) by epita.fr id h7QHKHX29331 Tue, 26 Aug 2003 19:20:17 +0200 (CEST) Date: Tue, 26 Aug 2003 19:20:16 +0200 From: jeremie le-hen To: Tyler Kellen Message-ID: <20030826172016.GA27528@carpediem.epita.fr> References: <000001c36bef$da8d1260$a700000a@TYBOX> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c36bef$da8d1260$a700000a@TYBOX> User-Agent: Mutt/1.4i cc: freebsd-hackers@freebsd.org Subject: Re: Minimalist FreeBSD 4.8 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, 26 Aug 2003 17:20:26 -0000 > Can any of you help me out? Or point me to a truly minimal distribution > that uses FreeBSD 4.8? AFAIK, the only thing you can do is tuning your own /etc/make.conf (template in /etc/defaults/make.conf). Here is the interessant part : #NO_CVS= true # do not build CVS #NO_BIND= true # do not build BIND [...] #NOSHARE= true # do not go into the share subdir #NOUUCP= true # do not build uucp related programs But it appears to mainly apply to third-party software. There is no kind of "binutils" or "fileutils" package in BSD : all these tools are part of the base system and cannot be removed easily, since there maybe other parts which rely on them. Regards, -- Jeremie aka TtZ/TataZ jeremie.le-hen@epita.fr From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 10:22:55 2003 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 0175216A4BF; Tue, 26 Aug 2003 10:22:55 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC1E143F93; Tue, 26 Aug 2003 10:22:53 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h7QHKjxk027067; Tue, 26 Aug 2003 13:20:45 -0400 (EDT) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h7QHMHff050550; Tue, 26 Aug 2003 13:22:18 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Duncan Barclay In-Reply-To: <000501c36b4b$57ba6b20$4bc8a8c0@orac> References: <000501c36b4b$57ba6b20$4bc8a8c0@orac> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-abgu5MK9CbY3pDH7xJ92" Organization: MarcusCom, Inc. Message-Id: <1061918569.67559.11.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Tue, 26 Aug 2003 13:22:49 -0400 X-Spam-Status: No, hits=-11.6 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-hackers@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: New BETA of Broadcom 440x chipset driver 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, 26 Aug 2003 17:22:55 -0000 --=-abgu5MK9CbY3pDH7xJ92 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-08-25 at 16:56, Duncan Barclay wrote: > Hi >=20 > I think I have fixed the RX packet loss and memory corruption problems wi= th > the previous version of the driver. Please try the code at >=20 > http://people.freebsd.org/~dmlb/bcm-0308252140.tar.gz >=20 > I have manged to get full link speed ftping large files in both direction= . > Also, I have successfully populated an empty /usr/src tree with cvsup whi= lst > up and downloading 50MB files. This is _much_ nicer so far. My interactive sessions (i.e. SSH, checking mail, logging into AIM, etc.) are all much quicker and much more reliable. >=20 > Would people please try this and feed back good and bad experiences. I wo= uld > be interested if people could run their favorite net bench marks with the > hw.bcm_rx_quick sysctl set to 1 (default) and 0. Setting to zero forces t= he > driver to copy data from the NIC, one causes the driver to do a small 44 > byte memory shuffle. Whilst wire speed should not differ, time spent in t= he > interrupt routine should be less with the sysctl set to 1. I'll try with 0 later, but 1 seems pretty good. I haven't done a big transfer yet, though. >=20 > Please do not use on a "valuable" system. The problem that this release > tries to fix sometimes resulted in kernel memory corruption. :-) Too late. My laptop is pretty important, but it's the only machine I have that can use this driver. Joe >=20 > All the best >=20 > Duncan >=20 > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-abgu5MK9CbY3pDH7xJ92 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/S5dpb2iPiv4Uz4cRAnnmAKCHBs8gBSOVCjMtM9AxHfcxkG7oBgCfRQrW Lx3ZwloDMZGelBoQgZ7F5H0= =gpup -----END PGP SIGNATURE----- --=-abgu5MK9CbY3pDH7xJ92-- From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 10:41:07 2003 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 38F6416A4BF for ; Tue, 26 Aug 2003 10:41:07 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9DA743FA3 for ; Tue, 26 Aug 2003 10:41:05 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h7QHf4sE056117; Tue, 26 Aug 2003 10:41:05 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F4B9BE0.5010209@acm.org> Date: Tue, 26 Aug 2003 10:41:52 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tyler Kellen References: <000001c36bef$da8d1260$a700000a@TYBOX> In-Reply-To: <000001c36bef$da8d1260$a700000a@TYBOX> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Minimalist FreeBSD 4.8 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: Tue, 26 Aug 2003 17:41:07 -0000 Tyler Kellen wrote: > I've got a 4.8 minimal install on an extra machine. As an LFS user > I find the FreeBSD 4.8 minimal install to be pretty far from minimal. You've found one of the major differences between FreeBSD and Linux. In short, FreeBSD is a complete system. It's designed, developed, and maintained as a single coherent project. (There are a few components that are imported from outside sources, but the key approach is still the same: the source code from those outside projects is integrated into FreeBSD's source code and then maintained as a part of the integrated FreeBSD project.) In contrast, Linux distributions are assembled from the results of a number of independently-managed projects. As a result, it is quite natural to remove (or not install) components of a Linux distribution. This is a less natural thing to do with FreeBSD. It is possible, and minimal FreeBSD systems are being used in a lot of embedded systems (such as routers, email appliances, and the like), but it does require a bit of expertise to get there. > I've checked > out the PicoBSD project, the MiniBSD project and the FreeBSD From > Scratch projects extensively. I'm not famillar enough with FreeBSD to > get any of them up and running the way I want. Those projects are intended more for people knowledgable about FreeBSD who want to customize FreeBSD for specialized applications. They really aren't designed for people just getting started. > I'm looking for a way to strip down my 4.8 box to nothing but gcc and > vi. Unfortunately I don't quite know how to get there. > I'm hoping to end up with an empty system that I can fool > around with and learn from the bottom up. My advice: start deleting things and see what happens. You can always re-install from the CDROM and start over if necessary. In the case of FreeBSD, though, a better way to start learning the system is probably to install a basic system, then learn how to compile and update the system from source code, and then start playing with the various customization options there (read "man make.conf" carefully, experiment with kernel configuration, etc.). That will help you get a feel for how the various pieces interact and which ones are important for what uses. You may want to set yourself a goal of building your own customized release CDs (e.g. "make release"). By the time you get there, you'll have a pretty good feel for the FreeBSD system as a whole. If you have programming skills, you can then start digging into the source code and seeing how it all works internally. If not, you can still get a lot out of browsing through the source tree to see what's there and how it all fits together. And, of course, read the mailing lists and ask questions. You've already got that part. FreeBSD is a great system. Welcome to the club! Tim Kientzle From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 11:28:07 2003 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 83CA716A4BF for ; Tue, 26 Aug 2003 11:28:07 -0700 (PDT) Received: from apollo2.cloudnet.com (apollo2.cloudnet.com [209.188.96.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id B16CD43FE9 for ; Tue, 26 Aug 2003 11:28:06 -0700 (PDT) (envelope-from tyler@statuo.com) Received: from TYBOX (hidden-user@mtc.cloudnet.com [209.188.99.187] (may be forged)) by apollo2.cloudnet.com (8.12.9/8.12.9) with ESMTP id h7QIS22e035028; Tue, 26 Aug 2003 13:28:02 -0500 (CDT) From: "Tyler Kellen" To: Date: Tue, 26 Aug 2003 13:28:14 -0500 Message-ID: <001a01c36bff$cff9e840$a700000a@TYBOX> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <3F4B9BE0.5010209@acm.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: freebsd-hackers@freebsd.org Subject: RE: Minimalist FreeBSD 4.8 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, 26 Aug 2003 18:28:07 -0000 Tim, I've been pointed in the direction of the delete-and-reboot method a few times before. I'd really like some pointers for trimming down quickly that doesn't involve hours of trial and error. I don't need all of the functionality that base system offers. When and if I do, I'd like to put it on the system myself. Just so you have a little background, I am a seasoned C & C++ programmer. I'm currently doing some web-based application development utilizing asp/mssql. In the past I've worked with php/postgresql. I'm not a novice by a long shot when it comes to this sort of tinkering. Even so this process has proved itself pretty daunting. I find it much easier to learn when everything on my system was put there by me (within reason). I'm a bit of a perfectionist and I feel like I can't get there with FreeBSD. It bugs me to the point of turning back to Linux. I'm doing a make buildworld as we speak, hopefully going through this process will help a bit. What I'd really like to know is how to strip down a working system. If This hasn't been done, I guess I'm looking for someone with the knowledge and the time/generosity to help me figure it out. Once I get there, I intend to post it on my website for other converts who may feel the same way. This forum is most likely going to be my last resort, as I have looked pretty much everywhere I can think to look. Is there anything else you can offer to get me moving in the desired direction? -T -----Original Message----- From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of Tim Kientzle Sent: Tuesday, August 26, 2003 12:42 PM To: Tyler Kellen Cc: freebsd-hackers@freebsd.org Subject: Re: Minimalist FreeBSD 4.8 Tyler Kellen wrote: > I've got a 4.8 minimal install on an extra machine. As an LFS user > I find the FreeBSD 4.8 minimal install to be pretty far from minimal. You've found one of the major differences between FreeBSD and Linux. In short, FreeBSD is a complete system. It's designed, developed, and maintained as a single coherent project. (There are a few components that are imported from outside sources, but the key approach is still the same: the source code from those outside projects is integrated into FreeBSD's source code and then maintained as a part of the integrated FreeBSD project.) In contrast, Linux distributions are assembled from the results of a number of independently-managed projects. As a result, it is quite natural to remove (or not install) components of a Linux distribution. This is a less natural thing to do with FreeBSD. It is possible, and minimal FreeBSD systems are being used in a lot of embedded systems (such as routers, email appliances, and the like), but it does require a bit of expertise to get there. > I've checked > out the PicoBSD project, the MiniBSD project and the FreeBSD From > Scratch projects extensively. I'm not famillar enough with FreeBSD to > get any of them up and running the way I want. Those projects are intended more for people knowledgable about FreeBSD who want to customize FreeBSD for specialized applications. They really aren't designed for people just getting started. > I'm looking for a way to strip down my 4.8 box to nothing but gcc and > vi. Unfortunately I don't quite know how to get there. > I'm hoping to end up with an empty system that I can fool > around with and learn from the bottom up. My advice: start deleting things and see what happens. You can always re-install from the CDROM and start over if necessary. In the case of FreeBSD, though, a better way to start learning the system is probably to install a basic system, then learn how to compile and update the system from source code, and then start playing with the various customization options there (read "man make.conf" carefully, experiment with kernel configuration, etc.). That will help you get a feel for how the various pieces interact and which ones are important for what uses. You may want to set yourself a goal of building your own customized release CDs (e.g. "make release"). By the time you get there, you'll have a pretty good feel for the FreeBSD system as a whole. If you have programming skills, you can then start digging into the source code and seeing how it all works internally. If not, you can still get a lot out of browsing through the source tree to see what's there and how it all fits together. And, of course, read the mailing lists and ask questions. You've already got that part. FreeBSD is a great system. Welcome to the club! Tim Kientzle _______________________________________________ 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 Tue Aug 26 11:32:15 2003 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 9044116A4BF for ; Tue, 26 Aug 2003 11:32:15 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 420D243FE9 for ; Tue, 26 Aug 2003 11:32:14 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 9907 invoked by uid 5013); 26 Aug 2003 18:29:06 -0000 Date: Tue, 26 Aug 2003 19:29:06 +0100 From: Bruce M Simpson To: Tyler Kellen Message-ID: <20030826182906.GI21219@spc.org> Mail-Followup-To: Bruce M Simpson , Tyler Kellen , kientzle@acm.org, freebsd-hackers@freebsd.org References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001a01c36bff$cff9e840$a700000a@TYBOX> User-Agent: Mutt/1.4.1i Organization: SPC cc: freebsd-hackers@freebsd.org cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 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, 26 Aug 2003 18:32:15 -0000 On Tue, Aug 26, 2003 at 01:28:14PM -0500, Tyler Kellen wrote: > What I'd really like to know is how to strip down a working system. If > This hasn't been done, I guess I'm looking for someone with the > knowledge and the time/generosity to help me figure it out. Once I get > there, I intend to post it on my website for other converts who may feel > the same way. Look at the ClosedBSD cvs tree for examples of how and how not to do this. BMS From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 11:34:04 2003 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 9720616A4BF for ; Tue, 26 Aug 2003 11:34:04 -0700 (PDT) Received: from shiva.warpcore.org (shiva.warpcore.org [208.2.70.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id D84FD43FE0 for ; Tue, 26 Aug 2003 11:34:03 -0700 (PDT) (envelope-from drevil@warpcore.org) Received: from [65.26.139.87] (CPE-65-26-139-87.kc.rr.com [65.26.139.87]) by shiva.warpcore.org (8.12.9/8.12.9) with ESMTP id h7QIY1dv000716 for ; Tue, 26 Aug 2003 13:34:02 -0500 From: Shawn To: freebsd-hackers@freebsd.org In-Reply-To: <001a01c36bff$cff9e840$a700000a@TYBOX> References: <001a01c36bff$cff9e840$a700000a@TYBOX> Content-Type: text/plain Organization: http://drevil.warpcore.org/ Message-Id: <1061922841.84679.1.camel@CPE-65-26-139-87.kc.rr.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Tue, 26 Aug 2003 13:34:01 -0500 Content-Transfer-Encoding: 7bit Subject: RE: Minimalist FreeBSD 4.8 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, 26 Aug 2003 18:34:04 -0000 On Tue, 2003-08-26 at 13:28, Tyler Kellen wrote: > What I'd really like to know is how to strip down a working system. If > This hasn't been done, I guess I'm looking for someone with the > knowledge and the time/generosity to help me figure it out. Once I get > there, I intend to post it on my website for other converts who may feel > the same way. > > This forum is most likely going to be my last resort, as I have looked > pretty much everywhere I can think to look. Is there anything else you > can offer to get me moving in the desired direction? Well, the best I can offer is a 'FreeBSD from scratch' article I found: http://ezine.daemonnews.org/200302/fbsdscratch.html -- Shawn http://drevil.warpcore.org/ From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 11:49:42 2003 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 3B44916A4BF for ; Tue, 26 Aug 2003 11:49:42 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DD6C43FDD for ; Tue, 26 Aug 2003 11:49:41 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 10223 invoked by uid 5013); 26 Aug 2003 18:46:34 -0000 Date: Tue, 26 Aug 2003 19:46:34 +0100 From: Bruce M Simpson To: Tyler Kellen , kientzle@acm.org, freebsd-hackers@freebsd.org Message-ID: <20030826184634.GJ21219@spc.org> Mail-Followup-To: Bruce M Simpson , Tyler Kellen , kientzle@acm.org, freebsd-hackers@freebsd.org References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> <20030826182906.GI21219@spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030826182906.GI21219@spc.org> User-Agent: Mutt/1.4.1i Organization: SPC Subject: Re: Minimalist FreeBSD 4.8 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, 26 Aug 2003 18:49:42 -0000 On Tue, Aug 26, 2003 at 07:29:06PM +0100, Bruce M Simpson wrote: > On Tue, Aug 26, 2003 at 01:28:14PM -0500, Tyler Kellen wrote: > > What I'd really like to know is how to strip down a working system. If > > This hasn't been done, I guess I'm looking for someone with the > > knowledge and the time/generosity to help me figure it out. Once I get > > there, I intend to post it on my website for other converts who may feel > > the same way. > > Look at the ClosedBSD cvs tree for examples of how and how not to do this. I should probably expound on this further. I'm not sure if the ClosedBSD cvs tree was publicly posted. For what it's worth it was an attempt to produce a very cut-down FreeBSD-based distribution for a very specific purpose. I have backups of the tree, in any case, as I was the individual who did the initial CVS import as well as implementing the source build makefile hierarchy. FreeBSD is many things to many different people. I'm sure, for example, there are some subsystems many people will never touch. The idea of a minimal build kind of goes against the grain; the philosophy is that FreeBSD is a complete system. A modularized build wouldn't hurt, however; you'll find various switches which apply to src/Makefile and src/Makefile.inc. One mistake that the ClosedBSD project made was in trying to rewrite key system components without fully understanding how they worked. I was working in a full-time job at that time so I wasn't able to lend my full energies to fixing the problem. I'd rather not have any pack drill or pointing of fingers, suffice to say, the key components in question were not code that I had written or touched; but they were required for the system to boot, they were broken, and there were other issues with the lines of communication in that project which caused me to discontinue my involvement. I should also point out that FreeBSD is normally built from source. It is not typically installed using binary component packages. If you want to strip down a system to nothing but gcc and vi, by all means, go ahead, but be sure you aren't walking into a dependency minefield first. There are various subsystems that you may never touch, these are probably good candidates for removal. You probably need to do this from scratch. Be aware that the RC system has changed significantly in the 5.x releases. Be aware also that many other people are producing minimal builds and it may be fruitful to liase with them and learn from their experiences. The most appropriate forum for this is probably the freebsd-small mailing list. BMS From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 11:56:59 2003 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 0C65016A4C0 for ; Tue, 26 Aug 2003 11:56:59 -0700 (PDT) Received: from mx0.gmx.net (mx0.gmx.de [213.165.64.100]) by mx1.FreeBSD.org (Postfix) with SMTP id 5FC2F43FE9 for ; Tue, 26 Aug 2003 11:56:57 -0700 (PDT) (envelope-from dcswest@gmx.net) Received: (qmail 23639 invoked by uid 0); 26 Aug 2003 18:56:56 -0000 Date: Tue, 26 Aug 2003 20:56:55 +0200 (MEST) From: dcswest@gmx.net To: freebsd-hackers@freebsd.org MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0013760968@gmx.net X-Authenticated-IP: [68.8.128.150] Message-ID: <10490.1061924215@www25.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: Re: [hackers] Re: BCM4401 ethernet driver 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, 26 Aug 2003 18:56:59 -0000 Greetings; Wondering whatever further may have come of this discussion regarding FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Notebook. Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release since 5.1 wouldn't seem to install, but not even sure how to make use of drivers beyond including their device code in the kernel configuration file, which may just be an issue with this current release. Other than that, may also ask if anyone's just managed to get the Motorola SB4200 Cable Modem to work through the USB port instead. Thank you, [freebsd.hackers] Subject: Re: [hackers] Re: BCM4401 ethernet driver From: none@superig.com.br (Tony Meman) Newsgroups: freebsd.hackers Organization: TAC News Gateway Date: Jun 18 2003 02:52:22 References: 1 David Gilbert wrote: > Duncan> I am in the process of rewriting this driver for FreeBSD. It > Duncan> can transmit, but RX is not yet going properly. As this is > Duncan> evening work, it's likely to take at elast another week. > > >>>This is the onboard ethernet on my dell inspiron 8500 laptop and I > > I'm pretty sure this is the chipset on my Dell D800 laptop. I would > be interested in testing the drivers, too. I'm running 5.1-RELEASE. > > Dave. This ethernet is onboard on some Asus A7V8X mother boards (VIA KT400 chipset). I'm running the linux/windows drivers from Broadcom site without problems. If you need more ppl testing the driver I'd be glad to help. I'm running 4.8-STABLE but could upgrade to 5.1-RELEASE if required. Regards, -- Tony Meman _______________________________________________ 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" -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 12:31:26 2003 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 D5FFB16A4BF for ; Tue, 26 Aug 2003 12:31:26 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E14243FE5 for ; Tue, 26 Aug 2003 12:31:25 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from slave.my.domain ([192.168.200.39]) by dmlb.org with esmtp (Exim 3.36 #1) id 19rjXG-000Njb-00; Tue, 26 Aug 2003 20:31:22 +0100 Received: from dmlb by slave.my.domain with local (Exim 3.36 #1) id 19rjXG-000JxI-00; Tue, 26 Aug 2003 20:31:22 +0100 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <10490.1061924215@www25.gmx.net> Date: Tue, 26 Aug 2003 20:31:22 +0100 (BST) From: Duncan Barclay To: dcswest@gmx.net Sender: Duncan Barclay cc: freebsd-hackers@freebsd.org Subject: Re: [hackers] Re: BCM4401 ethernet driver 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, 26 Aug 2003 19:31:26 -0000 On 26-Aug-2003 dcswest@gmx.net wrote: > Greetings; > > Wondering whatever further may have come of this discussion regarding > FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Notebook. > Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release since > 5.1 > wouldn't seem to install, but not even sure how to make use of drivers beyond > including their device code in the kernel configuration file, which may just > be an issue with this current release. I fixed the RX problem yesterday. Take a look at http://people.freebsd.org/~dmlb/ and grab the lastest bcm_...tar.gz file. Untar this into /sys then cd /sys/modules/bcm make make install kldload if_bcm This driver is for -current only. Once I've done a bit more work on it and committed it, I'll back port to -stable. Duncan > Other than that, may also ask if anyone's just managed to get the Motorola > SB4200 Cable Modem to work through the USB port instead. > > Thank you, > > > [freebsd.hackers] > > Subject: Re: [hackers] Re: BCM4401 ethernet driver > From: none@superig.com.br (Tony Meman) > Newsgroups: freebsd.hackers > Organization: TAC News Gateway > Date: Jun 18 2003 02:52:22 > References: 1 > > David Gilbert wrote: >> Duncan> I am in the process of rewriting this driver for FreeBSD. It >> Duncan> can transmit, but RX is not yet going properly. As this is >> Duncan> evening work, it's likely to take at elast another week. >> >> >>>>This is the onboard ethernet on my dell inspiron 8500 laptop and I >> >> I'm pretty sure this is the chipset on my Dell D800 laptop. I would >> be interested in testing the drivers, too. I'm running 5.1-RELEASE. >> >> Dave. > > This ethernet is onboard on some Asus A7V8X mother boards (VIA KT400 > chipset). I'm running the linux/windows drivers from Broadcom site > without problems. > > If you need more ppl testing the driver I'd be glad to help. I'm running > 4.8-STABLE but could upgrade to 5.1-RELEASE if required. > > Regards, > > -- > Tony Meman > > _______________________________________________ > 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" > > -- > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > -------------------------------------------------- > 1. GMX TopMail - Platz 1 und Testsieger! > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post > > _______________________________________________ > 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" > -- ________________________________________________________________________ Duncan Barclay | dmlb@dmlb.org | dmlb@freebsd.org| From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 13:26:44 2003 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 A4C8116A4BF for ; Tue, 26 Aug 2003 13:26:44 -0700 (PDT) Received: from mail102.csoft.net (lilly.csoft.net [63.111.22.101]) by mx1.FreeBSD.org (Postfix) with SMTP id C441B43FD7 for ; Tue, 26 Aug 2003 13:26:43 -0700 (PDT) (envelope-from mcc@lilly.csoft.net) Received: (qmail 56157 invoked by uid 2562); 26 Aug 2003 20:29:59 -0000 Message-ID: <20030826202959.56156.qmail@mail102.csoft.net> X-IMAP-Sender: mcc FCC: imap://mcc@mail102.csoft.net/INBOX/Sent X-Identity-Key: id2 Date: Tue, 26 Aug 2003 16:26:28 -0400 From: "Michael C. Cambria" X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; uuencode=0 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <001a01c36bff$cff9e840$a700000a@TYBOX> <1061922841.84679.1.camel@CPE-65-26-139-87.kc.rr.com> In-Reply-To: <1061922841.84679.1.camel@CPE-65-26-139-87.kc.rr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Minimalist FreeBSD 4.8 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, 26 Aug 2003 20:26:44 -0000 Shawn wrote: > On Tue, 2003-08-26 at 13:28, Tyler Kellen wrote: > >>What I'd really like to know is how to strip down a working system. [deleted] > > Well, the best I can offer is a 'FreeBSD from scratch' article I found: > http://ezine.daemonnews.org/200302/fbsdscratch.html Look at www.trewitt.org/Soekris There is a tcl script which will get you a small system. Look at this as a place to start. MikeC From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 13:35:35 2003 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 84C6816A4BF for ; Tue, 26 Aug 2003 13:35:35 -0700 (PDT) Received: from smtp-relay2.barrysworld.com (smtp-relay2.barrysworld.com [213.221.172.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E8343FCB for ; Tue, 26 Aug 2003 13:35:34 -0700 (PDT) (envelope-from killing@barrysworld.com) Received: from [213.221.181.50] (helo=barrysworld.com) by smtp-relay2.barrysworld.com with esmtp (Exim 4.22) id 19rkXH-0003fR-D5 for freebsd-hackers@freebsd.org; Tue, 26 Aug 2003 21:35:27 +0100 Received: from vader [212.135.219.179] by barrysworld.com with ESMTP (SMTPD32-7.15) id A584AFD1009E; Tue, 26 Aug 2003 21:39:32 +0100 Message-ID: <00e501c36c11$9352d930$b3db87d4@vader> From: "Steven Hartland" To: References: <001a01c36bff$cff9e840$a700000a@TYBOX> Date: Tue, 26 Aug 2003 21:35:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Port bonding on nc3122 ( dual fxp ) NIC X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Steven Hartland List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 20:35:35 -0000 Does anyone know if this is possible. I've done some googling around and cant find anything. Using 5.1-RELEASE is just detecting them as fxp0 and fxp1 Steve From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 13:46:59 2003 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 5775F16A4BF for ; Tue, 26 Aug 2003 13:46:59 -0700 (PDT) Received: from hermes.aueb.gr (hermes.aueb.gr [195.251.255.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id F105343FAF for ; Tue, 26 Aug 2003 13:46:57 -0700 (PDT) (envelope-from dds@aueb.gr) Received: from aueb.gr (ugrads03.wrong.dialup.aueb.gr [195.251.251.197]) by hermes.aueb.gr (8.12.9/8.12.9) with ESMTP id h7QKkp6T001982; Tue, 26 Aug 2003 23:46:53 +0300 Message-ID: <3F4BAF61.A2D681B0@aueb.gr> Date: Tue, 26 Aug 2003 22:05:05 +0300 From: Diomidis Spinellis Organization: Athens University of Ecomomics and Business X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,el,de MIME-Version: 1.0 To: Tyler Kellen References: <000001c36bef$da8d1260$a700000a@TYBOX> Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Minimalist FreeBSD 4.8 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, 26 Aug 2003 20:46:59 -0000 Tyler Kellen wrote: > The information I'm looking to aquire is the absolute minimum files > required to boot FreeBSD 4.8 into multi-user mode. If this involves > deleting a massive amount of directories and files, or setting up a > new drive and copying only the needed files, I think I can make it work. You can use the system the way you intent to for two weeks, and then run find / -atime +2w -print0 | xargs -0 rm -f This command will delete all files that have not been accessed within the last two weeks. Diomidis - http://www.spinellis.gr From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 13:47:29 2003 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 BB24816A4BF for ; Tue, 26 Aug 2003 13:47:29 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2201A43FEC for ; Tue, 26 Aug 2003 13:47:29 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc13) with ESMTP id <2003082620430001500bnk5be>; Tue, 26 Aug 2003 20:43:00 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA35842; Tue, 26 Aug 2003 13:43:00 -0700 (PDT) Date: Tue, 26 Aug 2003 13:42:58 -0700 (PDT) From: Julian Elischer To: Tyler Kellen In-Reply-To: <001a01c36bff$cff9e840$a700000a@TYBOX> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: kientzle@acm.org Subject: RE: Minimalist FreeBSD 4.8 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, 26 Aug 2003 20:47:29 -0000 here is a possibilty.. as soon as the system has it's disks mounted, you could do: compile a kernel with option KTRACE ( cd /big-partition; ktrace -d -i -p 1 -tn) put it in /etc/rc just after the mount of the big partition. then boot do what you want to do... when you are likely to have done everything you want to do, then: ktrace -C cd /big-partition; kdump should give you a list of every file that has been accessed since you rebooted.. delete everything not referenced :-) On Tue, 26 Aug 2003, Tyler Kellen wrote: > Tim, > > I've been pointed in the direction of the delete-and-reboot method a few > times before. I'd really like some pointers for trimming down quickly > that doesn't involve hours of trial and error. > > I don't need all of the functionality that base system offers. When and > if I do, I'd like to put it on the system myself. > > Just so you have a little background, I am a seasoned C & C++ > programmer. I'm currently doing some web-based application development > utilizing asp/mssql. In the past I've worked with php/postgresql. > > I'm not a novice by a long shot when it comes to this sort of tinkering. > Even so this process has proved itself pretty daunting. > > I find it much easier to learn when everything on my system was put > there by me (within reason). I'm a bit of a perfectionist and I feel > like I can't get there with FreeBSD. It bugs me to the point of turning > back to Linux. > > I'm doing a make buildworld as we speak, hopefully going through this > process will help a bit. > > What I'd really like to know is how to strip down a working system. If > This hasn't been done, I guess I'm looking for someone with the > knowledge and the time/generosity to help me figure it out. Once I get > there, I intend to post it on my website for other converts who may feel > the same way. > > This forum is most likely going to be my last resort, as I have looked > pretty much everywhere I can think to look. Is there anything else you > can offer to get me moving in the desired direction? > > -T > > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org > [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of Tim Kientzle > Sent: Tuesday, August 26, 2003 12:42 PM > To: Tyler Kellen > Cc: freebsd-hackers@freebsd.org > Subject: Re: Minimalist FreeBSD 4.8 > > Tyler Kellen wrote: > > I've got a 4.8 minimal install on an extra machine. As an LFS user > > I find the FreeBSD 4.8 minimal install to be pretty far from minimal. > > You've found one of the major differences between FreeBSD and Linux. > In short, FreeBSD is a complete system. It's designed, developed, > and maintained as a single coherent project. (There are a few > components that are imported from outside sources, but the key approach > is still the same: the source code from those outside projects is > integrated into FreeBSD's source code and then maintained as a > part of the integrated FreeBSD project.) > > In contrast, Linux distributions are assembled from the results > of a number of independently-managed projects. > > As a result, it is quite natural to remove (or not install) > components of a Linux distribution. This is a less natural > thing to do with FreeBSD. It is possible, and minimal FreeBSD > systems are being used in a lot of embedded systems (such as > routers, email appliances, and the like), but it does require > a bit of expertise to get there. > > > I've checked > > out the PicoBSD project, the MiniBSD project and the FreeBSD From > > Scratch projects extensively. I'm not famillar enough with FreeBSD to > > get any of them up and running the way I want. > > Those projects are intended more for people knowledgable about FreeBSD > who want to customize FreeBSD for specialized applications. > They really aren't designed for people just getting started. > > > I'm looking for a way to strip down my 4.8 box to nothing but gcc and > > vi. Unfortunately I don't quite know how to get there. > > > I'm hoping to end up with an empty system that I can fool > > around with and learn from the bottom up. > > My advice: start deleting things and see what happens. > You can always re-install from the CDROM and start over if > necessary. > > In the case of FreeBSD, though, a better way to start learning the > system is probably to install a basic system, then learn how to compile > and update the system from source code, and then start playing with > the various customization options there (read "man make.conf" carefully, > experiment with kernel configuration, etc.). That will help you get > a feel for how the various pieces interact and which ones are > important for what uses. You may want to set yourself a goal > of building your own customized release CDs (e.g. "make release"). > By the time you get there, you'll have a pretty good feel for > the FreeBSD system as a whole. If you have programming skills, > you can then start digging into the source code and seeing how > it all works internally. If not, you can still get a lot out > of browsing through the source tree to see what's there and > how it all fits together. > > And, of course, read the mailing lists and ask questions. > You've already got that part. > > FreeBSD is a great system. Welcome to the club! > > Tim Kientzle > > _______________________________________________ > 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" > > _______________________________________________ > 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 Tue Aug 26 14:10:14 2003 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 DC20916A4BF for ; Tue, 26 Aug 2003 14:10:14 -0700 (PDT) Received: from sccmmhc02.asp.att.net (sccmmhc02.asp.att.net [204.127.203.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2873243FEC for ; Tue, 26 Aug 2003 14:10:12 -0700 (PDT) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu (12-216-240-169.client.mchsi.com[12.216.240.169]) by sccmmhc02.asp.att.net (sccmmhc02) with SMTP id <20030826211010mm200e90dre>; Tue, 26 Aug 2003 21:10:11 +0000 Message-ID: <3F4BCCB2.4090009@math.missouri.edu> Date: Tue, 26 Aug 2003 16:10:10 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030825 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steven Hartland References: <001a01c36bff$cff9e840$a700000a@TYBOX> <00e501c36c11$9352d930$b3db87d4@vader> In-Reply-To: <00e501c36c11$9352d930$b3db87d4@vader> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Port bonding on nc3122 ( dual fxp ) NIC 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, 26 Aug 2003 21:10:15 -0000 Steven Hartland wrote: > Does anyone know if this is possible. I've done some googling > around and cant find anything. Using 5.1-RELEASE is just > detecting them as fxp0 and fxp1 > Assuming that I understand what you are asking, I believe that in FreeBSD they call it netgraph - "man ng_one2many" should give you the info you need. I had a friend who tried it out, and it seems to be completely compatible with the port bonding that Linux provides. (He also felt that the documentation for FreeBSD netgraph was better than the documentation that came with Linux port bonding, in particular the FreeBSD docs were better at explaining how it worked.) -- Stephen Montgomery-Smith stephen@math.missouri.edu http://www.math.missouri.edu/~stephen From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 14:24:01 2003 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 8C52D16A4C0 for ; Tue, 26 Aug 2003 14:24:01 -0700 (PDT) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23B1743F75 for ; Tue, 26 Aug 2003 14:23:56 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: from freebsd1.cimlogic.com.au (localhost.cimlogic.com.au [127.0.0.1]) by cimlogic.com.au (8.12.9/8.12.9) with ESMTP id h7QLQCUQ057314; Wed, 27 Aug 2003 07:26:12 +1000 (EST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.12.9/8.12.9/Submit) id h7QLQBJe057313; Wed, 27 Aug 2003 07:26:11 +1000 (EST) Date: Wed, 27 Aug 2003 07:26:10 +1000 From: John Birrell To: Tyler Kellen Message-ID: <20030827072610.F249@freebsd1.cimlogic.com.au> References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <001a01c36bff$cff9e840$a700000a@TYBOX>; from tyler@statuo.com on Tue, Aug 26, 2003 at 01:28:14PM -0500 cc: freebsd-hackers@freebsd.org cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 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, 26 Aug 2003 21:24:01 -0000 On Tue, Aug 26, 2003 at 01:28:14PM -0500, Tyler Kellen wrote: > What I'd really like to know is how to strip down a working system. If > This hasn't been done, I guess I'm looking for someone with the > knowledge and the time/generosity to help me figure it out. Once I get > there, I intend to post it on my website for other converts who may feel > the same way. One way to do this initially is to install a full FreeBSD system on one disk partition and use a second partition for a trial install. FreeBSD's boot manager will let you boot into each. Start with just a root file system in the second partition, add /boot and /kernel (we're talking 4.8 here, so the kernel is in the root directory). Try booting the kernel and watching what errors you get. The first one will be a missing 'init'. When you find something is missing, reboot from the full system and copy the missing component to the minimal system. It's trial and error, but you will soon discover what you need and learn why you need it. To give you some idea of just how many files you need to start a basic 4.8 system using the standard /etc/rc* scripts, here is a list that I built up the other day while working on testing a flash file system driver on 4.8. My goal was just a basic system (without any development tools) that I could rlogin/telnet/nfs (on a private network). It contains vi, but not gcc. Adding that is an exercise for the reader. 8-) /bin/cat /bin/chio /bin/chmod /bin/cp /bin/date /bin/dd /bin/df /bin/domainname /bin/echo /bin/expr /bin/hostname /bin/kill /bin/link /bin/ln /bin/ls /bin/mkdir /bin/mv /bin/ps /bin/pwd /bin/realpath /bin/rm /bin/rmdir /bin/sh /bin/sleep /bin/stty /bin/sync /bin/test /bin/unlink /boot/boot0 /boot/boot1 /boot/boot2 /boot/cdboot /boot/defaults/loader.conf /boot/loader /boot/loader.4th /boot/loader.conf /boot/loader.help /boot/loader.rc /boot/mbr /boot/pxeboot /boot/support.4th /dev/MAKEDEV /dev/MAKEDEV.local /etc/auth.conf /etc/defaults/pccard.conf /etc/defaults/rc.conf /etc/disktab /etc/exports /etc/fstab /etc/gettytab /etc/group /etc/hosts.equiv /etc/inetd.conf /etc/login.conf /etc/master.passwd /etc/mtree/BSD.var.dist /etc/newsyslog.conf /etc/pam.conf /etc/passwd /etc/pccard.conf /etc/pccard_ether /etc/profile /etc/protocols /etc/rc /etc/rc.conf /etc/rc.network /etc/rc.pccard /etc/rc.serial /etc/resolv.conf /etc/rpc /etc/services /etc/shells /etc/spwd.db /etc/syslog.conf /etc/ttys /kernel /root/.profile /sbin/adjkerntz /sbin/disklabel /sbin/dmesg /sbin/fdisk /sbin/fsck /sbin/halt /sbin/ifconfig /sbin/init /sbin/mknod /sbin/mount /sbin/mount_mfs /sbin/mount_msdos /sbin/mount_nfs /sbin/mountd /sbin/newfs /sbin/nfsd /sbin/nfsiod /sbin/ping /sbin/reboot /sbin/route /sbin/shutdown /sbin/swapon /sbin/sysctl /sbin/umount /usr/bin/awk /usr/bin/chflags /usr/bin/cmp /usr/bin/cpio /usr/bin/diff /usr/bin/find /usr/bin/grep /usr/bin/gzip /usr/bin/login /usr/bin/mktemp /usr/bin/more /usr/bin/sed /usr/bin/su /usr/bin/touch /usr/bin/uname /usr/bin/vi /usr/bin/view /usr/lib/libc.so.4 /usr/lib/libcrypt.so.2 /usr/lib/libcrypto.so.3 /usr/lib/libgnuregex.so.2 /usr/lib/libipsec.so.1 /usr/lib/libmd.so.2 /usr/lib/libmp.so.3 /usr/lib/libncurses.so.5 /usr/lib/libopie.so.2 /usr/lib/libpam.so.1 /usr/lib/librpcsvc.so.2 /usr/lib/libskey.so.2 /usr/lib/libutil.so.3 /usr/lib/libwrap.so.3 /usr/lib/libz.so.2 /usr/lib/pam_cleartext_pass_ok.so /usr/lib/pam_deny.so /usr/lib/pam_opie.so /usr/lib/pam_opieaccess.so /usr/lib/pam_permit.so /usr/lib/pam_radius.so /usr/lib/pam_skey.so /usr/lib/pam_ssh.so /usr/lib/pam_tacplus.so /usr/lib/pam_unix.so /usr/libexec/getty /usr/libexec/ld-elf.so.1 /usr/libexec/rlogind /usr/libexec/telnetd /usr/sbin/arp /usr/sbin/chown /usr/sbin/cron /usr/sbin/dev_mkdb /usr/sbin/inetd /usr/sbin/mtree /usr/sbin/pccardc /usr/sbin/pccardd /usr/sbin/portmap /usr/sbin/rpc.statd /usr/sbin/rpc.umntall /usr/sbin/syslogd /usr/share/misc/termcap /usr/share/misc/termcap.db -- John Birrell From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 14:39:49 2003 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 901B416A4BF for ; Tue, 26 Aug 2003 14:39:49 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9393943FE0 for ; Tue, 26 Aug 2003 14:39:44 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h7QMKwRl011673; Tue, 26 Aug 2003 18:20:58 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h7QLdeea086042; Tue, 26 Aug 2003 14:39:40 -0700 (PDT) (envelope-from jmg) Date: Tue, 26 Aug 2003 14:39:40 -0700 From: John-Mark Gurney To: Tyler Kellen Message-ID: <20030826213939.GA10898@funkthat.com> Mail-Followup-To: Tyler Kellen , kientzle@acm.org, freebsd-hackers@freebsd.org References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001a01c36bff$cff9e840$a700000a@TYBOX> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-hackers@freebsd.org cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 21:39:49 -0000 Tyler Kellen wrote this message on Tue, Aug 26, 2003 at 13:28 -0500: > I don't need all of the functionality that base system offers. When and > if I do, I'd like to put it on the system myself. Ok, then start out with cleaning out all the subdirs in the various src/*/Makefile's, and slowly add in what you need. It's pretty obvious on the various things you need, like libc, gcc, etc. I would recommend installing to a second partition, and then rebooting from that second partition, that way it's easier to handle. If you're going for absolute minimal, you'll want to eliminate the etc install, and write your own /etc/rc start up scripts since most of /etc will depend on things you've stated you don't want. We can't do all the research for you on what is necessary on the system, but things are similar enough to Linux that you should know what you need, (like /sbin/init, /sbin/mount, /bin/ls, etc.) [...] > I find it much easier to learn when everything on my system was put > there by me (within reason). I'm a bit of a perfectionist and I feel > like I can't get there with FreeBSD. It bugs me to the point of turning > back to Linux. Then do what I suggest there. From what I understand of most linux distros is that you still get a big package of tons of files, so, unless you hand unpack the files, you still don't understand. [...] > What I'd really like to know is how to strip down a working system. If > This hasn't been done, I guess I'm looking for someone with the > knowledge and the time/generosity to help me figure it out. Once I get > there, I intend to post it on my website for other converts who may feel > the same way. I was going to suggest something like: find / \! -name "*gcc*" -and \! -name "*vi*' | xargs rm To your response about removing everything but vi and gcc. It's a bit more complex than that. > This forum is most likely going to be my last resort, as I have looked > pretty much everywhere I can think to look. Is there anything else you > can offer to get me moving in the desired direction? If you're a good C/C++ programmer, and you're familar with Linux, then look at the src. FreeBSD is built from it, and is easier to find the source for a program than most. Look in src/(contrib/)?/(usr.)?s?bin/prog for the source. Some things are a bit more tricky, and might be in a sub dir like bootpgw is in src/libexec/bootpd/bootpgw. But it's all in the source. Use the Soruce Luke. > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org > [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of Tim Kientzle > Sent: Tuesday, August 26, 2003 12:42 PM > To: Tyler Kellen > Cc: freebsd-hackers@freebsd.org > Subject: Re: Minimalist FreeBSD 4.8 > > Tyler Kellen wrote: > > I've got a 4.8 minimal install on an extra machine. As an LFS user > > I find the FreeBSD 4.8 minimal install to be pretty far from minimal. > > You've found one of the major differences between FreeBSD and Linux. > In short, FreeBSD is a complete system. It's designed, developed, > and maintained as a single coherent project. (There are a few > components that are imported from outside sources, but the key approach > is still the same: the source code from those outside projects is > integrated into FreeBSD's source code and then maintained as a > part of the integrated FreeBSD project.) > > In contrast, Linux distributions are assembled from the results > of a number of independently-managed projects. > > As a result, it is quite natural to remove (or not install) > components of a Linux distribution. This is a less natural > thing to do with FreeBSD. It is possible, and minimal FreeBSD > systems are being used in a lot of embedded systems (such as > routers, email appliances, and the like), but it does require > a bit of expertise to get there. > > > I've checked > > out the PicoBSD project, the MiniBSD project and the FreeBSD From > > Scratch projects extensively. I'm not famillar enough with FreeBSD to > > get any of them up and running the way I want. > > Those projects are intended more for people knowledgable about FreeBSD > who want to customize FreeBSD for specialized applications. > They really aren't designed for people just getting started. > > > I'm looking for a way to strip down my 4.8 box to nothing but gcc and > > vi. Unfortunately I don't quite know how to get there. > > > I'm hoping to end up with an empty system that I can fool > > around with and learn from the bottom up. > > My advice: start deleting things and see what happens. > You can always re-install from the CDROM and start over if > necessary. > > In the case of FreeBSD, though, a better way to start learning the > system is probably to install a basic system, then learn how to compile > and update the system from source code, and then start playing with > the various customization options there (read "man make.conf" carefully, > experiment with kernel configuration, etc.). That will help you get > a feel for how the various pieces interact and which ones are > important for what uses. You may want to set yourself a goal > of building your own customized release CDs (e.g. "make release"). > By the time you get there, you'll have a pretty good feel for > the FreeBSD system as a whole. If you have programming skills, > you can then start digging into the source code and seeing how > it all works internally. If not, you can still get a lot out > of browsing through the source tree to see what's there and > how it all fits together. > > And, of course, read the mailing lists and ask questions. > You've already got that part. > > FreeBSD is a great system. Welcome to the club! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 14:53:07 2003 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 7D34D16A4BF for ; Tue, 26 Aug 2003 14:53:07 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3B5443F75 for ; Tue, 26 Aug 2003 14:53:04 -0700 (PDT) (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.9/8.12.3) with ESMTP id h7QLr17c020671; Tue, 26 Aug 2003 14:53:01 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h7QLr1Df020670; Tue, 26 Aug 2003 14:53:01 -0700 Date: Tue, 26 Aug 2003 14:53:01 -0700 From: Brooks Davis To: Tyler Kellen Message-ID: <20030826215301.GE3101@Odin.AC.HMC.Edu> References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Yb+qhiCg54lqZFXW" Content-Disposition: inline In-Reply-To: <001a01c36bff$cff9e840$a700000a@TYBOX> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-hackers@freebsd.org cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 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, 26 Aug 2003 21:53:07 -0000 --Yb+qhiCg54lqZFXW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 26, 2003 at 01:28:14PM -0500, Tyler Kellen wrote: > Tim, >=20 > I've been pointed in the direction of the delete-and-reboot method a few > times before. I'd really like some pointers for trimming down quickly > that doesn't involve hours of trial and error. You might take a look at m0n0bsd: http://m0n0.ch/bsd/ -- 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 --Yb+qhiCg54lqZFXW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/S9a8XY6L6fI4GtQRAmzDAJ4yl3290NYk1RED7RcdkSpcyg5A0ACfadO8 qs5B1xOzh13ruiHzGstQhO8= =lsr1 -----END PGP SIGNATURE----- --Yb+qhiCg54lqZFXW-- From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 17:53:43 2003 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 A422116A4BF for ; Tue, 26 Aug 2003 17:53:43 -0700 (PDT) Received: from gw.gbch.net (gw.gbch.net [203.143.238.93]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E0B143FAF for ; Tue, 26 Aug 2003 17:53:41 -0700 (PDT) (envelope-from gjb@gbch.net) Received: (qmail 46315 invoked by uid 1001); 27 Aug 2003 10:53:39 +1000 Message-ID: Date: Wed, 27 Aug 2003 10:53:38 +1000 From: Greg Black To: Diomidis Spinellis References: <000001c36bef$da8d1260$a700000a@TYBOX> <3F4BAF61.A2D681B0@aueb.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4BAF61.A2D681B0@aueb.gr> User-Agent: Mutt/1.4.1i; gjb-muttsend.sh 1.4 2003-04-23 X-Uptime: 3 days X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-PGP-Key-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-Request-PGP: http://www.gbch.net/keys/4B04B7D6.asc cc: freebsd-hackers@freebsd.org cc: Tyler Kellen Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 00:53:43 -0000 On 2003-08-26, Diomidis Spinellis wrote: > Tyler Kellen wrote: > > The information I'm looking to aquire is the absolute minimum files > > required to boot FreeBSD 4.8 into multi-user mode. If this involves > > deleting a massive amount of directories and files, or setting up a > > new drive and copying only the needed files, I think I can make it work. > > You can use the system the way you intent to for two weeks, and then run > > find / -atime +2w -print0 | xargs -0 rm -f > > This command will delete all files that have not been accessed within > the last two weeks. And it would also remove things like find and xargs and all the other system binaries -- their atime does not get changed when they are executed. Check your facts before giving this kind of advice. -- Greg Black GPG signed mail preferred; further information in headers. From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 18:18:39 2003 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 AA24516A4BF for ; Tue, 26 Aug 2003 18:18:39 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 878A543FBF for ; Tue, 26 Aug 2003 18:18:38 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h7R1IFwN042459; Tue, 26 Aug 2003 19:18:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 26 Aug 2003 19:18:11 -0600 (MDT) Message-Id: <20030826.191811.22016699.imp@bsdimp.com> To: gurney_j@efn.org From: "M. Warner Losh" In-Reply-To: <20030826213939.GA10898@funkthat.com> References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> <20030826213939.GA10898@funkthat.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: tyler@statuo.com cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 01:18:39 -0000 Actually, I have a small script that does something like this. Here's a breif sketch. # prepare /cf make buildworld ${chroot} /bin/sh -${e}c "(cd $srcdir env MAKEOBJDIRPREFIX=$objdir make -m ${srcdir}/share/mk -f \ Makefile.inc1 hierarchy DESTDIR=$dstdir NOMAN=yes (cd etc ; env MAKEOBJDIRPREFIX=$objdir make -m ${srcdir}/share/mk \ distribution DESTDIR=$dstdir NOMAN=yes) for i in ${FreeBSDProgramDirs}; do echo \"==> \$i\" test -d \$i && (cd \$i ; env MAKEOBJDIRPREFIX=$objdir make -m ${srcdir}/share/mk \ install -DNOINFO -DNOMAN DESTDIR=$dstdir -DNOPROFILE) done)" Here's my current minimal list for a bootable system, although you might be able to trim it a little. Also, it is optimized for 4.5. There will some tweaks needed for 4.8. Also, I've done the buildworld with NOSHARED=no since we put both / and /usr on the same partition in our systems. My scripts are more complete, but also very specific to Timing Solutions' needs. I've used these scripts to build flashes that take up about 12M or so. There's about 2M that can be trimmed. Warner P.S. Maybe I should find some time to pull together these scripts in a releaseable format... P.P.S., Here's what I use to set FreeBSDProgramDirs to in an over-arching makefile. FREEBSDMIN+= \ bin/cat \ bin/chmod \ bin/cp \ bin/csh \ bin/date \ bin/dd \ bin/df \ bin/echo \ bin/expr \ bin/hostname \ bin/kill \ bin/ln \ bin/ls \ bin/mkdir \ bin/mv \ bin/pwd \ bin/ps \ bin/rcp \ bin/rm \ bin/rmdir \ bin/sh \ bin/sleep \ bin/stty \ bin/sync \ bin/test \ gnu/lib/libregex \ gnu/usr.bin/awk \ gnu/usr.bin/cpio \ gnu/usr.bin/diff \ gnu/usr.bin/diff3 \ gnu/usr.bin/grep \ gnu/usr.bin/gzip \ gnu/usr.bin/tar \ lib/libc \ lib/libstdc++ \ lib/libcrypt \ lib/libdevstat \ lib/libedit \ lib/libipsec \ lib/libipx \ lib/libkvm \ lib/libmd \ lib/libnetgraph \ lib/libncurses \ lib/libpam \ lib/libskey \ lib/libutil \ lib/libwrap \ lib/libz \ lib/msun \ libexec/ftpd \ libexec/getty \ libexec/rlogind \ libexec/rshd \ libexec/rtld-elf \ libexec/telnetd \ sbin/adjkerntz \ sbin/dhclient \ sbin/disklabel \ sbin/dmesg \ sbin/fsck \ sbin/i386/fdisk \ sbin/ifconfig \ sbin/init \ sbin/ipfw \ sbin/kldload \ sbin/kldstat \ sbin/kldunload \ sbin/ldconfig \ sbin/md5 \ sbin/mknod \ sbin/mount \ sbin/mount_null \ sbin/mount_nfs \ sbin/newfs \ sbin/ping \ sbin/reboot \ sbin/route \ sbin/swapon \ sbin/sysctl \ sbin/umount \ share/termcap \ sys/boot \ usr.bin/chflags \ usr.bin/du \ usr.bin/ee \ usr.bin/env \ usr.bin/ftp \ usr.bin/find \ usr.bin/head \ usr.bin/hexdump \ usr.bin/id \ usr.bin/killall \ usr.bin/ldd \ usr.bin/less \ usr.bin/login \ usr.bin/netstat \ usr.bin/objformat \ usr.bin/rsh \ usr.bin/rlogin \ usr.bin/sed \ usr.bin/su \ usr.bin/tail \ usr.bin/telnet \ usr.bin/tip \ usr.bin/top \ usr.bin/touch \ usr.bin/tr \ usr.bin/tty \ usr.bin/uname \ usr.bin/vi \ usr.sbin/arp \ usr.sbin/chown \ usr.sbin/cron \ usr.sbin/dev_mkdb \ usr.sbin/inetd \ usr.sbin/mtree \ usr.sbin/ntp/ntpd \ usr.sbin/ntp/ntpdate \ usr.sbin/ntp/ntpq \ usr.sbin/kbdcontrol \ usr.sbin/pwd_mkdb \ usr.sbin/syslogd \ usr.sbin/traceroute \ usr.sbin/vidcontrol \ usr.sbin/vipw # "kitchen sink" FreeBSD on flash FREEBSDMAX+=${FREEBSDMIN} \ gnu/lib/libreadline \ lib/libftpio \ lib/librpcsvc \ usr.bin/vmstat \ usr.bin/w \ usr.sbin/ntp/ntpdc \ usr.sbin/ntp/ntptime \ usr.sbin/ntp/ntptimeset \ usr.sbin/ntp/ntptrace From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 19:02:41 2003 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 AC62C16A4BF for ; Tue, 26 Aug 2003 19:02:41 -0700 (PDT) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B10A43FCB for ; Tue, 26 Aug 2003 19:02:40 -0700 (PDT) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (#6@localhost [127.0.0.1]) by whizzo.transsys.com (8.12.9/8.12.9) with ESMTP id h7R22OJ7067193; Tue, 26 Aug 2003 22:02:24 -0400 (EDT) (envelope-from louie@whizzo.transsys.com) Message-Id: <200308270202.h7R22OJ7067193@whizzo.transsys.com> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "M. Warner Losh" X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> <20030826213939.GA10898@funkthat.com> <20030826.191811.22016699.imp@bsdimp.com> In-reply-to: Your message of "Tue, 26 Aug 2003 19:18:11 MDT." <20030826.191811.22016699.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 26 Aug 2003 22:02:24 -0400 Sender: louie@TransSys.COM cc: freebsd-hackers@freebsd.org cc: gurney_j@efn.org cc: tyler@statuo.com cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 02:02:41 -0000 > Actually, I have a small script that does something like this. Here's > a breif sketch. > > # prepare /cf > make buildworld > > ${chroot} /bin/sh -${e}c "(cd $srcdir > env MAKEOBJDIRPREFIX=$objdir make -m ${srcdir}/share/mk -f \ > Makefile.inc1 hierarchy DESTDIR=$dstdir NOMAN=yes > (cd etc ; env MAKEOBJDIRPREFIX=$objdir make -m ${srcdir}/share/mk \ > distribution DESTDIR=$dstdir NOMAN=yes) > for i in ${FreeBSDProgramDirs}; do > echo \"==> \$i\" > test -d \$i && > (cd \$i ; env MAKEOBJDIRPREFIX=$objdir make -m ${srcdir}/share/mk \ > install -DNOINFO -DNOMAN DESTDIR=$dstdir -DNOPROFILE) > done)" > > Here's my current minimal list for a bootable system, although you > might be able to trim it a little. Also, it is optimized for 4.5. > There will some tweaks needed for 4.8. Also, I've done the buildworld > with NOSHARED=no since we put both / and /usr on the same partition in > our systems. > > My scripts are more complete, but also very specific to Timing > Solutions' needs. I've used these scripts to build flashes that take > up about 12M or so. There's about 2M that can be trimmed. > > Warner > > P.S. Maybe I should find some time to pull together these scripts in > a releaseable format... > > P.P.S., Here's what I use to set FreeBSDProgramDirs to in an > over-arching makefile. I've used a hacked-on version of Warner's scripts to build a FreeBSD based firewall distribution to run on the Soekris 4501 box. I was able to get a running system for that application on an 8MB CF card. Of course, the kernel was compressed and it was pretty stripped down.. I'm currently using a 32MB CF card, with two 16MB partitions for this purpose (so I can back up to the previous version easily). Of course, no gcc. And heavens, no VI! Got a microemacs on there instead, whew! I also built my system with NOSHARED=no to dramatically reduce the space requirements for the root (and only) file system, and it works great. louie From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 20:30:42 2003 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 81DD616A4BF for ; Tue, 26 Aug 2003 20:30:42 -0700 (PDT) Received: from smtp2.vol.cz (smtp2.vol.cz [195.250.128.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2169C43FE3 for ; Tue, 26 Aug 2003 20:30:41 -0700 (PDT) (envelope-from dan@obluda.cz) Received: from obluda.cz (xkulesh.vol.cz [195.250.154.106]) by smtp2.vol.cz (8.12.8p1/8.12.8) with ESMTP id h7R3UcJE099869; Wed, 27 Aug 2003 05:30:39 +0200 (CEST) (envelope-from dan@obluda.cz) Message-ID: <3F4B5374.1080306@obluda.cz> Date: Tue, 26 Aug 2003 14:32:52 +0200 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030715 X-Accept-Language: cs, en MIME-Version: 1.0 Newsgroups: mpc.lists.freebsd.hackers,muc.lists.freebsd.hackers To: freebsd-hackers@freebsd.org, mikulas@artax.karlin.mff.cuni.cz References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Bug FreeBSD 4.8 ATA driver 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, 27 Aug 2003 03:30:42 -0000 Mikulas Patocka napsal/wrote, On 08/20/03 01:39: > I am reading FreeBSD ATA drivers because I want to use them as base for my > ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8, > there is line > > if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) { > > if ch->unit is 1, config word is shifted by 256 bytes, which gives > undefined result in C. How was this meant? What should it do? Hm, it should be (IMHO) if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<5))&0x4000)) but I can't verify it as have no access to documentation for PIIX3 nor acces to the PIIX3 hardware now. Note the position of '8' just above the '5' key on numeric keypad also ... FYI, the gcc compile the code as equivalent of if (!((pci_read_config(parent,0x40,4)>>(0))&0x4000)) effectively ignoring the ch->unit number. If you want wrote your own ATA driver, it may be better to look into current FreeBSD 5 ATA code - it's substantially rewrited. A smel bych, uz asi mimo konferenci, vedet, proc si pises vlastni ATA ovladac ? Dan -- Dan Lukes tel: +420 2 21914205, fax: +420 2 21914206 root of FIONet, KolejNET, webmaster of www.freebsd.cz AKA: dan@obluda.cz, dan@freebsd.cz,dan@kolej.mff.cuni.cz From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 20:47:11 2003 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 397F016A4BF for ; Tue, 26 Aug 2003 20:47:11 -0700 (PDT) Received: from smtp3.vol.cz (smtp3.vol.cz [195.250.128.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C5C143FE9 for ; Tue, 26 Aug 2003 20:47:10 -0700 (PDT) (envelope-from dan@obluda.cz) Received: from obluda.cz (xkulesh.vol.cz [195.250.154.106]) by smtp3.vol.cz (8.12.8p1/8.12.8) with ESMTP id h7R3l8xv049827 for ; Wed, 27 Aug 2003 05:47:08 +0200 (CEST) (envelope-from dan@obluda.cz) Message-ID: <3F4C29BB.4070005@obluda.cz> Date: Wed, 27 Aug 2003 05:47:07 +0200 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030715 X-Accept-Language: cs, 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: Re: Bug FreeBSD 4.8 ATA driver 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, 27 Aug 2003 03:47:11 -0000 Mikulas Patocka napsal/wrote, On 08/20/03 01:39: > I am reading FreeBSD ATA drivers because I want to use them as base for my > ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8, > there is line > > if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) { > > if ch->unit is 1, config word is shifted by 256 bytes, which gives > undefined result in C. How was this meant? What should it do? Hm, it should be (IMHO) if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<5))&0x4000)) but I can't verify it as have no access to documentation for PIIX3 nor acces to the PIIX3 hardware now. Note the position of '8' just above the '5' key on numeric keypad also ... FYI, the gcc compile the code as equivalent of if (!((pci_read_config(parent,0x40,4)>>(0))&0x4000)) effectively ignoring the ch->unit number. If you want wrote your own ATA driver, it may be better to look into current FreeBSD 5 ATA code - it's substantially rewrited. A smel bych, uz asi mimo konferenci, vedet, proc si pises vlastni ATA ovladac ? Dan -- Dan Lukes tel: +420 2 21914205, fax: +420 2 21914206 root of FIONet, KolejNET, webmaster of www.freebsd.cz AKA: dan@obluda.cz, dan@freebsd.cz,dan@kolej.mff.cuni.cz From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 21:01:34 2003 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 4B93916A4BF for ; Tue, 26 Aug 2003 21:01:34 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6424743FE0 for ; Tue, 26 Aug 2003 21:01:33 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h7R41WwN043538; Tue, 26 Aug 2003 22:01:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 26 Aug 2003 22:00:55 -0600 (MDT) Message-Id: <20030826.220055.93475944.imp@bsdimp.com> To: louie@TransSys.COM From: "M. Warner Losh" In-Reply-To: <200308270202.h7R22OJ7067193@whizzo.transsys.com> References: <20030826213939.GA10898@funkthat.com> <20030826.191811.22016699.imp@bsdimp.com> <200308270202.h7R22OJ7067193@whizzo.transsys.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 04:01:34 -0000 In message: <200308270202.h7R22OJ7067193@whizzo.transsys.com> "Louis A. Mamakos" writes: : able to get a running system for that application on an 8MB CF card. I had one experimental version that compressed this onto a MFS and gzip'd the thing and made it fit into a 4MB DiskOnChip part with a compressed tiny kernel and a compressed FS, but it was a big pita to build and couldn't fit our application.... But that may have been in the 3.4 or 3.5 timeframe. Warner From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 21:35:09 2003 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 84D8816A4BF for ; Tue, 26 Aug 2003 21:35:09 -0700 (PDT) Received: from h24-66-230-151.ed.shawcable.net (h24-66-230-151.ed.shawcable.net [24.66.230.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3888C43FEC for ; Tue, 26 Aug 2003 21:35:08 -0700 (PDT) (envelope-from soralx@cydem.org.ua) Received: from h24-66-229-2.ed.shawcable.net (h24-66-229-2.ed.shawcable.net [24.66.229.2]) by h24-66-230-151.ed.shawcable.net (Postfix) with ESMTP id 1BFE138B11 for ; Tue, 26 Aug 2003 22:35:08 -0600 (MDT) From: To: freebsd-hackers@freebsd.org Date: Tue, 26 Aug 2003 22:35:04 -0600 User-Agent: KMail/1.5 References: <3F4C29BB.4070005@obluda.cz> In-Reply-To: <3F4C29BB.4070005@obluda.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308262235.04826.soralx@cydem.org.ua> Subject: Re: Bug FreeBSD 4.8 ATA driver 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, 27 Aug 2003 04:35:09 -0000 > > I am reading FreeBSD ATA drivers because I want to use them as base for > > my ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8, > > there is line > > > > if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) { > > > > if ch->unit is 1, config word is shifted by 256 bytes, which gives > > undefined result in C. How was this meant? What should it do? > > Hm, it should be (IMHO) > if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<5))&0x4000)) > > but I can't verify it as have no access to documentation for PIIX3 nor > acces to the PIIX3 hardware now. I have PIIX3 contorller on a machine with FreeBSD 4.8-RELEASE; I am willing to test whatever needed. 26.08.2003; 22:32:58 [SorAlx] http://cydem.org.ua/ From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 22:42:42 2003 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 8C7DA16A4BF for ; Tue, 26 Aug 2003 22:42:42 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57BC943FFD for ; Tue, 26 Aug 2003 22:42:41 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h7R5gZYU015265; Tue, 26 Aug 2003 23:42:35 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h7R5gYYn015264; Tue, 26 Aug 2003 23:42:34 -0600 (MDT) (envelope-from ken) Date: Tue, 26 Aug 2003 23:42:34 -0600 From: "Kenneth D. Merry" To: Duncan Barclay Message-ID: <20030827054234.GA15006@panzer.kdm.org> References: <10490.1061924215@www25.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: dcswest@gmx.net Subject: Re: [hackers] Re: BCM4401 ethernet driver 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, 27 Aug 2003 05:42:42 -0000 On Tue, Aug 26, 2003 at 20:31:22 +0100, Duncan Barclay wrote: > On 26-Aug-2003 dcswest@gmx.net wrote: > > Greetings; > > > > Wondering whatever further may have come of this discussion regarding > > FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Notebook. > > Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release since > > 5.1 > > wouldn't seem to install, but not even sure how to make use of drivers beyond > > including their device code in the kernel configuration file, which may just > > be an issue with this current release. > > I fixed the RX problem yesterday. Take a look at > http://people.freebsd.org/~dmlb/ > and grab the lastest bcm_...tar.gz file. Untar this into /sys > then > cd /sys/modules/bcm > make > make install > kldload if_bcm > > This driver is for -current only. > > Once I've done a bit more work on it and committed it, I'll back port to > -stable. I'm still having the "bcm0: strange type for core 0xffffffff" panic when I load it as a module. When I compile it into the kernel, I get a panic on boot. The stack trace is: bcm_ring_rx_eof() bcm_intr() ithread_loop() fork_exit() fork_trampoline() The specific place in bcm_ring_rx_eof() it is bailing out is: (kgdb) list *(bcm_ring_rx_eof+0x62) 0xc019e402 is in bcm_ring_rx_eof (../../../dev/bcm/if_bcm.c:958). 953 struct mbuf *m; 954 struct bcm_rxh *rxh; 955 int j = 0, len, flags; 956 957 m = scp->desc_rx_bis[con].mbuf; 958 rxh = mtod(m, struct bcm_rxh *); 959 do { 960 /* XXX DELAY(1); */ 961 bus_dmamap_sync(scp->tag_mbuf, 962 scp->desc_rx_bis[con].dmamap, i.e. the mtod() call there. At that point the interface hasn't been configured at all... I've got a Dell 8500 laptop. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 26 23:29:23 2003 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 8B38716A4BF for ; Tue, 26 Aug 2003 23:29:23 -0700 (PDT) Received: from cache2.telkomsel.co.id (cache2.telkomsel.co.id [202.155.14.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 294A043FAF for ; Tue, 26 Aug 2003 23:29:18 -0700 (PDT) (envelope-from deni_kurniawan@telkomsel.co.id) Received: from trendmicro.telkomsel.co.id. (3.65.1.10.in-addr.arpa [10.1.65.3])h7R6TATd095948 for ; Wed, 27 Aug 2003 13:29:10 +0700 (JAVT) (envelope-from deni_kurniawan@telkomsel.co.id) Received: from telkomsel.co.id (localhost [127.0.0.1])h7R6T8006774 for ; Wed, 27 Aug 2003 13:29:08 +0700 (BBWI) Received: from ZIDANE Deni_Kurniawan@telkomsel.co.id [10.1.83.220] on Novell NetWare; Wed, 27 Aug 2003 13:29:04 -119303947 Date: Wed, 27 Aug 2003 13:29:06 +0700 To: Charles Howse Content-Type: text/plain; charset=iso-8859-15; format=flowed References: <001c01c36a7f$7856a140$04fea8c0@moe> <20030825185254.GF558@silverwraith.com> Message-ID: From: denisz MIME-Version: 1.0 In-Reply-To: <20030825185254.GF558@silverwraith.com> User-Agent: Opera7.11/Win32 M2 build 2887 cc: freebsd-hackers@freebsd.org Subject: Re: [despammed] Re: Looking for detailed documentation: Install to existing filesystem 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, 27 Aug 2003 06:29:23 -0000 here's something you might get interested (see live-install section) http://www.the-labs.com/FreeBSD/ -denisz- On Mon, 25 Aug 2003 11:52:54 -0700, Avleen Vig wrote: > On Sun, Aug 24, 2003 at 03:36:41PM -0500, Charles Howse wrote: >> Hi, >> I've posted this request to 'questions' with no response, so now I'll >> ask 'hackers'. >> >> I'm a hobbyist, and for my personal education, I would like to learn how >> to install FBSD from an existing filesystem, rather than from FTP or CD. >> >> My intention is to copy the files to a directory on the second HDD of my >> present FBSD system, and point sysinstall to that partition/directory >> during the install. > > This may not answer the questions you posed, but it may be a good start > for you. > > You have two options i can think of, if you want to mimic a traditional > /stand/sysinstall installation process. > 1) install an FTP server, and choose an FTP install. > 2) export the hard drive over NFS, and use that. > > Or, a better way which I would recommend: > download the source code, and put if on the second drive. We'll assume > /usr/src and /usr/obj are mounted on the *second* hard drive. > > Run something like this: > cd /usr/src > make buildworld * > * the '' is a flag I don't recall off the top of my head, but > * it lets you change which drive / other mounted location, the new > * build is installed to. Maybe someone else can help here? > make buildkernel > > then when you want to install to a third hard drive, mount it as the > location give in '' to make on the previous step, then run: > make make installkernel > make installworld > mergemaster > > that should isntall the compiled sources to the new drive pretty > quickly. > _______________________________________________ > 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" > > ---------------------------------------------- > Filtered by despammed.com. Tracer: NAA286291061837613 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > > -- Using Opera's M2 e-mail client: http://www.opera.com/m2/ From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 00:40:52 2003 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 B65BF16A4BF; Wed, 27 Aug 2003 00:40:52 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9698B4401A; Wed, 27 Aug 2003 00:40:45 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from orac.my.domain ([192.168.200.75] helo=orac) by dmlb.org with smtp (Exim 3.36 #1) id 19ruul-000Obb-00; Wed, 27 Aug 2003 08:40:23 +0100 Message-ID: <009c01c36c6e$7a882150$4bc8a8c0@orac> From: "Duncan Barclay" To: "James Nobis" , "Kenneth D. Merry" References: Date: Wed, 27 Aug 2003 08:40:25 +0100 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 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-hackers@freebsd.org cc: freebsd-mobile@freebsd.org cc: dcswest@gmx.net Subject: Re: bcm4400 driver and Dell 8500 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, 27 Aug 2003 07:40:52 -0000 Hello James and Ken, Both of you are having real problems with the bcm driver and both of you have a Dell 8500. This is James' dmesg output, which from memory looks very similar to your Ken? > bcm0: mem 0xfaffe000-0xfaffffff irq 11 > at device 0.0 on pci2 > bcm0: Ethernet address: ff:ff:ff:ff:ff:ff > panic: bcm0: Strange type for core 0xffffffff > I'm running 5.1-current from august 22nd. I can try pulling down the > latest 5.1 tommorow if you think this might help. This is the same result > as when I tried the driver from over a month ago. We think that the problem is something to do with the PCI configuration of the machine. The ethernet address being ff:ff:ff:ff:ff:ff indicates that the memory map is not right. > Before sending this email I was going to obtain a backtrace. I recompiled > with the symbol table and kernel debugger and now the driver appears to > work fine. Should it work this way? Hmm interesting. Ken can you try this and see if the driver then works? Duncan From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 02:02:39 2003 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 91AED16A4C0 for ; Wed, 27 Aug 2003 02:02:39 -0700 (PDT) Received: from cirb503493.alcatel.com.au (c211-28-27-130.belrs2.nsw.optusnet.com.au [211.28.27.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3BAF4400D for ; Wed, 27 Aug 2003 02:02:36 -0700 (PDT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])h7R92Ogh077952; Wed, 27 Aug 2003 19:02:24 +1000 (EST) (envelope-from jeremyp@cirb503493.alcatel.com.au) Received: (from jeremyp@localhost) by cirb503493.alcatel.com.au (8.12.8/8.12.8/Submit) id h7R92GD4077951; Wed, 27 Aug 2003 19:02:16 +1000 (EST) Date: Wed, 27 Aug 2003 19:02:16 +1000 From: Peter Jeremy To: Diomidis Spinellis Message-ID: <20030827090215.GA77912@cirb503493.alcatel.com.au> References: <000001c36bef$da8d1260$a700000a@TYBOX> <3F4BAF61.A2D681B0@aueb.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: Tyler Kellen Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 09:02:39 -0000 On Wed, Aug 27, 2003 at 10:53:38AM +1000, Greg Black wrote: >On 2003-08-26, Diomidis Spinellis wrote: >> You can use the system the way you intent to for two weeks, and then run >> >> find / -atime +2w -print0 | xargs -0 rm -f >> >> This command will delete all files that have not been accessed within >> the last two weeks. > >And it would also remove things like find and xargs and all the >other system binaries -- their atime does not get changed when >they are executed. Check your facts before giving this kind of >advice. Not to mention /kernel and the contents of /boot since the bootloader doesn't update atime either. The result may be more minimalist than Tyler intends. Peter From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 02:19:25 2003 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 0D90C16A4BF for ; Wed, 27 Aug 2003 02:19:25 -0700 (PDT) Received: from vivaldi.meteo.fr (vivaldi.meteo.fr [137.129.28.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5679043FEC for ; Wed, 27 Aug 2003 02:19:22 -0700 (PDT) (envelope-from igor.pokrovsky@cnrm.meteo.fr) Received: from cti825.cnrm.meteo.fr (localhost.meteo.fr [127.0.0.1]) JAA14048 for ; Wed, 27 Aug 2003 09:19:12 GMT Received: from xdata.cnrm.meteo.fr (xdata.cnrm.meteo.fr [137.129.150.2]) LAA10610 for ; Wed, 27 Aug 2003 11:19:10 +0200 (METDST) Received: from exmatis1.cnrm.meteo.fr (exmatis1.cnrm.meteo.fr [137.129.157.46]) by xdata.cnrm.meteo.fr with ESMTP (8.9.3 (PHNE_24419)/8.7.1) id LAA20594 for ; Wed, 27 Aug 2003 11:19:13 +0200 (METDST) Received: from exmatis1.cnrm.meteo.fr (localhost [127.0.0.1]) h7R9HD7U000652 for ; Wed, 27 Aug 2003 11:17:13 +0200 (CEST) (envelope-from pokrovsi@exmatis1.cnrm.meteo.fr) Received: (from pokrovsi@localhost) by exmatis1.cnrm.meteo.fr (8.12.9/8.12.9/Submit) id h7R9HDbn000651 for freebsd-hackers@freebsd.org; Wed, 27 Aug 2003 11:17:13 +0200 (CEST) Date: Wed, 27 Aug 2003 11:17:13 +0200 From: Igor Pokrovsky To: freebsd-hackers@freebsd.org Message-ID: <20030827091713.GA575@exmatis1.cnrm.meteo.fr> Mail-Followup-To: freebsd-hackers@freebsd.org References: <000001c36bef$da8d1260$a700000a@TYBOX> <3F4BAF61.A2D681B0@aueb.gr> <20030827090215.GA77912@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20030827090215.GA77912@cirb503493.alcatel.com.au> User-Agent: Mutt/1.4.1i X-Accept-Language: ru X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (cti825/CNRM) Organization: METEO FRANCE(CNRM) Subject: Re: Minimalist FreeBSD 4.8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Igor Pokrovsky List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 09:19:25 -0000 On Wed, Aug 27, 2003 at 07:02:16PM +1000, Peter Jeremy wrote: > On Wed, Aug 27, 2003 at 10:53:38AM +1000, Greg Black wrote: > >On 2003-08-26, Diomidis Spinellis wrote: > >> You can use the system the way you intent to for two weeks, and then r= un > >>=20 > >> find / -atime +2w -print0 | xargs -0 rm -f > >>=20 > >> This command will delete all files that have not been accessed within > >> the last two weeks. =20 > > > >And it would also remove things like find and xargs and all the > >other system binaries -- their atime does not get changed when > >they are executed. Check your facts before giving this kind of > >advice. >=20 > Not to mention /kernel and the contents of /boot since the bootloader > doesn't update atime either. The result may be more minimalist than > Tyler intends. No, I guess /kernel won't be removed because of schg :-) -ip --=20 Logic is a little bird, sitting in a tree; that smells *_____=08=08=08=08= =08awful*. From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 02:57:35 2003 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 F1B6816A4BF for ; Wed, 27 Aug 2003 02:57:34 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 424A544017 for ; Wed, 27 Aug 2003 02:57:34 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfmq8.dialup.mindspring.com ([165.247.219.72] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19rx3T-00063A-00; Wed, 27 Aug 2003 02:57:31 -0700 Message-ID: <3F4C804E.6FAE1D56@mindspring.com> Date: Wed, 27 Aug 2003 02:56:30 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Charles Howse References: <001c01c36a7f$7856a140$04fea8c0@moe> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a48caf0948dbbeb20ded37205ea7c51859667c3043c0873f7e350badd9bab72f9c350badd9bab72f9c cc: freebsd-hackers@freebsd.org Subject: Re: Looking for detailed documentation: Install to existing filesystem 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, 27 Aug 2003 09:57:35 -0000 Charles Howse wrote: > I'm a hobbyist, and for my personal education, I would like to learn how > to install FBSD from an existing filesystem, rather than from FTP or CD. > > My intention is to copy the files to a directory on the second HDD of my > present FBSD system, and point sysinstall to that partition/directory > during the install. This is fairly easy. What you do it copy the files to a directory on a second disk drive on the machine, and point sysinstall to that partition/directory during the install. 8-). > I can't seem to find any "detailed" instructions. The handbook just > glosses over it, saying follow the instructions on the screen in > sysinstall. I've Googled for days and can only find other people asking > the same question and talking about their failures. The easiest thing to do is follow the instructions in sysinstall. The reason the handbook says this is that the order of dialogs, etc., in sysinstall varies from version to version of FreeBSD. Here is an example of "detailed instructions" for a particular version of FreeBSD. If you have a different version, you will need to use instructions matching the version of sysinstall you happen to be using: C 13* 7* "7" (selects option 6 from "Choose Installation Media" dialog because sysinstall is stupid) Enter the pathname of the directory containing the installation files Q (Cancel) U (for "Upgrade") (disclaimer screen) (to begin upgrade) > I need to know: > > 1) What files do I need to have on the partition from which I will be > installing? Everything from the first CDROM, in the same directory hierarchy. It's easiest if you just mount a CDROM, or mount a vnconfig'ed CDROM ISO image as a cd9660 FS. > 2) ftp address and directory where I can find those files. ftp://ftp.freebsd.org/ The exact subdirectory depends on which particular version you are trying to upgrade to. > 3) Can FBSD install from the .iso files? Yes, if you vnconfig them and mount them up as FS's so that to the system they appear as CDROMs, instead of ISOs. > 4) A link to a tutorial or howto would really be nice. If none exists, I > might consider writing one once I figure out how to do it properly. It's at least slightly different for every version of the system (see above). That's also why you didn't find one. PS: You should also vnconfig the floppy image on the vnconfig'ed ISO image, and pull sysinstall off there, instead of using your local copy. The sysinstall program has some string lists which are hard-coded, and may also vary from version to version. As it is a "crunchgen"'ed file, you will need to name it "sysinstall" for it to work. I suggest copying it to /tmp, and running it from there. PPS: I've posted detailed instructions on doing this at least three times in the past three years, since I needed to upgrade over NFS to a machine without anything but a local copy of FreeBSD that could be booted; start looking around June of 2001 in the -current and -hackers archives. -- Terry From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 04:56:58 2003 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 87A4716A4BF for ; Wed, 27 Aug 2003 04:56:58 -0700 (PDT) Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E5843FEC for ; Wed, 27 Aug 2003 04:56:56 -0700 (PDT) (envelope-from gmarco@giovannelli.it) Received: from ppp-147-42.27-151.libero.it (ppp-147-42.27-151.libero.it [151.27.42.147]) by kirk.giovannelli.it (8.12.9/8.12.9) with ESMTP id h7RBv42r084620 for ; Wed, 27 Aug 2003 13:57:06 +0200 (CEST) (envelope-from gmarco@giovannelli.it) From: Gianmarco Giovannelli To: hackers@freebsd.org Date: Wed, 27 Aug 2003 13:53:36 +0200 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: <200308271353.36609.gmarco@giovannelli.it> X-RAVMilter-Version: 8.3.1(snapshot 20020109) (kirk.giovannelli.it) Subject: latest fujitsu-siemens boxes and keyboards 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, 27 Aug 2003 11:56:58 -0000 Is possible that the keyboards that are shipping with the latest fujitsu-siemens pc/servers don't want to work with FreeBSD ? They (pc or servers) work fine with older keyboard but not with the new ones ? Any tips ? From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 06:11:09 2003 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 CDD0016A4BF; Wed, 27 Aug 2003 06:11:09 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A0534400B; Wed, 27 Aug 2003 06:11:04 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h7RDAiYU017459; Wed, 27 Aug 2003 07:10:44 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h7RDAdg0017458; Wed, 27 Aug 2003 07:10:39 -0600 (MDT) (envelope-from ken) Date: Wed, 27 Aug 2003 07:10:39 -0600 From: "Kenneth D. Merry" To: Duncan Barclay Message-ID: <20030827131039.GA17250@panzer.kdm.org> References: <009c01c36c6e$7a882150$4bc8a8c0@orac> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <009c01c36c6e$7a882150$4bc8a8c0@orac> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: James Nobis cc: freebsd-mobile@freebsd.org cc: dcswest@gmx.net Subject: Re: bcm4400 driver and Dell 8500 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, 27 Aug 2003 13:11:10 -0000 On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: > Hello James and Ken, > > Both of you are having real problems with the bcm driver and both of you > have a Dell 8500. > > This is James' dmesg output, which from memory looks very similar to your > Ken? > > > bcm0: mem 0xfaffe000-0xfaffffff irq 11 > > at device 0.0 on pci2 > > bcm0: Ethernet address: ff:ff:ff:ff:ff:ff > > panic: bcm0: Strange type for core 0xffffffff Yep, the messages I get are identical when I load it as a module. > > I'm running 5.1-current from august 22nd. I can try pulling down the > > latest 5.1 tommorow if you think this might help. This is the same result > > as when I tried the driver from over a month ago. > > We think that the problem is something to do with the PCI configuration of > the machine. The ethernet address being ff:ff:ff:ff:ff:ff indicates that the > memory map is not right. > > > Before sending this email I was going to obtain a backtrace. I recompiled > > with the symbol table and kernel debugger and now the driver appears to > > work fine. Should it work this way? > > Hmm interesting. Ken can you try this and see if the driver then works? I've already got the kernel debugger on. Do you mean changing the module compile somehow so that more symbols are included? (It seems to resolve the function addresses in the module fine.) The stack trace from the module load is: panic() bcm_chip_get_core() bcm_chip_reset() bcm_attach() device_probe_and_attach() etc. If I boot a kernel with the bcm driver compiled in, and don't attach to the docking station, it comes up fine until I insert my fxp card in the carbus slot. Then I get the panic in bcm_ring_rx_eof() that I reported last night. FWIW, when I have the driver compiled in, the memory location is identical to location used when the module loads (above), but the ethernet address is properly decoded: bcm0: mem 0xfaffe000-0xfaffffff irq 11 at device 0.0 on pci2 bcm0: Ethernet address: 00:0b:db:94:bf:42 miibus0: on bcm0 If I boot a kernel with the bcm driver compiled in, and don't attach to the docking station, and don't insert my fxp card, I get slightly further. I tried running dhclient, and got: All mbufs or mbuf clusters exhausted, please see tuning(7). bcm0: initialization failed: no memory for rx buffers Then I tried just manually ifconfiging the interface, and it works! Here's what netstat -m says: {erebor:/usr/home/ken:1:0} netstat -nm mbuf usage: GEN cache: 0/0 (in use/in pool) CPU #0 cache: 576/608 (in use/in pool) Total: 576/608 (in use/in pool) Mbuf cache high watermark: 512 Maximum possible: 34304 Allocated mbuf types: 576 mbufs allocated to data 1% of mbuf map consumed mbuf cluster usage: GEN cache: 0/0 (in use/in pool) CPU #0 cache: 575/584 (in use/in pool) Total: 575/584 (in use/in pool) Cluster cache high watermark: 128 Maximum possible: 17152 3% of cluster map consumed 1320 KBytes of wired memory reserved (98% in use) 1 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Performance, once I manually assigned an address seems okay; I was able to ftp a file over from another machine at a little over 11MB/sec. If I insert the fxp card after the bcm driver is configured, the cardbus initialization fails, and then I get the following messages over and over again: "eek j=6, macCurrent 511, con288" At that point I can 't even break into the debugger. That's all the time I have for tinkering with it this morning... Looks like things are working somewhat better, but there is still some weird stuff going on... Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 06:27:29 2003 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 62A4916A4BF; Wed, 27 Aug 2003 06:27:29 -0700 (PDT) Received: from quelrod.quelrod.net (cs679135-141.austin.rr.com [67.9.135.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B34544025; Wed, 27 Aug 2003 06:27:18 -0700 (PDT) (envelope-from quel@quelrod.net) Received: from quelrod.net (cs679135-141.austin.rr.com [67.9.135.141]) by quelrod.quelrod.net (8.12.9/8.12.6) with ESMTP id h7RDRZ0E002691; Wed, 27 Aug 2003 08:27:35 -0500 (CDT) Received: from localhost (quel@localhost) by quelrod.net (8.12.9/8.12.9/Submit) with ESMTP id h7RDRYM2028213; Wed, 27 Aug 2003 08:27:35 -0500 (CDT) Date: Wed, 27 Aug 2003 08:27:34 -0500 (CDT) From: James Nobis To: "Kenneth D. Merry" In-Reply-To: <20030827131039.GA17250@panzer.kdm.org> Message-ID: References: <009c01c36c6e$7a882150$4bc8a8c0@orac> <20030827131039.GA17250@panzer.kdm.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: dcswest@gmx.net cc: freebsd-mobile@freebsd.org Subject: Re: bcm4400 driver and Dell 8500 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, 27 Aug 2003 13:27:29 -0000 On Wed, 27 Aug 2003, Kenneth D. Merry wrote: > On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: > > Hello James and Ken, > > > > Both of you are having real problems with the bcm driver and both of you > > have a Dell 8500. > > > > This is James' dmesg output, which from memory looks very similar to your > > Ken? > > > > > bcm0: mem 0xfaffe000-0xfaffffff irq 11 > > > at device 0.0 on pci2 > > > bcm0: Ethernet address: ff:ff:ff:ff:ff:ff > > > panic: bcm0: Strange type for core 0xffffffff > > Yep, the messages I get are identical when I load it as a module. > > > > I'm running 5.1-current from august 22nd. I can try pulling down the > > > latest 5.1 tommorow if you think this might help. This is the same result > > > as when I tried the driver from over a month ago. > > > > We think that the problem is something to do with the PCI configuration of > > the machine. The ethernet address being ff:ff:ff:ff:ff:ff indicates that the > > memory map is not right. > > > > > Before sending this email I was going to obtain a backtrace. I recompiled > > > with the symbol table and kernel debugger and now the driver appears to > > > work fine. Should it work this way? > > > > Hmm interesting. Ken can you try this and see if the driver then works? > > I've already got the kernel debugger on. Do you mean changing the module > compile somehow so that more symbols are included? (It seems to resolve > the function addresses in the module fine.) > compiling with options DDB and makeoptions DEBUG=-g is what i mean > The stack trace from the module load is: > > panic() > bcm_chip_get_core() > bcm_chip_reset() > bcm_attach() > device_probe_and_attach() > etc. > > If I boot a kernel with the bcm driver compiled in, and don't attach to the > docking station, it comes up fine until I insert my fxp card in the carbus > slot. Then I get the panic in bcm_ring_rx_eof() that I reported last > night. FWIW, when I have the driver compiled in, the memory location is > identical to location used when the module loads (above), but the ethernet > address is properly decoded: > > bcm0: mem 0xfaffe000-0xfaffffff irq 11 at device 0.0 on pci2 > bcm0: Ethernet address: 00:0b:db:94:bf:42 > miibus0: on bcm0 > > If I boot a kernel with the bcm driver compiled in, and don't attach to the > docking station, and don't insert my fxp card, I get slightly further. I > tried running dhclient, and got: > > All mbufs or mbuf clusters exhausted, please see tuning(7). > bcm0: initialization failed: no memory for rx buffers > > Then I tried just manually ifconfiging the interface, and it works! > > Here's what netstat -m says: > > {erebor:/usr/home/ken:1:0} netstat -nm > mbuf usage: > GEN cache: 0/0 (in use/in pool) > CPU #0 cache: 576/608 (in use/in pool) > Total: 576/608 (in use/in pool) > Mbuf cache high watermark: 512 > Maximum possible: 34304 > Allocated mbuf types: > 576 mbufs allocated to data > 1% of mbuf map consumed > mbuf cluster usage: > GEN cache: 0/0 (in use/in pool) > CPU #0 cache: 575/584 (in use/in pool) > Total: 575/584 (in use/in pool) > Cluster cache high watermark: 128 > Maximum possible: 17152 > 3% of cluster map consumed > 1320 KBytes of wired memory reserved (98% in use) > 1 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > > Performance, once I manually assigned an address seems okay; I was able to > ftp a file over from another machine at a little over 11MB/sec. > > If I insert the fxp card after the bcm driver is configured, the cardbus > initialization fails, and then I get the following messages over and over > again: > > "eek j=6, macCurrent 511, con288" > > At that point I can 't even break into the debugger. > > That's all the time I have for tinkering with it this morning... > > Looks like things are working somewhat better, but there is still some > weird stuff going on... > > Ken > -- > Kenneth Merry > ken@kdm.org > I don't have a docking station. The built in ethernet is which uses the bcm driver. I only have used it as a module and have not tried otherwise. -James From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 06:48:46 2003 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 E6B9016A4BF for ; Wed, 27 Aug 2003 06:48:46 -0700 (PDT) Received: from remt24.cluster1.charter.net (remt24.cluster1.charter.net [209.225.8.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0AB143FBF for ; Wed, 27 Aug 2003 06:48:45 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt24.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 137368305 for freebsd-hackers@freebsd.org; Wed, 27 Aug 2003 09:48:39 -0400 From: "Charles Howse" To: Date: Wed, 27 Aug 2003 08:48:32 -0500 Message-ID: <004401c36ca1$e8172030$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <3F4C804E.6FAE1D56@mindspring.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Looking for detailed documentation: Install to existing filesystem 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, 27 Aug 2003 13:48:47 -0000 > This is fairly easy. What you do it copy the files to a directory > on a second disk drive on the machine, and point sysinstall to that > partition/directory during the install. >=20 > 8-). (tongue in cheek) Thank you! ;-) OK, here's what I did. Remember, I just want to install from scratch, not upgrade or anything too complicated. I copied the entire contents of CD 1 to /dev/ad3s1e/freebsd which I mount as /disk2/freebsd. I used Midnight Commander to do this, selecting each directory and telling it to dive into subdirectories if they exist. I booted from the CD, worked my way as usual to the Media Selection menu and chose Install from an existing filesystem. I *did* set the mount point for ad3s1e to /disk2 and did not toggle NewFS (preserve files). I entered /dev/ad3s1e/freebsd as the location. It failed with "can't copy from /mnt/dev/ad3s1e/freebsd" Try again? Y Failed. Etc., etc., etc. I tried the whole thing again, entering /mnt/dev/ad3s1e/freebsd this time as the location. Failed again. I looked at the debug output with ALT + F2, and the only thing I remember was that it said it couldn't open some file for writing. This is the exact same error that I see so many people posting about when I Goolge for a solution to this question. The most frequent thing they ask is, "Do I have to mount the partition on which the distfiles are located before I install? If so, how?" Any suggestions (careful! )? >PPS: I've posted detailed instructions on doing this at least >three times in the past three years, since I needed to upgrade >over NFS to a machine without anything but a local copy of >FreeBSD that could be booted; start looking around June of 2001 >in the -current and -hackers archives. I searched a while and didn't find anything, probably gave up too soon, decided to just wing it. I'm off today and don't mind fiddling around trying to figure this out. From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 08:32:36 2003 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 A4FF216A4BF for ; Wed, 27 Aug 2003 08:32:36 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94F1A43FE3 for ; Wed, 27 Aug 2003 08:32:35 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h7RFWBrO025523; Wed, 27 Aug 2003 11:32:11 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h7RFWB25025520; Wed, 27 Aug 2003 11:32:11 -0400 (EDT) Date: Wed, 27 Aug 2003 11:32:11 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Tyler Kellen In-Reply-To: <000001c36bef$da8d1260$a700000a@TYBOX> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 15:32:36 -0000 As has been mentioned, the FreeBSD source tree as shipped isn't configured for minimization without a fair amount of effort. However, there are a number of larger components, typically maintained by third parties, that are build-time removable, and are typically arguments to the build specified in make.conf. Here are the components people like to disable with relative frequency, found by grepping for '^#NO' in /usr/share/examples/etc/make.conf, plus a little trimming for entries that have to do with compile flags on -CURRENT: #NO_CVS= true # do not build CVS #NO_CXX= true # do not build C++ and friends #NO_BIND= true # do not build BIND #NO_FORTRAN= true # do not build g77 and related libraries #NO_GDB= true # do not build GDB #NO_I4B= true # do not build isdn4bsd package #NO_IPFILTER= true # do not build IP Filter package #NO_KERBEROS= true # do not build and install Kerberos 5 (KTH Heimdal) #NO_LPR= true # do not build lpr and related programs #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector #NO_MODULES= true # do not build modules with the kernel #NO_OBJC= true # do not build Objective C support #NO_OPENSSH= true # do not build OpenSSH #NO_OPENSSL= true # do not build OpenSSL (implies NO_KERBEROS and #NO_SENDMAIL= true # do not build sendmail and related programs #NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs #NO_TCSH= true # do not build and install /bin/csh (which is tcsh) #NO_X= true # do not compile in XWindows support (e.g. doscmd) #NOCRYPT= true # do not build any crypto code #NOGAMES= true # do not build games (games/ subdir) #NOINFO= true # do not make or install info files #NOLIBC_R= true # do not build libc_r (re-entrant version of libc) #NOMAN= true # do not build manual pages #NOPROFILE= true # Avoid compiling profiled libraries #NOSHARE= true # do not go into the share subdir On 4.x-STABLE, the set is slightly different as Kerberos5 isn't built by default, UUCP is included in the source tree, etc. I don't think we currently have a NO_GCC flag or NO_BINUTILS to avoid installing the compiler and related tools, but I imagine those would be fairly straight-forward to build. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:02:15 2003 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 9A48816A4BF; Wed, 27 Aug 2003 09:02:15 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F97C43FB1; Wed, 27 Aug 2003 09:02:12 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h7RG05xk021699; Wed, 27 Aug 2003 12:00:05 -0400 (EDT) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h7RG1Uff060920; Wed, 27 Aug 2003 12:01:30 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: James Nobis In-Reply-To: References: <009c01c36c6e$7a882150$4bc8a8c0@orac> <20030827131039.GA17250@panzer.kdm.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-OXROxTjxZDgmWp8dYTOe" Organization: MarcusCom, Inc. Message-Id: <1062000128.717.4.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 27 Aug 2003 12:02:08 -0400 X-Spam-Status: No, hits=-11.4 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-hackers@freebsd.org cc: "Kenneth D. Merry" cc: freebsd-mobile@freebsd.org cc: dcswest@gmx.net Subject: Re: bcm4400 driver and Dell 8500 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, 27 Aug 2003 16:02:15 -0000 --=-OXROxTjxZDgmWp8dYTOe Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-08-27 at 09:27, James Nobis wrote: > On Wed, 27 Aug 2003, Kenneth D. Merry wrote: >=20 > > On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: > > > Hello James and Ken, > > > > > > Both of you are having real problems with the bcm driver and both of = you > > > have a Dell 8500. > > > > > > This is James' dmesg output, which from memory looks very similar to = your > > > Ken? > > > > > > > bcm0: mem 0xfaffe000-0xfaffffff i= rq 11 > > > > at device 0.0 on pci2 > > > > bcm0: Ethernet address: ff:ff:ff:ff:ff:ff > > > > panic: bcm0: Strange type for core 0xffffffff > > > > Yep, the messages I get are identical when I load it as a module. > > > > > > I'm running 5.1-current from august 22nd. I can try pulling down t= he > > > > latest 5.1 tommorow if you think this might help. This is the same= result > > > > as when I tried the driver from over a month ago. > > > > > > We think that the problem is something to do with the PCI configurati= on of > > > the machine. The ethernet address being ff:ff:ff:ff:ff:ff indicates t= hat the > > > memory map is not right. > > > > > > > Before sending this email I was going to obtain a backtrace. I rec= ompiled > > > > with the symbol table and kernel debugger and now the driver appear= s to > > > > work fine. Should it work this way? > > > > > > Hmm interesting. Ken can you try this and see if the driver then work= s? > > > > I've already got the kernel debugger on. Do you mean changing the modu= le > > compile somehow so that more symbols are included? (It seems to resolv= e > > the function addresses in the module fine.) > > >=20 > compiling with options DDB and makeoptions DEBUG=3D-g is what i mean Note, on my 5150, I also have a kernel built with -g. I do not have DDB compiled in, but I have never tried a kernel without -g. I may be susceptible to the same "all-ffs" problem. Joe >=20 > > The stack trace from the module load is: > > > > panic() > > bcm_chip_get_core() > > bcm_chip_reset() > > bcm_attach() > > device_probe_and_attach() > > etc. > > > > If I boot a kernel with the bcm driver compiled in, and don't attach to= the > > docking station, it comes up fine until I insert my fxp card in the car= bus > > slot. Then I get the panic in bcm_ring_rx_eof() that I reported last > > night. FWIW, when I have the driver compiled in, the memory location i= s > > identical to location used when the module loads (above), but the ether= net > > address is properly decoded: > > > > bcm0: mem 0xfaffe000-0xfaffffff irq 1= 1 at device 0.0 on pci2 > > bcm0: Ethernet address: 00:0b:db:94:bf:42 > > miibus0: on bcm0 > > > > If I boot a kernel with the bcm driver compiled in, and don't attach to= the > > docking station, and don't insert my fxp card, I get slightly further. = I > > tried running dhclient, and got: > > > > All mbufs or mbuf clusters exhausted, please see tuning(7). > > bcm0: initialization failed: no memory for rx buffers > > > > Then I tried just manually ifconfiging the interface, and it works! > > > > Here's what netstat -m says: > > > > {erebor:/usr/home/ken:1:0} netstat -nm > > mbuf usage: > > GEN cache: 0/0 (in use/in pool) > > CPU #0 cache: 576/608 (in use/in pool) > > Total: 576/608 (in use/in pool) > > Mbuf cache high watermark: 512 > > Maximum possible: 34304 > > Allocated mbuf types: > > 576 mbufs allocated to data > > 1% of mbuf map consumed > > mbuf cluster usage: > > GEN cache: 0/0 (in use/in pool) > > CPU #0 cache: 575/584 (in use/in pool) > > Total: 575/584 (in use/in pool) > > Cluster cache high watermark: 128 > > Maximum possible: 17152 > > 3% of cluster map consumed > > 1320 KBytes of wired memory reserved (98% in use) > > 1 requests for memory denied > > 0 requests for memory delayed > > 0 calls to protocol drain routines > > > > Performance, once I manually assigned an address seems okay; I was able= to > > ftp a file over from another machine at a little over 11MB/sec. > > > > If I insert the fxp card after the bcm driver is configured, the cardbu= s > > initialization fails, and then I get the following messages over and ov= er > > again: > > > > "eek j=3D6, macCurrent 511, con288" > > > > At that point I can 't even break into the debugger. > > > > That's all the time I have for tinkering with it this morning... > > > > Looks like things are working somewhat better, but there is still some > > weird stuff going on... > > > > Ken > > -- > > Kenneth Merry > > ken@kdm.org > > > I don't have a docking station. The built in ethernet is which uses the > bcm driver. I only have used it as a module and have not tried otherwise= . >=20 > -James > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-OXROxTjxZDgmWp8dYTOe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/TNYAb2iPiv4Uz4cRAivHAKCEz8BrwMw5rUGHGHoOnV7I36AZxwCfVb7m CnyZ9UcWKuVWkVlBAelcrFY= =ZxRk -----END PGP SIGNATURE----- --=-OXROxTjxZDgmWp8dYTOe-- From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:03:16 2003 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 C269116A4C0 for ; Wed, 27 Aug 2003 09:03:16 -0700 (PDT) Received: from smtp-relay2.barrysworld.com (smtp-relay2.barrysworld.com [213.221.172.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97F6243FE3 for ; Wed, 27 Aug 2003 09:03:15 -0700 (PDT) (envelope-from killing@barrysworld.com) Received: from [213.221.181.50] (helo=barrysworld.com) by smtp-relay2.barrysworld.com with esmtp (Exim 4.22) id 19s2kb-0006Y9-1Z for freebsd-hackers@freebsd.org; Wed, 27 Aug 2003 17:02:25 +0100 Received: from vader [212.135.219.179] by barrysworld.com with ESMTP (SMTPD32-7.15) id A705AB48003C; Wed, 27 Aug 2003 17:06:29 +0100 Message-ID: <016e01c36cb4$98b52fb0$b3db87d4@vader> From: "Steven Hartland" To: References: Date: Wed, 27 Aug 2003 17:02:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Whats the state of SCHED_ULE 5.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Steven Hartland List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 16:03:16 -0000 Whats the state of SCHED_ULE in 5.1 we are using 5.1-RELEASE for running game servers and Im considering looking at using SCHED_ULE but wanted to know if anyone had any feedback on its current state e.g. whats its good at what its not good at / any issues? Steve / K From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:05:41 2003 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 D909616A4BF for ; Wed, 27 Aug 2003 09:05:41 -0700 (PDT) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id BF17043FBF for ; Wed, 27 Aug 2003 09:05:40 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: (qmail 30237 invoked by uid 1002); 27 Aug 2003 16:05:40 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 27 Aug 2003 16:05:40 -0000 Message-ID: <3F4CD6C8.7010103@freebsd.org> Date: Wed, 27 Aug 2003 10:05:28 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: hackers@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Call for thread testers 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, 27 Aug 2003 16:05:42 -0000 All, This is kind of an unconventional call for help. As we approach the release of 5.2, we'd really like to show off the performance and stability of our new threading packages. So, I'm looking for people to volunteer to go out and put some of the thread-capable enterprise and desktop packages to the test. Packages that I would most like to see are: Apache 2 BIND 9 OpenOffice Mozilla KDE desktop + Konq Java 1.3/1.4 + Tomcat/etc MySQL Others? The questions that I would like to have answered are: Does it take advantage of pthreads Does it work with libkse and libthr Does it operate correctly Does it perform better/worse than with libc_r Does it perform better/worse than under FreeBSD 4.x Thanks! Scott From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:16:35 2003 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 C956D16A4BF; Wed, 27 Aug 2003 09:16:35 -0700 (PDT) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16FF843FDD; Wed, 27 Aug 2003 09:16:35 -0700 (PDT) (envelope-from gerald@pfeifer.com) Received: from [128.131.111.52] (naos [128.131.111.52]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 86B3D13793; Wed, 27 Aug 2003 18:16:33 +0200 (CEST) Date: Wed, 27 Aug 2003 18:16:30 +0200 (CEST) From: Gerald Pfeifer To: Scott Long In-Reply-To: <3F4CD6C8.7010103@freebsd.org> Message-ID: References: <3F4CD6C8.7010103@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: Call for thread testers 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, 27 Aug 2003 16:16:35 -0000 On Wed, 27 Aug 2003, Scott Long wrote: > Packages that I would most like to see are: > [...] > Others? Wine? (ports/emulators/wine) Though I'm currently fighting to get the CVS version cooperate on 4-STABLE, given recent changes to the threading support in Wine. > The questions that I would like to have answered are: > > Does it take advantage of pthreads > Does it work with libkse and libthr > Does it operate correctly > Does it perform better/worse than with libc_r > Does it perform better/worse than under FreeBSD 4.x What would be extremely helpful, IMHO, would be guidelines how to use the various kinds of threading support (especially in the ports collection). Especially, how should we update ports so that they work both on 4.x and 5.x and, optionally, take advantage of the other threading packages? Is there some nice overview somewhere? Gerald PS: For example, our system compiler on -STABLE fails to build Wine if sources are compiled with -pthread, but linked without this option, while this works fine with stock GCC 3.2.3 (which is most likely due to problems in Wine, not FreeBSD or GCC, but still a problem). -- Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/ From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:19:50 2003 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 897C916A4BF for ; Wed, 27 Aug 2003 09:19:50 -0700 (PDT) Received: from mail.numachi.com (meisai.numachi.com [198.175.254.6]) by mx1.FreeBSD.org (Postfix) with SMTP id E70EC43F3F for ; Wed, 27 Aug 2003 09:19:48 -0700 (PDT) (envelope-from reichert@numachi.com) Received: (qmail 18164 invoked from network); 27 Aug 2003 16:19:47 -0000 Received: from natto.numachi.com (198.175.254.216) by meisai.numachi.com with SMTP; 27 Aug 2003 16:19:47 -0000 Received: (qmail 25063 invoked by uid 1001); 27 Aug 2003 16:19:47 -0000 Date: Wed, 27 Aug 2003 12:19:47 -0400 From: Brian Reichert To: John Birrell Message-ID: <20030827161947.GS360@numachi.com> References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> <20030827072610.F249@freebsd1.cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030827072610.F249@freebsd1.cimlogic.com.au> User-Agent: Mutt/1.4i cc: freebsd-hackers@freebsd.org cc: Tyler Kellen cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 16:19:50 -0000 On Wed, Aug 27, 2003 at 07:26:10AM +1000, John Birrell wrote: > One way to do this initially is to install a full FreeBSD system on one > disk partition and use a second partition for a trial install. FreeBSD's > boot manager will let you boot into each. As I'm pursuing these matters as well, I've found that mucking with jails is faster, for a lot of bulk work. Starting/stopping a jail is _much_ quicker than reboots. (And it's a lot easier to reset a jail to a prior state.) This won't exercise the rc* scripts, but will let you quickly test for dependancies elsewhere. And whatever you find for dependancies, please document them somewhere; I still have a fantasy of 'deconstructing' FreeBSD into finer-grained packages... > -- > John Birrell > _______________________________________________ -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:22:33 2003 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 069A716A4BF for ; Wed, 27 Aug 2003 09:22:33 -0700 (PDT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id A47F843FFD for ; Wed, 27 Aug 2003 09:22:27 -0700 (PDT) (envelope-from montaro@sixlabs.org) Received: from montaro3 (211.26.68.2) by smtp01.syd.iprimus.net.au (7.0.018) id 3F4C093C00029B71 for freebsd-hackers@freebsd.org; Thu, 28 Aug 2003 02:22:26 +1000 Message-ID: <005a01c36cb7$62151670$0300a8c0@lan.sixlabs.org> From: "Montaro" To: Date: Thu, 28 Aug 2003 02:22:16 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Looking for detailed documentation: Install to existingfilesystem 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, 27 Aug 2003 16:22:33 -0000 If you mounted ad3s1e on /disk2 and on /disk2 was freebsd/ with the distrobution files in it, I am suspecting you would be telling sysinstall to look to /disk2/freebsd rather than /dev/ad3s1e/freebsd since /dev/ad3s1e/ is just the device not the acual mounted file system. Hope this helps. -- Cheers, Josh Sixlabs ----- Original Message ----- From: "Charles Howse" To: Sent: Wednesday, August 27, 2003 11:48 PM Subject: RE: Looking for detailed documentation: Install to existingfilesystem > This is fairly easy. What you do it copy the files to a directory > on a second disk drive on the machine, and point sysinstall to that > partition/directory during the install. > > 8-). (tongue in cheek) Thank you! ;-) OK, here's what I did. Remember, I just want to install from scratch, not upgrade or anything too complicated. I copied the entire contents of CD 1 to /dev/ad3s1e/freebsd which I mount as /disk2/freebsd. I used Midnight Commander to do this, selecting each directory and telling it to dive into subdirectories if they exist. I booted from the CD, worked my way as usual to the Media Selection menu and chose Install from an existing filesystem. I *did* set the mount point for ad3s1e to /disk2 and did not toggle NewFS (preserve files). I entered /dev/ad3s1e/freebsd as the location. It failed with "can't copy from /mnt/dev/ad3s1e/freebsd" Try again? Y Failed. Etc., etc., etc. I tried the whole thing again, entering /mnt/dev/ad3s1e/freebsd this time as the location. Failed again. I looked at the debug output with ALT + F2, and the only thing I remember was that it said it couldn't open some file for writing. This is the exact same error that I see so many people posting about when I Goolge for a solution to this question. The most frequent thing they ask is, "Do I have to mount the partition on which the distfiles are located before I install? If so, how?" Any suggestions (careful! )? >PPS: I've posted detailed instructions on doing this at least >three times in the past three years, since I needed to upgrade >over NFS to a machine without anything but a local copy of >FreeBSD that could be booted; start looking around June of 2001 >in the -current and -hackers archives. I searched a while and didn't find anything, probably gave up too soon, decided to just wing it. I'm off today and don't mind fiddling around trying to figure this out. _______________________________________________ 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 Aug 27 09:25:05 2003 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 5D5DC16A4BF for ; Wed, 27 Aug 2003 09:25:05 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-97.dsl.lsan03.pacbell.net [64.169.107.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7680C43F93 for ; Wed, 27 Aug 2003 09:25:04 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id F108666BE5; Wed, 27 Aug 2003 09:25:03 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id AE4197D3; Wed, 27 Aug 2003 09:25:03 -0700 (PDT) Date: Wed, 27 Aug 2003 09:25:03 -0700 From: Kris Kennaway To: Steven Hartland Message-ID: <20030827162503.GA21457@rot13.obsecurity.org> References: <016e01c36cb4$98b52fb0$b3db87d4@vader> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <016e01c36cb4$98b52fb0$b3db87d4@vader> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org Subject: Re: Whats the state of SCHED_ULE 5.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: Wed, 27 Aug 2003 16:25:05 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 27, 2003 at 05:02:19PM +0100, Steven Hartland wrote: > Whats the state of SCHED_ULE in 5.1 we are using 5.1-RELEASE > for running game servers and Im considering looking at using=20 > SCHED_ULE but wanted to know if anyone had any feedback > on its current state e.g. whats its good at what its not good at / any > issues? There are still known problems with it (see mailing list archives). Problems I have seen include: CPU stats are not updated for sleeping processes (leading to a weird top(1) experience), interactive performance is not as good as SCHED_4BSD when under load, and there seem to still be problems with the scheduling of niced processes (e.g. nice +20 processes still grab CPU away from others). My recommendation would be to try it for yourself if you can spare the time, otherwise stick with SCHED_4BSD for now. Kris --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/TNtfWry0BWjoQKURAtXCAKDf10zEQuGA9wzTG7wMlf9Zi3GxKACgtgth yFnPVlG4zEpG+AG9Cy3GmIQ= =vS1T -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb-- From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:25:35 2003 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 D110416A4BF for ; Wed, 27 Aug 2003 09:25:35 -0700 (PDT) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E85844003 for ; Wed, 27 Aug 2003 09:25:34 -0700 (PDT) (envelope-from montaro@sixlabs.org) Received: from montaro3 (211.26.68.2) by smtp02.syd.iprimus.net.au (7.0.018) id 3F4C083E0002338A for freebsd-hackers@freebsd.org; Thu, 28 Aug 2003 02:25:33 +1000 Message-ID: <005e01c36cb7$d1568870$0300a8c0@lan.sixlabs.org> From: "Montaro" To: References: <004401c36ca1$e8172030$04fea8c0@moe> Date: Thu, 28 Aug 2003 02:25:21 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Looking for detailed documentation: Install to existingfilesystem 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, 27 Aug 2003 16:25:35 -0000 Oh excuse me I didn't properly read the whole message.. Assuming that /dev/ad3s1e is ufs (freebsd file system) You would mount device pathtomount for example: # mkdir /disk2 # mount /dev/ad3s1e /disk2 and then just direct sysinstall to /disk2 or /disk2/freebsd depending on where the files are. You can find out more about mount by typing # man mount -- Cheers, Josh Sixlabs ----- Original Message ----- From: "Charles Howse" To: Sent: Wednesday, August 27, 2003 11:48 PM Subject: RE: Looking for detailed documentation: Install to existingfilesystem > This is fairly easy. What you do it copy the files to a directory > on a second disk drive on the machine, and point sysinstall to that > partition/directory during the install. > > 8-). (tongue in cheek) Thank you! ;-) OK, here's what I did. Remember, I just want to install from scratch, not upgrade or anything too complicated. I copied the entire contents of CD 1 to /dev/ad3s1e/freebsd which I mount as /disk2/freebsd. I used Midnight Commander to do this, selecting each directory and telling it to dive into subdirectories if they exist. I booted from the CD, worked my way as usual to the Media Selection menu and chose Install from an existing filesystem. I *did* set the mount point for ad3s1e to /disk2 and did not toggle NewFS (preserve files). I entered /dev/ad3s1e/freebsd as the location. It failed with "can't copy from /mnt/dev/ad3s1e/freebsd" Try again? Y Failed. Etc., etc., etc. I tried the whole thing again, entering /mnt/dev/ad3s1e/freebsd this time as the location. Failed again. I looked at the debug output with ALT + F2, and the only thing I remember was that it said it couldn't open some file for writing. This is the exact same error that I see so many people posting about when I Goolge for a solution to this question. The most frequent thing they ask is, "Do I have to mount the partition on which the distfiles are located before I install? If so, how?" Any suggestions (careful! )? >PPS: I've posted detailed instructions on doing this at least >three times in the past three years, since I needed to upgrade >over NFS to a machine without anything but a local copy of >FreeBSD that could be booted; start looking around June of 2001 >in the -current and -hackers archives. I searched a while and didn't find anything, probably gave up too soon, decided to just wing it. I'm off today and don't mind fiddling around trying to figure this out. _______________________________________________ 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 Aug 27 09:31:24 2003 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 CA2BF16A4BF for ; Wed, 27 Aug 2003 09:31:24 -0700 (PDT) Received: from remt19.cluster1.charter.net (remt19.cluster1.charter.net [209.225.8.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2EC343FF7 for ; Wed, 27 Aug 2003 09:31:23 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt19.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 137025967; Wed, 27 Aug 2003 12:31:21 -0400 From: "Charles Howse" To: "'Montaro'" Date: Wed, 27 Aug 2003 11:31:09 -0500 Message-ID: <005c01c36cb8$9f461b60$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <003901c36cb7$02980cc0$0300a8c0@lan.sixlabs.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal cc: freebsd-hackers@freebsd.org Subject: RE: Looking for detailed documentation: Install to existingfilesystem 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, 27 Aug 2003 16:31:24 -0000 > If you mounted ad3s1e on /disk2 > and on /disk2 was freebsd/ with the distrobution files in it, I am > suspecting you would be telling sysinstall to look to=20 > /disk2/freebsd rather > than /dev/ad3s1e/freebsd since /dev/ad3s1e/ is just the=20 > device not the acual > mounted file system. >=20 > Hope this helps. With all due respect, are you sure about that? Here's why I ask... Since I booted from the CD (or I could have opted to boot from the floppies), and went through the entire install process, creating partitions and slices, the fact that I created a new mount point for /dev/ades1e on /disk2 would lead me to believe that /disk2 would not be mounted at that point, therefore the distfiles would not be available. Now, I'm sure they would be available if I had started sysinstall from my running FBSD system, but that's not what I'm after here. I'm looking to learn how to install from an existing filesystem when (for example) the computer won't boot the operating system. Does that make sense? From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:33:40 2003 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 D6C8016A4BF for ; Wed, 27 Aug 2003 09:33:40 -0700 (PDT) Received: from bilver.wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 669FC43FE9 for ; Wed, 27 Aug 2003 09:33:36 -0700 (PDT) (envelope-from bv@wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by bilver.wjv.com (8.12.9/8.12.9) with ESMTP id h7RGXVCE076796 for ; Wed, 27 Aug 2003 12:33:31 -0400 (EDT) (envelope-from bv@wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.9/8.12.9/Submit) id h7RGXUCq076795 for freebsd-hackers@freebsd.org; Wed, 27 Aug 2003 12:33:30 -0400 (EDT) Date: Wed, 27 Aug 2003 12:33:30 -0400 From: Bill Vermillion To: freebsd-hackers@freebsd.org Message-ID: <20030827163330.GA76627@wjv.com> References: <20030827160550.F093316A534@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030827160550.F093316A534@hub.freebsd.org> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-4.5 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: Minimalist FreeBSD 4.8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bv@wjv.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 16:33:41 -0000 While humming that old rock song Yackety Yacc - Dont Awk Back freebsd-hackers-request@freebsd.org sang or SED something like this: > ------------------------------ > Message: 10 > Date: Wed, 27 Aug 2003 10:53:38 +1000 > From: Greg Black > Subject: Re: Minimalist FreeBSD 4.8 > To: Diomidis Spinellis > Cc: freebsd-hackers@freebsd.org > Message-ID: > Content-Type: text/plain; charset=us-ascii > On 2003-08-26, Diomidis Spinellis wrote: > > > Tyler Kellen wrote: > > > > > The information I'm looking to aquire is the absolute > > > minimum files required to boot FreeBSD 4.8 into multi-user > > > mode. If this involves deleting a massive amount of > > > directories and files, or setting up a new drive and > > > copying only the needed files, I think I can make it work. > > You can use the system the way you intent to for two weeks, > > and then run > > find / -atime +2w -print0 | xargs -0 rm -f > > This command will delete all files that have not been > > accessed within the last two weeks. > And it would also remove things like find and xargs and all the > other system binaries -- their atime does not get changed when > they are executed. Check your facts before giving this kind of > advice. And if you had an entry like this in your /etc/fstab file it could cause some suprises too. # Device Mountpoint FStype Options Dump Pass# ...[deleted - only left significant line - wjv] /dev/da0s1f /usr ufs rw,noatime 2 2 This has among other things a new hierarchy and in this underpowered system I saw no need to write atimes to the inode which are probably going to be gone in two weeks anyway. atime is probably not needed in the vast majority of systems IMO. Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:37:41 2003 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 C0E3716A4BF for ; Wed, 27 Aug 2003 09:37:41 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D90D843FBF for ; Wed, 27 Aug 2003 09:37:38 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h7RGaqrO026136; Wed, 27 Aug 2003 12:36:52 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h7RGaqTM026133; Wed, 27 Aug 2003 12:36:52 -0400 (EDT) Date: Wed, 27 Aug 2003 12:36:52 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Brian Reichert In-Reply-To: <20030827161947.GS360@numachi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: Tyler Kellen cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 16:37:41 -0000 On Wed, 27 Aug 2003, Brian Reichert wrote: > On Wed, Aug 27, 2003 at 07:26:10AM +1000, John Birrell wrote: > > One way to do this initially is to install a full FreeBSD system on one > > disk partition and use a second partition for a trial install. FreeBSD's > > boot manager will let you boot into each. > > As I'm pursuing these matters as well, I've found that mucking with > jails is faster, for a lot of bulk work. Starting/stopping a jail is > _much_ quicker than reboots. (And it's a lot easier to reset a jail to > a prior state.) This won't exercise the rc* scripts, but will let you > quickly test for dependancies elsewhere. Actually, I tend to "boot" my jails using the existing rc pieces -- I skip some of the hardware-esque things (network interface configuration, file system mounting), but do use the rc stuff to start daemons. > And whatever you find for dependancies, please document them somewhere; > I still have a fantasy of 'deconstructing' FreeBSD into finer-grained > packages... One of the big problems with that process has between that people who've attempted it (perhaps rationally) get caught up in combining compartmentalization of the build and compartmentalization of the delivery. I.e., they sit there and try to figure out how to break out libraries, utilities, etc, and get caught up in building the end-all to package building infrastructure. Something a little lower-hanging would go a long way... Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:42:28 2003 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 B8BA916A4BF; Wed, 27 Aug 2003 09:42:28 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2BFE43FAF; Wed, 27 Aug 2003 09:42:27 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h7RGgQtp025372; Wed, 27 Aug 2003 12:42:26 -0400 (EDT) Date: Wed, 27 Aug 2003 12:42:26 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Scott Long In-Reply-To: <3F4CD6C8.7010103@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@FreeBSD.org Subject: Re: Call for thread testers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 16:42:28 -0000 On Wed, 27 Aug 2003, Scott Long wrote: > All, > > This is kind of an unconventional call for help. As we approach the > release of 5.2, we'd really like to show off the performance and > stability of our new threading packages. So, I'm looking for people > to volunteer to go out and put some of the thread-capable enterprise > and desktop packages to the test. Packages that I would most like > to see are: > > Apache 2 > BIND 9 > OpenOffice > Mozilla > KDE desktop + Konq > Java 1.3/1.4 + Tomcat/etc > MySQL > Others? As to OpenOffice, Mozilla, and KDE/Konqueror, David and I have been using them all with libkse with no noticable difference. I don't know how you'd judge performance with these, since it is more "how it feels". You shouldn't use jdk13 with libkse or libthr since it relies on the internals of the thread library (libc_r). It is only useful to benchmark jdk14 which, in theory, should work with all our native thread libraries. > The questions that I would like to have answered are: > > Does it take advantage of pthreads > Does it work with libkse and libthr > Does it operate correctly > Does it perform better/worse than with libc_r > Does it perform better/worse than under FreeBSD 4.x One thing I have noticed about Mozilla, is that it does create both scope process and scope system threads, which was kind of nice to see. The ACE library is threaded and includes a set of tests; some of which show performance: http://www.cs.wustl.edu/~schmidt/ACE.html David and I have a couple of other tests which we use to measure performance of our threads libraries. -- Dan Eischen From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:56:12 2003 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 3162316A4BF for ; Wed, 27 Aug 2003 09:56:12 -0700 (PDT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6B4243FBF for ; Wed, 27 Aug 2003 09:56:10 -0700 (PDT) (envelope-from montaro@sixlabs.org) Received: from montaro3 (211.26.68.2) by smtp01.syd.iprimus.net.au (7.0.018) id 3F4C093C0002A505 for freebsd-hackers@freebsd.org; Thu, 28 Aug 2003 02:56:09 +1000 Message-ID: <00a801c36cbc$17d8ee10$0300a8c0@lan.sixlabs.org> From: "Montaro" To: References: <005c01c36cb8$9f461b60$04fea8c0@moe> Date: Thu, 28 Aug 2003 02:55:59 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Looking for detailed documentation: Install to existingfilesystem 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, 27 Aug 2003 16:56:12 -0000 During the installation It loads a holographic terminal on ttyv4 i think? I can't remember off hand if this is before or after the medium has started copying I'm hoping (for your sake) it is before... Anyway, that is where I mean't for you to mount the file system, it will be mounted for the duration of the installation.. Sorry for any confusion, I hope this helps? -- Cheers, Josh Sixlabs ----- Original Message ----- From: "Charles Howse" To: "'Montaro'" Cc: Sent: Thursday, August 28, 2003 2:31 AM Subject: RE: Looking for detailed documentation: Install to existingfilesystem > If you mounted ad3s1e on /disk2 > and on /disk2 was freebsd/ with the distrobution files in it, I am > suspecting you would be telling sysinstall to look to > /disk2/freebsd rather > than /dev/ad3s1e/freebsd since /dev/ad3s1e/ is just the > device not the acual > mounted file system. > > Hope this helps. With all due respect, are you sure about that? Here's why I ask... Since I booted from the CD (or I could have opted to boot from the floppies), and went through the entire install process, creating partitions and slices, the fact that I created a new mount point for /dev/ades1e on /disk2 would lead me to believe that /disk2 would not be mounted at that point, therefore the distfiles would not be available. Now, I'm sure they would be available if I had started sysinstall from my running FBSD system, but that's not what I'm after here. I'm looking to learn how to install from an existing filesystem when (for example) the computer won't boot the operating system. Does that make sense? From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 10:11:21 2003 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 EAB9316A4BF for ; Wed, 27 Aug 2003 10:11:21 -0700 (PDT) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 494B843FE3 for ; Wed, 27 Aug 2003 10:11:20 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: (qmail 35355 invoked by uid 1002); 27 Aug 2003 17:11:19 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 27 Aug 2003 17:11:19 -0000 Message-ID: <3F4CE62C.9010802@freebsd.org> Date: Wed, 27 Aug 2003 11:11:08 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: deischen@FreeBSD.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@FreeBSD.org Subject: Re: Call for thread testers 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, 27 Aug 2003 17:11:22 -0000 Daniel Eischen wrote: > On Wed, 27 Aug 2003, Scott Long wrote: > > >>All, >> >>This is kind of an unconventional call for help. As we approach the >>release of 5.2, we'd really like to show off the performance and >>stability of our new threading packages. So, I'm looking for people >>to volunteer to go out and put some of the thread-capable enterprise >>and desktop packages to the test. Packages that I would most like >>to see are: >> >>Apache 2 >>BIND 9 >>OpenOffice >>Mozilla >>KDE desktop + Konq >>Java 1.3/1.4 + Tomcat/etc >>MySQL >>Others? > > > As to OpenOffice, Mozilla, and KDE/Konqueror, David and I have > been using them all with libkse with no noticable difference. > I don't know how you'd judge performance with these, since > it is more "how it feels". > With the desktop apps I'm mostly looking to collect data on the first three criteria, and not worry about strict performance benchmarking (assuming that the 'feel' doesn't go down the toilet). > You shouldn't use jdk13 with libkse or libthr since it relies > on the internals of the thread library (libc_r). It is only useful > to benchmark jdk14 which, in theory, should work with all our > native thread libraries. Yeah, right after I sent the email I remembered the limitation of 1.3. > >>The questions that I would like to have answered are: >> >>Does it take advantage of pthreads >>Does it work with libkse and libthr >>Does it operate correctly >>Does it perform better/worse than with libc_r >>Does it perform better/worse than under FreeBSD 4.x > > > One thing I have noticed about Mozilla, is that it does > create both scope process and scope system threads, which > was kind of nice to see. > > The ACE library is threaded and includes a set of tests; > some of which show performance: > > http://www.cs.wustl.edu/~schmidt/ACE.html > > David and I have a couple of other tests which we use to > measure performance of our threads libraries. > When it comes to performance, it would be interesting to have a report that says, "Apache2 can serve FOO times more pages per second than Apache 1". Same goes for MySQL and others. We really aren't ready to benchmark against Linux or 4.x, but it would be very interesting to see whether libkse and libthr really do give a performance gain on the same OS and hardware. Scott From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 10:24:01 2003 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 6762716A4BF; Wed, 27 Aug 2003 10:24:01 -0700 (PDT) Received: from quelrod.quelrod.net (cs679135-141.austin.rr.com [67.9.135.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C55E43FDD; Wed, 27 Aug 2003 10:23:58 -0700 (PDT) (envelope-from quel@quelrod.net) Received: from quelrod.net (cs679135-141.austin.rr.com [67.9.135.141]) by quelrod.quelrod.net (8.12.9/8.12.6) with ESMTP id h7RHOE0E012276; Wed, 27 Aug 2003 12:24:14 -0500 (CDT) Received: from localhost (quel@localhost) by quelrod.net (8.12.9/8.12.9/Submit) with ESMTP id h7RHOCZs019483; Wed, 27 Aug 2003 12:24:12 -0500 (CDT) Date: Wed, 27 Aug 2003 12:24:11 -0500 (CDT) From: James Nobis To: Joe Marcus Clarke In-Reply-To: <1062000128.717.4.camel@gyros> Message-ID: References: <20030827131039.GA17250@panzer.kdm.org><1062000128.717.4.camel@gyros> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: "Kenneth D. Merry" cc: freebsd-mobile@freebsd.org cc: dcswest@gmx.net Subject: Re: bcm4400 driver and Dell 8500 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, 27 Aug 2003 17:24:01 -0000 On Wed, 27 Aug 2003, Joe Marcus Clarke wrote: > On Wed, 2003-08-27 at 09:27, James Nobis wrote: > > On Wed, 27 Aug 2003, Kenneth D. Merry wrote: > > > > > On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: > > > > Hello James and Ken, > > > > > > > > Both of you are having real problems with the bcm driver and both of you > > > > have a Dell 8500. > > > > > > > > This is James' dmesg output, which from memory looks very similar to your > > > > Ken? > > > > > > > > > bcm0: mem 0xfaffe000-0xfaffffff irq 11 > > > > > at device 0.0 on pci2 > > > > > bcm0: Ethernet address: ff:ff:ff:ff:ff:ff > > > > > panic: bcm0: Strange type for core 0xffffffff > > > > > > Yep, the messages I get are identical when I load it as a module. > > > > > > > > I'm running 5.1-current from august 22nd. I can try pulling down the > > > > > latest 5.1 tommorow if you think this might help. This is the same result > > > > > as when I tried the driver from over a month ago. > > > > > > > > We think that the problem is something to do with the PCI configuration of > > > > the machine. The ethernet address being ff:ff:ff:ff:ff:ff indicates that the > > > > memory map is not right. > > > > > > > > > Before sending this email I was going to obtain a backtrace. I recompiled > > > > > with the symbol table and kernel debugger and now the driver appears to > > > > > work fine. Should it work this way? > > > > > > > > Hmm interesting. Ken can you try this and see if the driver then works? > > > > > > I've already got the kernel debugger on. Do you mean changing the module > > > compile somehow so that more symbols are included? (It seems to resolve > > > the function addresses in the module fine.) > > > > > > > compiling with options DDB and makeoptions DEBUG=-g is what i mean > > Note, on my 5150, I also have a kernel built with -g. I do not have DDB > compiled in, but I have never tried a kernel without -g. I may be > susceptible to the same "all-ffs" problem. > > Joe When i just did a -g, it still would crash when i tried to load the module. The crashes stopped entirely once I also added DDB. -James > > > > > The stack trace from the module load is: > > > > > > panic() > > > bcm_chip_get_core() > > > bcm_chip_reset() > > > bcm_attach() > > > device_probe_and_attach() > > > etc. > > > > > > If I boot a kernel with the bcm driver compiled in, and don't attach to the > > > docking station, it comes up fine until I insert my fxp card in the carbus > > > slot. Then I get the panic in bcm_ring_rx_eof() that I reported last > > > night. FWIW, when I have the driver compiled in, the memory location is > > > identical to location used when the module loads (above), but the ethernet > > > address is properly decoded: > > > > > > bcm0: mem 0xfaffe000-0xfaffffff irq 11 at device 0.0 on pci2 > > > bcm0: Ethernet address: 00:0b:db:94:bf:42 > > > miibus0: on bcm0 > > > > > > If I boot a kernel with the bcm driver compiled in, and don't attach to the > > > docking station, and don't insert my fxp card, I get slightly further. I > > > tried running dhclient, and got: > > > > > > All mbufs or mbuf clusters exhausted, please see tuning(7). > > > bcm0: initialization failed: no memory for rx buffers > > > > > > Then I tried just manually ifconfiging the interface, and it works! > > > > > > Here's what netstat -m says: > > > > > > {erebor:/usr/home/ken:1:0} netstat -nm > > > mbuf usage: > > > GEN cache: 0/0 (in use/in pool) > > > CPU #0 cache: 576/608 (in use/in pool) > > > Total: 576/608 (in use/in pool) > > > Mbuf cache high watermark: 512 > > > Maximum possible: 34304 > > > Allocated mbuf types: > > > 576 mbufs allocated to data > > > 1% of mbuf map consumed > > > mbuf cluster usage: > > > GEN cache: 0/0 (in use/in pool) > > > CPU #0 cache: 575/584 (in use/in pool) > > > Total: 575/584 (in use/in pool) > > > Cluster cache high watermark: 128 > > > Maximum possible: 17152 > > > 3% of cluster map consumed > > > 1320 KBytes of wired memory reserved (98% in use) > > > 1 requests for memory denied > > > 0 requests for memory delayed > > > 0 calls to protocol drain routines > > > > > > Performance, once I manually assigned an address seems okay; I was able to > > > ftp a file over from another machine at a little over 11MB/sec. > > > > > > If I insert the fxp card after the bcm driver is configured, the cardbus > > > initialization fails, and then I get the following messages over and over > > > again: > > > > > > "eek j=6, macCurrent 511, con288" > > > > > > At that point I can 't even break into the debugger. > > > > > > That's all the time I have for tinkering with it this morning... > > > > > > Looks like things are working somewhat better, but there is still some > > > weird stuff going on... > > > > > > Ken > > > -- > > > Kenneth Merry > > > ken@kdm.org > > > > > I don't have a docking station. The built in ethernet is which uses the > > bcm driver. I only have used it as a module and have not tried otherwise. > > > > -James > > _______________________________________________ > > freebsd-mobile@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- > PGP Key : http://www.marcuscom.com/pgp.asc > > > From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 10:28:10 2003 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 916CB16A4BF; Wed, 27 Aug 2003 10:28:10 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FED643FF9; Wed, 27 Aug 2003 10:28:07 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from slave.my.domain ([192.168.200.39]) by dmlb.org with esmtp (Exim 3.36 #1) id 19s45O-000PDN-00; Wed, 27 Aug 2003 18:27:58 +0100 Received: from dmlb by slave.my.domain with local (Exim 3.36 #1) id 19s45N-000KaT-00; Wed, 27 Aug 2003 18:27:57 +0100 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030827131039.GA17250@panzer.kdm.org> Date: Wed, 27 Aug 2003 18:27:57 +0100 (BST) From: Duncan Barclay To: "Kenneth D. Merry" Sender: Duncan Barclay cc: freebsd-hackers@freebsd.org cc: James Nobis cc: dcswest@gmx.net cc: freebsd-mobile@freebsd.org Subject: Re: bcm4400 driver and Dell 8500 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, 27 Aug 2003 17:28:10 -0000 On 27-Aug-2003 Kenneth D. Merry wrote: > On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: >> Hello James and Ken, >> >> Both of you are having real problems with the bcm driver and both of you >> have a Dell 8500. >> >> This is James' dmesg output, which from memory looks very similar to your >> Ken? >> >> > bcm0: mem 0xfaffe000-0xfaffffff irq 11 >> > at device 0.0 on pci2 >> > bcm0: Ethernet address: ff:ff:ff:ff:ff:ff >> > panic: bcm0: Strange type for core 0xffffffff > > Yep, the messages I get are identical when I load it as a module. > >> > I'm running 5.1-current from august 22nd. I can try pulling down the >> > latest 5.1 tommorow if you think this might help. This is the same result >> > as when I tried the driver from over a month ago. >> >> We think that the problem is something to do with the PCI configuration of >> the machine. The ethernet address being ff:ff:ff:ff:ff:ff indicates that the >> memory map is not right. >> >> > Before sending this email I was going to obtain a backtrace. I recompiled >> > with the symbol table and kernel debugger and now the driver appears to >> > work fine. Should it work this way? >> >> Hmm interesting. Ken can you try this and see if the driver then works? > > I've already got the kernel debugger on. Do you mean changing the module > compile somehow so that more symbols are included? (It seems to resolve > the function addresses in the module fine.) > > The stack trace from the module load is: > > panic() > bcm_chip_get_core() > bcm_chip_reset() > bcm_attach() > device_probe_and_attach() > etc. > > If I boot a kernel with the bcm driver compiled in, and don't attach to the > docking station, it comes up fine until I insert my fxp card in the carbus > slot. Then I get the panic in bcm_ring_rx_eof() that I reported last > night. FWIW, when I have the driver compiled in, the memory location is > identical to location used when the module loads (above), but the ethernet > address is properly decoded: This is still smelling of memory stuff outside of my experience. > bcm0: mem 0xfaffe000-0xfaffffff irq 11 at > device 0.0 on pci2 > bcm0: Ethernet address: 00:0b:db:94:bf:42 > miibus0: on bcm0 > > If I boot a kernel with the bcm driver compiled in, and don't attach to the > docking station, and don't insert my fxp card, I get slightly further. I > tried running dhclient, and got: > > All mbufs or mbuf clusters exhausted, please see tuning(7). > bcm0: initialization failed: no memory for rx buffers Just checked dhclient and it works fine for me. > Then I tried just manually ifconfiging the interface, and it works! > > Here's what netstat -m says: > > {erebor:/usr/home/ken:1:0} netstat -nm > mbuf usage: > GEN cache: 0/0 (in use/in pool) > CPU #0 cache: 576/608 (in use/in pool) > Total: 576/608 (in use/in pool) > Mbuf cache high watermark: 512 > Maximum possible: 34304 > Allocated mbuf types: > 576 mbufs allocated to data > 1% of mbuf map consumed > mbuf cluster usage: > GEN cache: 0/0 (in use/in pool) > CPU #0 cache: 575/584 (in use/in pool) > Total: 575/584 (in use/in pool) > Cluster cache high watermark: 128 > Maximum possible: 17152 > 3% of cluster map consumed > 1320 KBytes of wired memory reserved (98% in use) > 1 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > > Performance, once I manually assigned an address seems okay; I was able to > ftp a file over from another machine at a little over 11MB/sec. Cool, thats about right. > If I insert the fxp card after the bcm driver is configured, the cardbus > initialization fails, and then I get the following messages over and over > again: > > "eek j=6, macCurrent 511, con288" This is a little loop that waits for the card to finish DMAing a packet. There should be a DELAY(1) in there. But it may be commented out. Do we think that cardbus is trashing the memory space somehow? > At that point I can 't even break into the debugger. > > That's all the time I have for tinkering with it this morning... > > Looks like things are working somewhat better, but there is still some > weird stuff going on... > > Ken > -- > Kenneth Merry > ken@kdm.org > -- ________________________________________________________________________ Duncan Barclay | dmlb@dmlb.org | dmlb@freebsd.org| From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 10:29:45 2003 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 B95BC16A4BF; Wed, 27 Aug 2003 10:29:45 -0700 (PDT) Received: from ns1.gnf.org (ns1.gnf.org [63.196.132.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B83643FF9; Wed, 27 Aug 2003 10:29:43 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch01.lj.gnf.org [172.25.10.19]) by ns1.gnf.org (8.12.8p1/8.12.8) with ESMTP id h7RHTgtF039094; Wed, 27 Aug 2003 10:29:42 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.5329); Wed, 27 Aug 2003 10:29:43 -0700 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.9/8.12.9) with ESMTP id h7RHTgaH001351; Wed, 27 Aug 2003 10:29:42 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.9/8.12.9/Submit) id h7RHTgfN001350; Wed, 27 Aug 2003 10:29:42 -0700 (PDT) (envelope-from gtetlow) Date: Wed, 27 Aug 2003 10:29:42 -0700 From: Gordon Tetlow To: Scott Long Message-ID: <20030827172942.GB695@roark.gnf.org> References: <3F4CD6C8.7010103@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: <3F4CD6C8.7010103@freebsd.org> User-Agent: Mutt/1.4.1i X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-OriginalArrivalTime: 27 Aug 2003 17:29:43.0148 (UTC) FILETIME=[CD5D72C0:01C36CC0] cc: hackers@freebsd.org Subject: Re: Call for thread testers 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, 27 Aug 2003 17:29:45 -0000 --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 27, 2003 at 10:05:28AM -0600, Scott Long wrote: > All, >=20 > This is kind of an unconventional call for help. As we approach the > release of 5.2, we'd really like to show off the performance and > stability of our new threading packages. So, I'm looking for people > to volunteer to go out and put some of the thread-capable enterprise > and desktop packages to the test. Packages that I would most like > to see are: >=20 > Apache 2 > BIND 9 > OpenOffice > Mozilla > KDE desktop + Konq > Java 1.3/1.4 + Tomcat/etc > MySQL > Others? I've found that privoxy is a good program to test threads. It does alot of network io too. ports/www/privoxy. Just point your web browser to use it. > The questions that I would like to have answered are: >=20 > Does it take advantage of pthreads Yes. > Does it work with libkse and libthr Sort of. > Does it operate correctly libthr: tends to segfault (sig11). Occasional DNS resolution issues. libkse: tends to segfault (sig11), I've gotten my box to crash once too (BAD!). ^C still doesn't kill the process.=20 Occasional DNS resolution issues. Here's the output from the console: Aug 27 10:22:41 Privoxy(134991872) Request: images.slashdot.org/greendot.gif Aug 27 10:22:41 Privoxy(134979584) Request: images.slashdot.org/pix.gif Aug 27 10:22:46 Privoxy(135041024) Error: could not resolve hostname images= .slashdot.org ^^^^--- This is bad, I have no problems resolving this normally. ^CAug 27 10:22:56 Privoxy(135163904) Info: exiting by signal 2 .. bye ^CAug 27 10:23:35 Privoxy(135151616) Info: exiting by signal 2 .. bye ^CAug 27 10:23:35 Privoxy(135110656) Info: exiting by signal 2 .. bye ^CAug 27 10:23:36 Privoxy(135065600) Info: exiting by signal 2 .. bye ^CAug 27 10:23:36 Privoxy(135053312) Info: exiting by signal 2 .. bye ^CAug 27 10:23:36 Privoxy(134742016) Info: exiting by signal 2 .. bye ^^^--- I guess I killed the individual threads. ^C^C^C ^C^C^C ^C^C^C ^^^--- Nothing left to kill? load: 0.35 cmd: privoxy 1257 [KSE] 0.06u 0.09s 0% 3424k ^^^--- I hit ^T here. > Does it perform better/worse than with libc_r When it worked, it worked better under thr and kse. > Does it perform better/worse than under FreeBSD 4.x ENOTTESTED In short, we aren't there yet. -gordon --f2QGlHpHGjS2mn6Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/TOqGRu2t9DV9ZfsRAppGAJ4rpo4iWBryw0E7dfjDRTSt0gr9pACdGNxS Ayb41WZYcacM/8vdq4Aiit4= =WiXI -----END PGP SIGNATURE----- --f2QGlHpHGjS2mn6Y-- From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 11:54:17 2003 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 49B9116A4BF for ; Wed, 27 Aug 2003 11:54:17 -0700 (PDT) Received: from gatekeeper.oremut02.us.wh.verio.net (gatekeeper.oremut02.us.wh.verio.net [198.65.168.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BDB243F75 for ; Wed, 27 Aug 2003 11:54:16 -0700 (PDT) (envelope-from fcliftATverio.net@verio.net) Received: from mx.dmz.orem.verio.net (mx.dmz.orem.verio.net [10.1.1.10]) B78EF1E4DF0 for ; Wed, 27 Aug 2003 12:54:16 -0600 (MDT) Received: from vespa.dmz.orem.verio.net (vespa.dmz.orem.verio.net [10.1.1.59]) by mx.dmz.orem.verio.net (8.12.9/8.12.9) with ESMTP id h7RIsAqa007507; Wed, 27 Aug 2003 12:54:10 -0600 (MDT) (envelope-from fcliftATverio.net@verio.net) Date: Wed, 27 Aug 2003 12:54:10 -0600 From: Fred Clift To: John Birrell In-Reply-To: <20030827072610.F249@freebsd1.cimlogic.com.au> Message-ID: <20030827125128.B16907@irfcn.qzm.berz.irevb.arg> References: <3F4B9BE0.5010209@acm.org> <001a01c36bff$cff9e840$a700000a@TYBOX> <20030827072610.F249@freebsd1.cimlogic.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: Tyler Kellen cc: kientzle@acm.org Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 18:54:17 -0000 On Wed, 27 Aug 2003, John Birrell wrote: > On Tue, Aug 26, 2003 at 01:28:14PM -0500, Tyler Kellen wrote: > > What I'd really like to know is how to strip down a working system. If ... > > One way to do this initially is to install a full FreeBSD system on one > disk partition and use a second partition for a trial install. FreeBSD's Netbooting with PXE might make this particularly painless (painless after setup - getting pxe boots working is another issue...) man diskless for more information about this -- you can then take your diskless image that you boot and trim _it_ down and repeatedly reboot and have an easy way to put things back (ie you mv them out and back in if you found them necessary). This of course requires 2 machines for development rather than one, but it is fairly convienient. -- Fred Clift - fclift at verio.net -- Remember: If brute force doesn't work, you're just not using enough. From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:45:57 2003 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 7D2DD16A4BF; Wed, 27 Aug 2003 09:45:57 -0700 (PDT) Received: from perrin.nxad.com (internal.ext.nxad.com [69.1.70.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89F9443FF7; Wed, 27 Aug 2003 09:45:54 -0700 (PDT) (envelope-from sean@nxad.com) Received: by perrin.nxad.com (Postfix, from userid 1001) id 003CF21058; Wed, 27 Aug 2003 09:45:53 -0700 (PDT) Date: Wed, 27 Aug 2003 09:45:53 -0700 From: Sean Chittenden To: Scott Long Message-ID: <20030827164553.GC51167@perrin.nxad.com> References: <3F4CD6C8.7010103@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4CD6C8.7010103@freebsd.org> X-PGP-Key: finger seanc@FreeBSD.org X-PGP-Fingerprint: 3849 3760 1AFE 7B17 11A0 83A6 DD99 E31F BC84 B341 X-Web-Homepage: http://sean.chittenden.org/ User-Agent: Mutt/1.5.4i X-Mailman-Approved-At: Wed, 27 Aug 2003 13:33:48 -0700 cc: threads@freebsd.org Subject: Re: Call for thread testers 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, 27 Aug 2003 16:45:57 -0000 [moving to -threads] > This is kind of an unconventional call for help. As we approach the > release of 5.2, we'd really like to show off the performance and > stability of our new threading packages. So, I'm looking for people > to volunteer to go out and put some of the thread-capable enterprise > and desktop packages to the test. Packages that I would most like > to see are: > > Apache 2 > BIND 9 > OpenOffice > Mozilla > KDE desktop + Konq > Java 1.3/1.4 + Tomcat/etc > MySQL > Others? > > The questions that I would like to have answered are: > > Does it take advantage of pthreads > Does it work with libkse and libthr > Does it operate correctly > Does it perform better/worse than with libc_r > Does it perform better/worse than under FreeBSD 4.x What's the current status of KSE? Is the project page (http://www.FreeBSD.org/kse/) considered up to date by the KSE developers? Are the remaining bits for KSE either bug related or dealing with ARCH != x86? Are there any remaining/outstanding "gotchas"/bugs on the radar/problems that the KSE developers are aware of? I've heard that the konsole bug has been fixed and there's a patch floating around to fix the SIGABRTs for that program (was my biggest gripe last time I tested libkse). Just trying to figure out what my expectations should be with regards to testing at this point. Is KSE to the point that it's ready for performance testing or is stability still a concern? tia, -sc -- Sean Chittenden From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 14:29:46 2003 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 4AB6A16A4BF; Wed, 27 Aug 2003 14:29:46 -0700 (PDT) Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A24F43FEC; Wed, 27 Aug 2003 14:29:43 -0700 (PDT) (envelope-from gmarco@giovannelli.it) Received: from ppp-156-54.27-151.libero.it (ppp-156-54.27-151.libero.it [151.27.54.156]) by kirk.giovannelli.it (8.12.9/8.12.9) with ESMTP id h7RLTi2r085711; Wed, 27 Aug 2003 23:29:45 +0200 (CEST) (envelope-from gmarco@giovannelli.it) From: Gianmarco Giovannelli To: Robert Watson Date: Wed, 27 Aug 2003 23:26:15 +0200 User-Agent: KMail/1.5.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_3HST/CvslxT3gVp" Message-Id: <200308272326.15937.gmarco@giovannelli.it> X-RAVMilter-Version: 8.3.1(snapshot 20020109) (kirk.giovannelli.it) X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-hackers@freebsd.org cc: damdave@libero.it Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 21:29:46 -0000 --Boundary-00=_3HST/CvslxT3gVp Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wednesday 27 August 2003 17:32, Robert Watson wrote: > As has been mentioned, the FreeBSD source tree as shipped isn't configured > for minimization without a fair amount of effort. However, there are a Hi all, we are developing a small set of scripts that are based on minibsd (http://neon1.net/misc/minibsd.html) . If you want to try they try to build a small about 10-12M FreeBSD env suitable to be "flashed" on some embedded system. It should work both on 4.x and 5.x branch as well. The work is still in progress and we think to assimilate later (when it will be finished) in the freesbie project (www.freebsdie.org) . Btw also in this first stage of development it is full suitable to build a small, compact, customizable FreeBSD minidsitrib. I attach all the scripts here... If you want to modify something please check the config.sh file. --Boundary-00=_3HST/CvslxT3gVp-- From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 14:38:29 2003 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 9A00016A4BF; Wed, 27 Aug 2003 14:38:29 -0700 (PDT) Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5196A43FBD; Wed, 27 Aug 2003 14:38:28 -0700 (PDT) (envelope-from gmarco@giovannelli.it) Received: from ppp-156-54.27-151.libero.it (ppp-156-54.27-151.libero.it [151.27.54.156]) by kirk.giovannelli.it (8.12.9/8.12.9) with ESMTP id h7RLcb2r085732; Wed, 27 Aug 2003 23:38:37 +0200 (CEST) (envelope-from gmarco@giovannelli.it) From: Gianmarco Giovannelli To: Robert Watson Date: Wed, 27 Aug 2003 23:35:08 +0200 User-Agent: KMail/1.5.3 References: <200308272326.15937.gmarco@giovannelli.it> In-Reply-To: <200308272326.15937.gmarco@giovannelli.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308272335.08307.gmarco@giovannelli.it> X-RAVMilter-Version: 8.3.1(snapshot 20020109) (kirk.giovannelli.it) cc: freebsd-hackers@freebsd.org Subject: Re: Minimalist FreeBSD 4.8 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, 27 Aug 2003 21:38:29 -0000 On Wednesday 27 August 2003 23:26, Gianmarco Giovannelli wrote: >[...] > It should work both on 4.x and 5.x branch as well. > The work is still in progress and we think to assimilate later (when it > will be finished) in the freesbie project (www.freebsdie.org) . > > Btw also in this first stage of development it is full suitable to build a > small, compact, customizable FreeBSD minidsitrib. > > I attach all the scripts here... > If you want to modify something please check the config.sh file. Ooops seems the attach is went lost: here is the link :-) http://www.gufi.org/~gmarco/files/miniBSD.tgz (ca 15kb) From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 16:52:01 2003 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 1470A16A4BF; Wed, 27 Aug 2003 16:52:01 -0700 (PDT) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4029843FE0; Wed, 27 Aug 2003 16:52:00 -0700 (PDT) (envelope-from richardcoleman@mindspring.com) Received: from c-24-98-233-138.atl.client2.attbi.com ([24.98.233.138] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (Exim 3.33 #1) id 19sA50-0004tv-00; Wed, 27 Aug 2003 16:51:58 -0700 Message-ID: <3F4D441C.602@mindspring.com> Date: Wed, 27 Aug 2003 19:51:56 -0400 From: Richard Coleman Organization: Critical Magic, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Long References: <3F4CD6C8.7010103@freebsd.org> In-Reply-To: <3F4CD6C8.7010103@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 1ee258965991efcb0865379cdb43356e5e89bb4777695beb702e37df12b9c9ef2e03d1631924d25fce8c2eedd9500d51350badd9bab72f9c350badd9bab72f9c cc: hackers@freebsd.org Subject: Re: Call for thread testers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: richardcoleman@mindspring.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 23:52:01 -0000 OpenLDAP would also be interesting. Richard Coleman richardcoleman@mindspring.com Scott Long wrote: > All, > > This is kind of an unconventional call for help. As we approach the > release of 5.2, we'd really like to show off the performance and > stability of our new threading packages. So, I'm looking for people > to volunteer to go out and put some of the thread-capable enterprise > and desktop packages to the test. Packages that I would most like > to see are: > > Apache 2 > BIND 9 > OpenOffice > Mozilla > KDE desktop + Konq > Java 1.3/1.4 + Tomcat/etc > MySQL > Others? From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 17:00:35 2003 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 5F36616A4BF for ; Wed, 27 Aug 2003 17:00:35 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 993D643F93 for ; Wed, 27 Aug 2003 17:00:34 -0700 (PDT) (envelope-from andrei@andruxa.sytes.net) Received: from h-68-164-157-51.snvacaid.covad.net ([68.164.157.51] helo=andruxa.sytes.net) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19sADF-0006Hi-00 for hackers@freebsd.org; Wed, 27 Aug 2003 17:00:30 -0700 Received: from andruxa.sytes.net (localhost [127.0.0.1]) by andruxa.sytes.net (8.12.9/8.12.9) with ESMTP id h7S00MDe001197 for ; Wed, 27 Aug 2003 17:00:22 -0700 (PDT) (envelope-from andrei@andruxa.sytes.net) Received: (from andrei@localhost) by andruxa.sytes.net (8.12.9/8.12.9/Submit) id h7S00HdV001196 for hackers@freebsd.org; Wed, 27 Aug 2003 17:00:17 -0700 (PDT) Date: Wed, 27 Aug 2003 17:00:16 -0700 From: Andrew Konstantinov To: hackers@freebsd.org Message-ID: <20030828000016.GA669@andruxa.sytes.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: /dev/lpt0 - always busy, except when acpi is disabled 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, 28 Aug 2003 00:00:35 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I am running: FreeBSD xxxxxxx.xxxxx.xxx 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Aug 26 21:02:35 PDT 2003 root@xxxxxxx.xxxxx.xxx:/usr/obj/usr/src/sys/CUSTOM i386 I have a problem accessing the printer connected to the box via parallel port. Whenever I try to send something to /dev/lpt0, it always responds with 'device busy' error message, while that device is not being used by any other program. This behavior started once I upgraded to 5.1-release and continues through 'current.' When I was using 5.0-release, the system worked fine and I never had this problem, but once I upgraded, this mystery started to happen. Here is some background info. My kernel configuration file contains the following devices: device ppc device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device PPC hints in the /boot/device.hints file are: hint.ppc.0.at="isa" hint.ppc.0.irq="7" As you can see, irq number is specified, so the system is supposed to communicate with the printer in interrupt-driven mode. But, for some misterious reason that doesn't happen. Here is the part of my dmesg output related to pp* and lpt: ppc0 port 0-0x7 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 As you can see, the communication is carried out in polled mode. I am not sure why...? I was going back and forth trying to make the printer work and found a 'solution' for that problem. The 'solution' is to disable acpi. hint.acpi.0.disabled="1" - works like a charm. After disabling acpi I get the ability to use my printer and the following dmesg output: ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: PRINTER ESCPL2,BDC,D4 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 As I already mentioned, this never happened when my box was running 5.0-release, but started to happen right after the moment when I upgraded to 5.1-release, and continues to happen on 5.1-current. I am wondering if this is a bug in the source code and can only be fixed with a patch, or there is a work around through acpi configuration? ACPI manual page says that one can disable parts of acpi through 'debug.acpi.disable' kernel environment variable. In that case, what is the minimal set of sub-devices that I would temporarly have to disable to resolve this problem? Perhaps I got right in the middle of ongoing work with acpi? Any hints, pointers or links will be greatly appreciated! Thanks in advance. Andrew --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/TUYQttaE8kbpwrARAjrNAKCARJndH2TvHu+5oulWan+JknUsPgCgpohv bXwG+DOfLy/n+DXTAZvNCI4= =p5xp -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 20:04:06 2003 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 E895B16A4BF; Wed, 27 Aug 2003 20:04:06 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1717543FB1; Wed, 27 Aug 2003 20:03:54 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h7S33jYU024147; Wed, 27 Aug 2003 21:03:45 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h7S33XNs024144; Wed, 27 Aug 2003 21:03:33 -0600 (MDT) (envelope-from ken) Date: Wed, 27 Aug 2003 21:03:33 -0600 From: "Kenneth D. Merry" To: James Nobis Message-ID: <20030828030333.GA24120@panzer.kdm.org> References: <009c01c36c6e$7a882150$4bc8a8c0@orac> <20030827131039.GA17250@panzer.kdm.org> <1062000128.717.4.camel@gyros> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: Joe Marcus Clarke cc: freebsd-hackers@freebsd.org cc: freebsd-mobile@freebsd.org cc: dcswest@gmx.net Subject: Re: bcm4400 driver and Dell 8500 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, 28 Aug 2003 03:04:07 -0000 On Wed, Aug 27, 2003 at 12:24:11 -0500, James Nobis wrote: > > > On Wed, 27 Aug 2003, Joe Marcus Clarke wrote: > > > On Wed, 2003-08-27 at 09:27, James Nobis wrote: > > > On Wed, 27 Aug 2003, Kenneth D. Merry wrote: > > > > > > > On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: > > > > > Hello James and Ken, > > > > > > > > > > Both of you are having real problems with the bcm driver and both of you > > > > > have a Dell 8500. > > > > > > > > > > This is James' dmesg output, which from memory looks very similar to your > > > > > Ken? > > > > > > > > > > > bcm0: mem 0xfaffe000-0xfaffffff irq 11 > > > > > > at device 0.0 on pci2 > > > > > > bcm0: Ethernet address: ff:ff:ff:ff:ff:ff > > > > > > panic: bcm0: Strange type for core 0xffffffff > > > > > > > > Yep, the messages I get are identical when I load it as a module. > > > > > > > > > > I'm running 5.1-current from august 22nd. I can try pulling down the > > > > > > latest 5.1 tommorow if you think this might help. This is the same result > > > > > > as when I tried the driver from over a month ago. > > > > > > > > > > We think that the problem is something to do with the PCI configuration of > > > > > the machine. The ethernet address being ff:ff:ff:ff:ff:ff indicates that the > > > > > memory map is not right. > > > > > > > > > > > Before sending this email I was going to obtain a backtrace. I recompiled > > > > > > with the symbol table and kernel debugger and now the driver appears to > > > > > > work fine. Should it work this way? > > > > > > > > > > Hmm interesting. Ken can you try this and see if the driver then works? > > > > > > > > I've already got the kernel debugger on. Do you mean changing the module > > > > compile somehow so that more symbols are included? (It seems to resolve > > > > the function addresses in the module fine.) > > > > > > > > > > compiling with options DDB and makeoptions DEBUG=-g is what i mean > > > > Note, on my 5150, I also have a kernel built with -g. I do not have DDB > > compiled in, but I have never tried a kernel without -g. I may be > > susceptible to the same "all-ffs" problem. > > > > Joe > > When i just did a -g, it still would crash when i tried to load the Ahh. I've had DDB on the whole time, but I've found that I don't get a crash (i.e. the all ff's problem) if I don't have my fxp card plugged in when I load the bcm module. dhclient doesn't cause the system to run out of mbufs, but then again it hangs. If I ifconfig the interface manually things work fine. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 20:31:20 2003 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 609C816A4BF; Wed, 27 Aug 2003 20:31:20 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id E909243FE0; Wed, 27 Aug 2003 20:31:07 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h7S3UlYU024421; Wed, 27 Aug 2003 21:30:47 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h7S3UcFL024416; Wed, 27 Aug 2003 21:30:38 -0600 (MDT) (envelope-from ken) Date: Wed, 27 Aug 2003 21:30:38 -0600 From: "Kenneth D. Merry" To: Duncan Barclay Message-ID: <20030828033038.GA24315@panzer.kdm.org> References: <20030827131039.GA17250@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: James Nobis cc: dcswest@gmx.net cc: freebsd-mobile@freebsd.org Subject: Re: bcm4400 driver and Dell 8500 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, 28 Aug 2003 03:31:20 -0000 On Wed, Aug 27, 2003 at 18:27:57 +0100, Duncan Barclay wrote: > > On 27-Aug-2003 Kenneth D. Merry wrote: > > On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: > >> Hello James and Ken, > >> > >> Both of you are having real problems with the bcm driver and both of you > >> have a Dell 8500. > >> > >> This is James' dmesg output, which from memory looks very similar to your > >> Ken? > >> > >> > bcm0: mem 0xfaffe000-0xfaffffff irq 11 > >> > at device 0.0 on pci2 > >> > bcm0: Ethernet address: ff:ff:ff:ff:ff:ff > >> > panic: bcm0: Strange type for core 0xffffffff > > > > Yep, the messages I get are identical when I load it as a module. > > > >> > I'm running 5.1-current from august 22nd. I can try pulling down the > >> > latest 5.1 tommorow if you think this might help. This is the same result > >> > as when I tried the driver from over a month ago. > >> > >> We think that the problem is something to do with the PCI configuration of > >> the machine. The ethernet address being ff:ff:ff:ff:ff:ff indicates that the > >> memory map is not right. > >> > >> > Before sending this email I was going to obtain a backtrace. I recompiled > >> > with the symbol table and kernel debugger and now the driver appears to > >> > work fine. Should it work this way? > >> > >> Hmm interesting. Ken can you try this and see if the driver then works? > > > > I've already got the kernel debugger on. Do you mean changing the module > > compile somehow so that more symbols are included? (It seems to resolve > > the function addresses in the module fine.) > > > > The stack trace from the module load is: > > > > panic() > > bcm_chip_get_core() > > bcm_chip_reset() > > bcm_attach() > > device_probe_and_attach() > > etc. > > > > If I boot a kernel with the bcm driver compiled in, and don't attach to the > > docking station, it comes up fine until I insert my fxp card in the carbus > > slot. Then I get the panic in bcm_ring_rx_eof() that I reported last > > night. FWIW, when I have the driver compiled in, the memory location is > > identical to location used when the module loads (above), but the ethernet > > address is properly decoded: > > This is still smelling of memory stuff outside of my experience. > > > bcm0: mem 0xfaffe000-0xfaffffff irq 11 at > > device 0.0 on pci2 > > bcm0: Ethernet address: 00:0b:db:94:bf:42 > > miibus0: on bcm0 > > > > If I boot a kernel with the bcm driver compiled in, and don't attach to the > > docking station, and don't insert my fxp card, I get slightly further. I > > tried running dhclient, and got: > > > > All mbufs or mbuf clusters exhausted, please see tuning(7). > > bcm0: initialization failed: no memory for rx buffers > > Just checked dhclient and it works fine for me. I just had another failure case (when I loaded bcm(4) as a module but didn't have my fxp card inserted) where dhclient just hung up. I didn't get any out of mbufs errors. > > Then I tried just manually ifconfiging the interface, and it works! > > > > Here's what netstat -m says: > > > > {erebor:/usr/home/ken:1:0} netstat -nm > > mbuf usage: > > GEN cache: 0/0 (in use/in pool) > > CPU #0 cache: 576/608 (in use/in pool) > > Total: 576/608 (in use/in pool) > > Mbuf cache high watermark: 512 > > Maximum possible: 34304 > > Allocated mbuf types: > > 576 mbufs allocated to data > > 1% of mbuf map consumed > > mbuf cluster usage: > > GEN cache: 0/0 (in use/in pool) > > CPU #0 cache: 575/584 (in use/in pool) > > Total: 575/584 (in use/in pool) > > Cluster cache high watermark: 128 > > Maximum possible: 17152 > > 3% of cluster map consumed > > 1320 KBytes of wired memory reserved (98% in use) > > 1 requests for memory denied > > 0 requests for memory delayed > > 0 calls to protocol drain routines > > > > Performance, once I manually assigned an address seems okay; I was able to > > ftp a file over from another machine at a little over 11MB/sec. > > Cool, thats about right. > > > If I insert the fxp card after the bcm driver is configured, the cardbus > > initialization fails, and then I get the following messages over and over > > again: > > > > "eek j=6, macCurrent 511, con288" > > This is a little loop that waits for the card to finish DMAing a packet. There > should be a DELAY(1) in there. But it may be commented out. That's bad...in general the chip should DMA the packet and then update the consumer index and generate an interrupt. I don't know how this particular chip works, though. The DELAY is commented out. > Do we think that cardbus is trashing the memory space somehow? That could very well be the case. I don't know anything about cardbus, though. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 22:48:52 2003 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 6CA0516A4BF for ; Wed, 27 Aug 2003 22:48:52 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id E351943F93 for ; Wed, 27 Aug 2003 22:48:49 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 6A49C53154; Thu, 28 Aug 2003 15:18:47 +0930 (CST) Date: Thu, 28 Aug 2003 15:18:47 +0930 From: Greg 'groggy' Lehey To: Duncan Barclay Message-ID: <20030828054847.GA39024@wantadilla.lemis.com> References: <10490.1061924215@www25.gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nc+Vvx0JXuqp7Zy0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-hackers@freebsd.org cc: dcswest@gmx.net Subject: Re: [hackers] Re: BCM4401 ethernet driver 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, 28 Aug 2003 05:48:52 -0000 --Nc+Vvx0JXuqp7Zy0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tuesday, 26 August 2003 at 20:31:22 +0100, Duncan Barclay wrote: > > On 26-Aug-2003 dcswest@gmx.net wrote: >> Greetings; >> >> Wondering whatever further may have come of this discussion regarding >> FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Note= book. >> Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release si= nce >> 5.1 >> wouldn't seem to install, but not even sure how to make use of drivers b= eyond >> including their device code in the kernel configuration file, which may = just >> be an issue with this current release. > > I fixed the RX problem yesterday. Take a look at > http://people.freebsd.org/~dmlb/ > and grab the lastest bcm_...tar.gz file. Untar this into /sys > then > cd /sys/modules/bcm > make > make install > kldload if_bcm > > This driver is for -current only. OK, I've tried this on my Inspiron 5100, and it works without any recognizable problems: $ time scp wantadilla:/dumpa/echunga/0/src.gz /dev/null src.gz 100% 28GB 10.0MB/s 48:41 =20 real 48m41.751s user 15m41.577s sys 4m23.766s netstat -i shows: input (bcm0) output packets errs bytes packets errs bytes colls 7452 0 11280248 5373 0 361578 0 7502 0 11358028 5416 0 364512 0 7435 0 11256590 5366 0 361116 0 7504 0 11361056 5416 0 364464 0 7460 0 11292512 5384 0 362352 0 7500 0 11355000 5412 0 364200 0 7451 0 11279390 5379 0 362022 0 7503 0 11358088 5414 0 364332 0 7417 0 11228874 5359 0 360654 0 I'd say that this cut is good enough to commit to -CURRENT. Greg -- See complete headers for address and phone numbers --Nc+Vvx0JXuqp7Zy0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/TZe/IubykFB6QiMRAuM9AKCluv5AZl8OxHT55xd+0mmcq+pi5ACfXrHe X6CPf+E+H6xpkdDskm6UNuI= =qVBu -----END PGP SIGNATURE----- --Nc+Vvx0JXuqp7Zy0-- From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 00:27:01 2003 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 43D9616A4BF; Thu, 28 Aug 2003 00:27:01 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3198C43FE1; Thu, 28 Aug 2003 00:27:00 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from orac.my.domain ([192.168.200.75] helo=orac) by dmlb.org with smtp (Exim 3.36 #1) id 19sHA0-000Q0d-00; Thu, 28 Aug 2003 08:25:36 +0100 Message-ID: <003e01c36d35$94683f20$4bc8a8c0@orac> From: "Duncan Barclay" To: "Kenneth D. Merry" References: <20030827131039.GA17250@panzer.kdm.org> <20030828033038.GA24315@panzer.kdm.org> Date: Thu, 28 Aug 2003 08:21:59 +0100 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 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-hackers@freebsd.org cc: James Nobis cc: dcswest@gmx.net cc: freebsd-mobile@freebsd.org Subject: Re: bcm4400 driver and Dell 8500 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, 28 Aug 2003 07:27:01 -0000 From: "Kenneth D. Merry" > > This is a little loop that waits for the card to finish DMAing a packet. There > > should be a DELAY(1) in there. But it may be commented out. > > That's bad...in general the chip should DMA the packet and then update the > consumer index and generate an interrupt. I don't know how this particular > chip works, though. The DELAY is commented out. Unfortunately I don't know how the chips works wither. This method comes from the drivers I used as a reference. I have recoded the loop a little so it doesn't DELAY and I've never had a timeout from it. > > Do we think that cardbus is trashing the memory space somehow? > > That could very well be the case. I don't know anything about cardbus, > though. Me neither, but my laptop needs some help in that area, so that's what I'm going to look at next. > Ken > -- > Kenneth Merry > ken@kdm.org > > From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 01:28:40 2003 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 6434116A4BF; Thu, 28 Aug 2003 01:28:40 -0700 (PDT) Received: from purge.bash.sh (purge.bash.sh [193.178.223.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4A2843F3F; Thu, 28 Aug 2003 01:28:38 -0700 (PDT) (envelope-from stu@ipng.org.uk) Received: from acbf6b8e.ipt.aol.com ([172.191.107.142] helo=stu.ipng.org.uk) by purge.bash.sh with asmtp (Exim 4.20 #2 ) id 19sI8y-0007JZ-E6; Thu, 28 Aug 2003 09:28:37 +0100 Received: from baal.stu ([192.168.2.2] helo=icecold.stu) by stu.ipng.org.uk with esmtp (Exim 4.10) id 19sIAU-000GP3-00; Thu, 28 Aug 2003 09:30:10 +0100 Received: from icecold.stu (localhost [127.0.0.1]) by icecold.stu (8.12.7/8.12.7) with ESMTP id h7S8SQif005696; Thu, 28 Aug 2003 09:28:26 +0100 (BST) (envelope-from stu@ipng.org.uk) Received: (from stu@localhost) by icecold.stu (8.12.7/8.12.7/Submit) id h7S8S8S4005695; Thu, 28 Aug 2003 09:28:08 +0100 (BST) X-Authentication-Warning: icecold.stu: stu set sender to stu@ipng.org.uk using -f Date: Thu, 28 Aug 2003 09:28:08 +0100 From: Stuart Walsh To: Duncan Barclay Message-ID: <20030828082808.GA5669@icecold.stu> References: <20030827131039.GA17250@panzer.kdm.org> <20030828033038.GA24315@panzer.kdm.org> <003e01c36d35$94683f20$4bc8a8c0@orac> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <003e01c36d35$94683f20$4bc8a8c0@orac> User-Agent: Mutt/1.5.4i X-SA-Exim-Mail-From: stu@ipng.org.uk Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=0.3 required=7.5 tests=EMAIL_ATTRIBUTION,FORGED_RCVD_TRAIL,QUOTED_EMAIL_TEXT version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-SA-Exim-Version: 3.0 (built Tue Jul 1 14:25:23 BST 2003) X-SA-Exim-Scanned: Yes cc: freebsd-hackers@freebsd.org cc: James Nobis cc: "Kenneth D. Merry" cc: freebsd-mobile@freebsd.org cc: dcswest@gmx.net Subject: Re: bcm4400 driver and Dell 8500 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, 28 Aug 2003 08:28:40 -0000 (apologies for the large cc list, im only subbed to -mobile so not sure who is where) On Thu Aug 28, 08:21P +0100, Duncan Barclay wrote: > From: "Kenneth D. Merry" > > > > This is a little loop that waits for the card to finish DMAing a packet. > There > > > should be a DELAY(1) in there. But it may be commented out. > > > > That's bad...in general the chip should DMA the packet and then update the > > consumer index and generate an interrupt. I don't know how this > particular > > chip works, though. The DELAY is commented out. > > Unfortunately I don't know how the chips works wither. This method comes > from the drivers I used as a reference. I have recoded the loop a little so > it doesn't DELAY and I've never had a timeout from it. > That is how this chip works. It rxes a packet, prepends an rxheader to it, DMAs it and then updates the index and generates an interrupt. If it reaches the last descriptor(marked by an end of table flag) it resets it 0. The chip does have a 'lazy rx' mode which can be set to interrupt after a certain amount of frames or a certain amount of data. These problems may or may not mystically disappear when I finish merging Duncan and I's drivers, but I wouldn't hold your breath. :) Regards, Stuart From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 06:27:05 2003 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 8AF7216A4BF for ; Thu, 28 Aug 2003 06:27:05 -0700 (PDT) Received: from purge.bash.sh (purge.bash.sh [193.178.223.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 601C943F75 for ; Thu, 28 Aug 2003 06:27:04 -0700 (PDT) (envelope-from stu@ipng.org.uk) Received: from acbf6b8e.ipt.aol.com ([172.191.107.142] helo=stu.ipng.org.uk) by purge.bash.sh with asmtp (Exim 4.20 #2 ) id 19sMnm-00044H-5O for ; Thu, 28 Aug 2003 14:27:02 +0100 Received: from baal.stu ([192.168.2.2] helo=icecold.stu) by stu.ipng.org.uk with esmtp (Exim 4.10) id 19sMpI-000IQJ-00 for freebsd-hackers@freebsd.org; Thu, 28 Aug 2003 14:28:36 +0100 Received: from icecold.stu (localhost [127.0.0.1]) by icecold.stu (8.12.7/8.12.7) with ESMTP id h7SDQsCo000945 for ; Thu, 28 Aug 2003 14:26:54 +0100 (BST) (envelope-from stu@ipng.org.uk) Received: (from stu@localhost) by icecold.stu (8.12.7/8.12.7/Submit) id h7SDQrQH000944 for freebsd-hackers@freebsd.org; Thu, 28 Aug 2003 14:26:53 +0100 (BST) X-Authentication-Warning: icecold.stu: stu set sender to stu@ipng.org.uk using -f Date: Thu, 28 Aug 2003 14:26:53 +0100 From: Stuart Walsh To: freebsd-hackers@freebsd.org Message-ID: <20030828132653.GD817@icecold.stu> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.4i X-SA-Exim-Mail-From: stu@ipng.org.uk Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=1.3 required=7.5 tests=FORGED_RCVD_TRAIL version=2.55 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-SA-Exim-Version: 3.0 (built Tue Jul 1 14:25:23 BST 2003) X-SA-Exim-Scanned: Yes Subject: Atmel USB Wireless devices 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, 28 Aug 2003 13:27:05 -0000 Hi, Firstly, it would be interesting to know if anyone else is working on support for these devices before I get too far into it :) I've started working on support for the above devices and have had some limited success so far. The device requires two sets of firmware to be uploaded for it to work and I have managed to upload the first firmware but it doesnt seem to want to boot. Any attempts to read the device after uploading firmware result in error code 13(IOERROR). The Linux driver calls usb_reset_device() after uploading the firmware but I can't seem to find an equivelant in FreeBSD. If anyone has any suggestions I'd be greatful :) Thanks, Stuart From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 10:15:40 2003 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 A66A116A4C0 for ; Thu, 28 Aug 2003 10:15:40 -0700 (PDT) Received: from Danovitsch.dnsq.org (b74143.upc-b.chello.nl [212.83.74.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1F1643FBD for ; Thu, 28 Aug 2003 10:15:37 -0700 (PDT) (envelope-from Danovitsch@Vitsch.net) Received: from FreeBSD.Danovitsch.LAN (b83007.upc-b.chello.nl [212.83.83.7]) by Danovitsch.dnsq.org (8.12.3p2/8.11.3) with ESMTP id h7SH9Hqr096146; Thu, 28 Aug 2003 19:09:18 +0200 (CEST) (envelope-from Danovitsch@Vitsch.net) Content-Type: text/plain; charset="iso-8859-1" From: "Daan Vreeken [PA4DAN]" To: Stuart Walsh Date: Thu, 28 Aug 2003 19:15:44 +0200 User-Agent: KMail/1.4.3 References: <20030828132653.GD817@icecold.stu> In-Reply-To: <20030828132653.GD817@icecold.stu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200308281915.44317.Danovitsch@Vitsch.net> cc: FreeBSD-Hackers@FreeBSD.org Subject: Re: Atmel USB Wireless devices 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, 28 Aug 2003 17:15:40 -0000 On Thursday 28 August 2003 15:26, Stuart Walsh wrote: > Hi, > > Firstly, it would be interesting to know if anyone else is working on > support for these devices before I get too far into it :) Yes, I have bought a bunch of them about a month ago, and at this moment = I=20 have a working driver for them. At this moment it's still a "beta" which = can=20 only do ad-hoc mode, but it works. > I've started working on support for the above devices and have had some > limited success so far. The device requires two sets of firmware to be > uploaded for it to work and I have managed to upload the first firmware > but it doesnt seem to want to boot. Any attempts to read the device > after uploading firmware result in error code 13(IOERROR). The Linux > driver calls usb_reset_device() after uploading the firmware but I can'= t > seem to find an equivelant in FreeBSD. The problem is that the device really dies after uploading the internal=20 firmware. It really needs a reset before it will communicate again. A usb-hub can send a reset signal down it's ports with a call to : usbd_reset_port(sc->atuwi_udev->myhub,sc->atuwi_udev->powersrc->portno,&T= ); After that the atmel processor will start communicating again. But it's=20 usb-address will be set to 0 (as always after a reset). So you will have to (re)set it's address back to what it was before the r= eset=20 with a call to : usbd_set_address(sc->atuwi_udev,my_old_address); The story gets more complex since the descriptors of the device have chan= ged=20 by the reset. (first it only had a control endpoint, now it also has 2 bu= lk=20 endpoints). Somehow you'll have to reload the new descriptor to please th= e=20 kernel. I have come very far in this process, but I am doing something wrong with= =20 releasing the old descriptors... So at this moment I use a trick to reset= the=20 device. After uploading the internal firmware I unplug the USB connector just far= =20 enough for the data-lines to disconnect, but without disconnecting the=20 power-lines. After plugging the device back in the kernel recognizes it a= gain=20 and uploads the external firmware. I'll come back to this thread tomorrow and post some links to my code, bu= t I=20 have to run now. grtz, Daan From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 10:26:16 2003 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 455DD16A4BF; Thu, 28 Aug 2003 10:26:16 -0700 (PDT) Received: from chuggalug.clues.com (chuggalug.demon.co.uk [62.49.17.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id F413243FEA; Thu, 28 Aug 2003 10:26:14 -0700 (PDT) (envelope-from geoffb@chuggalug.clues.com) Received: from chuggalug.clues.com (localhost [127.0.0.1]) by chuggalug.clues.com (8.12.9/8.12.8) with ESMTP id h7SHMCVp098501; Thu, 28 Aug 2003 17:22:12 GMT (envelope-from geoffb@chuggalug.clues.com) Received: (from geoffb@localhost) by chuggalug.clues.com (8.12.9/8.12.8/Submit) id h7SHMCTI098500; Thu, 28 Aug 2003 17:22:12 GMT Date: Thu, 28 Aug 2003 17:22:11 +0000 From: Geoff Buckingham To: Scott Long Message-ID: <20030828172211.GA98177@chuggalug.clues.com> References: <3F4CE62C.9010802@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4CE62C.9010802@freebsd.org> User-Agent: Mutt/1.4.1i cc: deischen@freebsd.org cc: hackers@freebsd.org Subject: Re: Call for thread testers 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, 28 Aug 2003 17:26:16 -0000 With reguards to apache, can I ask what the state of the network stack and drivers is? I last did any serious apache benchmarking a long time ago, circa FreeBSD 3.1. Then the request per second figure dropped by about 50% when you enabled the second CPU on an SMP system as the apached's fought over the lock.(apache1) From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 10:31:58 2003 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 891BD16A4BF for ; Thu, 28 Aug 2003 10:31:58 -0700 (PDT) Received: from foem.leiden.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35FC943FDD for ; Thu, 28 Aug 2003 10:31:55 -0700 (PDT) (envelope-from dirkx@webweaving.org) Received: from foem (foem [10.11.0.2])h7SHVrIT043109 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 28 Aug 2003 19:31:53 +0200 (CEST) (envelope-from dirkx@webweaving.org) Date: Thu, 28 Aug 2003 19:31:53 +0200 (CEST) From: Dirk-Willem van Gulik X-X-Sender: dirkx@foem To: "Daan Vreeken [PA4DAN]" In-Reply-To: <200308281915.44317.Danovitsch@Vitsch.net> Message-ID: <20030828193034.N71292-100000@foem> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Stuart Walsh cc: FreeBSD-Hackers@freebsd.org Subject: Re: Atmel USB Wireless devices 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, 28 Aug 2003 17:31:58 -0000 On Thu, 28 Aug 2003, Daan Vreeken [PA4DAN] wrote: > I have come very far in this process, but I am doing something wrong > with releasing the old descriptors... So at this moment I use a trick to > reset the device. After uploading the internal firmware I unplug the USB > connector just far enough for the data-lines to disconnect, but without > disconnecting the power-lines. After plugging the device back in the > kernel recognizes it again and uploads the external firmware. Once you have uploaded the firmware; is any of the vendor, product, or usb revision ID's different. If that is the case; you could use the /etc/usbd.conf trick; download the firmware - then rely on the v/p/r value to change and then pick it up as a new device with something else. Dw. From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 10:39:54 2003 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 E09BB16A4BF for ; Thu, 28 Aug 2003 10:39:53 -0700 (PDT) Received: from purge.bash.sh (purge.bash.sh [193.178.223.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1B2843FCB for ; Thu, 28 Aug 2003 10:39:52 -0700 (PDT) (envelope-from stu@ipng.org.uk) Received: from acbcb75e.ipt.aol.com ([172.188.183.94] helo=stu.ipng.org.uk) by purge.bash.sh with asmtp (Exim 4.20 #2 ) id 19sQkP-0000JC-35; Thu, 28 Aug 2003 18:39:49 +0100 Received: from baal.stu ([192.168.2.2] helo=icecold.stu) by stu.ipng.org.uk with esmtp (Exim 4.10) id 19sQlt-000K76-00; Thu, 28 Aug 2003 18:41:21 +0100 Received: from icecold.stu (localhost [127.0.0.1]) by icecold.stu (8.12.7/8.12.7) with ESMTP id h7SHdeCo006521; Thu, 28 Aug 2003 18:39:40 +0100 (BST) (envelope-from stu@ipng.org.uk) Received: (from stu@localhost) by icecold.stu (8.12.7/8.12.7/Submit) id h7SHdXmN006520; Thu, 28 Aug 2003 18:39:33 +0100 (BST) X-Authentication-Warning: icecold.stu: stu set sender to stu@ipng.org.uk using -f Date: Thu, 28 Aug 2003 18:39:33 +0100 From: Stuart Walsh To: "Daan Vreeken [PA4DAN]" Message-ID: <20030828173932.GA6368@icecold.stu> References: <20030828132653.GD817@icecold.stu> <200308281915.44317.Danovitsch@Vitsch.net> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <200308281915.44317.Danovitsch@Vitsch.net> User-Agent: Mutt/1.5.4i X-SA-Exim-Mail-From: stu@ipng.org.uk Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=0.3 required=7.5 tests=EMAIL_ATTRIBUTION,FORGED_RCVD_TRAIL,QUOTED_EMAIL_TEXT version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-SA-Exim-Version: 3.0 (built Tue Jul 1 14:25:23 BST 2003) X-SA-Exim-Scanned: Yes cc: FreeBSD-Hackers@FreeBSD.org Subject: Re: Atmel USB Wireless devices 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, 28 Aug 2003 17:39:54 -0000 On Thu Aug 28, 07:15P +0200, Daan Vreeken [PA4DAN] wrote: > On Thursday 28 August 2003 15:26, Stuart Walsh wrote: > > Hi, > > > > Firstly, it would be interesting to know if anyone else is working on > > support for these devices before I get too far into it :) > Yes, I have bought a bunch of them about a month ago, and at this moment I > have a working driver for them. At this moment it's still a "beta" which can > only do ad-hoc mode, but it works. Ok, that saves some duplicated effort :) > > I've started working on support for the above devices and have had some > > limited success so far. The device requires two sets of firmware to be > > uploaded for it to work and I have managed to upload the first firmware > > but it doesnt seem to want to boot. Any attempts to read the device > > after uploading firmware result in error code 13(IOERROR). The Linux > > driver calls usb_reset_device() after uploading the firmware but I can't > > seem to find an equivelant in FreeBSD. > The problem is that the device really dies after uploading the internal > firmware. It really needs a reset before it will communicate again. > A usb-hub can send a reset signal down it's ports with a call to : > usbd_reset_port(sc->atuwi_udev->myhub,sc->atuwi_udev->powersrc->portno,&T); > That bit works fine. > After that the atmel processor will start communicating again. But it's > usb-address will be set to 0 (as always after a reset). > So you will have to (re)set it's address back to what it was before the reset > with a call to : > usbd_set_address(sc->atuwi_udev,my_old_address); This fails with another IOERROR > > The story gets more complex since the descriptors of the device have changed > by the reset. (first it only had a control endpoint, now it also has 2 bulk > endpoints). Somehow you'll have to reload the new descriptor to please the > kernel. > I have come very far in this process, but I am doing something wrong with > releasing the old descriptors... So at this moment I use a trick to reset the > device. > After uploading the internal firmware I unplug the USB connector just far > enough for the data-lines to disconnect, but without disconnecting the > power-lines. After plugging the device back in the kernel recognizes it again > and uploads the external firmware. > Hopefully I can look into this when I can talk to the device a bit better :) > I'll come back to this thread tomorrow and post some links to my code, but I > have to run now. Thanks for the info.. I'll wait to see your code and see where I'm going wrong. Regards, Stuart From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 14:25:07 2003 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 B72D116A4BF for ; Thu, 28 Aug 2003 14:25:07 -0700 (PDT) Received: from mail.rdstm.ro (mail.rdstm.ro [193.231.233.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 275C943FEC for ; Thu, 28 Aug 2003 14:25:06 -0700 (PDT) (envelope-from aanton@reversedhell.net) Received: from reverser (casa_auto [81.196.32.25]) by mail.rdstm.ro (8.12.9/8.12.1) with SMTP id h7SLP5UK024353 for ; Fri, 29 Aug 2003 00:25:05 +0300 Message-ID: <001501c36ce2$687347a0$1920c451@reverser> From: "Alin-Adrian Anton" To: Date: Thu, 28 Aug 2003 00:30:16 +0300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: New European software patents law !!! 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, 28 Aug 2003 21:25:07 -0000 http://petition.eurolinux.org/ sign the petition against the new patents = law. find more about this law at http://swpat.ffii.org/ and mirror their = website (for load purposes). close your website as did www.gimp.org and protest with banners, and in = any other way. God bless the virus industry. Yours, Alin. From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 14:25:15 2003 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 0C83716A4C4 for ; Thu, 28 Aug 2003 14:25:15 -0700 (PDT) Received: from artax.karlin.mff.cuni.cz (artax.karlin.mff.cuni.cz [195.113.31.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3586543FF2 for ; Thu, 28 Aug 2003 14:25:14 -0700 (PDT) (envelope-from mikulas@artax.karlin.mff.cuni.cz) Received: by artax.karlin.mff.cuni.cz (Postfix, from userid 17421) id 7618A3FA4; Thu, 28 Aug 2003 23:25:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by artax.karlin.mff.cuni.cz (Postfix) with ESMTP id 740BB2FBD8; Thu, 28 Aug 2003 23:25:10 +0200 (CEST) Date: Thu, 28 Aug 2003 23:25:10 +0200 (CEST) From: Mikulas Patocka To: Dan Lukes In-Reply-To: <3F4B5374.1080306@obluda.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: Bug FreeBSD 4.8 ATA driver 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, 28 Aug 2003 21:25:15 -0000 On Tue, 26 Aug 2003, Dan Lukes wrote: > Mikulas Patocka napsal/wrote, On 08/20/03 01:39: > > I am reading FreeBSD ATA drivers because I want to use them as base for my > > ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8, > > there is line > > > > if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) { > > > > if ch->unit is 1, config word is shifted by 256 bytes, which gives > > undefined result in C. How was this meant? What should it do? > > Hm, it should be (IMHO) > if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<5))&0x4000)) That is incorrect too --- if ch->unit is 1, ch->unit<<5 is 32 and you can't shift 32-bit integer by 32 bits. > but I can't verify it as have no access to documentation for PIIX3 nor > acces to the PIIX3 hardware now. > > Note the position of '8' just above the '5' key on numeric keypad also ... > > FYI, the gcc compile the code as equivalent of > if (!((pci_read_config(parent,0x40,4)>>(0))&0x4000)) > effectively ignoring the ch->unit number. > > > If you want wrote your own ATA driver, it may be better to look into > current FreeBSD 5 ATA code - it's substantially rewrited. I noticed it too late --- when I copid all code from FreeBSD 4 :-/ > A smel bych, uz asi mimo konferenci, vedet, proc si pises vlastni ATA > ovladac ? No, zatim to neni moc verejny projekt. Mikulas From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 14:34:31 2003 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 B58EE16A4BF for ; Thu, 28 Aug 2003 14:34:31 -0700 (PDT) Received: from www.bluecirclesoft.com (cvg-65-26-145-190.cinci.rr.com [65.26.145.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8905A43FE9 for ; Thu, 28 Aug 2003 14:34:30 -0700 (PDT) (envelope-from marc.ramirez@bluecirclesoft.com) Received: from www.bluecirclesoft.com (localhost [127.0.0.1]) by www.bluecirclesoft.com (8.12.9/8.12.9) with ESMTP id h7SLYTax081643 for ; Thu, 28 Aug 2003 17:34:29 -0400 (EDT) (envelope-from mrami@bluecirclesoft.com) Received: from localhost (mrami@localhost)h7SLYTUw081640 for ; Thu, 28 Aug 2003 17:34:29 -0400 (EDT) X-Authentication-Warning: www.bluecirclesoft.com: mrami owned process doing -bs Date: Thu, 28 Aug 2003 17:34:29 -0400 (EDT) From: Marc Ramirez To: hackers@freebsd.org Message-ID: <20030828171635.C73827@www.bluecirclesoft.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1983254475-1062106469=:73827" Subject: FYI - Just got a kernel panic - RELENG_4 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, 28 Aug 2003 21:34:31 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1983254475-1062106469=:73827 Content-Type: TEXT/PLAIN; charset=US-ASCII supped as of ~ 1:40pm EST today The panic: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x5b4984c8 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02714a9 stack pointer = 0x10:0xd5d3ecf4 frame pointer = 0x10:0xd5d3ecf8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 34411 (tar) interrupt mask = net tty bio cam trap number = 12 panic: page fault Current kldstat (shouldn't be different from the one during the panic) $ kldstat Id Refs Address Size Name 1 6 0xc0100000 2c6d78 kernel 2 1 0xc1286000 a000 ntfs.ko 3 1 0xc12ca000 7000 linprocfs.ko 4 1 0xc1341000 2000 green_saver.ko 5 2 0xc1344000 15000 linux.ko 6 1 0xc138a000 2000 rtc.ko kernel IP info: $ nm -n /kernel ... c0271394 T vm_page_unhold c02713b0 T vm_page_insert c0271430 T vm_page_remove c02714f8 T vm_page_lookup c0271554 T vm_page_rename c02715ac T vm_page_unqueue_nowakeup c02715f4 T vm_page_unqueue c027166c T _vm_page_list_find ... cvs tag of file containing "offending" function: * $FreeBSD: src/sys/vm/vm_page.c,v 1.147.2.19 2003/08/09 16:21:21 luoqi Exp $ Attached is the dmesg of the session that led to the panic, as well as my kernel configuration file (LAPTOP). I don't see anything very peculiar about it... How else can I help? Thanks, Marc. -- Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) --0-1983254475-1062106469=:73827 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=LAPTOP Content-Transfer-Encoding: BASE64 Content-ID: <20030828173429.O73827@www.bluecirclesoft.com> Content-Description: kernel config Content-Disposition: attachment; filename=LAPTOP Iw0KIyBHRU5FUklDIC0tIEdlbmVyaWMga2VybmVsIGNvbmZpZ3VyYXRpb24g ZmlsZSBmb3IgRnJlZUJTRC9pMzg2DQojDQojIEZvciBtb3JlIGluZm9ybWF0 aW9uIG9uIHRoaXMgZmlsZSwgcGxlYXNlIHJlYWQgdGhlIGhhbmRib29rIHNl Y3Rpb24gb24NCiMgS2VybmVsIENvbmZpZ3VyYXRpb24gRmlsZXM6DQojDQoj ICAgIGh0dHA6Ly93d3cuRnJlZUJTRC5vcmcvZG9jL2VuX1VTLklTTzg4NTkt MS9ib29rcy9oYW5kYm9vay9rZXJuZWxjb25maWctY29uZmlnLmh0bWwNCiMN CiMgVGhlIGhhbmRib29rIGlzIGFsc28gYXZhaWxhYmxlIGxvY2FsbHkgaW4g L3Vzci9zaGFyZS9kb2MvaGFuZGJvb2sNCiMgaWYgeW91J3ZlIGluc3RhbGxl ZCB0aGUgZG9jIGRpc3RyaWJ1dGlvbiwgb3RoZXJ3aXNlIGFsd2F5cyBzZWUg dGhlDQojIEZyZWVCU0QgV29ybGQgV2lkZSBXZWIgc2VydmVyIChodHRwOi8v d3d3LkZyZWVCU0Qub3JnLykgZm9yIHRoZQ0KIyBsYXRlc3QgaW5mb3JtYXRp b24uDQojDQojIEFuIGV4aGF1c3RpdmUgbGlzdCBvZiBvcHRpb25zIGFuZCBt b3JlIGRldGFpbGVkIGV4cGxhbmF0aW9ucyBvZiB0aGUNCiMgZGV2aWNlIGxp bmVzIGlzIGFsc28gcHJlc2VudCBpbiB0aGUgLi9MSU5UIGNvbmZpZ3VyYXRp b24gZmlsZS4gSWYgeW91IGFyZQ0KIyBpbiBkb3VidCBhcyB0byB0aGUgcHVy cG9zZSBvciBuZWNlc3NpdHkgb2YgYSBsaW5lLCBjaGVjayBmaXJzdCBpbiBM SU5ULg0KIw0KIyAkRnJlZUJTRDogc3JjL3N5cy9pMzg2L2NvbmYvR0VORVJJ Qyx2IDEuMjQ2LjIuNTMgMjAwMy8wMy8yNSAyMzozMzo0NCBqaGIgRXhwICQN Cg0KbWFjaGluZQkJaTM4Ng0KY3B1CQlJMzg2X0NQVQ0KY3B1CQlJNDg2X0NQ VQ0KY3B1CQlJNTg2X0NQVQ0KY3B1CQlJNjg2X0NQVQ0KaWRlbnQJCUxBUFRP UA0KbWF4dXNlcnMJMA0KDQojbWFrZW9wdGlvbnMJREVCVUc9LWcJCSNCdWls ZCBrZXJuZWwgd2l0aCBnZGIoMSkgZGVidWcgc3ltYm9scw0KDQpvcHRpb25z IAlNQVRIX0VNVUxBVEUJCSNTdXBwb3J0IGZvciB4ODcgZW11bGF0aW9uDQpv cHRpb25zIAlJTkVUCQkJI0ludGVyTkVUd29ya2luZw0Kb3B0aW9ucyAJSU5F VDYJCQkjSVB2NiBjb21tdW5pY2F0aW9ucyBwcm90b2NvbHMNCm9wdGlvbnMg CUZGUwkJCSNCZXJrZWxleSBGYXN0IEZpbGVzeXN0ZW0NCm9wdGlvbnMgCUZG U19ST09UCQkjRkZTIHVzYWJsZSBhcyByb290IGRldmljZSBba2VlcCB0aGlz IV0NCm9wdGlvbnMgCVNPRlRVUERBVEVTCQkjRW5hYmxlIEZGUyBzb2Z0IHVw ZGF0ZXMgc3VwcG9ydA0Kb3B0aW9ucyAJVUZTX0RJUkhBU0gJCSNJbXByb3Zl IHBlcmZvcm1hbmNlIG9uIGJpZyBkaXJlY3Rvcmllcw0Kb3B0aW9ucyAJTUZT CQkJI01lbW9yeSBGaWxlc3lzdGVtDQpvcHRpb25zIAlNRF9ST09UCQkJI01E IGlzIGEgcG90ZW50aWFsIHJvb3QgZGV2aWNlDQpvcHRpb25zIAlORlMJCQkj TmV0d29yayBGaWxlc3lzdGVtDQpvcHRpb25zIAlORlNfUk9PVAkJI05GUyB1 c2FibGUgYXMgcm9vdCBkZXZpY2UsIE5GUyByZXF1aXJlZA0Kb3B0aW9ucyAJ TVNET1NGUwkJCSNNU0RPUyBGaWxlc3lzdGVtDQpvcHRpb25zIAlDRDk2NjAJ CQkjSVNPIDk2NjAgRmlsZXN5c3RlbQ0Kb3B0aW9ucyAJQ0Q5NjYwX1JPT1QJ CSNDRC1ST00gdXNhYmxlIGFzIHJvb3QsIENEOTY2MCByZXF1aXJlZA0Kb3B0 aW9ucyAJUFJPQ0ZTCQkJI1Byb2Nlc3MgZmlsZXN5c3RlbQ0Kb3B0aW9ucyAJ Q09NUEFUXzQzCQkjQ29tcGF0aWJsZSB3aXRoIEJTRCA0LjMgW0tFRVAgVEhJ UyFdDQpvcHRpb25zIAlTQ1NJX0RFTEFZPTE1MDAwCSNEZWxheSAoaW4gbXMp IGJlZm9yZSBwcm9iaW5nIFNDU0kNCm9wdGlvbnMgCVVDT05TT0xFCQkjQWxs b3cgdXNlcnMgdG8gZ3JhYiB0aGUgY29uc29sZQ0Kb3B0aW9ucyAJVVNFUkNP TkZJRwkJI2Jvb3QgLWMgZWRpdG9yDQpvcHRpb25zIAlWSVNVQUxfVVNFUkNP TkZJRwkjdmlzdWFsIGJvb3QgLWMgZWRpdG9yDQpvcHRpb25zIAlLVFJBQ0UJ CQkja3RyYWNlKDEpIHN1cHBvcnQNCm9wdGlvbnMgCVNZU1ZTSE0JCQkjU1lT Vi1zdHlsZSBzaGFyZWQgbWVtb3J5DQpvcHRpb25zIAlTWVNWTVNHCQkJI1NZ U1Ytc3R5bGUgbWVzc2FnZSBxdWV1ZXMNCm9wdGlvbnMgCVNZU1ZTRU0JCQkj U1lTVi1zdHlsZSBzZW1hcGhvcmVzDQpvcHRpb25zIAlQMTAwM18xQgkJI1Bv c2l4IFAxMDAzXzFCIHJlYWwtdGltZSBleHRlbnNpb25zDQpvcHRpb25zIAlf S1BPU0lYX1BSSU9SSVRZX1NDSEVEVUxJTkcNCm9wdGlvbnMgCUlDTVBfQkFO RExJTQkJI1JhdGUgbGltaXQgYmFkIHJlcGxpZXMNCm9wdGlvbnMgCUtCRF9J TlNUQUxMX0NERVYJIyBpbnN0YWxsIGEgQ0RFViBlbnRyeSBpbiAvZGV2DQpv cHRpb25zIAlBSENfUkVHX1BSRVRUWV9QUklOVAkjIFByaW50IHJlZ2lzdGVy IGJpdGZpZWxkcyBpbiBkZWJ1Zw0KCQkJCQkjIG91dHB1dC4gIEFkZHMgfjEy OGsgdG8gZHJpdmVyLg0Kb3B0aW9ucyAJQUhEX1JFR19QUkVUVFlfUFJJTlQJ IyBQcmludCByZWdpc3RlciBiaXRmaWVsZHMgaW4gZGVidWcgDQoJCQkJCSMg b3V0cHV0LiAgQWRkcyB+MjE1ayB0byBkcml2ZXIuDQoNCm9wdGlvbnMJCVVT RVJfTERUDQoNCiMgVG8gbWFrZSBhbiBTTVAga2VybmVsLCB0aGUgbmV4dCB0 d28gYXJlIG5lZWRlZA0KI29wdGlvbnMgCVNNUAkJCSMgU3ltbWV0cmljIE11 bHRpUHJvY2Vzc29yIEtlcm5lbA0KI29wdGlvbnMgCUFQSUNfSU8JCQkjIFN5 bW1ldHJpYyAoQVBJQykgSS9PDQoNCiMgVG8gc3VwcG9ydCBIeXBlclRocmVh ZGluZywgSFRUIGlzIG5lZWRlZCBpbiBhZGRpdGlvbiB0byBTTVAgYW5kIEFQ SUNfSU8NCiNvcHRpb25zIAlIVFQJCQkjIEh5cGVyVGhyZWFkaW5nIFRlY2hu b2xvZ3kNCg0KZGV2aWNlCQlpc2ENCmRldmljZQkJZWlzYQ0KZGV2aWNlCQlw Y2kNCg0KIyBGbG9wcHkgZHJpdmVzDQpkZXZpY2UJCWZkYzAJYXQgaXNhPyBw b3J0IElPX0ZEMSBpcnEgNiBkcnEgMg0KZGV2aWNlCQlmZDAJYXQgZmRjMCBk cml2ZSAwDQpkZXZpY2UJCWZkMQlhdCBmZGMwIGRyaXZlIDENCiMNCiMgSWYg eW91IGhhdmUgYSBUb3NoaWJhIExpYnJldHRvIHdpdGggaXRzIFktRSBEYXRh IFBDTUNJQSBmbG9wcHksDQojIGRvbid0IHVzZSB0aGUgYWJvdmUgbGluZSBm b3IgZmRjMCBidXQgdGhlIGZvbGxvd2luZyBvbmU6DQojZGV2aWNlCQlmZGMw DQoNCiMgQVRBIGFuZCBBVEFQSSBkZXZpY2VzDQpkZXZpY2UJCWF0YTAJYXQg aXNhPyBwb3J0IElPX1dEMSBpcnEgMTQNCmRldmljZQkJYXRhMQlhdCBpc2E/ IHBvcnQgSU9fV0QyIGlycSAxNQ0KZGV2aWNlCQlhdGENCmRldmljZQkJYXRh ZGlzawkJCSMgQVRBIGRpc2sgZHJpdmVzDQpkZXZpY2UJCWF0YXBpY2QJCQkj IEFUQVBJIENEUk9NIGRyaXZlcw0KZGV2aWNlCQlhdGFwaWZkCQkJIyBBVEFQ SSBmbG9wcHkgZHJpdmVzDQpkZXZpY2UJCWF0YXBpc3QJCQkjIEFUQVBJIHRh cGUgZHJpdmVzDQpvcHRpb25zIAlBVEFfU1RBVElDX0lECQkjU3RhdGljIGRl dmljZSBudW1iZXJpbmcNCg0KIyBTQ1NJIENvbnRyb2xsZXJzDQojZGV2aWNl CQlhaGIJCSMgRUlTQSBBSEExNzQyIGZhbWlseQ0KI2RldmljZQkJYWhjCQkj IEFIQTI5NDAgYW5kIG9uYm9hcmQgQUlDN3h4eCBkZXZpY2VzDQojZGV2aWNl CQlhaGQJCSMgQUhBMzkzMjAvMjkzMjAgYW5kIG9uYm9hcmQgQUlDNzl4eCBk ZXZpY2VzDQojZGV2aWNlCQlhbWQJCSMgQU1EIDUzQzk3NCAoVGVrcmFtIERD LTM5MChUKSkNCiNkZXZpY2UJCWlzcAkJIyBRbG9naWMgZmFtaWx5DQojZGV2 aWNlCQltcHQJCSMgTFNJLUxvZ2ljIE1QVC9GdXNpb24NCiNkZXZpY2UJCW5j cgkJIyBOQ1IvU3ltYmlvcyBMb2dpYw0KI2RldmljZQkJc3ltCQkjIE5DUi9T eW1iaW9zIExvZ2ljIChuZXdlciBjaGlwc2V0cykNCiNvcHRpb25zIAlTWU1f U0VUVVBfTFBfUFJPQkVfTUFQPTB4NDANCgkJCQkjIEFsbG93IG5jciB0byBh dHRhY2ggbGVnYWN5IE5DUiBkZXZpY2VzIHdoZW4gDQoJCQkJIyBib3RoIHN5 bSBhbmQgbmNyIGFyZSBjb25maWd1cmVkDQoNCiNkZXZpY2UJCWFkdjAJYXQg aXNhPw0KI2RldmljZQkJYWR3DQojZGV2aWNlCQlidDAJYXQgaXNhPw0KI2Rl dmljZQkJYWhhMAlhdCBpc2E/DQojZGV2aWNlCQlhaWMwCWF0IGlzYT8NCg0K I2RldmljZQkJbmN2CQkjIE5DUiA1M0M1MDANCiNkZXZpY2UJCW5zcAkJIyBX b3JrYml0IE5pbmphIFNDU0ktMw0KI2RldmljZQkJc3RnCQkjIFRNQyAxOEMz MC8xOEM1MA0KDQojIFNDU0kgcGVyaXBoZXJhbHMNCmRldmljZQkJc2NidXMJ CSMgU0NTSSBidXMgKHJlcXVpcmVkKQ0KZGV2aWNlCQlkYQkJIyBEaXJlY3Qg QWNjZXNzIChkaXNrcykNCmRldmljZQkJc2EJCSMgU2VxdWVudGlhbCBBY2Nl c3MgKHRhcGUgZXRjKQ0KZGV2aWNlCQljZAkJIyBDRA0KZGV2aWNlCQlwYXNz CQkjIFBhc3N0aHJvdWdoIGRldmljZSAoZGlyZWN0IFNDU0kgYWNjZXNzKQ0K DQpkZXZpY2UJCWF0YXBpY2FtDQoNCiMgUkFJRCBjb250cm9sbGVycyBpbnRl cmZhY2VkIHRvIHRoZSBTQ1NJIHN1YnN5c3RlbQ0KZGV2aWNlCQlhc3IJCSMg RFBUIFNtYXJ0UkFJRCBWLCBWSSBhbmQgQWRhcHRlYyBTQ1NJIFJBSUQNCiNk ZXZpY2UJCWRwdAkJIyBEUFQgU21hcnRjYWNoZSAtIFNlZSBMSU5UIGZvciBv cHRpb25zIQ0KI2RldmljZQkJaWlyCQkjIEludGVsIEludGVncmF0ZWQgUkFJ RA0KI2RldmljZQkJbWx5CQkjIE15bGV4IEFjY2VsZVJBSUQvZVh0cmVtZVJB SUQNCiNkZXZpY2UJCWNpc3MJCSMgQ29tcGFxIFNtYXJ0UkFJRCA1KiBzZXJp ZXMNCg0KIyBSQUlEIGNvbnRyb2xsZXJzDQojZGV2aWNlCQlhYWMJCSMgQWRh cHRlYyBGU0EgUkFJRCwgRGVsbCBQRVJDMi9QRVJDMw0KI2RldmljZQkJYWFj cAkJIyBTQ1NJIHBhc3N0aHJvdWdoIGZvciBhYWMgKHJlcXVpcmVzIENBTSkN CiNkZXZpY2UJCWlkYQkJIyBDb21wYXEgU21hcnQgUkFJRA0KI2RldmljZQkJ YW1yCQkjIEFNSSBNZWdhUkFJRA0KI2RldmljZQkJbWx4CQkjIE15bGV4IERB Qzk2MCBmYW1pbHkNCiNkZXZpY2UJCXR3ZQkJIyAzd2FyZSBFc2NhbGFkZQ0K DQojIGF0a2JkYzAgY29udHJvbHMgYm90aCB0aGUga2V5Ym9hcmQgYW5kIHRo ZSBQUy8yIG1vdXNlDQpkZXZpY2UJCWF0a2JkYzAJYXQgaXNhPyBwb3J0IElP X0tCRA0KZGV2aWNlCQlhdGtiZDAJYXQgYXRrYmRjPyBpcnEgMSBmbGFncyAw eDENCmRldmljZQkJcHNtMAlhdCBhdGtiZGM/IGlycSAxMg0KDQpkZXZpY2UJ CXZnYTAJYXQgaXNhPw0KDQojIHNwbGFzaCBzY3JlZW4vc2NyZWVuIHNhdmVy DQpwc2V1ZG8tZGV2aWNlCXNwbGFzaA0KDQojIHN5c2NvbnMgaXMgdGhlIGRl ZmF1bHQgY29uc29sZSBkcml2ZXIsIHJlc2VtYmxpbmcgYW4gU0NPIGNvbnNv bGUNCmRldmljZQkJc2MwCWF0IGlzYT8gZmxhZ3MgMHgxMDANCg0KIyBFbmFi bGUgdGhpcyBhbmQgUENWVF9GUkVFQlNEIGZvciBwY3Z0IHZ0MjIwIGNvbXBh dGlibGUgY29uc29sZSBkcml2ZXINCiNkZXZpY2UJCXZ0MAlhdCBpc2E/DQoj b3B0aW9ucyAJWFNFUlZFUgkJCSMgc3VwcG9ydCBmb3IgWCBzZXJ2ZXIgb24g YSB2dCBjb25zb2xlDQojb3B0aW9ucyAJRkFUX0NVUlNPUgkJIyBzdGFydCB3 aXRoIGJsb2NrIGN1cnNvcg0KIyBJZiB5b3UgaGF2ZSBhIFRoaW5rUEFELCB1 bmNvbW1lbnQgdGhpcyBhbG9uZyB3aXRoIHRoZSByZXN0IG9mIHRoZSBQQ1ZU IGxpbmVzDQojb3B0aW9ucyAJUENWVF9TQ0FOU0VUPTIJCSMgSUJNIGtleWJv YXJkcyBhcmUgbm9uLXN0ZA0KDQpkZXZpY2UJCWFncAkJIyBzdXBwb3J0IHNl dmVyYWwgQUdQIGNoaXBzZXRzDQoNCiMgRmxvYXRpbmcgcG9pbnQgc3VwcG9y dCAtIGRvIG5vdCBkaXNhYmxlLg0KZGV2aWNlCQlucHgwCWF0IG5leHVzPyBw b3J0IElPX05QWCBpcnEgMTMNCg0KIyBQb3dlciBtYW5hZ2VtZW50IHN1cHBv cnQgKHNlZSBMSU5UIGZvciBtb3JlIG9wdGlvbnMpDQpkZXZpY2UJCWFwbTAJ YXQgbmV4dXM/IGZsYWdzIDB4MjAgIyBBZHZhbmNlZCBQb3dlciBNYW5hZ2Vt ZW50DQoNCiMgUENDQVJEIChQQ01DSUEpIHN1cHBvcnQNCmRldmljZQkJY2Fy ZA0KZGV2aWNlCQlwY2ljMAlhdCBpc2E/IGlycSAwIHBvcnQgMHgzZTAgaW9t ZW0gMHhkMDAwMA0KZGV2aWNlCQlwY2ljMQlhdCBpc2E/IGlycSAwIHBvcnQg MHgzZTIgaW9tZW0gMHhkNDAwMCBkaXNhYmxlDQoNCiMgU2VyaWFsIChDT00p IHBvcnRzDQpkZXZpY2UJCXNpbzAJYXQgaXNhPyBwb3J0IElPX0NPTTEgZmxh Z3MgMHgxMCBpcnEgNA0KI2RldmljZQkJc2lvMQlhdCBpc2E/IHBvcnQgSU9f Q09NMiBpcnEgMw0KI2RldmljZQkJc2lvMglhdCBpc2E/IGRpc2FibGUgcG9y dCBJT19DT00zIGlycSA1DQojZGV2aWNlCQlzaW8zCWF0IGlzYT8gZGlzYWJs ZSBwb3J0IElPX0NPTTQgaXJxIDkNCg0KIyBQYXJhbGxlbCBwb3J0DQpkZXZp Y2UJCXBwYzAJYXQgaXNhPyBpcnEgNw0KZGV2aWNlCQlwcGJ1cwkJIyBQYXJh bGxlbCBwb3J0IGJ1cyAocmVxdWlyZWQpDQpkZXZpY2UJCWxwdAkJIyBQcmlu dGVyDQpkZXZpY2UJCXBsaXAJCSMgVENQL0lQIG92ZXIgcGFyYWxsZWwNCmRl dmljZQkJcHBpCQkjIFBhcmFsbGVsIHBvcnQgaW50ZXJmYWNlIGRldmljZQ0K I2RldmljZQkJdnBvCQkjIFJlcXVpcmVzIHNjYnVzIGFuZCBkYQ0KDQoNCiMg UENJIEV0aGVybmV0IE5JQ3MuDQojZGV2aWNlCQlkZQkJIyBERUMvSW50ZWwg REMyMXg0eCAoYGBUdWxpcCcnKQ0KI2RldmljZQkJZW0JCSMgSW50ZWwgUFJP LzEwMDAgYWRhcHRlciBHaWdhYml0IEV0aGVybmV0IENhcmQgKGBgV2lzZW1h bicnKQ0KI2RldmljZQkJdHhwCQkjIDNDb20gM2NSOTkwIChgYFR5cGhvb24n JykNCiNkZXZpY2UJCXZ4CQkjIDNDb20gM2M1OTAsIDNjNTk1IChgYFZvcnRl eCcnKQ0KDQojIFBDSSBFdGhlcm5ldCBOSUNzIHRoYXQgdXNlIHRoZSBjb21t b24gTUlJIGJ1cyBjb250cm9sbGVyIGNvZGUuDQojIE5PVEU6IEJlIHN1cmUg dG8ga2VlcCB0aGUgJ2RldmljZSBtaWlidXMnIGxpbmUgaW4gb3JkZXIgdG8g dXNlIHRoZXNlIE5JQ3MhDQpkZXZpY2UJCW1paWJ1cwkJIyBNSUkgYnVzIHN1 cHBvcnQNCiNkZXZpY2UJCWRjCQkjIERFQy9JbnRlbCAyMTE0MyBhbmQgdmFy aW91cyB3b3JrYWxpa2VzDQpkZXZpY2UJCWZ4cAkJIyBJbnRlbCBFdGhlckV4 cHJlc3MgUFJPLzEwMEIgKDgyNTU3LCA4MjU1OCkNCiNkZXZpY2UJCXBjbgkJ IyBBTUQgQW03OUM5N3ggUENJIDEwLzEwMCBOSUNzDQojZGV2aWNlCQlybAkJ IyBSZWFsVGVrIDgxMjkvODEzOQ0KI2RldmljZQkJc2YJCSMgQWRhcHRlYyBB SUMtNjkxNSAoYGBTdGFyZmlyZScnKQ0KI2RldmljZQkJc2lzCQkjIFNpbGlj b24gSW50ZWdyYXRlZCBTeXN0ZW1zIFNpUyA5MDAvU2lTIDcwMTYNCiNkZXZp Y2UJCXN0ZQkJIyBTdW5kYW5jZSBTVDIwMSAoRC1MaW5rIERGRS01NTBUWCkN CiNkZXZpY2UJCXRsCQkjIFRleGFzIEluc3RydW1lbnRzIFRodW5kZXJMQU4N CiNkZXZpY2UJCXR4CQkjIFNNQyBFdGhlclBvd2VyIElJICg4M2MxNzAgYGBF UElDJycpDQojZGV2aWNlCQl2cgkJIyBWSUEgUmhpbmUsIFJoaW5lIElJDQoj ZGV2aWNlCQl3YgkJIyBXaW5ib25kIFc4OUM4NDBGDQojZGV2aWNlCQl4bAkJ IyAzQ29tIDNjOTB4IChgYEJvb21lcmFuZycnLCBgYEN5Y2xvbmUnJykNCiNk ZXZpY2UJCWJnZQkJIyBCcm9hZGNvbSBCQ001NzB4IChgYFRpZ29uIElJSScn KQ0KDQojIElTQSBFdGhlcm5ldCBOSUNzLg0KIyAnZGV2aWNlIGVkJyByZXF1 aXJlcyAnZGV2aWNlIG1paWJ1cycNCiNkZXZpY2UJCWVkMAlhdCBpc2E/IGRp c2FibGUgcG9ydCAweDI4MCBpcnEgMTAgaW9tZW0gMHhkODAwMA0KI2Rldmlj ZQkJZXgNCiNkZXZpY2UJCWVwDQojZGV2aWNlCQlmZTAJYXQgaXNhPyBkaXNh YmxlIHBvcnQgMHgzMDANCiMgWGlyY29tIEV0aGVybmV0DQojZGV2aWNlCQl4 ZQ0KIyBQUklTTSBJIElFRUUgODAyLjExYiB3aXJlbGVzcyBOSUMuDQojZGV2 aWNlCQlhd2kNCiMgV2F2ZUxBTi9JRUVFIDgwMi4xMSB3aXJlbGVzcyBOSUNz LiBOb3RlOiB0aGUgV2F2ZUxBTi9JRUVFIHJlYWxseQ0KIyBleGlzdHMgb25s eSBhcyBhIFBDTUNJQSBkZXZpY2UsIHNvIHRoZXJlIGlzIG5vIElTQSBhdHRh Y2htZW50IG5lZWRlZA0KIyBhbmQgcmVzb3VyY2VzIHdpbGwgYWx3YXlzIGJl IGR5bmFtaWNhbGx5IGFzc2lnbmVkIGJ5IHRoZSBwY2NhcmQgY29kZS4NCmRl dmljZQkJd2kNCiMgQWlyb25ldCA0NTAwLzQ4MDAgODAyLjExIHdpcmVsZXNz IE5JQ3MuIE5vdGU6IHRoZSBkZWNsYXJhdGlvbiBiZWxvdyB3aWxsDQojIHdv cmsgZm9yIFBDTUNJQSBhbmQgUENJIGNhcmRzLCBhcyB3ZWxsIGFzIElTQSBj YXJkcyBzZXQgdG8gSVNBIFBuUA0KIyBtb2RlICh0aGUgZmFjdG9yeSBkZWZh dWx0KS4gSWYgeW91IHNldCB0aGUgc3dpdGNoZXMgb24geW91ciBJU0ENCiMg Y2FyZCBmb3IgYSBtYW51YWxseSBjaG9zZW4gSS9PIGFkZHJlc3MgYW5kIElS USwgeW91IG11c3Qgc3BlY2lmeQ0KIyB0aG9zZSBwYXJhbWV0ZXJzIGhlcmUu DQojZGV2aWNlCQlhbg0KIyBUaGUgcHJvYmUgb3JkZXIgb2YgdGhlc2UgaXMg cHJlc2VudGx5IGRldGVybWluZWQgYnkgaTM4Ni9pc2EvaXNhX2NvbXBhdC5j Lg0KI2RldmljZQkJaWUwCWF0IGlzYT8gZGlzYWJsZSBwb3J0IDB4MzAwIGly cSAxMCBpb21lbSAweGQwMDAwDQojZGV2aWNlCQlsZTAJYXQgaXNhPyBkaXNh YmxlIHBvcnQgMHgzMDAgaXJxIDUgaW9tZW0gMHhkMDAwMA0KI2RldmljZQkJ bG5jMAlhdCBpc2E/IGRpc2FibGUgcG9ydCAweDI4MCBpcnEgMTAgZHJxIDAN CiNkZXZpY2UJCWNzMAlhdCBpc2E/IGRpc2FibGUgcG9ydCAweDMwMA0KI2Rl dmljZQkJc24wCWF0IGlzYT8gZGlzYWJsZSBwb3J0IDB4MzAwIGlycSAxMA0K DQojIFBzZXVkbyBkZXZpY2VzIC0gdGhlIG51bWJlciBpbmRpY2F0ZXMgaG93 IG1hbnkgdW5pdHMgdG8gYWxsb2NhdGUuDQpwc2V1ZG8tZGV2aWNlCWxvb3AJ CSMgTmV0d29yayBsb29wYmFjaw0KcHNldWRvLWRldmljZQlldGhlcgkJIyBF dGhlcm5ldCBzdXBwb3J0DQpwc2V1ZG8tZGV2aWNlCXNsCTEJIyBLZXJuZWwg U0xJUA0KcHNldWRvLWRldmljZQlwcHAJMQkjIEtlcm5lbCBQUFANCnBzZXVk by1kZXZpY2UJdHVuCQkjIFBhY2tldCB0dW5uZWwuDQpwc2V1ZG8tZGV2aWNl CXB0eQkJIyBQc2V1ZG8tdHR5cyAodGVsbmV0IGV0YykNCnBzZXVkby1kZXZp Y2UJbWQJCSMgTWVtb3J5ICJkaXNrcyINCnBzZXVkby1kZXZpY2UJZ2lmCQkj IElQdjYgYW5kIElQdjQgdHVubmVsaW5nDQpwc2V1ZG8tZGV2aWNlCWZhaXRo CTEJIyBJUHY2LXRvLUlQdjQgcmVsYXlpbmcgKHRyYW5zbGF0aW9uKQ0KDQoj IFRoZSBgYnBmJyBwc2V1ZG8tZGV2aWNlIGVuYWJsZXMgdGhlIEJlcmtlbGV5 IFBhY2tldCBGaWx0ZXIuDQojIEJlIGF3YXJlIG9mIHRoZSBhZG1pbmlzdHJh dGl2ZSBjb25zZXF1ZW5jZXMgb2YgZW5hYmxpbmcgdGhpcyENCnBzZXVkby1k ZXZpY2UJYnBmCQkjQmVya2VsZXkgcGFja2V0IGZpbHRlcg0KDQojIFVTQiBz dXBwb3J0DQpkZXZpY2UJCXVoY2kJCSMgVUhDSSBQQ0ktPlVTQiBpbnRlcmZh Y2UNCmRldmljZQkJb2hjaQkJIyBPSENJIFBDSS0+VVNCIGludGVyZmFjZQ0K ZGV2aWNlCQl1c2IJCSMgVVNCIEJ1cyAocmVxdWlyZWQpDQpkZXZpY2UJCXVn ZW4JCSMgR2VuZXJpYw0KZGV2aWNlCQl1aGlkCQkjICJIdW1hbiBJbnRlcmZh Y2UgRGV2aWNlcyINCmRldmljZQkJdWtiZAkJIyBLZXlib2FyZA0KZGV2aWNl CQl1bHB0CQkjIFByaW50ZXINCmRldmljZQkJdW1hc3MJCSMgRGlza3MvTWFz cyBzdG9yYWdlIC0gUmVxdWlyZXMgc2NidXMgYW5kIGRhDQpkZXZpY2UJCXVt cwkJIyBNb3VzZQ0KZGV2aWNlCQl1c2Nhbm5lcgkjIFNjYW5uZXJzDQpkZXZp Y2UJCXVyaW8JCSMgRGlhbW9uZCBSaW8gTVAzIFBsYXllcg0KIyBVU0IgRXRo ZXJuZXQsIHJlcXVpcmVzIG1paQ0KZGV2aWNlCQlhdWUJCSMgQURNdGVrIFVT QiBldGhlcm5ldA0KZGV2aWNlCQljdWUJCSMgQ0FUQyBVU0IgZXRoZXJuZXQN CmRldmljZQkJa3VlCQkjIEthd2FzYWtpIExTSSBVU0IgZXRoZXJuZXQNCg0K I2RldmljZQkJcGNtDQojb3B0aW9ucwkJUE5QQklPUw0KDQojIEZpcmVXaXJl IHN1cHBvcnQNCmRldmljZQkJZmlyZXdpcmUJIyBGaXJlV2lyZSBidXMgY29k ZQ0KZGV2aWNlCQlzYnAJCSMgU0NTSSBvdmVyIEZpcmVXaXJlIChSZXF1aXJl cyBzY2J1cyBhbmQgZGEpDQpkZXZpY2UJCWZ3ZQkJIyBFdGhlcm5ldCBvdmVy IEZpcmVXaXJlIChub24tc3RhbmRhcmQhKQ0KDQo= --0-1983254475-1062106469=:73827 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="full_dmesg.txt" Content-Transfer-Encoding: BASE64 Content-ID: <20030828173429.O73827@www.bluecirclesoft.com> Content-Description: dmesg output Content-Disposition: attachment; filename="full_dmesg.txt" Q29weXJpZ2h0IChjKSAxOTkyLTIwMDMgVGhlIEZyZWVCU0QgUHJvamVjdC4N CkNvcHlyaWdodCAoYykgMTk3OSwgMTk4MCwgMTk4MywgMTk4NiwgMTk4OCwg MTk4OSwgMTk5MSwgMTk5MiwgMTk5MywgMTk5NA0KICAgICAgICBUaGUgUmVn ZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlhLiBBbGwgcmln aHRzIHJlc2VydmVkLg0KRnJlZUJTRCA0LjktUFJFUkVMRUFTRSAjMDogVGh1 IEF1ZyAyOCAxNDo0MzozNSBFRFQgMjAwMw0KICAgIG1yYW1pQHMxODQuZ2hv c3RtcmFtaS5jb206L3Vzci9vYmovdXNyL3NyYy9zeXMvTEFQVE9QDQpUaW1l Y291bnRlciAiaTgyNTQiICBmcmVxdWVuY3kgMTE5MzE4MiBIeg0KQ1BVOiBN b2JpbGUgSW50ZWwoUikgQ2VsZXJvbihSKSBDUFUgMS42MEdIeiAoMTU5NC44 NC1NSHogNjg2LWNsYXNzIENQVSkNCiAgT3JpZ2luID0gIkdlbnVpbmVJbnRl bCIgIElkID0gMHhmMjcgIFN0ZXBwaW5nID0gNw0KICBGZWF0dXJlcz0weGJm ZWJmOWZmPEZQVSxWTUUsREUsUFNFLFRTQyxNU1IsUEFFLE1DRSxDWDgsU0VQ LE1UUlIsUEdFLE1DQSxDTU9WLFBBVCxQU0UzNixDTEZMVVNILERUUyxBQ1BJ LE1NWCxGWFNSLFNTRSxTU0UyLFNTLEhUVCxUTSxQQkU+DQpyZWFsIG1lbW9y eSAgPSAyNjgyMzg4NDggKDI2MTk1MksgYnl0ZXMpDQphdmFpbCBtZW1vcnkg PSAyNTcxNjczNjAgKDI1MTE0MEsgYnl0ZXMpDQpQcmVsb2FkZWQgZWxmIGtl cm5lbCAia2VybmVsIiBhdCAweGMwM2M4MDAwLg0KUGVudGl1bSBQcm8gTVRS UiBzdXBwb3J0IGVuYWJsZWQNCm1kMDogTWFsbG9jIGRpc2sNClVzaW5nICRQ SVIgdGFibGUsIDggZW50cmllcyBhdCAweGMwMGYwMWEwDQphcG0wOiA8QVBN IEJJT1M+IG9uIG1vdGhlcmJvYXJkDQphcG0wOiBmb3VuZCBBUE0gQklPUyB2 MS4yLCBjb25uZWN0ZWQgYXQgdjEuMg0KbnB4MDogPG1hdGggcHJvY2Vzc29y PiBvbiBtb3RoZXJib2FyZA0KbnB4MDogSU5UIDE2IGludGVyZmFjZQ0KcGNp YjA6IDxJbnRlbCA4Mjg0NSBIb3N0IHRvIFBDSSBicmlkZ2U+IG9uIG1vdGhl cmJvYXJkDQpwY2kwOiA8UENJIGJ1cz4gb24gcGNpYjANCmFncDA6IDxJbnRl bCA4Mjg0NSBob3N0IHRvIEFHUCBicmlkZ2U+IG1lbSAweGYwMDAwMDAwLTB4 ZjdmZmZmZmYgYXQgZGV2aWNlIDAuMCBvbiBwY2kwDQpwY2liMTogPEludGVs IDgyODQ1IFBDSS1QQ0kgKEFHUCkgYnJpZGdlPiBhdCBkZXZpY2UgMS4wIG9u IHBjaTANCnBjaTE6IDxQQ0kgYnVzPiBvbiBwY2liMQ0KcGNpMTogPE5WaWRp YSBtb2RlbCAwMTc1IGdyYXBoaWNzIGFjY2VsZXJhdG9yPiBhdCAwLjAgaXJx IDEwDQp1aGNpMDogPEludGVsIDgyODAxQ0EvQ0FNIChJQ0gzKSBVU0IgY29u dHJvbGxlciBVU0ItQT4gcG9ydCAweGVmZTAtMHhlZmZmIGlycSAxMSBhdCBk ZXZpY2UgMjkuMCBvbiBwY2kwDQp1c2IwOiA8SW50ZWwgODI4MDFDQS9DQU0g KElDSDMpIFVTQiBjb250cm9sbGVyIFVTQi1BPiBvbiB1aGNpMA0KdXNiMDog VVNCIHJldmlzaW9uIDEuMA0KdWh1YjA6IEludGVsIFVIQ0kgcm9vdCBodWIs IGNsYXNzIDkvMCwgcmV2IDEuMDAvMS4wMCwgYWRkciAxDQp1aHViMDogMiBw b3J0cyB3aXRoIDIgcmVtb3ZhYmxlLCBzZWxmIHBvd2VyZWQNCnVtczA6IHZl bmRvciAweDEyNDEgcHJvZHVjdCAweDExMjIsIHJldiAxLjAwLzEuMDAsIGFk ZHIgMiwgaWNsYXNzIDMvMQ0KdW1zMDogNSBidXR0b25zIGFuZCBaIGRpci4N CnVoY2kxOiA8SW50ZWwgODI4MDFDQS9DQU0gKElDSDMpIFVTQiBjb250cm9s bGVyIFVTQi1CPiBwb3J0IDB4ZWY4MC0weGVmOWYgaXJxIDExIGF0IGRldmlj ZSAyOS4xIG9uIHBjaTANCnVzYjE6IDxJbnRlbCA4MjgwMUNBL0NBTSAoSUNI MykgVVNCIGNvbnRyb2xsZXIgVVNCLUI+IG9uIHVoY2kxDQp1c2IxOiBVU0Ig cmV2aXNpb24gMS4wDQp1aHViMTogSW50ZWwgVUhDSSByb290IGh1YiwgY2xh c3MgOS8wLCByZXYgMS4wMC8xLjAwLCBhZGRyIDENCnVodWIxOiAyIHBvcnRz IHdpdGggMiByZW1vdmFibGUsIHNlbGYgcG93ZXJlZA0KcGNpYjI6IDxQQ0kg dG8gUENJIGJyaWRnZSAodmVuZG9yPTgwODYgZGV2aWNlPTI0NDgpPiBhdCBk ZXZpY2UgMzAuMCBvbiBwY2kwDQpwY2kyOiA8UENJIGJ1cz4gb24gcGNpYjIN CmZ4cDA6IDxJbnRlbCA4MjgwMUNBTSAoSUNIMykgUHJvLzEwMCBWRSBFdGhl cm5ldD4gcG9ydCAweGRmNDAtMHhkZjdmIG1lbSAweGZjZWZmMDAwLTB4ZmNl ZmZmZmYgaXJxIDExIGF0IGRldmljZSA4LjAgb24gcGNpMg0KZnhwMDogRXRo ZXJuZXQgYWRkcmVzcyAwMDowODowZDowNTo3MDowYg0KaW5waHkwOiA8aTgy NTYyRVQgMTAvMTAwIG1lZGlhIGludGVyZmFjZT4gb24gbWlpYnVzMA0KaW5w aHkwOiAgMTBiYXNlVCwgMTBiYXNlVC1GRFgsIDEwMGJhc2VUWCwgMTAwYmFz ZVRYLUZEWCwgYXV0bw0KcGNpX2NmZ2ludHJfbGlua2VkOiBsaW5rZWQgKDYw KSB0byBoYXJkLXJvdXRlZCBpcnEgMTENCnBjaV9jZmdpbnRyOiAyOjExIElO VEEgcm91dGVkIHRvIGlycSAxMQ0KcGNpYzA6IDxUb3NoaWJhIFRvUElDMTAw IFBDSS1DYXJkQnVzIEJyaWRnZT4gaXJxIDExIGF0IGRldmljZSAxMS4wIG9u IHBjaTINCnBjaWMwOiBQQ0kgTWVtb3J5IGFsbG9jYXRlZDogMHg4ODAwMDAw MA0KcGNjYXJkMDogPFBDIENhcmQgMTYtYml0IGJ1cyAoY2xhc3NpYyk+IG9u IHBjaWMwDQpwY2lfY2ZnaW50cl9saW5rZWQ6IGxpbmtlZCAoNjEpIHRvIGhh cmQtcm91dGVkIGlycSAxMQ0KcGNpX2NmZ2ludHI6IDI6MTEgSU5UQiByb3V0 ZWQgdG8gaXJxIDExDQpwY2ljMTogPFRvc2hpYmEgVG9QSUMxMDAgUENJLUNh cmRCdXMgQnJpZGdlPiBpcnEgMTEgYXQgZGV2aWNlIDExLjEgb24gcGNpMg0K cGNpYzE6IFBDSSBNZW1vcnkgYWxsb2NhdGVkOiAweDg4MDAxMDAwDQpwY2Nh cmQxOiA8UEMgQ2FyZCAxNi1iaXQgYnVzIChjbGFzc2ljKT4gb24gcGNpYzEN CmlzYWIwOiA8UENJIHRvIElTQSBicmlkZ2UgKHZlbmRvcj04MDg2IGRldmlj ZT0yNDhjKT4gYXQgZGV2aWNlIDMxLjAgb24gcGNpMA0KaXNhMDogPElTQSBi dXM+IG9uIGlzYWIwDQphdGFwY2kwOiA8SW50ZWwgSUNIMyBBVEExMDAgY29u dHJvbGxlcj4gcG9ydCAweGNmYTAtMHhjZmFmLDB4Y2ZlNC0weGNmZTcsMHhj ZmU4LTB4Y2ZlZiwweGNmZjQtMHhjZmY3LDB4Y2ZmOC0weGNmZmYgaXJxIDEx IGF0IGRldmljZSAzMS4xIG9uIHBjaTANCmF0YTA6IGF0IDB4MWYwIGlycSAx NCBvbiBhdGFwY2kwDQphdGExOiBhdCAweDE3MCBpcnEgMTUgb24gYXRhcGNp MA0KcGNpMDogPHVua25vd24gY2FyZD4gKHZlbmRvcj0weDgwODYsIGRldj0w eDI0ODUpIGF0IDMxLjUgaXJxIDExDQpwY2kwOiA8dW5rbm93biBjYXJkPiAo dmVuZG9yPTB4ODA4NiwgZGV2PTB4MjQ4NikgYXQgMzEuNiBpcnEgMTENCm9y bTA6IDxPcHRpb24gUk9Ncz4gYXQgaW9tZW0gMHhjMDAwMC0weGNmZmZmLDB4 ZTAwMDAtMHhlZmZmZiBvbiBpc2EwDQpwbXRpbWVyMCBvbiBpc2EwDQpmZGMw OiByZWFkeSBmb3IgaW5wdXQgaW4gb3V0cHV0DQpmZGMwOiBjbWQgMyBmYWls ZWQgYXQgb3V0IGJ5dGUgMSBvZiAzDQphdGtiZGMwOiA8S2V5Ym9hcmQgY29u dHJvbGxlciAoaTgwNDIpPiBhdCBwb3J0IDB4NjAsMHg2NCBvbiBpc2EwDQph dGtiZDA6IDxBVCBLZXlib2FyZD4gZmxhZ3MgMHgxIGlycSAxIG9uIGF0a2Jk YzANCmtiZDAgYXQgYXRrYmQwDQpwc20wOiA8UFMvMiBNb3VzZT4gaXJxIDEy IG9uIGF0a2JkYzANCnBzbTA6IG1vZGVsIEdsaWRlUG9pbnQsIGRldmljZSBJ RCAwDQp2Z2EwOiA8R2VuZXJpYyBJU0EgVkdBPiBhdCBwb3J0IDB4M2MwLTB4 M2RmIGlvbWVtIDB4YTAwMDAtMHhiZmZmZiBvbiBpc2EwDQpzYzA6IDxTeXN0 ZW0gY29uc29sZT4gYXQgZmxhZ3MgMHgxMDAgb24gaXNhMA0Kc2MwOiBWR0Eg PDE2IHZpcnR1YWwgY29uc29sZXMsIGZsYWdzPTB4MzAwPg0Kc2lvMDogY29u ZmlndXJlZCBpcnEgNCBub3QgaW4gYml0bWFwIG9mIHByb2JlZCBpcnFzIDAN CnNpbzAgYXQgcG9ydCAweDNmOC0weDNmZiBpcnEgNCBmbGFncyAweDEwIG9u IGlzYTANCnNpbzA6IHR5cGUgODI1MA0KcHBjMDogcGFyYWxsZWwgcG9ydCBu b3QgZm91bmQuDQphZDA6IDE5MDc3TUIgPFRPU0hJQkEgTUsyMDE4R0FTPiBb Mzg3NjAvMTYvNjNdIGF0IGF0YTAtbWFzdGVyIFVETUExMDANCmFjZDA6IENE LVJXIDxEVy0yMjRFPiBhdCBhdGExLW1hc3RlciBQSU80DQpNb3VudGluZyBy b290IGZyb20gdWZzOi9kZXYvYWQwczJhDQpjZDAgYXQgYXRhMSBidXMgMCB0 YXJnZXQgMCBsdW4gMA0KY2QwOiA8VEVBQyBEVy0yMjRFIDcuMEE+IFJlbW92 YWJsZSBDRC1ST00gU0NTSS0wIGRldmljZQ0KY2QwOiAxNi4wMDBNQi9zIHRy YW5zZmVycw0KY2QwOiBjZCBwcmVzZW50IFsyMDUyODIgeCAyMDQ4IGJ5dGUg cmVjb3Jkc10NCnBpZCA4Njg5NSAoY29uZnRlc3QpLCB1aWQgMDogZXhpdGVk IG9uIHNpZ25hbCAxMCAoY29yZSBkdW1wZWQpDQpwaWQgODY5MTQgKGNvbmZ0 ZXN0KSwgdWlkIDA6IGV4aXRlZCBvbiBzaWduYWwgMTAgKGNvcmUgZHVtcGVk KQ0KcGlkIDg2OTMzIChjb25mdGVzdCksIHVpZCAwOiBleGl0ZWQgb24gc2ln bmFsIDEwIChjb3JlIGR1bXBlZCkNCg0KDQpGYXRhbCB0cmFwIDEyOiBwYWdl IGZhdWx0IHdoaWxlIGluIGtlcm5lbCBtb2RlDQpmYXVsdCB2aXJ0dWFsIGFk ZHJlc3MgICA9IDB4NWI0OTg0YzgNCmZhdWx0IGNvZGUgICAgICAgICAgICAg ID0gc3VwZXJ2aXNvciByZWFkLCBwYWdlIG5vdCBwcmVzZW50DQppbnN0cnVj dGlvbiBwb2ludGVyICAgICA9IDB4ODoweGMwMjcxNGE5DQpzdGFjayBwb2lu dGVyICAgICAgICAgICA9IDB4MTA6MHhkNWQzZWNmNA0KZnJhbWUgcG9pbnRl ciAgICAgICAgICAgPSAweDEwOjB4ZDVkM2VjZjgNCmNvZGUgc2VnbWVudCAg ICAgICAgICAgID0gYmFzZSAweDAsIGxpbWl0IDB4ZmZmZmYsIHR5cGUgMHgx Yg0KICAgICAgICAgICAgICAgICAgICAgICAgPSBEUEwgMCwgcHJlcyAxLCBk ZWYzMiAxLCBncmFuIDENCnByb2Nlc3NvciBlZmxhZ3MgICAgICAgID0gaW50 ZXJydXB0IGVuYWJsZWQsIHJlc3VtZSwgSU9QTCA9IDANCmN1cnJlbnQgcHJv Y2VzcyAgICAgICAgID0gMzQ0MTEgKHRhcikNCmludGVycnVwdCBtYXNrICAg ICAgICAgID0gbmV0IHR0eSBiaW8gY2FtDQp0cmFwIG51bWJlciAgICAgICAg ICAgICA9IDEyDQpwYW5pYzogcGFnZSBmYXVsdA0KDQpzeW5jaW5nIGRpc2tz Li4uIDY2IDY2IDY2IDY2IDY2IDY2IDY2IDY2IDY2IDY2IDY2IDY2IDY2IDY2 IDY2IDY2IDY2IDY2IDY2IDY2DQpnaXZpbmcgdXAgb24gNjUgYnVmZmVycw0K VXB0aW1lOiAyaDExbTEycw0KQXV0b21hdGljIHJlYm9vdCBpbiAxNSBzZWNv bmRzIC0gcHJlc3MgYSBrZXkgb24gdGhlIGNvbnNvbGUgdG8gYWJvcnQNClJl Ym9vdGluZy4uLg0K --0-1983254475-1062106469=:73827-- From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 15:35:24 2003 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 378D416A4BF for ; Thu, 28 Aug 2003 15:35:24 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B48343FF7 for ; Thu, 28 Aug 2003 15:35:23 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Aug 2003 18:35:22 -0400 Message-ID: From: Don Bowman To: "'freebsd-hackers@freebsd.org'" Date: Thu, 28 Aug 2003 18:35:20 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: non reliable nmi 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, 28 Aug 2003 22:35:24 -0000 I have machdep.ddb_on_nmi=1. I can drop into the debugger with the magic key sequence. However, when i hit the NMI jumper, i don't always go there. Sometimes I do. The system is 4-way SMP [2xHTT xeon processors] with 4.7. Any suggestion on where my NMI might be going? From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 17:00:39 2003 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 B498D16A4BF for ; Thu, 28 Aug 2003 17:00:39 -0700 (PDT) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B39C43FAF for ; Thu, 28 Aug 2003 17:00:38 -0700 (PDT) (envelope-from dan@obluda.cz) Received: from obluda.cz (gprs5-166.eurotel.cz [160.218.176.166]) by smtp-out3.iol.cz (Internet on Line ESMP server) with ESMTP id 560BD341E8; Fri, 29 Aug 2003 02:00:32 +0200 (CEST) Message-ID: <3F4E9798.7020006@obluda.cz> Date: Fri, 29 Aug 2003 02:00:24 +0200 From: Dan Lukes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: cs, sk, en MIME-Version: 1.0 To: Mikulas Patocka References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Bug FreeBSD 4.8 ATA driver 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: Fri, 29 Aug 2003 00:00:39 -0000 Mikulas Patocka wrote: >>>I am reading FreeBSD ATA drivers because I want to use them as base for my >>>ATA driver and I found a total nonsence: in ata-dma.c in FreeBSD 4.8, >>>there is line >>> >>>if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<8))&0x4000)) { >> Hm, it should be (IMHO) >>if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<5))&0x4000)) > > > That is incorrect too --- if ch->unit is 1, ch->unit<<5 is 32 and you > can't shift 32-bit integer by 32 bits. My mistake. Configuration double-word at offset 64 (decimal) contain two word - one per unit. So, correct access to each word is if (!((pci_read_config(parent,0x40,4)>>(ch->unit<<4))&0x4000)) My theory about source of error ('8' key just above '5') is void, of course. >> A smel bych, uz asi mimo konferenci, vedet, proc si pises vlastni ATA >>ovladac ? > No, zatim to neni moc verejny projekt. OK. Ja jen, ze se pred nekolika malo lety na MFF obhajoval projekt OS kde take meli vlastni ATA ovladace (a psal jsem je do znacne miry ja) - tak me jen tak napadlo, ze uz se zase pise nejaky podobny projekt nebo diplomka. Sincerely Dan From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 28 18:39:51 2003 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 88A3716A4BF for ; Thu, 28 Aug 2003 18:39:51 -0700 (PDT) Received: from web41903.mail.yahoo.com (web41903.mail.yahoo.com [66.218.93.154]) by mx1.FreeBSD.org (Postfix) with SMTP id EEA8F43FFB for ; Thu, 28 Aug 2003 18:39:50 -0700 (PDT) (envelope-from patrick_dkt@yahoo.com.hk) Message-ID: <20030829013950.37732.qmail@web41903.mail.yahoo.com> Received: from [210.0.207.157] by web41903.mail.yahoo.com via HTTP; Fri, 29 Aug 2003 09:39:50 CST Date: Fri, 29 Aug 2003 09:39:50 +0800 (CST) From: =?big5?q?Kai=20Tai=20Dung?= To: freebsd-hackers@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 28 Aug 2003 18:49:49 -0700 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Call for thread testers 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: Fri, 29 Aug 2003 01:39:51 -0000 Hi, I am using a Dual PIII PC with a 3ware Raid Card. I have cvsup yesterday, install buildworld and tried both the 4BSD/ULE scheduler. I have installed these packages that I have compiled in an FreeBSD 5.1 release machine: XFree86 4.3 KDE 3.1.3/Konq Mozilla 1.4 Openoffice xmms While changing with the /etc/libmap.conf, the above programs works with libkse/libthr and operate correctly, except that it will hang when i run glxgears &. It just hang, no kernel panic. I use 8500+DRM, and glxgears work fine in FreeBSD 5.1 release. While testing, I did not notice significant boost in speed compared with FBSD 4.x/5.1. Later, I will test the jdk1.3.1, 1.4 (with or without native thread) and atapicam + recent merge of ATAng. Patrick ˛Ä¤GĄ@(ÁÂľ^ľW)ˇA˛ßşDĄ˘ĹĘ(®eŻŞ¨ŕ)ˇAĄS©f(łŻ«ł¨ł)... Yahoo! ąaÁn¤U¸ü From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 02:54:47 2003 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 F22E816A4BF for ; Fri, 29 Aug 2003 02:54:47 -0700 (PDT) Received: from mail.renet.ru (mail.renet.ru [195.161.130.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0830943F93 for ; Fri, 29 Aug 2003 02:54:46 -0700 (PDT) (envelope-from vys@renet.ru) Received: from renet.ru (fox.renet.ru [195.161.130.4]) by mail.renet.ru (8.12.6/8.12.9) with ESMTP id h7T9sgKS072347 for ; Fri, 29 Aug 2003 13:54:42 +0400 (MSD) Message-ID: <3F4F22DD.80202@renet.ru> Date: Fri, 29 Aug 2003 13:54:37 +0400 From: "Vladimir Yu. Stepanov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5a) Gecko/20030826 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Bug FreeBSD BPF driver 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: Fri, 29 Aug 2003 09:54:48 -0000 Hello ! In file sys/net/bpf.c CVS revision 1.95 introduce a error. It is wrong if a program use not default setting flag BIOCGSEESENT. Locally generated packet may be copy in user space if flag BIOCGSEESENT set to one. http://vys.renet.ru/patchs/freebsd-5.1-bpf-1.2.patch This patch required to allow more effective usage of BPF filter. It marks every packet as "Incoming" or "Outgoing", in dependence of its direction (for given interface). Then, software which uses BPF filter can skip additional checking. After applying the patch, BPF filter interface still compatible with old software, but BPF_MINOR_VERSION has been changed. The structures bpf_hdr and related C code have been changed: - added field 'bh_flags' in 'bpf_hdr' structure with the following values: * BPF_DIRECT_INCOMING (0x4000) * BPF_DIRECT_OUTGOING (0x8000) this numbers (0x4000,0x8000) select for future export flags M_BCAST and M_MCAST in user space. - removed SIZEOF_BPF_HDR as not necessary. -- SY. Vladimir Yu. Stepanov From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 03:03:39 2003 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 1A20016A4C0 for ; Fri, 29 Aug 2003 03:03:39 -0700 (PDT) Received: from cicero1.cybercity.dk (cicero1.cybercity.dk [212.242.40.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBA6143FEA for ; Fri, 29 Aug 2003 03:03:37 -0700 (PDT) (envelope-from db@traceroute.dk) Received: from user1.cybercity.dk (fxp0.user1.ip.cybercity.dk [212.242.41.34]) by cicero1.cybercity.dk (Postfix) with ESMTP id DBDA87E3195 for ; Fri, 29 Aug 2003 12:03:35 +0200 (CEST) Received: from main (port132.ds1-arsy.adsl.cybercity.dk [212.242.239.73]) by user1.cybercity.dk (Postfix) with SMTP id DB95D68B2C for ; Fri, 29 Aug 2003 12:03:34 +0200 (CEST) Date: Fri, 29 Aug 2003 12:04:16 +0200 From: Socketd To: hackers@freebsd.org Message-Id: <20030829120416.37759de2.db@traceroute.dk> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: ipfw newbie 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: Fri, 29 Aug 2003 10:03:39 -0000 Hi I am setting up a gateway for a friend and he want it to firewall and traffic shape. The network: Router (running NAT and PPP) |(192.168.1.1) |(no ip) Gateway (FreeBSD 5.1, ipfw + dummynet and DHCP to the LAN) |(192.168.2.1 to the LAN and 192.168.3.1 to the DMZ) |\ | \ | DMZ(192.168.3.0/24) LAN (192.168.2.0/24) I have been asking around wether I should NAT the DMZ. People had different opinions on that and I chose to NAT it. Now what I want is: Allow all traffic _from_ LAN and DMZ and out. Also allow all traffic between the two. DMZ traffic should have 100 times the weight of LAN traffic. So I was thinking if this maybe right? (I can't test the firewall before returning it, so the configuration have to be correct): //Give DMZ 100 times more weight than LAN pipe 10 config bw 512Kbit/s pipe 20 config bw 2Mbit/s add pipe 10 ip from any to any out add pipe 20 ip from any to any in queue 100 config pipe 10 weight 100 queue 200 config pipe 20 weight 100 queue 300 config pipe 10 weight 1 queue 400 config pipe 20 weight 1 //rl1 is the NIC to the router (rl0 = LAN, de0 = DMZ) add queue 100 ip from 192.168.3.0/24 to any out via rl1 add queue 200 ip from any to 192.168.3.0/24 in via rl1 add queue 300 ip from 192.168.2.0/24 to any out via rl1 add queue 400 ip from any to 192.168.2.0/24 in via rl1 //Allow all traffic _from_ LAN and DMZ add allow all from 192.168.0.0/255.255.0.0 to any //Here I will specify what traffic to allow to the DMZ //And I want this at the end: deny all from any to any And then set net.inet.ip.fw.one_pass: 0 Is this about right? And is it "normal" to place the firewalling rules after the pipes? Hope someone will help. br socketd ps: I think "lockdown" will be ready for wide testing by next weekend! From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 06:40:56 2003 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 AE76F16A4BF for ; Fri, 29 Aug 2003 06:40:56 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-253.dsl.lsan03.pacbell.net [64.169.107.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id E33D943F75 for ; Fri, 29 Aug 2003 06:40:55 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 932E566B04; Fri, 29 Aug 2003 06:40:55 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 374D65A9; Fri, 29 Aug 2003 06:40:55 -0700 (PDT) Date: Fri, 29 Aug 2003 06:40:54 -0700 From: Kris Kennaway To: Marc Ramirez Message-ID: <20030829134054.GA29499@rot13.obsecurity.org> References: <20030828171635.C73827@www.bluecirclesoft.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20030828171635.C73827@www.bluecirclesoft.com> User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org Subject: Re: FYI - Just got a kernel panic - RELENG_4 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: Fri, 29 Aug 2003 13:40:56 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 28, 2003 at 05:34:29PM -0400, Marc Ramirez wrote: >=20 > supped as of ~ 1:40pm EST today >=20 > The panic: >=20 > Fatal trap 12: page fault while in kernel mode This is probably hardware-related, but it's possible it may be due to a kernel problem. As a first step, you need to try and get a gdb traceback with debugging symbols as explained in the developer's handbook on the website. Kris --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/T1fmWry0BWjoQKURAj0aAJ9C7quvo1wAak6MazB11KlC0BvTMQCfde5S 3VYXtxAAF5KCOfxGRJUUG5k= =iRE9 -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM-- From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 07:38:21 2003 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 D444D16A4BF for ; Fri, 29 Aug 2003 07:38:21 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id D91EA43FE0 for ; Fri, 29 Aug 2003 07:38:20 -0700 (PDT) (envelope-from kutulu@kutulu.org) Received: from wombat.localnet (wombat.localnet [192.168.69.3]) by basement.kutulu.org (Postfix) with ESMTP id 201E1A9E4 for ; Fri, 29 Aug 2003 10:38:37 -0400 (EDT) Received: by wombat.localnet (Postfix, from userid 1001) id 8CEA3B82C; Fri, 29 Aug 2003 10:34:16 -0400 (EDT) Date: Fri, 29 Aug 2003 10:34:16 -0400 From: Michael Edenfield To: freebsd-hackers@freebsd.org Message-ID: <20030829143416.GA88192@wombat.localnet> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20030829013950.37732.qmail@web41903.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <20030829013950.37732.qmail@web41903.mail.yahoo.com> X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F User-Agent: Mutt/1.5.4i Subject: Re: Call for thread testers 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: Fri, 29 Aug 2003 14:38:21 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm currently running several -CURRENT systems with libc_r mapped to libthr via libmap.conf. One is running postfix and BIND8 (I'm planning to upgrade to 9 this weekend). The other's running KDE but has GNOME installed as well. I'd be happy to do performance testing with the various thread libraries. Are there any good benchmarks for mail/dns/http in the ports collection? The machine is low-end (Celeron/333) so any performance differences will likely show up clearly :) As far as the desktop applications go, I'm rebuilding KDE to fix the konsole bug causing problems with libthr et al. Otherwise I haven't had any compatibility issues with any of the applications. I'll start hitting GNOME as well to see if anything gives me problems. --Mike --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/T2RnCczNhKRsh48RApdnAJ4mHMvLTo7K1ni4OOA7mMMprg6CKACgyE+g tx6o6XFOftlQKePFZD6LTaI= =MpKU -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 08:42:22 2003 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 CEF7916A4C0; Fri, 29 Aug 2003 08:42:22 -0700 (PDT) Received: from vsmtp4.tin.it (vsmtp4.tin.it [212.216.176.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7B8D43FF7; Fri, 29 Aug 2003 08:42:21 -0700 (PDT) (envelope-from flag@tin.it) Received: from newluxor.skynet.org (80.182.24.252) by vsmtp4.tin.it (7.0.019) id 3F4F1F510001F9C6; Fri, 29 Aug 2003 17:42:19 +0200 Received: by newluxor.skynet.org (Postfix, from userid 1002) id 9FF3C488; Fri, 29 Aug 2003 17:44:01 +0200 (CEST) Date: Fri, 29 Aug 2003 17:44:01 +0200 From: Paolo Pisati To: FreeBSD_Hackers Message-ID: <20030829154401.GA417@newluxor.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD newluxor.skynet.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE cc: FreeBSD_Net Subject: Ngctl hangs while it tries to connect to my netgraph node 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: Fri, 29 Aug 2003 15:42:23 -0000 [cc: net cause it belongs there even] This is my situation now: [root@newluxor n_dimensions]# ngctl msg classifier_mast: stop ^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C and this is ps axl: 0 416 203 0 -20 0 900 440 netgra D+ v1 0:00.01 ngctl msg cl and if i try to kill it: [root@newluxor flag]# kill 416 [root@newluxor flag]# kill 416 [root@newluxor flag]# kill 416 [root@newluxor flag]# kill -9 416 [root@newluxor flag]# kill -9 416 [root@newluxor flag]# kill -9 416 [root@newluxor flag]# kill -9 416 [root@newluxor flag]# kill -9 416 [snip] 0 416 203 0 -20 0 900 440 netgra D+ v1 0:00.01 ngctl msg cl still here, nothing seems to disturb it. Any idea is welcome. [root@newluxor flag]# uname -a FreeBSD newluxor.skynet.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #13: Tue Aug 26 11:20:20 CEST 2003 flag@newluxor.skynet.org:/usr/obj/usr/src/sys/NEWLUXOR i386 -- Paolo GUFI: http://www.gufi.org From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 11:37:41 2003 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 66C1516A4C0 for ; Fri, 29 Aug 2003 11:37:41 -0700 (PDT) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3438543FF7 for ; Fri, 29 Aug 2003 11:37:40 -0700 (PDT) (envelope-from omestre@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:omestre@sdf.lonestar.org [192.94.73.1]) by sdf.lonestar.org (8.12.9/8.12.8) with ESMTP id h7TIbcN7010223 for ; Fri, 29 Aug 2003 18:37:38 GMT Received: (from omestre@localhost) by sdf.lonestar.org (8.12.9/8.12.8/Submit) id h7TIbcfM008120; Fri, 29 Aug 2003 18:37:38 GMT Date: Fri, 29 Aug 2003 18:37:38 +0000 (UTC) From: omestre X-X-Sender: To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: kernel 4.7 x filesystem 4.5 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: Fri, 29 Aug 2003 18:37:41 -0000 Hello, I have a FreeBSD web server (diskless), running a 4.7 kernel and with a 4.5 filesystem. In Linux environment, the kernel and user-land programs do not fight. Well, i'm having problems, with 15 our 20 days of uptime the system becomes very slow... and the *reboot* put everything in the place again... Do you know (tecnically) about problems with my configurations (kernel and fs), or what can be doing this strange behavior? Thanks, and sorry by the english.. omestre@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 11:53:30 2003 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 584E816A4BF for ; Fri, 29 Aug 2003 11:53:30 -0700 (PDT) Received: from mail.advantagecom.net (mail.advantagecom.net [65.103.151.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28ABD43FB1 for ; Fri, 29 Aug 2003 11:53:29 -0700 (PDT) (envelope-from andykinney@advantagecom.net) Received: from SCSI-MONSTER (scsi-monster.advantagecom.net [207.109.186.200]) by mail.advantagecom.net (8.11.6/8.11.6) with ESMTP id h7TIrQu25407; Fri, 29 Aug 2003 11:53:26 -0700 From: "Andrew Kinney" Organization: Advantagecom Networks, Inc. To: Marc Ramirez Date: Fri, 29 Aug 2003 11:52:16 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Message-ID: <3F4F3E70.29375.29FAE516@localhost> Priority: normal In-reply-to: <20030828171635.C73827@www.bluecirclesoft.com> X-mailer: Pegasus Mail for Win32 (v3.12c) cc: hackers@freebsd.org Subject: Re: FYI - Just got a kernel panic - RELENG_4 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: andykinney@advantagecom.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2003 18:53:30 -0000 On 28 Aug 2003, at 17:34, Marc Ramirez wrote: > c0271430 T vm_page_remove > c02714f8 T vm_page_lookup Your fault address is between those two, so it happened sometime after you entered vm_page_remove. This particular failure is often related to running out of KVM/KVA space (or hardware problems as someone else mentioned), but without a backtrace it's tough to tell for sure. We had this problem on one of our machines and recently another fellow had this same problem. If you're able to duplicate the panic reliably, then it's likely a KVM/KVA shortage that you'd fix by rebuilding your kernel with a larger KVA_PAGES value (see LINT). If this fixes it for you, please be sure to respond to the list with news of your success so that others searching for this problem and a solution are able to do so. If the fault address is variable and the panic is not consistently reproduceable, then hardware problems are more likely. In many cases with random panics related to memory allocation or deallocation, bad RAM is the culprit, but sometimes it can be a heat issue or a semi-fried CPU that randomly flips bits. Hope that helps. Sincerely, Andrew Kinney President and Chief Technology Officer Advantagecom Networks, Inc. http://www.advantagecom.net From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 14:37:57 2003 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 E712C16A4BF for ; Fri, 29 Aug 2003 14:37:57 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-253.dsl.lsan03.pacbell.net [64.169.107.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15BA743FD7 for ; Fri, 29 Aug 2003 14:37:57 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id B12CA66B04; Fri, 29 Aug 2003 14:37:56 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id A865AA3E; Fri, 29 Aug 2003 14:37:56 -0700 (PDT) Date: Fri, 29 Aug 2003 14:37:56 -0700 From: Kris Kennaway To: omestre Message-ID: <20030829213756.GA31874@rot13.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org Subject: Re: kernel 4.7 x filesystem 4.5 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: Fri, 29 Aug 2003 21:37:58 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 29, 2003 at 06:37:38PM +0000, omestre wrote: >=20 > Hello, > I have a FreeBSD web server (diskless), running a 4.7 kernel > and with a 4.5 filesystem. In Linux environment, the kernel and user-land > programs do not fight. In FreeBSD you can't do this. FreeBSD is a complete system, not a separate userland and kernel, and the userland assumes knowledge of the kernel interfaces and structures. Kris --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/T8e0Wry0BWjoQKURAqPLAKDPrULKYxG9IXEA/s0vKqykP8KMhQCgiJOj IOuvXxQJHd8vJgw3NZwcGPQ= =8wcV -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 15:17:22 2003 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 4CFDD16A4BF for ; Fri, 29 Aug 2003 15:17:22 -0700 (PDT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE77A43FBF for ; Fri, 29 Aug 2003 15:17:20 -0700 (PDT) (envelope-from pav@oook.cz) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.12.9/8.12.9) with ESMTP id h7TMHIXd008442 for ; Sat, 30 Aug 2003 00:17:18 +0200 (CEST) (envelope-from pav@oook.cz) Received: (from pav@localhost) by hood.oook.cz (8.12.9/8.12.9/Submit) id h7TMHIe6008441 for hackers@freebsd.org; Sat, 30 Aug 2003 00:17:18 +0200 (CEST) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@oook.cz using -f From: Pav Lucistnik To: hackers@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1062195438.641.18.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 30 Aug 2003 00:17:18 +0200 Subject: gcc weirdness 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: Fri, 29 Aug 2003 22:17:22 -0000 What am I missing here? Let we have a function called popup(). Inside this function there is this code: list = get_children(ds, x, TYPE_ELEMENT); gdb shows these values: (gdb) print ds $46 = (Type *) 0x1 (gdb) print x $47 = 0x86adb80 So far, everything is fine. Now, let step down one frame in gdb: (gdb) down #5 0x0808b807 in get_children(ds=0x86adb80, node=0x1, tag_type=TYPE_E... In the source, there is a GList* get_children (Type* ds, PtrNode node, enum Types tag_type) { Do you see ds and node values swapped? The program crashes because of this swapping. What is wrong? I use gcc-3.3.1 on today's -CURRENT. -- Pav Lucistnik What do we know about love? Love is like a pear. Pear is sweet and have a specific shape. Try to exactly define the shape of a pear. -- Marigold: 50 Years Of Poetry From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 16:46:37 2003 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 C624D16A4BF for ; Fri, 29 Aug 2003 16:46:37 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA3B243FDD for ; Fri, 29 Aug 2003 16:46:36 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h7TNkZsE070326; Fri, 29 Aug 2003 16:46:36 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F4FE60B.1050002@acm.org> Date: Fri, 29 Aug 2003 16:47:23 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pav Lucistnik References: <1062195438.641.18.camel@hood.oook.cz> In-Reply-To: <1062195438.641.18.camel@hood.oook.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: gcc weirdness 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: Fri, 29 Aug 2003 23:46:37 -0000 Pav Lucistnik wrote: > What am I missing here? > > Let we have a function called popup(). Inside this function there is > this code: > > list = get_children(ds, x, TYPE_ELEMENT); > > gdb shows these values: > > (gdb) print ds > $46 = (Type *) 0x1 > > (gdb) print x > $47 = 0x86adb80 > > So far, everything is fine. Now, let step down one frame in gdb: > > (gdb) down > #5 0x0808b807 in get_children(ds=0x86adb80, node=0x1, tag_type=TYPE_E... > > In the source, there is a > > GList* get_children (Type* ds, PtrNode node, enum Types tag_type) { > > Do you see ds and node values swapped? The program crashes because of > this swapping. What is wrong? I use gcc-3.3.1 on today's -CURRENT. > First, try putting printf() statements at the beginning of get_children and just before the corresponding call to see if that's really what's going on. I presume you're seeing this while debugging a core dump after a crash? The crash may have mangled the stack, in which case, gdb may not be correctly identifying the function arguments. Tim From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 17:02:39 2003 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 789BA16A4C2 for ; Fri, 29 Aug 2003 17:02:39 -0700 (PDT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA20743FDF for ; Fri, 29 Aug 2003 17:02:36 -0700 (PDT) (envelope-from pav@oook.cz) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.12.9/8.12.9) with ESMTP id h7U02WXd009417; Sat, 30 Aug 2003 02:02:33 +0200 (CEST) (envelope-from pav@oook.cz) Received: (from pav@localhost) by hood.oook.cz (8.12.9/8.12.9/Submit) id h7U02WfJ009416; Sat, 30 Aug 2003 02:02:32 +0200 (CEST) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@oook.cz using -f From: Pav Lucistnik To: kientzle@acm.org In-Reply-To: <3F4FE60B.1050002@acm.org> References: <1062195438.641.18.camel@hood.oook.cz> <3F4FE60B.1050002@acm.org> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Message-Id: <1062201750.641.21.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 30 Aug 2003 02:02:31 +0200 cc: hackers@freebsd.org Subject: Re: gcc weirdness 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: Sat, 30 Aug 2003 00:02:39 -0000 V so, 30. 08. 2003 v 01:47, Tim Kientzle p=ED=B9e: > > What am I missing here? > >=20 > > Let we have a function called popup(). Inside this function there is > > this code: > >=20 > > list =3D get_children(ds, x, TYPE_ELEMENT); > >=20 > > gdb shows these values: > >=20 > > (gdb) print ds > > $46 =3D (Type *) 0x1 > >=20 > > (gdb) print x > > $47 =3D 0x86adb80 > >=20 > > So far, everything is fine. Now, let step down one frame in gdb: > >=20 > > (gdb) down > > #5 0x0808b807 in get_children(ds=3D0x86adb80, node=3D0x1, tag_type=3DTY= PE_E... > >=20 > > In the source, there is a > >=20 > > GList* get_children (Type* ds, PtrNode node, enum Types tag_type) { > >=20 > > Do you see ds and node values swapped? The program crashes because of > > this swapping. What is wrong? I use gcc-3.3.1 on today's -CURRENT. > First, try putting printf() statements at the beginning of > get_children and just before the corresponding call to see > if that's really what's going on. Yes, printf gives out same (correct) values. And, now it crashes in different part of get_children. > I presume you're seeing this while debugging a core dump after > a crash? The crash may have mangled the stack, in which case, > gdb may not be correctly identifying the function arguments. So it is a memory corruption? Is there a good way how to debug such bugs? Thanks for help so far. --=20 Pav Lucistnik What do we know about love? Love is like a pear. Pear is sweet and have a specific shape. Try to exactly define the shape of a pear. -- Marigold: 50 Years Of Poetry From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 17:25:44 2003 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 844F716A4BF for ; Fri, 29 Aug 2003 17:25:44 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2CEA43FBF for ; Fri, 29 Aug 2003 17:25:43 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h7U0PhsE070466; Fri, 29 Aug 2003 17:25:43 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F4FEF37.7070303@acm.org> Date: Fri, 29 Aug 2003 17:26:31 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pav Lucistnik References: <1062195438.641.18.camel@hood.oook.cz> <3F4FE60B.1050002@acm.org> <1062201750.641.21.camel@hood.oook.cz> In-Reply-To: <1062201750.641.21.camel@hood.oook.cz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit cc: hackers@freebsd.org Subject: Re: gcc weirdness 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: Sat, 30 Aug 2003 00:25:44 -0000 Pav Lucistnik wrote: > V so, 30. 08. 2003 v 01:47, Tim Kientzle píše: > > >>>What am I missing here? >>> >>>Let we have a function called popup(). Inside this function there is >>>this code: >>> >>>list = get_children(ds, x, TYPE_ELEMENT); >>> >>>gdb shows these values: >>> >>>(gdb) print ds >>>$46 = (Type *) 0x1 >>> >>>(gdb) print x >>>$47 = 0x86adb80 >>> >>>So far, everything is fine. Now, let step down one frame in gdb: >>> >>>(gdb) down >>>#5 0x0808b807 in get_children(ds=0x86adb80, node=0x1, tag_type=TYPE_E... >>> >>>In the source, there is a >>> >>>GList* get_children (Type* ds, PtrNode node, enum Types tag_type) { >>> >>>Do you see ds and node values swapped? The program crashes because of >>>this swapping. What is wrong? I use gcc-3.3.1 on today's -CURRENT. > > >>First, try putting printf() statements at the beginning of >>get_children and just before the corresponding call to see >>if that's really what's going on. > > > Yes, printf gives out same (correct) values. And, now it crashes in > different part of get_children. > > >>I presume you're seeing this while debugging a core dump after >>a crash? The crash may have mangled the stack, in which case, >>gdb may not be correctly identifying the function arguments. > > > So it is a memory corruption? Is there a good way how to debug such bugs? > > Thanks for help so far. > You have an error in your program. Run the program under gdb and step carefully through get_children to try to figure out what is wrong. Tim From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 19:56:46 2003 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 557D616A4BF for ; Fri, 29 Aug 2003 19:56:46 -0700 (PDT) Received: from web41408.mail.yahoo.com (web41408.mail.yahoo.com [66.218.93.74]) by mx1.FreeBSD.org (Postfix) with SMTP id D0C9D43FEA for ; Fri, 29 Aug 2003 19:56:45 -0700 (PDT) (envelope-from zera_holladay@yahoo.com) Message-ID: <20030830025645.37066.qmail@web41408.mail.yahoo.com> Received: from [65.43.108.174] by web41408.mail.yahoo.com via HTTP; Fri, 29 Aug 2003 19:56:45 PDT Date: Fri, 29 Aug 2003 19:56:45 -0700 (PDT) From: zera holladay To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Shared memory question 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: Sat, 30 Aug 2003 02:56:46 -0000 When one uses the term "shared memory" while discussing Unix, then what is generally the meaning of that term? I have read that some Unixes have "shared memory" for "shared objects." However, I believe the term "shared memory" more generically refers to user space as opposed to kernel space? Further, the kernel should allocate and deallocate memory for user space as requested so as not to crash the system. If this is correct, then it is very unlikely that a program running in user space will ever crash a properly configured unix system? Thank you for your patience. Zera __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 20:31:02 2003 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 6960816A4BF for ; Fri, 29 Aug 2003 20:31:02 -0700 (PDT) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85A8C44003 for ; Fri, 29 Aug 2003 20:31:01 -0700 (PDT) (envelope-from vlm@netli.com) Received: (qmail 12326 invoked by uid 84); 30 Aug 2003 03:31:01 -0000 Received: from vlm@netli.com by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.152333 secs); 30 Aug 2003 03:31:01 -0000 Received: from unknown (HELO netli.com) (172.17.1.12) by mx01-pal-lan.netli.lan with SMTP; 30 Aug 2003 03:31:00 -0000 Message-ID: <3F501A86.4010805@netli.com> Date: Fri, 29 Aug 2003 20:31:18 -0700 From: Lev Walkin Organization: Netli, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030820 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: zera holladay References: <20030830025645.37066.qmail@web41408.mail.yahoo.com> In-Reply-To: <20030830025645.37066.qmail@web41408.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: Shared memory question 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: Sat, 30 Aug 2003 03:31:02 -0000 zera holladay wrote: > When one uses the term "shared memory" while > discussing Unix, then what is generally the meaning of > that term? I have read that some Unixes have "shared > memory" for "shared objects." > > However, I believe the term "shared memory" more > generically refers to user space as opposed to kernel > space? Further, the kernel should allocate and > deallocate memory for user space as requested so as > not to crash the system. If this is correct, then it > is very unlikely that a program running in user space > will ever crash a properly configured unix system? Shared memory is just a chunk of memory which may be created by one program and attached to (by) many other programs. Yes, the management (allocation and deallocation) of shared memory chunks are done in kernel. User space applications have to use shmget(2), shmat(2), shmdt(2) system calls to obtain, attach and release the chunk of shared memory. When the memory is attached by several processes, the pages of memory are physically the same, so any change made by one of the participating programs immediately becomes visible by others. If user space program crashes, kernel detaches the shared memory from this particular program, but it still remains available for any other program that is using this shared memory segment. The problem lies in the different space: if the the program has high privileges and does not properly handle shared memory permissions, than it is possible for some other program to maliciously modify the data in that shared memory segment to somehow affect program's behavior, up to executing arbitrary programs with enhanced privileges, and so on. So, it is possible that some damage to the system can be done through exploiting unsafely coded process with too much privileges, which could result in a crash of a properly configured unix system. "Shared objects", most certainly, were used to refer to shared libraries (roughly corresponding to .DLL files in Windows). If many programs use the same shared libraries, than it is wise to share their code to not to waste [virtual] memory. To solve this problem, certain regions of library code is mapped into the memory and shared between many applications. Of course in this case permissions are set appropriately to not to allow arbitrary program to change the shared portion of the library (alternatively, any change will result in a copy-on-write, and only the program itsel will see the changed portion). > Thank you for your patience. > > Zera -- Lev Walkin vlm@netli.com From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 03:56:33 2003 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 2967116A4BF; Sat, 30 Aug 2003 03:56:33 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67A6D43FEC; Sat, 30 Aug 2003 03:56:32 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23](untrusted sender)) by comcast.net (sccrmhc11) with SMTP id <20030830105631011008p00ee>; Sat, 30 Aug 2003 10:56:31 +0000 Date: Sat, 30 Aug 2003 03:56:30 -0700 (PDT) From: Doug Barton To: Scott Long In-Reply-To: <3F4CD6C8.7010103@freebsd.org> Message-ID: <20030830033142.F15016@znfgre.qbhto.arg> References: <3F4CD6C8.7010103@freebsd.org> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: Call for thread testers 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: Sat, 30 Aug 2003 10:56:33 -0000 On Wed, 27 Aug 2003, Scott Long wrote: > All, > > This is kind of an unconventional call for help. As we approach the > release of 5.2, we'd really like to show off the performance and > stability of our new threading packages. So, I'm looking for people > to volunteer to go out and put some of the thread-capable enterprise > and desktop packages to the test. Packages that I would most like > to see are: > > BIND 9 9.2.2 probably not a good test case, I'd suggest trying ftp://ftp.isc.org/isc/bind9/9.2.3rc1/bind-9.2.3rc1.tar.gz instead. Doug -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 04:52:25 2003 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 ADD5E16A4BF; Sat, 30 Aug 2003 04:52:25 -0700 (PDT) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2701D44003; Sat, 30 Aug 2003 04:52:24 -0700 (PDT) (envelope-from walter@pelissero.de) Received: from daemon.home.loc (62.246.14.176) by webmail.tiscali.de (6.7.019) id 3F2FB429006EE5CC; Sat, 30 Aug 2003 13:52:22 +0200 Received: from hyde.home.loc (hyde.home.loc [10.0.0.2]) by daemon.home.loc (8.12.9/8.12.8) with ESMTP id h7UBpV05000568; Sat, 30 Aug 2003 13:51:31 +0200 (CEST) (envelope-from wcp@hyde.home.loc) Received: from hyde.home.loc (localhost [127.0.0.1]) by hyde.home.loc (8.12.9/8.12.8) with ESMTP id h7UBpSMA001330; Sat, 30 Aug 2003 13:51:28 +0200 (CEST) (envelope-from wcp@hyde.home.loc) Received: (from wcp@localhost) by hyde.home.loc (8.12.9/8.12.6/Submit) id h7UBpS5r001327; Sat, 30 Aug 2003 13:51:28 +0200 (CEST) (envelope-from wcp) Message-ID: <16208.36799.970894.848331@hyde.home.loc> Date: Sat, 30 Aug 2003 13:51:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: "Walter C. Pelissero" To: questions@freebsd.org, hackers@freebsd.org X-Mailer: VM 7.16 under Emacs 21.3.50.2 X-Attribution: WP Subject: USB -> PS/2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: walter@pelissero.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2003 11:52:25 -0000 I just bought a USB -> PS/2 keyboard and mouse converter for my laptop. It's a Sitecom brand and it gets recognised as MCT Corp. addr 1: UHCI root hub, Intel addr 2: Generic USB Hub, ALCOR addr 4: HID-compliant Mouse (USB), Mitsumi addr 3: PS/2 - USB Interface Adaptor, MCT Corp. Although the keyboard works, the mouse doesn't. I tried to plug two types of mice (a Micro$oft 2 buttons and a Trust 3 buttons) but both, while generating traffic on the USB bus (the converter LED blinks), don't move the pointer. This is the usbd log: uhub1: ALCOR Generic USB Hub, class 9/0, rev 1.10/3.12, addr 2 uhub1: 4 ports with 4 removable, bus powered ums0: Mitsumi HID-compliant Mouse (USB), rev 1.00/1.10, addr 3, iclass 3/1 ums0: 2 buttons ukbd0: MCT Corp. PS/2 - USB Interface Adaptor, rev 1.10/1.00, addr 4, iclass 3/1 kbd1 at ukbd0 ums1: MCT Corp. PS/2 - USB Interface Adaptor, rev 1.10/1.00, addr 4, iclass 3/1 ums1: 3 buttons and Z dir. Moused is there: 179 ?? Ss 0:05.83 /usr/sbin/moused -3 -p /dev/ums0 -I /var/run/moused.ums0.pid 209 ?? Ss 0:05.57 moused -3 -p /dev/psm0 -t auto 237 ?? Is 0:00.01 /usr/sbin/moused -p /dev/jogdial -t jogdial 370 ?? Ss 0:10.21 /usr/sbin/moused -3 -p /dev/ums1 -I /var/run/moused.ums1.pid (The PS/2 mouse is either the first or the last one.) This is on a FreeBSD 4.9-PRERELASE. On Windoze the converter works out of the box, with keyboard and mouse, without additional drivers. Does anybody know how to make the PS/2 mouse work? BTW, usbd, as it is, is not suitable to handle devices like this PS/2 adapter because it matches and executes only one entry in the usbd.conf. USB devices implementing multiple features are in my humble opinion better handled matching multiple entries in usbd.conf. Below I attached a patch to usbd.c to change this behaviour (hence the crossposting to the hackers list). Cheers, -- walter pelissero http://www.pelissero.de --- /usr/src/usr.sbin/usbd/usbd.c Tue Dec 31 10:05:27 2002 +++ usbd.c Sat Aug 30 13:43:23 2003 @@ -102,6 +102,7 @@ int lineno; int verbose = 0; /* print message on what it is doing */ +int single_action = 0; typedef struct event_name_s { int type; /* event number (from usb.h) */ @@ -204,8 +205,7 @@ void print_event __P((struct usb_event *event)); void print_action __P((action_t *action, int i)); void print_actions __P((void)); -int find_action __P((struct usb_device_info *devinfo, - action_match_t *action_match)); +void execute_command __P((char *cmd)); void @@ -697,9 +697,8 @@ return(-1); } - -int -find_action(struct usb_device_info *devinfo, action_match_t *action_match) +void +execute_actions (struct usb_device_info *devinfo, int event_type) { action_t *action; char *devname = NULL; @@ -722,6 +721,8 @@ (match = match_devname(action, devinfo)) != -1)) { /* found match !*/ + if (verbose >= 2) + print_action(action, 0); /* Find a devname for pretty printing. Either * the matched one or otherwise, if there is only * one devname for that device, use that. @@ -735,21 +736,37 @@ if (verbose) { printf("%s: Found action '%s' for %s, %s", - __progname, action->name, - devinfo->udi_product, devinfo->udi_vendor); + __progname, action->name, + devinfo->udi_product, devinfo->udi_vendor); if (devname) printf(" at %s", devname); printf("\n"); } - action_match->action = action; - action_match->devname = devname; + if (devname) { + int error; + if (verbose >= 2) + printf("%s: Setting DEVNAME='%s'\n", + __progname, devname); + error = setenv("DEVNAME", devname, 1); + if (error) + fprintf(stderr, "%s: setenv(\"DEVNAME\", + \"%s\",1) failed, %s\n", + __progname, devname, strerror(errno)); + } - return(1); + if (USB_EVENT_IS_ATTACH(event_type) && action->attach) + execute_command(action->attach); + if (USB_EVENT_IS_DETACH(event_type) && action->detach) + execute_command(action->detach); + if (single_action) { + printf("single action mode: done\n"); + return; + } else { + printf("looking for more actions\n"); + } } } - - return(0); } void @@ -881,30 +898,7 @@ break; case USB_EVENT_DEVICE_ATTACH: case USB_EVENT_DEVICE_DETACH: - if (find_action(&event.u.ue_device, &action_match) == 0) - /* nothing found */ - break; - - if (verbose >= 2) - print_action(action_match.action, 0); - - if (action_match.devname) { - if (verbose >= 2) - printf("%s: Setting DEVNAME='%s'\n", - __progname, action_match.devname); - - error = setenv("DEVNAME", action_match.devname, 1); - if (error) - fprintf(stderr, "%s: setenv(\"DEVNAME\", \"%s\",1) failed, %s\n", - __progname, action_match.devname, strerror(errno)); - } - - if (USB_EVENT_IS_ATTACH(event.ue_type) && - action_match.action->attach) - execute_command(action_match.action->attach); - if (USB_EVENT_IS_DETACH(event.ue_type) && - action_match.action->detach) - execute_command(action_match.action->detach); + execute_actions(&event.u.ue_device, event.ue_type); break; case USB_EVENT_DRIVER_ATTACH: if (verbose) @@ -944,7 +938,7 @@ } } - while ((ch = getopt(argc, argv, "c:def:nt:v")) != -1) { + while ((ch = getopt(argc, argv, "c:def:nst:v")) != -1) { switch(ch) { case 'c': configfile = strdup(optarg); @@ -965,6 +959,9 @@ break; case 'n': handle_events = 0; + break; + case 's': + single_action = 1; break; case 't': itimeout = atoi(optarg); From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 05:07:53 2003 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 A706D16A4C0 for ; Sat, 30 Aug 2003 05:07:53 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id B00D643FDF for ; Sat, 30 Aug 2003 05:07:51 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 5299 invoked by uid 5013); 30 Aug 2003 12:04:39 -0000 Date: Sat, 30 Aug 2003 13:04:38 +0100 From: Bruce M Simpson To: "Walter C. Pelissero" Message-ID: <20030830120438.GA29217@spc.org> References: <16208.36799.970894.848331@hyde.home.loc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16208.36799.970894.848331@hyde.home.loc> User-Agent: Mutt/1.4.1i Organization: SPC cc: hackers@freebsd.org cc: questions@freebsd.org Subject: Re: USB -> PS/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: Sat, 30 Aug 2003 12:07:53 -0000 On Sat, Aug 30, 2003 at 01:51:27PM +0200, Walter C. Pelissero wrote: > I just bought a USB -> PS/2 keyboard and mouse converter for my > laptop. It's a Sitecom brand and it gets recognised as MCT Corp. I had similar problems with a Tangtop USB->PS/2 k+m adapter. In the end it turned out that this device was causing uhci to report an error, even though the movement data coming in looked fine. I never got round to fixing it. Perhaps you could try throwing all the debug switches on in the usb drivers and usbd and seeing if you get similar behaviour? Thanks for the patch, this was the other thing that needed fixing! BMS From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 13:34:16 2003 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 5E25F16A4C0 for ; Sat, 30 Aug 2003 13:34:16 -0700 (PDT) Received: from web13402.mail.yahoo.com (web13402.mail.yahoo.com [216.136.175.60]) by mx1.FreeBSD.org (Postfix) with SMTP id E184F43F3F for ; Sat, 30 Aug 2003 13:34:15 -0700 (PDT) (envelope-from giffunip@yahoo.com) Message-ID: <20030830203415.54268.qmail@web13402.mail.yahoo.com> Received: from [200.91.194.162] by web13402.mail.yahoo.com via HTTP; Sat, 30 Aug 2003 21:34:15 BST Date: Sat, 30 Aug 2003 21:34:15 +0100 (BST) From: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" To: freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Non-executable mappings now in NetBSD too 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: Sat, 30 Aug 2003 20:34:16 -0000 Hi; Just for reference, I found links to these interesting postings on NetBSD and OpenBSD respectively: http://mail-index.netbsd.org/tech-kern/2003/08/24/0009.html http://www.sigmasoft.com/~openbsd/archive/openbsd-tech/200301/msg00251.html Last time I asked, I learned our signal trampoline had been impleneted on userland like on NetBSD's IRIX emulation (not sure about all platforms though), so work on this would be really good. best regards, Pedro. ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 13:44:58 2003 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 DD9F116A4BF for ; Sat, 30 Aug 2003 13:44:58 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C58043FE9 for ; Sat, 30 Aug 2003 13:44:56 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h7UKitsE075571; Sat, 30 Aug 2003 13:44:55 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F510CFD.1070400@acm.org> Date: Sat, 30 Aug 2003 13:45:49 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Pedro F. Giffuni" References: <20030830203415.54268.qmail@web13402.mail.yahoo.com> In-Reply-To: <20030830203415.54268.qmail@web13402.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Non-executable mappings now in NetBSD too 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: Sat, 30 Aug 2003 20:44:59 -0000 Pedro F. Giffuni wrote: > Just for reference, I found links to these interesting postings on NetBSD and > OpenBSD respectively: > > http://mail-index.netbsd.org/tech-kern/2003/08/24/0009.html > > http://www.sigmasoft.com/~openbsd/archive/openbsd-tech/200301/msg00251.html > > Last time I asked, I learned our signal trampoline had been impleneted on > userland like on NetBSD's IRIX emulation (not sure about all platforms though), > so work on this would be really good. The OpenBSD work on tightening up read/write/exec memory permissions looks interesting, but I wonder what impact it has on JIT technologies; do the current Java VMs or other incremental compilation engines require write+exec? Tim From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 13:59:02 2003 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 AC73A16A4C0 for ; Sat, 30 Aug 2003 13:59:02 -0700 (PDT) Received: from web13403.mail.yahoo.com (web13403.mail.yahoo.com [216.136.175.61]) by mx1.FreeBSD.org (Postfix) with SMTP id BB49843FE0 for ; Sat, 30 Aug 2003 13:59:01 -0700 (PDT) (envelope-from giffunip@yahoo.com) Message-ID: <20030830205901.61109.qmail@web13403.mail.yahoo.com> Received: from [200.91.194.162] by web13403.mail.yahoo.com via HTTP; Sat, 30 Aug 2003 21:59:01 BST Date: Sat, 30 Aug 2003 21:59:01 +0100 (BST) From: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" To: kientzle@acm.org In-Reply-To: <3F510CFD.1070400@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-hackers@FreeBSD.org Subject: Re: Non-executable mappings now in NetBSD too 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: Sat, 30 Aug 2003 20:59:02 -0000 --- Tim Kientzle wrote: ... > > The OpenBSD work on tightening up read/write/exec memory permissions > looks interesting, but I wonder what impact it has on > JIT technologies; do the current Java VMs or other incremental > compilation engines require write+exec? > I haven't ever seen the source code for Java but I wouldn't think there is any problem. Bytecode is not really executable, and the java program doesn't need to modify itself either. The OpenBSD people reported only Emacs got broken due to things they shouldn't do, and they found a workaround anyways. If perl didn't break, I think Java will survive too. cheers, Pedro. ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 15:15:13 2003 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 2501316A4BF for ; Sat, 30 Aug 2003 15:15:13 -0700 (PDT) Received: from cirb503493.alcatel.com.au (c211-28-27-130.belrs2.nsw.optusnet.com.au [211.28.27.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 358BD43FE3 for ; Sat, 30 Aug 2003 15:15:06 -0700 (PDT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])h7UMF1gh085873; Sun, 31 Aug 2003 08:15:01 +1000 (EST) (envelope-from jeremyp@cirb503493.alcatel.com.au) Received: (from jeremyp@localhost) by cirb503493.alcatel.com.au (8.12.8/8.12.8/Submit) id h7UMEwD4085869; Sun, 31 Aug 2003 08:14:58 +1000 (EST) Date: Sun, 31 Aug 2003 08:14:58 +1000 From: Peter Jeremy To: "Pedro F. Giffuni" Message-ID: <20030830221458.GC85746@cirb503493.alcatel.com.au> References: <3F510CFD.1070400@acm.org> <20030830205901.61109.qmail@web13403.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030830205901.61109.qmail@web13403.mail.yahoo.com> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: kientzle@acm.org Subject: Re: Non-executable mappings now in NetBSD too 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: Sat, 30 Aug 2003 22:15:13 -0000 On Sat, Aug 30, 2003 at 09:59:01PM +0100, Pedro F. Giffuni wrote: > --- Tim Kientzle wrote: >... >> >> The OpenBSD work on tightening up read/write/exec memory permissions >> looks interesting, but I wonder what impact it has on >> JIT technologies; do the current Java VMs or other incremental >> compilation engines require write+exec? > >I haven't ever seen the source code for Java but I wouldn't think there is any >problem. Bytecode is not really executable, and the java program doesn't need >to modify itself either. JIT is on-the-fly compilation to native code. Whilst the Java bytecode is not natively executable, a JIT JVM needs to be able to write and immediately execute native code. The OpenBSD W^X approach would require system calls between the compilation and execution steps. My understanding of current JIT is that the compilation is done is very small pieces and adding the overhead of a pair of system calls would basically kill it. >The OpenBSD people reported only Emacs got broken due to things they shouldn't >do, and they found a workaround anyways. Does OpenBSD support any JIT JVM? > If perl didn't break, I think Java will survive too. Emacs and perl both use traditional bytecode interpreters, as does the Classic JVM. I agree they will be unaffected. This change will only impact JIT JVMs. Peter From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 15:31:24 2003 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 3F19116A4BF for ; Sat, 30 Aug 2003 15:31:24 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CD4343FE9 for ; Sat, 30 Aug 2003 15:31:23 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h7UMVMsE075805; Sat, 30 Aug 2003 15:31:22 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F5125F0.60403@acm.org> Date: Sat, 30 Aug 2003 15:32:16 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Jeremy References: <3F510CFD.1070400@acm.org> <20030830205901.61109.qmail@web13403.mail.yahoo.com> <20030830221458.GC85746@cirb503493.alcatel.com.au> In-Reply-To: <20030830221458.GC85746@cirb503493.alcatel.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "Pedro F. Giffuni" cc: freebsd-hackers@freebsd.org Subject: Re: Non-executable mappings now in NetBSD too 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: Sat, 30 Aug 2003 22:31:24 -0000 Peter Jeremy wrote: > On Sat, Aug 30, 2003 at 09:59:01PM +0100, Pedro F. Giffuni wrote: >>If perl didn't break, I think Java will survive too. > > Emacs and perl both use traditional bytecode interpreters,... Perl5, yes. However, Parrot (the VM being developed for Perl6, and which may be adopted for other languages) does use JIT. Tim From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 16:06:29 2003 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 6634B16A4C0 for ; Sat, 30 Aug 2003 16:06:29 -0700 (PDT) Received: from web13406.mail.yahoo.com (web13406.mail.yahoo.com [216.136.175.64]) by mx1.FreeBSD.org (Postfix) with SMTP id D931943FB1 for ; Sat, 30 Aug 2003 16:06:28 -0700 (PDT) (envelope-from giffunip@yahoo.com) Message-ID: <20030830230628.98508.qmail@web13406.mail.yahoo.com> Received: from [200.91.194.218] by web13406.mail.yahoo.com via HTTP; Sun, 31 Aug 2003 00:06:28 BST Date: Sun, 31 Aug 2003 00:06:28 +0100 (BST) From: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" To: Peter Jeremy In-Reply-To: <20030830221458.GC85746@cirb503493.alcatel.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-hackers@freebsd.org cc: kientzle@acm.org Subject: Re: Non-executable mappings now in NetBSD too 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: Sat, 30 Aug 2003 23:06:29 -0000 (FWIW, Theo claims his changes are only enforcing POSIX.) --- Peter Jeremy wrote: ... > > Does OpenBSD support any JIT JVM? > Hmmm... no, looks like they run our (or the linux) JVM under emulation. > > If perl didn't break, I think Java will survive too. > > Emacs and perl both use traditional bytecode interpreters, as does the > Classic JVM. I agree they will be unaffected. This change will only > impact JIT JVMs. > Well, we only have a JIT JVM for the i386, and on the particular case of the i386 we cannot enforce full protection anyways so there is probably a workaround if we do need it. cheers, Pedro. ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 16:38:11 2003 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 52E9516A4BF for ; Sat, 30 Aug 2003 16:38:11 -0700 (PDT) Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6661D43FF7 for ; Sat, 30 Aug 2003 16:38:10 -0700 (PDT) (envelope-from bicknell@ussenterprise.ufp.org) Received: from ussenterprise.ufp.org (bicknell@localhost [127.0.0.1]) by ussenterprise.ufp.org (8.12.9/8.12.9) with ESMTP id h7UNc98i045829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 30 Aug 2003 19:38:09 -0400 (EDT) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.12.9/8.12.9/Submit) id h7UNc9Wq045828 for freebsd-hackers@freebsd.org; Sat, 30 Aug 2003 19:38:09 -0400 (EDT) Date: Sat, 30 Aug 2003 19:38:09 -0400 From: Leo Bicknell To: freebsd-hackers@freebsd.org Message-ID: <20030830233809.GA45579@ussenterprise.ufp.org> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20030830221458.GC85746@cirb503493.alcatel.com.au> <20030830230628.98508.qmail@web13406.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <20030830230628.98508.qmail@web13406.mail.yahoo.com> Organization: United Federation of Planets X-PGP-Key: http://www.ufp.org/~bicknell/ Subject: Re: Non-executable mappings now in NetBSD too 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: Sat, 30 Aug 2003 23:38:11 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In a message written on Sun, Aug 31, 2003 at 12:06:28AM +0100, Pedro F. Gif= funi wrote: > Well, we only have a JIT JVM for the i386, and on the particular case of = the > i386 we cannot enforce full protection anyways so there is probably a > workaround if we do need it.=20 I'm not sure I want to suggest this, as I can't decide if it's a "hack" or a good solution. I'm feeling bold though, so I'll throw it out there. Honestly, I don't know the kernel internals enough to know if this would eliminate the problem. Could a new malloc (and friends) set of functions be defined, for argument I'll call them "emalloc" that executes memory that is executable? The JIT type apps could use that for the instructions (and the instructions only) allowing them to be executable, and all existing code would continue to be executable. Seems like this would protect all existing code, and give a nice way for the apps that need it to "label" to executable bits outright, so they both don't loose functionality but also so the execute right is tightly scoped. Note, I do understand you can do this with syscall wrappers, but that seems to introduce a performance penalty no one likes. Wrappering it in a new malloc (sbrk?) interface to the kernel might allow the same thing with much less penalty. Of course, we'd need multiple platforms to make developers use it. --=20 Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/UTVhNh6mMG5yMTYRAgBbAJ4zIfIAeLGNy3YIkYfxD+r4g4ZR0QCffqGY 2EIgcCof9kpgH+BlJ6T00/I= =vCEH -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 18:16:44 2003 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 11ABE16A4C1 for ; Sat, 30 Aug 2003 18:16:44 -0700 (PDT) Received: from priv-edtnes46.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B4814400B for ; Sat, 30 Aug 2003 18:16:41 -0700 (PDT) (envelope-from s.gecko@telus.net) Received: from [192.168.10.2] ([216.232.224.119]) by priv-edtnes46.telusplanet.netESMTP <20030831011640.WEJW11996.priv-edtnes46.telusplanet.net@[192.168.10.2]> for ; Sat, 30 Aug 2003 19:16:40 -0600 From: Stone Gecko To: hackers@freebsd.org Date: Sat, 30 Aug 2003 18:16:40 -0700 User-Agent: KMail/1.5.2 Organization: StoneGecko Technical MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308301816.40115.s.gecko@telus.net> Subject: refreshing AGP Card Memory?? 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, 31 Aug 2003 01:16:44 -0000 I have a GF4 MX440 Video card in 5.1_Release running KDE3.1.3 that keeps either locking up or putting vertical red/blue lines on the screen. Is there any way to manually refresh or repage the memory to see if that helps stop the problem? maybe a cron script? any ideas? did the same with 4.8 Stable thanks From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 18:41:10 2003 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 1B11516A4BF for ; Sat, 30 Aug 2003 18:41:10 -0700 (PDT) Received: from webmail.kent.edu (webmail.kent.edu [131.123.74.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C8C343FE9 for ; Sat, 30 Aug 2003 18:41:09 -0700 (PDT) (envelope-from sdavu@kent.edu) X-WebMail-UserID: sdavu Date: Sat, 30 Aug 2003 21:55:06 -0400 Sender: Sandeep Kumar Davu From: Sandeep Kumar Davu To: freebsd-hackers@freebsd.org X-EXP32-SerialNo: 00002334 Message-ID: <3F617228@webmail.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.51.06 Subject: HOW TO RETREIVE DATA FROM 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: Sun, 31 Aug 2003 01:41:10 -0000 Hi, I was wondering how to retreive data from the kernel if I wanna. I want TCP option(if any) to let the application know about that. Can u please tell me if there is any way that I can do it without adding any additional code. If I need to add it sould you please tell me the easiest way to do that. Sandeep. Sandeep Kumar Davu, M.S. (Computer Science), Kent State University, OH. From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 19:46:55 2003 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 BA48116A4BF for ; Sat, 30 Aug 2003 19:46:55 -0700 (PDT) Received: from 141.com (mail.141.com [65.168.139.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B231043FDF for ; Sat, 30 Aug 2003 19:46:54 -0700 (PDT) (envelope-from arlankfo@141.com) Date: Sat, 30 Aug 2003 20:50:45 -0600 Message-Id: <200308302050.AA2582249810@141.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Andrew Lankford" To: X-Mailer: X-Declude-Sender: arlankfo@141.com [127.0.0.1] X-Note: This E-mail was scanned for spam. cc: Peter Jeremy cc: "Pedro F. Giffuni" Subject: Re: Non-executable mappings now in NetBSD too X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arlankfo@141.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2003 02:46:55 -0000 > Whilst the Java bytecode is not natively executable, a JIT JVM >needs to be able towrite and immediately execute native code. >The OpenBSD W^X approach would require system calls between the >compilation and execution steps. My understanding of current JIT >is that the compilation is done is very small pieces and adding >the overhead of a pair of system calls would basically kill it. Even simpler to compile to a temporary file and then exit the temporary file. Woohoo, potential race condition!

...Or you could make a nifty new system call that creates a pipe to a newly forked child process. You write the compiled executable to the fork, and the child jumps to the begining of that compiled code as soon as your parent process closes the pipe!

Gratuitous/pointless, but fun to think about. Andrew Lankford From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 19:50:01 2003 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 7495116A4BF for ; Sat, 30 Aug 2003 19:50:01 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33FA043FF9 for ; Sat, 30 Aug 2003 19:50:00 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23](untrusted sender)) by comcast.net (rwcrmhc11) with SMTP id <2003083102474301300q62m3e>; Sun, 31 Aug 2003 02:47:43 +0000 Date: Sat, 30 Aug 2003 19:47:42 -0700 (PDT) From: Doug Barton To: Stone Gecko In-Reply-To: <200308301816.40115.s.gecko@telus.net> Message-ID: <20030830194637.L25519@znfgre.qbhto.arg> References: <200308301816.40115.s.gecko@telus.net> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: refreshing AGP Card Memory?? 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, 31 Aug 2003 02:50:01 -0000 On Sat, 30 Aug 2003, Stone Gecko wrote: > I have a GF4 MX440 Video card in 5.1_Release running KDE3.1.3 that keeps > either locking up or putting vertical red/blue lines on the screen. Are you by any chance running the binary drivers provided by nvidia with this card? I have exactly the same card, using those drivers, and haven't had any problems like you describe. Doug -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 19:52:04 2003 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 8F49D16A4BF for ; Sat, 30 Aug 2003 19:52:04 -0700 (PDT) Received: from web13404.mail.yahoo.com (web13404.mail.yahoo.com [216.136.175.62]) by mx1.FreeBSD.org (Postfix) with SMTP id D12D143FBD for ; Sat, 30 Aug 2003 19:52:03 -0700 (PDT) (envelope-from giffunip@yahoo.com) Message-ID: <20030831025203.5026.qmail@web13404.mail.yahoo.com> Received: from [200.91.194.11] by web13404.mail.yahoo.com via HTTP; Sun, 31 Aug 2003 03:52:03 BST Date: Sun, 31 Aug 2003 03:52:03 +0100 (BST) From: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" To: hackers@freebsd.org In-Reply-To: <200308302050.AA2582249810@141.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Non-executable mappings now in NetBSD too 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, 31 Aug 2003 02:52:04 -0000 Ugh... or just consider not all equipment out there needs JIT Java, and make it a kernel option! cheers, Pedro. --- Andrew Lankford wrote: > > Whilst the Java bytecode is not natively executable, a JIT JVM >needs to be > able towrite and immediately execute native code. >The OpenBSD W^X approach > would require system calls between the >compilation and execution steps. My > understanding of current JIT >is that the compilation is done is very small > pieces and adding >the overhead of a pair of system calls would basically > kill it. > > Even simpler to compile to a temporary file and then exit the temporary file. > Woohoo, potential race condition!

> ...Or you could make a nifty new system call that creates a pipe to a newly > forked child process. You write the compiled executable to the fork, and the > child jumps to the begining of that compiled code as soon as your parent > process closes the pipe!

> Gratuitous/pointless, but fun to think about. > > > Andrew Lankford > > > > ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 20:27:35 2003 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 EFD7216A4BF for ; Sat, 30 Aug 2003 20:27:34 -0700 (PDT) Received: from smtp.eos.ocn.ne.jp (eos.ocn.ne.jp [211.6.83.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B22F443F75 for ; Sat, 30 Aug 2003 20:27:33 -0700 (PDT) (envelope-from hrs@eos.ocn.ne.jp) Received: from mail.d.allbsd.org (p38078-adsao12honb4-acca.tokyo.ocn.ne.jp [219.161.135.78]) by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id AE4E5F0A for ; Sun, 31 Aug 2003 12:27:32 +0900 (JST) Received: from localhost (alph.allbsd.org [192.168.0.10]) h7V3QqIF057819 for ; Sun, 31 Aug 2003 12:26:53 +0900 (JST) (envelope-from hrs@eos.ocn.ne.jp) Date: Sun, 31 Aug 2003 12:22:19 +0900 (JST) Message-Id: <20030831.122219.15218794.hrs@eos.ocn.ne.jp> To: hackers@freebsd.org From: Hiroki Sato X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: initstate() on FreeBSD/sparc64 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, 31 Aug 2003 03:27:35 -0000 Hi, I noticed that initstate() caused memory corruption on FreeBSD/sparc64. I guess this is because lib/libc/stdlib/random.c assumes "long" is 32-bit long. The attached patch works fine on my box, but this is a bit ugly. Could anyone take care of this? -- | Hiroki SATO / Index: random.c =================================================================== RCS file: /home/ncvs/src/lib/libc/stdlib/random.c,v retrieving revision 1.23 diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.23 random.c --- random.c 10 Aug 2003 17:49:55 -0000 1.23 +++ random.c 31 Aug 2003 03:00:04 -0000 @@ -61,10 +61,10 @@ * congruential generator. If the amount of state information is less than * 32 bytes, a simple linear congruential R.N.G. is used. * - * Internally, the state information is treated as an array of longs; the + * Internally, the state information is treated as an array of ints; the * zeroeth element of the array is the type of R.N.G. being used (small * integer); the remainder of the array is the state information for the - * R.N.G. Thus, 32 bytes of state information will give 7 longs worth of + * R.N.G. Thus, 32 bytes of state information will give 7 ints worth of * state information, which will allow a degree seven polynomial. (Note: * the zeroeth word of state information also has some other information * stored in it -- see setstate() for details). @@ -148,8 +148,8 @@ #define NSHUFF 50 /* to drop some "seed -> 1st value" linearity */ #endif /* !USE_WEAK_SEEDING */ -static long degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 }; -static long seps [MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 }; +static const int degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 }; +static const int seps [MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 }; /* * Initially, everything is set up as if from: @@ -165,7 +165,7 @@ * MAX_TYPES * (rptr - state) + TYPE_3 == TYPE_3. */ -static long randtbl[DEG_3 + 1] = { +static int randtbl[DEG_3 + 1] = { TYPE_3, #ifdef USE_WEAK_SEEDING /* Historic implementation compatibility */ @@ -200,8 +200,8 @@ * in the initialization of randtbl) because the state table pointer is set * to point to randtbl[1] (as explained below). */ -static long *fptr = &randtbl[SEP_3 + 1]; -static long *rptr = &randtbl[1]; +static int *fptr = &randtbl[SEP_3 + 1]; +static int *rptr = &randtbl[1]; /* * The following things are the pointer to the state information table, the @@ -213,11 +213,11 @@ * this is more efficient than indexing every time to find the address of * the last element to see if the front and rear pointers have wrapped. */ -static long *state = &randtbl[1]; -static long rand_type = TYPE_3; -static long rand_deg = DEG_3; -static long rand_sep = SEP_3; -static long *end_ptr = &randtbl[DEG_3 + 1]; +static int *state = &randtbl[1]; +static int rand_type = TYPE_3; +static int rand_deg = DEG_3; +static int rand_sep = SEP_3; +static int *end_ptr = &randtbl[DEG_3 + 1]; static inline long good_rand(long); @@ -350,7 +350,7 @@ * * Returns a pointer to the old state. * - * Note: The Sparc platform requires that arg_state begin on a long + * Note: The Sparc platform requires that arg_state begin on an int * word boundary; otherwise a bus error will occur. Even so, lint will * complain about mis-alignment, but you should disregard these messages. */ @@ -361,12 +361,12 @@ long n; /* # bytes of state info */ { char *ostate = (char *)(&state[-1]); - long *long_arg_state = (long *) arg_state; + int *int_arg_state = (int *)(void *)arg_state; if (rand_type == TYPE_0) state[-1] = rand_type; else - state[-1] = MAX_TYPES * (rptr - state) + rand_type; + state[-1] = MAX_TYPES * (int)(rptr - state) + rand_type; if (n < BREAK_0) { (void)fprintf(stderr, "random: not enough state (%ld bytes); ignored.\n", n); @@ -393,13 +393,13 @@ rand_deg = DEG_4; rand_sep = SEP_4; } - state = (long *) (long_arg_state + 1); /* first location */ + state = (int *) (int_arg_state + 1); /* first location */ end_ptr = &state[rand_deg]; /* must set end_ptr before srandom */ - srandom(seed); + srandom((unsigned int)seed); if (rand_type == TYPE_0) - long_arg_state[0] = rand_type; + int_arg_state[0] = rand_type; else - long_arg_state[0] = MAX_TYPES * (rptr - state) + rand_type; + int_arg_state[0] = MAX_TYPES * (int)(rptr - state) + rand_type; return(ostate); } @@ -426,7 +426,7 @@ setstate(arg_state) char *arg_state; /* pointer to state array */ { - long *new_state = (long *) arg_state; + int *new_state = (int *)(void *)arg_state; long type = new_state[0] % MAX_TYPES; long rear = new_state[0] / MAX_TYPES; char *ostate = (char *)(&state[-1]); @@ -434,7 +434,7 @@ if (rand_type == TYPE_0) state[-1] = rand_type; else - state[-1] = MAX_TYPES * (rptr - state) + rand_type; + state[-1] = MAX_TYPES * (int)(rptr - state) + rand_type; switch(type) { case TYPE_0: case TYPE_1: @@ -449,7 +449,7 @@ (void)fprintf(stderr, "random: state info corrupted; not changed.\n"); } - state = (long *) (new_state + 1); + state = (int *) (new_state + 1); if (rand_type != TYPE_0) { rptr = &state[rear]; fptr = &state[(rear + rand_sep) % rand_deg]; @@ -478,8 +478,8 @@ long random() { - long i; - long *f, *r; + int i; + int *f, *r; if (rand_type == TYPE_0) { i = state[0]; @@ -490,7 +490,8 @@ */ f = fptr; r = rptr; *f += *r; - i = (*f >> 1) & 0x7fffffff; /* chucking least random bit */ + /* chucking least random bit */ + i = ((unsigned int)*f >> 1) & 0x7fffffff; if (++f >= end_ptr) { f = state; ++r; From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 30 23:03:27 2003 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 560EA16A4BF for ; Sat, 30 Aug 2003 23:03:27 -0700 (PDT) Received: from priv-edtnes56.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DD7143FF3 for ; Sat, 30 Aug 2003 23:03:26 -0700 (PDT) (envelope-from s.gecko@telus.net) Received: from [192.168.10.2] ([216.232.224.119]) by priv-edtnes56.telusplanet.netESMTP <20030831060325.VRV10012.priv-edtnes56.telusplanet.net@[192.168.10.2]> for ; Sun, 31 Aug 2003 00:03:25 -0600 From: Stone Gecko Organization: StoneGecko Technical To: hackers@freebsd.org Date: Sat, 30 Aug 2003 23:03:25 -0700 User-Agent: KMail/1.5.2 References: <200308301816.40115.s.gecko@telus.net> <20030830194637.L25519@znfgre.qbhto.arg> In-Reply-To: <20030830194637.L25519@znfgre.qbhto.arg> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308302303.25612.s.gecko@telus.net> Subject: Re: refreshing AGP Card Memory?? 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, 31 Aug 2003 06:03:27 -0000 I'm actually only running the nvidia drivers that were embedded in BSD... haven't installed the ones from nvidia's site yet On August 30, 2003 07:47 pm, you wrote: > On Sat, 30 Aug 2003, Stone Gecko wrote: > > I have a GF4 MX440 Video card in 5.1_Release running KDE3.1.3 that keeps > > either locking up or putting vertical red/blue lines on the screen. > > Are you by any chance running the binary drivers provided by nvidia with > this card? I have exactly the same card, using those drivers, and > haven't had any problems like you describe. > > Doug