From owner-freebsd-hackers Sun Feb 24 1:49:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web21309.mail.yahoo.com (web21309.mail.yahoo.com [216.136.173.254]) by hub.freebsd.org (Postfix) with SMTP id 3A1E837B416 for ; Sun, 24 Feb 2002 01:49:29 -0800 (PST) Message-ID: <20020224094929.67216.qmail@web21309.mail.yahoo.com> Received: from [131.247.2.17] by web21309.mail.yahoo.com via HTTP; Sun, 24 Feb 2002 01:49:29 PST Date: Sun, 24 Feb 2002 01:49:29 -0800 (PST) From: Praveen Ikkurthy Subject: Porting pseudo device driver to FreeBSD To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All! I am trying to port a pseudo device written in C under NetBSD operating system. The source code is that of a pseudo device for a wireless card. Could you kindly tell me how to port a pseudo device driver written under NetBSD to FreeBSD. I had gone through the FreeBSD handbooks but couldn't find much help for porting pseudo device drivers to FreeBSD. The pseudo device driver that I am currently trying to port is available online at ftp://ftp.cs.cmu.edu/project/coda/ntrace/1997-01-31/ The source code for the pseudo device is in the directory kernel/record Thank you for any information you would like to share. Regards, Praveen C Ikkurthy __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Feb 24 7: 1:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.22.195.2]) by hub.freebsd.org (Postfix) with ESMTP id 2C0A037B405 for ; Sun, 24 Feb 2002 07:01:23 -0800 (PST) Received: from andrewm by chiark.greenend.org.uk with local (Exim 3.12 #2) id 16f09N-0002w9-00 (Debian); Sun, 24 Feb 2002 15:01:17 +0000 From: Andrew Mobbs MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15481.61.57511.222531@chiark.greenend.org.uk> Date: Sun, 24 Feb 2002 15:01:17 +0000 (GMT) To: Matthew Dillon Cc: hackers@FreeBSD.ORG Subject: Re: Test patch for msync/object-flushing performance (for stable) In-Reply-To: <200202222201.g1MM1f431236@apollo.backplane.com> References: <15478.31998.459219.178549@chiark.greenend.org.uk> <200202222042.g1MKg4u22700@apollo.backplane.com> <200202222201.g1MM1f431236@apollo.backplane.com> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon writes: > Ok, here is a test patch. Now, there are some instructions to go along > with this patch, so continue reading. > > I have implemented two optimizations. You can turn either or both (or > neither) on with a sysctl. I would like those interested to test all > four combinations. Be sure to delete any test files and 'sync' a couple > of times between each test run so you do not skew the results. Thanks for the patch. Test results from an overnight run, following the above instructions. Unfortunatly, it looks like there was a little cron activity from time-to-time that interfered with a couple of datapoints, but the general trend is quite clear: The kernel was -STABLE, cvsupped about 18:00 GMT yesterday, and patched. Results are time in seconds for completing a standard workload. Each test was repeated five times. vm.msync_flush_flags | 0 | 1 | 2 | 3 | -------+-------+-------+-------+-------| write | 519 | 517 | 1632 | 519 | sync | 2227 | 176 | 848 | 177 | -------+-------+-------+-------+-------| write | 514 | 517 | 518 | 516 | sync | 2215 | 175 | 2219 | 176 | -------+-------+-------+-------+-------| write | 511 | 649 | 517 | 513 | sync | 2209 | 125 | 2223 | 176 | -------+-------+-------+-------+-------| write | 514 | 518 | 515 | 517 | sync | 2217 | 176 | 2209 | 176 | -------+-------+-------+-------+-------| write | 516 | 516 | 517 | 518 | sync | 2219 | 176 | 2222 | 177 | Nearly 13 times improvement in sync times, very nice. I also have vmstat logs for each test run, if you're interested (taken at a 10 second interval): (51kB) -- Andrew Mobbs - http://www.chiark.greenend.org.uk/~andrewm/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Feb 24 7:37:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 3B43B37B402 for ; Sun, 24 Feb 2002 07:37:19 -0800 (PST) Received: from pool0068.cvx40-bradley.dialup.earthlink.net ([216.244.42.68] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16f0i6-0000rk-00; Sun, 24 Feb 2002 07:37:10 -0800 Message-ID: <3C79089B.10AD892C@mindspring.com> Date: Sun, 24 Feb 2002 07:36:59 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Mobbs Cc: Matthew Dillon , hackers@FreeBSD.ORG Subject: Re: Test patch for msync/object-flushing performance (for stable) References: <15478.31998.459219.178549@chiark.greenend.org.uk> <200202222042.g1MKg4u22700@apollo.backplane.com> <200202222201.g1MM1f431236@apollo.backplane.com> <15481.61.57511.222531@chiark.greenend.org.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew Mobbs wrote: > vm.msync_flush_flags > | 0 | 1 | 2 | 3 | > -------+-------+-------+-------+-------| > write | 519 | 517 | 1632 | 519 | > sync | 2227 | 176 | 848 | 177 | > -------+-------+-------+-------+-------| > write | 514 | 517 | 518 | 516 | > sync | 2215 | 175 | 2219 | 176 | > -------+-------+-------+-------+-------| > write | 511 | 649 | 517 | 513 | > sync | 2209 | 125 | 2223 | 176 | > -------+-------+-------+-------+-------| > write | 514 | 518 | 515 | 517 | > sync | 2217 | 176 | 2209 | 176 | > -------+-------+-------+-------+-------| > write | 516 | 516 | 517 | 518 | > sync | 2219 | 176 | 2222 | 177 | > > Nearly 13 times improvement in sync times, very nice. ^ ^ Wow. Pessimial... ----------'-------' Looks like most (but not all) gets recovered if you also set the other flag. This argues against the "optimization" enabled by bit 1, but OK's the one for bit 0. Matt... is there a situation which you can provide a small test for that doesn't make the bit 1 change look like a total lose? You might see it be a good idea in an unpack of the ports tree over itself (for example), but right now it looks like a no-brainer to leave it out, and default the bit 0 to on. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Feb 24 8:50:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from acl.lanl.gov (acl.lanl.gov [128.165.147.1]) by hub.freebsd.org (Postfix) with SMTP id 8F19437B404 for ; Sun, 24 Feb 2002 08:50:11 -0800 (PST) Received: (qmail 2053261 invoked from network); 24 Feb 2002 09:50:10 -0700 Received: from xed.acl.lanl.gov (128.165.147.191) by acl.lanl.gov with SMTP; 24 Feb 2002 09:50:10 -0700 Received: (qmail 19759 invoked by uid 3499); 24 Feb 2002 09:50:10 -0700 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Feb 2002 09:50:10 -0700 Date: Sun, 24 Feb 2002 09:50:10 -0700 (MST) From: Ronald G Minnich X-X-Sender: To: Michael Smith Cc: "Frost, Stephen C" , "'freebsd-hackers@freebsd.org'" , "'freebsd-questions@freebsd.org'" Subject: Re: PCI Probing Utility? In-Reply-To: <200202222150.g1MLoEu02180@mass.dis.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 22 Feb 2002, Michael Smith wrote: > > > > Is there some quick, down & dirty way of assessing the bus-speeds of PCI > > slots/busses on a given box? I have a whole rack of systems with FreeBSD > > 4.5 on 'em, and need to know the PCI bus configuration for each. > > Unfortunately, no. The Yahoo! folks have worked on some old SMBios code > I wrote that might be able to extract the information you require, but > there's nothing trivially visible in PCI config space that will tell you > this. It gets worse. We just measured some Compaq SP750s here. We see a 10% variance on PCI bandwidth on boxes with the same part #s. Further looking around shows the north bridge on slow machines was fabricated in Korea, and the faster one was fabricated in Phillipines. Looking at north bridge register settings shows different values. So here are identical boxes with nothing to tell you they're different, that act different. The lesson is that if you want to know the BW of a given box, to some reasonable certainty, you will have to measure it. The boxes' sibling will give you no useful data. ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Feb 24 9:43:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from patrocles.silby.com (d106.as14.nwbl0.wi.voyager.net [169.207.134.106]) by hub.freebsd.org (Postfix) with ESMTP id 76B2837B402 for ; Sun, 24 Feb 2002 09:43:47 -0800 (PST) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.2/8.12.2) with ESMTP id g1OBlZZM015297; Sun, 24 Feb 2002 11:47:35 GMT (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.2/8.12.2/Submit) with ESMTP id g1OBlVlI015294; Sun, 24 Feb 2002 11:47:33 GMT X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Sun, 24 Feb 2002 11:47:30 +0000 (GMT) From: Mike Silbersack To: Andrew Mobbs Cc: Matthew Dillon , Subject: Re: Test patch for msync/object-flushing performance (for stable) In-Reply-To: <15481.61.57511.222531@chiark.greenend.org.uk> Message-ID: <20020224114508.P15264-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 24 Feb 2002, Andrew Mobbs wrote: > vm.msync_flush_flags > | 0 | 1 | 2 | 3 | > -------+-------+-------+-------+-------| > write | 519 | 517 | 1632 | 519 | > sync | 2227 | 176 | 848 | 177 | ^^^ I don't get that one; any idea why bit 1 on for the first test performs so differently from the other tests? Were these tests all run sequentially? Maybe memory is becoming more fragmented as time goes on, causing that optimization to not be able to work properly. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Feb 24 10:10:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id B0E6B37B404 for ; Sun, 24 Feb 2002 10:10:29 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1OI9v683497; Sun, 24 Feb 2002 10:09:57 -0800 (PST) (envelope-from dillon) Date: Sun, 24 Feb 2002 10:09:57 -0800 (PST) From: Matthew Dillon Message-Id: <200202241809.g1OI9v683497@apollo.backplane.com> To: Mike Silbersack Cc: Andrew Mobbs , Subject: Re: Test patch for msync/object-flushing performance (for stable) References: <20020224114508.P15264-100000@patrocles.silby.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :On Sun, 24 Feb 2002, Andrew Mobbs wrote: : :> vm.msync_flush_flags :> | 0 | 1 | 2 | 3 | :> -------+-------+-------+-------+-------| :> write | 519 | 517 | 1632 | 519 | :> sync | 2227 | 176 | 848 | 177 | : ^^^ :I don't get that one; any idea why bit 1 on for the first test performs so :differently from the other tests? Were these tests all run sequentially? :Maybe memory is becoming more fragmented as time goes on, causing that :optimization to not be able to work properly. : :Mike "Silby" Silbersack Bit 0 will always perform better then bit 1 for the case where a large portion of the mmap'd area is dirty. However, bit 0 (hard sequential) gives up if it cannot find dirty pages to sync after 16 pages. bit 1 can be thought of as a catch-all. If hard sequential fails we go back to scanning the memq (random). bit 1 tries to 'jump' to the next page based on the index and size of the previous cluster. bit 1 will 'help' if you have a huge mmap'd area with spotty dirty pages, but it does not spend a whole lot of time trying to force things to be sequential. I am leaning towards keeping both. I would like to improve bit 1's operation but keep in mind that the virtual size of a VM object can run into the terrabytes, so there is only so much we can do short of doing a full sort on object->memq (which is also a possibility at some later time). -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Feb 24 10:15:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 8D3A037B404 for ; Sun, 24 Feb 2002 10:15:26 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1OIFOV83527; Sun, 24 Feb 2002 10:15:24 -0800 (PST) (envelope-from dillon) Date: Sun, 24 Feb 2002 10:15:24 -0800 (PST) From: Matthew Dillon Message-Id: <200202241815.g1OIFOV83527@apollo.backplane.com> To: Andrew Mobbs Cc: hackers@FreeBSD.ORG Subject: Re: Test patch for msync/object-flushing performance (for stable) References: <15478.31998.459219.178549@chiark.greenend.org.uk> <200202222042.g1MKg4u22700@apollo.backplane.com> <200202222201.g1MM1f431236@apollo.backplane.com> <15481.61.57511.222531@chiark.greenend.org.uk> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew, thanks for running these tests! They confirm exactly what I expected. I would like to improve bit 1 a bit more, but I think it is good enough to stage into the system with the default set to 3. In particular, I found that when you have a huge mmap()'d area and you msync() a small portion of it, bit 0 (case 1) results in phenominally better cpu performance above and beyond the lower fragmentation because msync() doesn't have to scan the entire object's memq. This should have a large positive effect on a number of applications. -Matt Matthew Dillon : vm.msync_flush_flags : | 0 | 1 | 2 | 3 | :-------+-------+-------+-------+-------| :write | 519 | 517 | 1632 | 519 | :sync | 2227 | 176 | 848 | 177 | :-------+-------+-------+-------+-------| :write | 514 | 517 | 518 | 516 | :sync | 2215 | 175 | 2219 | 176 | :-------+-------+-------+-------+-------| :write | 511 | 649 | 517 | 513 | :sync | 2209 | 125 | 2223 | 176 | :-------+-------+-------+-------+-------| :write | 514 | 518 | 515 | 517 | :sync | 2217 | 176 | 2209 | 176 | :-------+-------+-------+-------+-------| :write | 516 | 516 | 517 | 518 | :sync | 2219 | 176 | 2222 | 177 | : :Nearly 13 times improvement in sync times, very nice. :-- :Andrew Mobbs - http://www.chiark.greenend.org.uk/~andrewm/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Feb 24 11:57:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.22.195.2]) by hub.freebsd.org (Postfix) with ESMTP id 25BAE37B400 for ; Sun, 24 Feb 2002 11:57:46 -0800 (PST) Received: from andrewm by chiark.greenend.org.uk with local (Exim 3.12 #2) id 16f4m8-0001YT-00 (Debian); Sun, 24 Feb 2002 19:57:36 +0000 To: hackers@FreeBSD.org Subject: Re: Test patch for msync/object-flushing performance (for stable) Newsgroups: chiark.mail.freebsd.hackers In-Reply-To: <20020224114508.P15264-100000@patrocles.silby.com> References: <15481.61.57511.222531@chiark.greenend.org.uk> Organization: Antique and shadowy Khem Cc: Message-Id: From: Andrew Mobbs Date: Sun, 24 Feb 2002 19:57:36 +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20020224114508.P15264-100000@patrocles.silby.com> you write: > >On Sun, 24 Feb 2002, Andrew Mobbs wrote: > >> vm.msync_flush_flags >> | 0 | 1 | 2 | 3 | >> -------+-------+-------+-------+-------| >> write | 519 | 517 | 1632 | 519 | >> sync | 2227 | 176 | 848 | 177 | > ^^^ >I don't get that one; any idea why bit 1 on for the first test performs so >differently from the other tests? Were these tests all run sequentially? >Maybe memory is becoming more fragmented as time goes on, causing that >optimization to not be able to work properly. I put that one down to other activity on the system, given the four other repeats with bit 1 set didn't show that. I tried to leave it as quiet as possible, but didn't bother disabling any cron jobs. Which is why I repeated each test 5 times. The test order was 0,1,2,3,0,1,2,3 &c. run sequentially. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 2: 4:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from pantalamion.dme.org (host217-37-28-201.in-addr.btopenworld.com [217.37.28.201]) by hub.freebsd.org (Postfix) with ESMTP id 029DD37B400 for ; Mon, 25 Feb 2002 02:04:11 -0800 (PST) Received: from de128083 by pantalamion.dme.org with local (Exim 3.34 #1) id 16fHxv-0005zf-00 for ; Mon, 25 Feb 2002 10:02:39 +0000 To: freebsd-hackers@freebsd.org Subject: ICSC Socket API Extensions working group From: David Edmondson Date: Mon, 25 Feb 2002 10:02:39 +0000 Message-ID: Lines: 39 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (sun-sparc-solaris2.10) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ Apologies if you receive multiple copies of this. ] The Interconnect Software Consortium (http://www.opengroup.org/icsc/) has recently formed a working group to look at extensions to the standard socket API. The charter for the working group is defined: The Sockets API Extensions Working Group will specify additions to the standard UNIX (Berkeley) Sockets API that improve the efficiency of network programming. The interfaces will be defined for user-space subsystems and will facilitate protocols such as SDP that bypass the TCP/IP software stack. The interfaces may additionally be adapted for kernel-space subsystems. The primary goal is to preserve the large existing base of sockets applications, enabling portability where reasonable, while providing a natural evolution to more efficient transport protocols in an industry-standard manner. It is expected that these extensions will be incorporated in the Single Unix Specification. The working group is looking for participation from groups outside of those currently involved (most of the current members are commercial Unix operating system vendors). For example: - members of the open source community who would be interested in specifying and implementing the API extensions, - ISVs who have an interest in specifying and later using the API extensions. If you know of any people or groups which would fit the above, please either direct them to the ICSC web pages or myself, or if you prefer you could pass their names to me and I will make contact. Participation in the working group requires membership of the Consortium, which in turn requires completion of the membership agreement (see http://www.opengroup.org/icsc). Questions about the consortium would probably best be addressed to the consortium administrator (icsc-admin@opengroup.org). If you have any other questions, please ask. dme. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 2:31:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id BF3CE37B417; Mon, 25 Feb 2002 02:31:10 -0800 (PST) Received: from localhost ([3ffe:501:4819:2000:e028:ba95:b8bc:b5a5]) by shuttle.wide.toshiba.co.jp (8.11.6/8.9.1) with ESMTP id g1PAV0o03956; Mon, 25 Feb 2002 19:31:00 +0900 (JST) Date: Mon, 25 Feb 2002 19:30:59 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: Edwin Groothuis Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: IPv6-over-IPv4 problems since the upgrade to 4.5 In-Reply-To: <20020223084616.G492@k7.mavetju.org> References: <0D9185CE635BD511ACA50090277A6FCF1359DB@axcs18.cos.agilent.com> <20020216130842.A19081@energyhq.homeip.net> <20020217122510.D491@k7.mavetju.org> <20020222234829.F492@k7.mavetju.org> <20020223084616.G492@k7.mavetju.org> User-Agent: Wanderlust/2.7.5 (Too Funky) Emacs/21.1 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 44 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> On Sat, 23 Feb 2002 08:46:16 +1100, >>>>> Edwin Groothuis said: >> > And the interface configuration: >> > gif0: flags=8051 mtu 1280 >> > tunnel inet 203.173.130.126 --> 206.123.31.114 >> > inet6 fe80::250:8bff:feb9:2d24%gif0 prefixlen 64 scopeid 0x9 >> > inet6 3ffe:b80:2:460::2 --> 3ffe:b80:2:460::1 prefixlen 128 >> >> Hmm, and what command did you type to cause this problem? If possible, >> please give me the network topology as well. > The problem was when "route add -inet6 default -interface gif0" was > used instead of the "route ... ". For the rest the > configuration and the commands were the same. > This is a layout of the 'network': (snip) > The symptons were that if I setup a TCP-session, the original message > is at: > http://www.freebsd.org/cgi/getmsg.cgi?fetch=279914+284924+/usr/local/www/db/text/2002/freebsd-hackers/20020217.freebsd-hackers Okay, I understand the configuration. I did a similar test on a 4.5-RELEASE box, but could not reproduce the problem. The main difference in my test case is I did not use ppp, so I guess ppp is somehow related to this problem... Now I'd like to know: - did you see the same problem in an environment without ppp? - what is the result of netstat -rnal when the kernel is sending neighbor solicitations? - I guess some process (or kernel) modifies the route to the destination. Could you run 'route -n monitor' while the session to see the modification? Thanks, JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 2:32:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from saruman.xwin.net (saruman.xwin.net [205.219.158.250]) by hub.freebsd.org (Postfix) with ESMTP id 55CE937B43D for ; Mon, 25 Feb 2002 02:31:48 -0800 (PST) Received: from localhost (dp@localhost) by saruman.xwin.net (8.11.4/8.11.4) with ESMTP id g1PAX0K23279 for ; Mon, 25 Feb 2002 04:33:00 -0600 Date: Mon, 25 Feb 2002 04:33:00 -0600 (CST) From: Paul Halliday X-X-Sender: To: Subject: d00t! d00t! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 5 > 2. Thank's for bringing it home folks! Paul H. "Don't underestimate the power of stupid people in large groups" ___________________ http://dp.penix.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 3:19:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 5E6B937B400; Mon, 25 Feb 2002 03:18:51 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 6B4B52B79B; Mon, 25 Feb 2002 12:18:38 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 1AB1E369; Mon, 25 Feb 2002 22:18:27 +1100 (EST) Date: Mon, 25 Feb 2002 22:18:27 +1100 From: Edwin Groothuis To: "JINMEI Tatuya / ?$B?@L@C#:H?(B" Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: IPv6-over-IPv4 problems since the upgrade to 4.5 Message-ID: <20020225221827.F491@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , "JINMEI Tatuya / ?$B?@L@C#:H?(B" , freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG References: <0D9185CE635BD511ACA50090277A6FCF1359DB@axcs18.cos.agilent.com> <20020216130842.A19081@energyhq.homeip.net> <20020217122510.D491@k7.mavetju.org> <20020222234829.F492@k7.mavetju.org> <20020223084616.G492@k7.mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jinmei@isl.rdc.toshiba.co.jp on Mon, Feb 25, 2002 at 07:30:59PM +0900 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 07:30:59PM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: > >>>>> On Sat, 23 Feb 2002 08:46:16 +1100, > >>>>> Edwin Groothuis said: > > >> > And the interface configuration: > >> > gif0: flags=8051 mtu 1280 > >> > tunnel inet 203.173.130.126 --> 206.123.31.114 > >> > inet6 fe80::250:8bff:feb9:2d24%gif0 prefixlen 64 scopeid 0x9 > >> > inet6 3ffe:b80:2:460::2 --> 3ffe:b80:2:460::1 prefixlen 128 > >> > >> Hmm, and what command did you type to cause this problem? If possible, > >> please give me the network topology as well. > > > The problem was when "route add -inet6 default -interface gif0" was > > used instead of the "route ... ". For the rest the > > configuration and the commands were the same. > > > This is a layout of the 'network': > > (snip) > > > The symptons were that if I setup a TCP-session, the original message > > is at: > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=279914+284924+/usr/local/www/db/text/2002/freebsd-hackers/20020217.freebsd-hackers > > Okay, I understand the configuration. I did a similar test on a > 4.5-RELEASE box, but could not reproduce the problem. The main > difference in my test case is I did not use ppp, so I guess ppp is > somehow related to this problem... > > Now I'd like to know: > > - did you see the same problem in an environment without ppp? That PPP link is my link to the outside world, I'm afraid I can't help you with this one. (Yes I'm living in a backwards country) > - what is the result of netstat -rnal when the kernel is sending > neighbor solicitations? I have three captures for you: one before, one during and one in hang state: *** This one is from before any session: Routing tables Internet: Destination Gateway Flags Refs Use Mtu Netif Expire default 203.109.251.3 UGSc 11 2073 1524 tun0 62.163.31.203 203.109.251.3 UGHW 1 1900 1524 tun0 63.149.6.93 203.109.251.3 UGHW 1 2036 1524 tun0 127.0.0.1 127.0.0.1 UH 7824 496162 16384 lo0 129.127.28.4 203.109.251.3 UGHW 1 1862 1524 tun0 131.155.132.36 203.109.251.3 UGHW 1 2408 1524 tun0 152.163.159.234 203.109.251.3 UGHW3 0 1969 1524 tun0 71 192.168.0 link#7 UC 2 0 1500 vmnet1 192.168.0.1 0:bd:10:10:0:1 UHLW 0 4 1500 lo0 192.168.0.44 link#7 UHLW 1 11 1500 vmnet1 192.168.1 link#1 UC 3 0 1500 fxp0 192.168.1.1 0:50:8b:b9:2d:24 UHLW 0 31541 1500 lo0 192.168.1.2 0:5:2:b1:89:ee UHLW 2 95980 1500 fxp0 1163 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 0 38 1500 fxp0 203.12.68.36 203.109.251.3 UGHW 1 1751 1524 tun0 203.109.251.3 203.173.157.67 UH 12 0 1524 tun0 204.57.55.54 203.109.251.3 UGHW 1 1630 1524 tun0 206.123.31.114 203.109.251.3 UGHW 2 2000 1524 tun0 212.204.230.141 203.109.251.3 UGHW 3 649 1524 tun0 217.120.67.246 203.109.251.3 UGHW 1 2049 1524 tun0 254.237.183.234 203.109.251.3 UGHW 2 2065 1500 tun0 Internet6: Destination Gateway Flags Refs Use Mtu Netif Expire ::/96 ::1 UGRSc 0 0 16384 lo0 => default gif0 ULSc 0 0 1280 gif0 ::1 ::1 UH 4 458445 16384 lo0 ::ffff:0.0.0.0/96 ::1 UGRSc 0 0 16384 lo0 3ffe:b80:2:460::1 3ffe:b80:2:460::2 UH 0 0 1280 gif0 3ffe:b80:2:460::2 link#9 UHL 1 0 1280 lo0 fe80::/10 ::1 UGRSc 0 0 16384 lo0 fe80::%fxp0/64 link#1 UC 0 0 1500 fxp0 fe80::250:8bff:feb9:2d24%fxp0 0:50:8b:b9:2d:24 UHL 0 0 1500 lo0 fe80::%lo0/64 fe80::1%lo0 Uc 0 0 16384 lo0 fe80::1%lo0 link#3 UHL 0 0 16384 lo0 fe80::%vmnet1/64 link#7 UC 0 0 1500 vmnet1 fe80::2bd:10ff:fe10:1%vmnet1 0:bd:10:10:0:1 UHL 0 0 1500 lo0 fe80::%tun0/64 fe80::250:8bff:feb9:2d24%tun0 Uc 0 0 1500 tun0 fe80::250:8bff:feb9:2d24%tun0 link#8 UHL 0 0 1500 lo0 fe80::%gif0/64 link#9 UC 0 0 1280 gif0 fe80::250:8bff:feb9:2d24%gif0 link#9 UHL 0 0 1280 lo0 ff01::/32 ::1 U 0 0 16384 lo0 ff02::/16 ::1 UGRS 0 0 16384 lo0 ff02::%fxp0/32 link#1 UC 0 0 1500 fxp0 ff02::%lo0/32 ::1 UC 0 0 16384 lo0 ff02::%vmnet1/32 link#7 UC 0 0 1500 vmnet1 ff02::%tun0/32 fe80::250:8bff:feb9:2d24%tun0 UC 0 0 1500 tun0 ff02::%gif0/32 link#9 UC 0 0 1280 gif0 *** This one is just after the tcp-session is setup: Routing tables Internet: Destination Gateway Flags Refs Use Mtu Netif Expire default 203.109.251.3 UGSc 11 2073 1524 tun0 62.163.31.203 203.109.251.3 UGHW 1 1902 1524 tun0 63.149.6.93 203.109.251.3 UGHW 1 2036 1524 tun0 127.0.0.1 127.0.0.1 UH 7824 496172 16384 lo0 129.127.28.4 203.109.251.3 UGHW 1 1862 1524 tun0 131.155.132.36 203.109.251.3 UGHW 1 2408 1524 tun0 152.163.159.234 203.109.251.3 UGHW3 0 1969 1524 tun0 66 192.168.0 link#7 UC 2 0 1500 vmnet1 192.168.0.1 0:bd:10:10:0:1 UHLW 0 4 1500 lo0 192.168.0.44 link#7 UHLW 1 11 1500 vmnet1 192.168.1 link#1 UC 3 0 1500 fxp0 192.168.1.1 0:50:8b:b9:2d:24 UHLW 0 31541 1500 lo0 192.168.1.2 0:5:2:b1:89:ee UHLW 2 95980 1500 fxp0 1158 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 0 38 1500 fxp0 203.12.68.36 203.109.251.3 UGHW 1 1752 1524 tun0 203.109.251.3 203.173.157.67 UH 12 0 1524 tun0 204.57.55.54 203.109.251.3 UGHW 1 1631 1524 tun0 206.123.31.114 203.109.251.3 UGHW 2 2003 1524 tun0 212.204.230.141 203.109.251.3 UGHW 3 649 1524 tun0 217.120.67.246 203.109.251.3 UGHW 1 2049 1524 tun0 254.237.183.234 203.109.251.3 UGHW 2 2065 1500 tun0 Internet6: Destination Gateway Flags Refs Use Mtu Netif Expire ::/96 ::1 UGRSc 0 0 16384 lo0 => default gif0 ULSc 1 0 1280 gif0 ::1 ::1 UH 4 458445 16384 lo0 ::ffff:0.0.0.0/96 ::1 UGRSc 0 0 16384 lo0 3ffe:b80:2:460::1 3ffe:b80:2:460::2 UH 0 0 1280 gif0 3ffe:b80:2:460::2 link#9 UHL 1 0 1280 lo0 3ffe:8050:201:1860:2a0:c9ff:feed:b7ea gif0 UHLW 1 3 1280 gif0 fe80::/10 ::1 UGRSc 0 0 16384 lo0 fe80::%fxp0/64 link#1 UC 0 0 1500 fxp0 fe80::250:8bff:feb9:2d24%fxp0 0:50:8b:b9:2d:24 UHL 0 0 1500 lo0 fe80::%lo0/64 fe80::1%lo0 Uc 0 0 16384 lo0 fe80::1%lo0 link#3 UHL 0 0 16384 lo0 fe80::%vmnet1/64 link#7 UC 0 0 1500 vmnet1 fe80::2bd:10ff:fe10:1%vmnet1 0:bd:10:10:0:1 UHL 0 0 1500 lo0 fe80::%tun0/64 fe80::250:8bff:feb9:2d24%tun0 Uc 0 0 1500 tun0 fe80::250:8bff:feb9:2d24%tun0 link#8 UHL 0 0 1500 lo0 fe80::%gif0/64 link#9 UC 0 0 1280 gif0 fe80::250:8bff:feb9:2d24%gif0 link#9 UHL 0 0 1280 lo0 ff01::/32 ::1 U 0 0 16384 lo0 ff02::/16 ::1 UGRS 0 0 16384 lo0 ff02::%fxp0/32 link#1 UC 0 0 1500 fxp0 ff02::%lo0/32 ::1 UC 0 0 16384 lo0 ff02::%vmnet1/32 link#7 UC 0 0 1500 vmnet1 ff02::%tun0/32 fe80::250:8bff:feb9:2d24%tun0 UC 0 0 1500 tun0 ff02::%gif0/32 link#9 UC 0 0 1280 gif0 *** And this one is after is hangs: Routing tables Internet: Destination Gateway Flags Refs Use Mtu Netif Expire default 203.109.251.3 UGSc 11 2073 1524 tun0 62.163.31.203 203.109.251.3 UGHW 1 1907 1524 tun0 63.149.6.93 203.109.251.3 UGHW 1 2036 1524 tun0 127.0.0.1 127.0.0.1 UH 7824 496188 16384 lo0 129.127.28.4 203.109.251.3 UGHW 1 1862 1524 tun0 131.155.132.36 203.109.251.3 UGHW 1 2408 1524 tun0 152.163.159.234 203.109.251.3 UGHW3 0 1969 1524 tun0 45 192.168.0 link#7 UC 2 0 1500 vmnet1 192.168.0.1 0:bd:10:10:0:1 UHLW 0 4 1500 lo0 192.168.0.44 link#7 UHLW 1 11 1500 vmnet1 192.168.1 link#1 UC 3 0 1500 fxp0 192.168.1.1 0:50:8b:b9:2d:24 UHLW 0 31541 1500 lo0 192.168.1.2 0:5:2:b1:89:ee UHLW 2 95980 1500 fxp0 1137 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 0 38 1500 fxp0 203.12.68.36 203.109.251.3 UGHW 1 1755 1524 tun0 203.109.251.3 203.173.157.67 UH 12 0 1524 tun0 204.57.55.54 203.109.251.3 UGHW 1 1631 1524 tun0 206.123.31.114 203.109.251.3 UGHW 2 2017 1524 tun0 212.204.230.141 203.109.251.3 UGHW 3 649 1524 tun0 217.120.67.246 203.109.251.3 UGHW 1 2049 1524 tun0 254.237.183.234 203.109.251.3 UGHW 3 2072 1500 tun0 Internet6: Destination Gateway Flags Refs Use Mtu Netif Expire ::/96 ::1 UGRSc 0 0 16384 lo0 => default gif0 ULSc 1 0 1280 gif0 ::1 ::1 UH 4 458445 16384 lo0 ::ffff:0.0.0.0/96 ::1 UGRSc 0 0 16384 lo0 3ffe:b80:2:460::1 3ffe:b80:2:460::2 UH 0 0 1280 gif0 3ffe:b80:2:460::2 link#9 UHL 1 0 1280 lo0 fe80::/10 ::1 UGRSc 0 0 16384 lo0 fe80::%fxp0/64 link#1 UC 0 0 1500 fxp0 fe80::250:8bff:feb9:2d24%fxp0 0:50:8b:b9:2d:24 UHL 0 0 1500 lo0 fe80::%lo0/64 fe80::1%lo0 Uc 0 0 16384 lo0 fe80::1%lo0 link#3 UHL 0 0 16384 lo0 fe80::%vmnet1/64 link#7 UC 0 0 1500 vmnet1 fe80::2bd:10ff:fe10:1%vmnet1 0:bd:10:10:0:1 UHL 0 0 1500 lo0 fe80::%tun0/64 fe80::250:8bff:feb9:2d24%tun0 Uc 0 0 1500 tun0 fe80::250:8bff:feb9:2d24%tun0 link#8 UHL 0 0 1500 lo0 fe80::%gif0/64 link#9 UC 0 0 1280 gif0 fe80::250:8bff:feb9:2d24%gif0 link#9 UHL 0 0 1280 lo0 ff01::/32 ::1 U 0 0 16384 lo0 ff02::/16 ::1 UGRS 0 0 16384 lo0 ff02::%fxp0/32 link#1 UC 0 0 1500 fxp0 ff02::%lo0/32 ::1 UC 0 0 16384 lo0 ff02::%vmnet1/32 link#7 UC 0 0 1500 vmnet1 ff02::%tun0/32 fe80::250:8bff:feb9:2d24%tun0 UC 0 0 1500 tun0 ff02::%gif0/32 link#9 UC 0 0 1280 gif0 For your convenience, this is in the diff between the first and the second: Internet6: Destination Gateway Flags Refs Use Mtu Netif Expire ::/96 ::1 UGRSc 0 0 16384 lo0 => -default gif0 ULSc 0 0 1280 gif0 +default gif0 ULSc 1 0 1280 gif0 ::1 ::1 UH 4 458445 16384 lo0 ::ffff:0.0.0.0/96 ::1 UGRSc 0 0 16384 lo0 3ffe:b80:2:460::1 3ffe:b80:2:460::2 UH 0 0 1280 gif0 3ffe:b80:2:460::2 link#9 UHL 1 0 1280 lo0 +3ffe:8050:201:1860:2a0:c9ff:feed:b7ea gif0 UHLW 1 3 1280 gif0 fe80::/10 ::1 UGRSc 0 0 16384 lo0 fe80::%fxp0/64 link#1 UC 0 0 1500 fxp0 fe80::250:8bff:feb9:2d24%fxp0 0:50:8b:b9:2d:24 UHL 0 0 1500 lo0 And this in the diff between the second and the third: ::ffff:0.0.0.0/96 ::1 UGRSc 0 0 16384 lo0 3ffe:b80:2:460::1 3ffe:b80:2:460::2 UH 0 0 1280 gif0 3ffe:b80:2:460::2 link#9 UHL 1 0 1280 lo0 -3ffe:8050:201:1860:2a0:c9ff:feed:b7ea gif0 UHLW 1 3 1280 gif0 fe80::/10 ::1 UGRSc 0 0 16384 lo0 fe80::%fxp0/64 link#1 UC 0 0 1500 fxp0 fe80::250:8bff:feb9:2d24%fxp0 0:50:8b:b9:2d:24 UHL 0 0 1500 lo0 > - I guess some process (or kernel) modifies the route to the > destination. Could you run 'route -n monitor' while the session to > see the modification? The first message is when the session is setup, the second one is a short time later (not directly after the last neighbour solicitation message). I don't know what the 254.237.183.234 is. got message of size 260 on Mon Feb 25 22:04:25 2002 RTM_ADD: Add Route: len 260, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: 3ffe:8050:201:1860:2a0:c9ff:feed:b7ea gif0 gif0 fe80::250:8bff:feb9:2d24%gif0 got message of size 124 on Mon Feb 25 22:04:38 2002 RTM_LOSING: Kernel Suspects Partitioning: len 124, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: 254.237.183.234 203.109.251.3 If you need more information, feel free to ask. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 3:51:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id B928037B400; Mon, 25 Feb 2002 03:51:13 -0800 (PST) Received: from localhost ([3ffe:501:4819:2000:e028:ba95:b8bc:b5a5]) by shuttle.wide.toshiba.co.jp (8.11.6/8.9.1) with ESMTP id g1PBp9o04573; Mon, 25 Feb 2002 20:51:09 +0900 (JST) Date: Mon, 25 Feb 2002 20:51:09 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: Edwin Groothuis Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: IPv6-over-IPv4 problems since the upgrade to 4.5 In-Reply-To: <20020225221827.F491@k7.mavetju.org> References: <0D9185CE635BD511ACA50090277A6FCF1359DB@axcs18.cos.agilent.com> <20020216130842.A19081@energyhq.homeip.net> <20020217122510.D491@k7.mavetju.org> <20020222234829.F492@k7.mavetju.org> <20020223084616.G492@k7.mavetju.org> <20020225221827.F491@k7.mavetju.org> User-Agent: Wanderlust/2.7.5 (Too Funky) Emacs/21.1 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 30 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> On Mon, 25 Feb 2002 22:18:27 +1100, >>>>> Edwin Groothuis said: > *** And this one is after is hangs: > Internet6: > Destination Gateway Flags Refs Use Mtu Netif Expire > ::/96 ::1 UGRSc 0 0 16384 lo0 => > default gif0 ULSc 1 0 1280 gif0 This means you configured the default route by "-interface gif0", right? If so, wasn't it a workaround of this problem? > got message of size 260 on Mon Feb 25 22:04:25 2002 > RTM_ADD: Add Route: len 260, pid: 0, seq 0, errno 0, flags: > locks: inits: > sockaddrs: > 3ffe:8050:201:1860:2a0:c9ff:feed:b7ea gif0 gif0 fe80::250:8bff:feb9:2d24%gif0 Hmm, there's nothing strange here. > If you need more information, feel free to ask. Which interface did you see the neighbor solicitations, on gif0, on tun0, or others? JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 6:18:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 7E63037B402; Mon, 25 Feb 2002 06:18:05 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id QAA15946; Mon, 25 Feb 2002 16:17:32 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h41.228.dialup.iptcom.net [212.9.228.41]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id QAA90107; Mon, 25 Feb 2002 16:17:29 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g1PE8ls23374; Mon, 25 Feb 2002 16:08:47 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C7A458F.427FFF8A@FreeBSD.org> Date: Mon, 25 Feb 2002 16:09:19 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: or not ? [Was: cvs commit: src/include grp.h] References: <200202251355.g1PDtmb35078@freefall.freebsd.org> <20020225140030.GD33818@nagual.pp.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Andrey A. Chernov" wrote: > > On Mon, Feb 25, 2002 at 05:55:48 -0800, Maxim Sobolev wrote: > > sobomax 2002/02/25 05:55:48 PST > > > > Modified files: > > include grp.h > > Log: > > Backout rev.1.5 - it seems that it's posixly correct that the program > > needs to include before . > > No, it breaks POSIX compatibility, please back it out. > > is standalone per POSIX and programs WILL treat is as standalone > for that reason. Are you sure? I've just heard so many opinions about that and want to get some clarity before backouting the backout to avoid backouting the backouted backout later. :) Please, could anyone confirm or reject assertion that POSIX doesn't require before ? -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 6:24: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 71DF037B400; Mon, 25 Feb 2002 06:23:58 -0800 (PST) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g1PENtgS034438; Mon, 25 Feb 2002 17:23:55 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g1PENrks034437; Mon, 25 Feb 2002 17:23:54 +0300 (MSK) Date: Mon, 25 Feb 2002 17:23:53 +0300 From: "Andrey A. Chernov" To: Maxim Sobolev Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] Message-ID: <20020225142352.GA34378@nagual.pp.ru> References: <200202251355.g1PDtmb35078@freefall.freebsd.org> <20020225140030.GD33818@nagual.pp.ru> <3C7A458F.427FFF8A@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C7A458F.427FFF8A@FreeBSD.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 16:09:19 +0200, Maxim Sobolev wrote: > Are you sure? I've just heard so many opinions about that and want to > get some clarity before backouting the backout to avoid backouting the > backouted backout later. :) Your initial fix was incorrect, but intention was right. should declare gid_t by itself. Sample quotes included below. From IEEE P1003.1 Draft 7: NAME 8332 grp.h.group structure 8333 SYNOPSIS 8334 #include 8335 DESCRIPTION 8336 The header shall declare the structure group which shall include the following 8337 members: 8338 char *gr_name The name of the group. 8339 gid_t gr_gid Numerical group ID. 8340 char **gr_mem Pointer to a null-terminated array of character 8341 pointers to member names. 8342 The gid_t type shall be defined as described in . ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16662 NAME 16663 getgrgid, getgrgid_r.get group database entry for a group ID 16664 SYNOPSIS 16665 #include 16666 struct group *getgrgid(gid_t gid); 16667 TSF int getgrgid_r(gid_t gid, struct group * grp, char * buffer, 16668 size_t bufsize, struct group ** result); -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 6:29:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 000C937B417; Mon, 25 Feb 2002 06:29:44 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16fMBf-000NOb-00; Mon, 25 Feb 2002 16:33:07 +0200 From: Sheldon Hearn To: Maxim Sobolev Cc: "Andrey A. Chernov" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] In-reply-to: Your message of "Mon, 25 Feb 2002 16:09:19 +0200." <3C7A458F.427FFF8A@FreeBSD.org> Date: Mon, 25 Feb 2002 16:33:07 +0200 Message-ID: <89936.1014647587@axl.seasidesoftware.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 25 Feb 2002 16:09:19 +0200, Maxim Sobolev wrote: > Are you sure? I've just heard so many opinions about that and want to > get some clarity before backouting the backout to avoid backouting the > backouted backout later. :) > > Please, could anyone confirm or reject assertion that POSIX doesn't > require before ? I just checked on the OpenGroup web site, and it looks like Andrey's right -- getgr*() rely on only. However, the standard expects gid_t to be defined in , so if you just need gid_t, and not prototypes for getgr*(), then that's the one to include. Sorry about the confusion. For what it's worth, I just asked a question. I didn't make any assertions originally. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 6:32:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id C69D137B402; Mon, 25 Feb 2002 06:32:37 -0800 (PST) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g1PEWYgS034564; Mon, 25 Feb 2002 17:32:35 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g1PEWXZ7034563; Mon, 25 Feb 2002 17:32:33 +0300 (MSK) Date: Mon, 25 Feb 2002 17:32:31 +0300 From: "Andrey A. Chernov" To: Sheldon Hearn Cc: Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] Message-ID: <20020225143231.GC34378@nagual.pp.ru> References: <3C7A458F.427FFF8A@FreeBSD.org> <89936.1014647587@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <89936.1014647587@axl.seasidesoftware.co.za> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 16:33:07 +0200, Sheldon Hearn wrote: > > However, the standard expects gid_t to be defined in , so if > you just need gid_t, and not prototypes for getgr*(), then that's the > one to include. POSIX reguire gid_t to be specified not only in but in too. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 6:36:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from shidahara1.planet.sci.kobe-u.ac.jp (shidahara1.planet.sci.kobe-u.ac.jp [133.30.68.253]) by hub.freebsd.org (Postfix) with ESMTP id DBBDD37B402 for ; Mon, 25 Feb 2002 06:36:02 -0800 (PST) Received: from shidahara1.planet.sci.kobe-u.ac.jp (localhost [127.0.0.1]) by shidahara1.planet.sci.kobe-u.ac.jp (8.9.3/8.9.3) with ESMTP id XAA91094 for ; Mon, 25 Feb 2002 23:35:10 +0900 (JST) (envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp) Message-Id: <200202251435.XAA91094@shidahara1.planet.sci.kobe-u.ac.jp> To: hackers@freebsd.org Subject: unionfs and getcwd problem. Date: Mon, 25 Feb 2002 23:35:10 +0900 From: Takanori Watanabe Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I had trouble with unionfs when it calles getcwd(3) when I mount some directory on the directry in same file system,like mount -t union /usr/home/foo/bar /usr/src/sys/ . I investigate the problem by inserting debug print in getcwd.c. Then I found issuing __getcwd(2) in getcwd(3) failed, and climb up filesystem tree as the next way. But it failed when it reaches to mount point. It seems that st_dev and st_ino member returns the same number as the underlying filesystem so it failed to recognize mount point. So I tried the patch as follows taken from nullfs. Are there any problem with this patch? Takanori Watanabe Public Key Key fingerprint = 2C 51 E2 78 2C E1 C5 2D 0F F1 20 A3 11 3A 62 2A --- union_vnops.c~ Tue Oct 2 00:01:37 2001 +++ union_vnops.c Mon Feb 25 22:44:51 2002 @@ -957,6 +957,8 @@ union_newsize(ap->a_vp, VNOVAL, vap->va_size); } + ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; + if ((vap != ap->a_vap) && (vap->va_type == VDIR)) ap->a_vap->va_nlink += vap->va_nlink; return (0); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 6:39:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 10D3D37B41B; Mon, 25 Feb 2002 06:39:45 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16fMLB-000NRV-00; Mon, 25 Feb 2002 16:42:57 +0200 From: Sheldon Hearn To: "Andrey A. Chernov" Cc: Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] In-reply-to: Your message of "Mon, 25 Feb 2002 17:32:31 +0300." <20020225143231.GC34378@nagual.pp.ru> Date: Mon, 25 Feb 2002 16:42:57 +0200 Message-ID: <90116.1014648177@axl.seasidesoftware.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 25 Feb 2002 17:32:31 +0300, "Andrey A. Chernov" wrote: > > However, the standard expects gid_t to be defined in , so if > > you just need gid_t, and not prototypes for getgr*(), then that's the > > one to include. > > POSIX reguire gid_t to be specified not only in but in > too. Okay. I wasn't disputing making any assertion to the contrary; just pointing out that things like getgroups() don't have to worry about this mess at all. I note that the getgroups(2) manual page disagrees with POSIX as well. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 6:40:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id C284C37B425; Mon, 25 Feb 2002 06:40:04 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 25 Feb 2002 14:40:04 +0000 (GMT) Date: Mon, 25 Feb 2002 14:40:03 +0000 From: David Malone To: "Andrey A. Chernov" Cc: Sheldon Hearn , Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] Message-ID: <20020225144003.GA50785@walton.maths.tcd.ie> References: <3C7A458F.427FFF8A@FreeBSD.org> <89936.1014647587@axl.seasidesoftware.co.za> <20020225143231.GC34378@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020225143231.GC34378@nagual.pp.ru> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 05:32:31PM +0300, Andrey A. Chernov wrote: > On Mon, Feb 25, 2002 at 16:33:07 +0200, Sheldon Hearn wrote: > > However, the standard expects gid_t to be defined in , so if > > you just need gid_t, and not prototypes for getgr*(), then that's the > > one to include. > > POSIX reguire gid_t to be specified not only in but in > too. I note that in the footnotes for getgrgid, in the section for "issue 6" of the standard: The requirement to include has been removed. Although was required for conforming implementations of previous POSIX specifications, it was not required for UNIX applications. Curiously, this seems to say the opposit of what you actually see in SUSv2, as it lists as a prerequisit. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 7:26:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 295AB37B41A; Mon, 25 Feb 2002 07:25:48 -0800 (PST) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g1PFPigS035553; Mon, 25 Feb 2002 18:25:45 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g1PFPh9k035552; Mon, 25 Feb 2002 18:25:43 +0300 (MSK) Date: Mon, 25 Feb 2002 18:25:42 +0300 From: "Andrey A. Chernov" To: Maxim Sobolev Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] Message-ID: <20020225152541.GA35289@nagual.pp.ru> References: <200202251355.g1PDtmb35078@freefall.freebsd.org> <20020225140030.GD33818@nagual.pp.ru> <3C7A458F.427FFF8A@FreeBSD.org> <20020225142352.GA34378@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020225142352.GA34378@nagual.pp.ru> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 17:23:53 +0300, Andrey A. Chernov wrote: > Your initial fix was incorrect, but intention was right. should > declare gid_t by itself. Sample quotes included below. > > >From IEEE P1003.1 Draft 7: > > NAME > 8332 grp.h.group structure > 8342 The gid_t type shall be defined as described in . > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I mean that the fix with less header pollution will be something like: #ifndef _GID_T_DECLARED typedef ... #define _GID_T_DECLARED #endif in _both_ and (you need to include in in anycase) But for simpler solution your fix is enough. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 8:47: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.webweaving.org (uds123-60.dial.hccnet.nl [62.251.60.123]) by hub.freebsd.org (Postfix) with ESMTP id 76A7237B402 for ; Mon, 25 Feb 2002 08:46:57 -0800 (PST) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.10.2/8.10.2) with ESMTP id g1PGfXg01480 for ; Mon, 25 Feb 2002 17:41:33 +0100 (CET) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Mon, 25 Feb 2002 17:41:33 +0100 (CET) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Mon, 25 Feb 2002 17:41:33 +0100 (CET) From: dirkx@covalent.net X-X-Sender: dirkx@gandalf.webweaving.org To: freebsd-hackers@freebsd.org Subject: Myson drivers for 4.x Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I found: http://www.myson.com.tw/mtd/driver/803/mtd80x-freebsd.tgz.TGZ to work splendidly with 4.5. Would be nice to see them rolled in. Dw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 10:21:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from marlborough.cnchost.com (marlborough.concentric.net [207.155.248.14]) by hub.freebsd.org (Postfix) with ESMTP id AFBB237B402; Mon, 25 Feb 2002 10:21:18 -0800 (PST) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by marlborough.cnchost.com id NAA13901; Mon, 25 Feb 2002 13:21:09 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <200202251821.NAA13901@marlborough.cnchost.com> To: Terry Lambert Cc: Julian Elischer , Michael Smith , "George V. Neville-Neil" , freebsd-hackers@freebsd.org Subject: Re: Kernel Debugging over the Ethernet? In-reply-to: Your message of "Sat, 23 Feb 2002 12:12:30 PST." <3C77F7AE.76EAAE24@mindspring.com> Date: Mon, 25 Feb 2002 10:21:08 -0800 From: Bakul Shah Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > The value of network debugging to me is not that I can > avoid buying a serial cable (big deal), it's that I can > do the debugging remotely. Agreed. > If I'm going to ssh into a local machine and debug from > there, then I can use a serial cable. The serial cable solution does not scale too well when you have many people simulteneously debugging multiple kernels. If you use 8-port serial cards on a machine and connect every other machine's serial console to it, that machine can become the bottleneck + even in a lab keeping track of all the serial cables etc. can be a pain. For us the ability to log in any test machine and debug any other test machine was very valuable. > The other issue is that, doing remote debugging from a > local machine, means I have to expose my source code on > that machine. If I tunnel in, insteaD, well, then I'm > not exposing the source code. There are other alternatives if this is an issue. For instance on a local machine you can put a little proxy or a tunnel endpoint. But see below. > > > For me the biggest reason for not using any IP was to > > > minimize any perturbation due to the debugger. The fact that > > > we have to steal mbufs is bad enough. > > > > I agree, especially when we will have locking etc for the mbuf queues. > > It's a pitty we can't intercept the mbuf allocate routines.. > > then we could keep a couple for ourself :-) > > IP is so you can make it through a cisco, etc. to another > routable segment. Oh I know that; but the cost of that convenience seems high. For us, with a lab full of test machines (used for simulating and testing various IP network clouds) a non-IP solution was preferable. But I can see that for other situations (such as debugging a machine colocated at your ISP, or debugging kernels in the field (ouch!)) our solution is far from ideal. Still, adding a separate tcp/ip stack just for debugging (as someone seemed to suggest) seems excessive. -- bakul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 10:28:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 8407F37B400; Mon, 25 Feb 2002 10:28:27 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.6) id g1PISL382207; Mon, 25 Feb 2002 13:28:21 -0500 (EST) (envelope-from wollman) Date: Mon, 25 Feb 2002 13:28:21 -0500 (EST) From: Garrett Wollman Message-Id: <200202251828.g1PISL382207@khavrinen.lcs.mit.edu> To: "Andrey A. Chernov" Cc: Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] In-Reply-To: <20020225142352.GA34378@nagual.pp.ru> References: <200202251355.g1PDtmb35078@freefall.freebsd.org> <20020225140030.GD33818@nagual.pp.ru> <3C7A458F.427FFF8A@FreeBSD.org> <20020225142352.GA34378@nagual.pp.ru> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: >> From IEEE P1003.1 Draft 7: You're looking at the wrong document. FreeBSD is very far from being ready to implement POSIX 2001 header files. POSIX 1990, which we do implement, requires almost everywhere. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 11: 0:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 518D037B405; Mon, 25 Feb 2002 11:00:15 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020225190014.BTEF1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Mon, 25 Feb 2002 19:00:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA89232; Mon, 25 Feb 2002 10:51:47 -0800 (PST) Date: Mon, 25 Feb 2002 10:51:46 -0800 (PST) From: Julian Elischer To: Bakul Shah Cc: Terry Lambert , Michael Smith , "George V. Neville-Neil" , freebsd-hackers@freebsd.org Subject: Re: Kernel Debugging over the Ethernet? In-Reply-To: <200202251821.NAA13901@marlborough.cnchost.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 25 Feb 2002, Bakul Shah wrote: > > The value of network debugging to me is not that I can > > avoid buying a serial cable (big deal), it's that I can > > do the debugging remotely. > > Agreed. > > > If I'm going to ssh into a local machine and debug from > > there, then I can use a serial cable. > > The serial cable solution does not scale too well when you > have many people simulteneously debugging multiple kernels. > If you use 8-port serial cards on a machine and connect every > other machine's serial console to it, that machine can become > the bottleneck + even in a lab keeping track of all the > serial cables etc. can be a pain. For us the ability to log > in any test machine and debug any other test machine was very > valuable. I hook my development machines up in pairs, with com1 and com2 cross connected. com1 -> com2 and visa versa. tip com2 on any machine gives me the serial console for it's partner. and gdb looks at com1, expecting to find the serial gdb output coming out of com2 on it's partner. Having said that.. network debugging is good, thuogh ai have a suspicion that the extent of the perturbations made into the system might lead to a larger class of "heisenbugs", for which a reversion to the serial cable or even ddb may be required. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 11:20:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id B2D2237B42B for ; Mon, 25 Feb 2002 11:20:08 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020225192008.CJWL1147.rwcrmhc52.attbi.com@InterJet.elischer.org>; Mon, 25 Feb 2002 19:20:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA89303; Mon, 25 Feb 2002 11:00:16 -0800 (PST) Date: Mon, 25 Feb 2002 11:00:13 -0800 (PST) From: Julian Elischer To: dirkx@covalent.net Cc: freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG www.myson.com.tw: Unable to reolve. On Mon, 25 Feb 2002 dirkx@covalent.net wrote: > > I found: > > http://www.myson.com.tw/mtd/driver/803/mtd80x-freebsd.tgz.TGZ > > to work splendidly with 4.5. Would be nice to see them rolled in. > > Dw > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 11:51:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.webweaving.org (uds3-45.dial.hccnet.nl [62.251.45.3]) by hub.freebsd.org (Postfix) with ESMTP id D497A37B404 for ; Mon, 25 Feb 2002 11:51:19 -0800 (PST) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.10.2/8.10.2) with ESMTP id g1PJjVg02108; Mon, 25 Feb 2002 20:45:32 +0100 (CET) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Mon, 25 Feb 2002 20:45:32 +0100 (CET) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Mon, 25 Feb 2002 20:45:31 +0100 (CET) From: dirkx@covalent.net X-X-Sender: dirkx@gandalf.webweaving.org To: julian@elischer.org Cc: freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hmm - must be transient - it works for me at this time (on 210.103.175.103). Dw. On Mon, 25 Feb 2002, Julian Elischer wrote: > www.myson.com.tw: Unable to reolve. > > > On Mon, 25 Feb 2002 dirkx@covalent.net wrote: > > > > > I found: > > > > http://www.myson.com.tw/mtd/driver/803/mtd80x-freebsd.tgz.TGZ > > > > to work splendidly with 4.5. Would be nice to see them rolled in. > > > > Dw > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 14:30:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 26D3437B405; Mon, 25 Feb 2002 14:30:14 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g1PMUDZ96475; Mon, 25 Feb 2002 14:30:13 -0800 (PST) (envelope-from rizzo) Date: Mon, 25 Feb 2002 14:30:13 -0800 From: Luigi Rizzo To: hackers@freebsd.org Subject: bootinfo not reporting boot slice ? Message-ID: <20020225143013.A96117@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [bcc-ed to some recent committers to boot2.c] Hi, for some stuff I am doing with picobsd (and i think in general this is useful) it would be nice to know where the kernel was loaded from. In /sys/boot/i386/boot2/boot2.c this information is stored in three 8-bit variables: dsk.drive also goes into bootinfo.bi_bios_dev dsk.slice dsk.part Although the latter two are not made available to the kernel, there are two empty 8-bit fields in struct bootinfo u_int8_t bi_pad[2]; which could do the job without breaking binary compatibility. Any objection on exporting dsk.slice and dsk.part into the bi_pad fields, possibly starting from 1 so the kernel can tell an uninitialized value from a good one ? (and together with this, perhaps a sysctl variable which builds a device name from these three values...) cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 14:59:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hunkular.glarp.com (hunkular.glarp.com [199.117.25.251]) by hub.freebsd.org (Postfix) with ESMTP id A109D37B425; Mon, 25 Feb 2002 14:58:56 -0800 (PST) Received: from hunkular.glarp.com (localhost [127.0.0.1]) by hunkular.glarp.com (8.11.6/8.11.6) with ESMTP id g1PMwmR51082; Mon, 25 Feb 2002 15:58:48 -0700 (MST) (envelope-from huntting@hunkular.glarp.com) Message-Id: <200202252258.g1PMwmR51082@hunkular.glarp.com> To: Bakul Shah Cc: Terry Lambert , Julian Elischer , Michael Smith , "George V. Neville-Neil" , freebsd-hackers@FreeBSD.ORG Subject: Re: Kernel Debugging over the Ethernet? In-Reply-To: Your message of "Mon, 25 Feb 2002 10:21:08 PST." <200202251821.NAA13901@marlborough.cnchost.com> Date: Mon, 25 Feb 2002 15:58:48 -0700 From: Brad Huntting Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> IP is so you can make it through a cisco, etc. to another >> routable segment. > Oh I know that; but the cost of that convenience seems high. > For us, with a lab full of test machines (used for simulating > and testing various IP network clouds) a non-IP solution was > preferable. > But I can see that for other situations (such as debugging a > machine colocated at your ISP, or debugging kernels in the > field (ouch!)) our solution is far from ideal. Still, adding > a separate tcp/ip stack just for debugging (as someone seemed > to suggest) seems excessive. You probably meant to say "udp/ip stack", no? While this is easier than tcp, it's still expensive in that you have to cooperate with applications which use IP. However, such a mechanism (kernel debugging integrated into the UDP/IP code) could also support things like SNMP directly to the kernel. Without involving user process scheduling, kernel-snmp could be very useful for remote management of machines who's resources are so overloaded that remote login is no longer possible. Invariably these are the times you really wish you could run "netstat", "ps", "vmstat" etc but you cant even get a prompt from the console. brad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 16:58:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from eagle.sasktel.net (eagle.sasktel.net [142.165.19.3]) by hub.freebsd.org (Postfix) with ESMTP id E4A0437B400 for ; Mon, 25 Feb 2002 16:58:44 -0800 (PST) Received: from hirschko.yorku.ca (sktnsk01d05030117.sk.sympatico.ca [142.165.105.17]) by eagle.sasktel.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0GS4009ZA81P7O@eagle.sasktel.net> for freebsd-hackers@FreeBSD.org; Mon, 25 Feb 2002 18:58:39 -0600 (CST) X-URL: http://www.pocomail.com/ Date: Mon, 25 Feb 2002 18:59:19 -0600 From: Greg Magnusson Subject: subscription request To: freebsd-hackers@FreeBSD.org Message-id: <0GS4009ZD81P7O@eagle.sasktel.net> MIME-version: 1.0 X-Mailer: Poco 2.1 (733) - Registered Version Content-type: multipart/alternative; boundary="Boundary_(ID_4+cjo8sOBiNIpfUNl2s5fw)" X-Mark: 0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multipart message in MIME format --Boundary_(ID_4+cjo8sOBiNIpfUNl2s5fw) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hello, My name is Greg Magnusson and I would like to join your mailing list. I have FreeBSD 4.2 running on my second machine. I am in the process of building a LAN of 486's to get my feet wet. I am interested in joining your mailing list. Please subscribe me cyborgspiders@sasktel.net --Boundary_(ID_4+cjo8sOBiNIpfUNl2s5fw) Content-type: text/html Content-transfer-encoding: 7BIT Hello,

My name is Greg Magnusson and I would like to join your mailing list. I have FreeBSD 4.2 running on my second machine.  I am in the process of building a LAN of 486's to get my feet wet.  I am interested in joining your mailing list.  Please subscribe me

cyborgspiders@sasktel.net
--Boundary_(ID_4+cjo8sOBiNIpfUNl2s5fw)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 17: 9:23 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 3F98A37B400; Mon, 25 Feb 2002 17:09:10 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id MAA04903; Tue, 26 Feb 2002 12:08:35 +1100 Date: Tue, 26 Feb 2002 12:08:59 +1100 (EST) From: Bruce Evans X-X-Sender: To: David Malone Cc: "Andrey A. Chernov" , Sheldon Hearn , Maxim Sobolev , , , Subject: Re: or not ? [Was: cvs commit: src/include grp.h] In-Reply-To: <20020225144003.GA50785@walton.maths.tcd.ie> Message-ID: <20020226115508.T42756-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 25 Feb 2002, David Malone wrote: > I note that in the footnotes for getgrgid, in the section for "issue > 6" of the standard: > > The requirement to include has been removed. > Although was required for conforming > implementations of previous POSIX specifications, it was > not required for UNIX applications. > > Curiously, this seems to say the opposit of what you actually see > in SUSv2, as it lists as a prerequisit. This is probably because SUSv2 is almost as old as POSIX.1-1996 (which has the prerequisite). BTW, has the same prerequisite, but our version of is polluted with an include of . Nevertheless, we fixed several man pages to document the old-POSIX requirements. E.g.: RCS file: /home/ncvs/src/lib/libc/sys/fork.2,v Working file: fork.2 head: 1.14 ... ---------------------------- revision 1.7 date: 1998/01/11 16:51:49; author: alex; state: Exp; lines: +4 -1 branches: 1.7.2; Add to synopsis. Correct a grammatical error. Add cross-reference to setrlimit(2). Obtained from: OpenBSD ---------------------------- ISTR that most of the fixes came from OpenBSD. I haven't attempted to fix unistd.h since its pollution is old. I only police new pollution and must have been asleep when we broke several man pages to undocument the old-POSIX requirements. E.g.: RCS file: /home/ncvs/src/lib/libc/sys/setsid.2,v Working file: setsid.2 head: 1.12 ... ---------------------------- revision 1.6 date: 1997/04/08 10:43:47; author: peter; state: Exp; lines: +1 -1 setsid is declared in , which is self sufficient (doesn't need prior ) Fixes PR#3229, from Dmitrij Tejblum ---------------------------- Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 21:38:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id 420F437B400; Mon, 25 Feb 2002 21:38:36 -0800 (PST) Received: from localhost ([3ffe:501:4819:2000:e028:ba95:b8bc:b5a5]) by shuttle.wide.toshiba.co.jp (8.11.6/8.9.1) with ESMTP id g1Q5cTo11094; Tue, 26 Feb 2002 14:38:29 +0900 (JST) Date: Tue, 26 Feb 2002 14:38:28 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: Edwin Groothuis Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: IPv6-over-IPv4 problems since the upgrade to 4.5 In-Reply-To: References: <0D9185CE635BD511ACA50090277A6FCF1359DB@axcs18.cos.agilent.com> <20020216130842.A19081@energyhq.homeip.net> <20020217122510.D491@k7.mavetju.org> <20020222234829.F492@k7.mavetju.org> <20020223084616.G492@k7.mavetju.org> <20020225221827.F491@k7.mavetju.org> User-Agent: Wanderlust/2.7.5 (Too Funky) Emacs/21.1 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 52 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Finally I figured out the problem. The essential reason for this weirdness was that the kernel did not set the in_conninfo.inc_isipv6 member of a PCB entry correctly. As a result of this, once a cached route stored in the PCB has become invalid, the kernel would try to get a new route with an AF_INET destination. Neighbor solicitation messages on the gif link, which might invalidate the cached route, are also bogus, but they are not directly related to this particular problem. So, we should deal with this trouble as follows: 1. set the inc_isipv6 member correctly. The patch attached to this message should work for this (I checked the patch on a 4.5 RELEASE box). 2. prohibit the kernel from sending the bogus neighbor solicitations. This can be done by a patch I proposed last week in a different thread: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=345287+0+archive/2002/freebsd-net/20020224.freebsd-net BTW: I believe we should not rely on the inc_isipv6 member, which tends to introduce this type of bug. We should probably detect the correct family by the addresses themselves. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp *** tcp_usrreq.c.orig Tue Feb 26 14:00:22 2002 --- tcp_usrreq.c Tue Feb 26 14:05:43 2002 *************** *** 375,380 **** --- 375,381 ---- } inp->inp_vflag &= ~INP_IPV4; inp->inp_vflag |= INP_IPV6; + inp->inp_inc.inc_isipv6 = 1; if ((error = tcp6_connect(tp, nam, p)) != 0) goto out; error = tcp_output(tp); *** tcp_syncache.c.orig Tue Feb 26 10:52:39 2002 --- tcp_syncache.c Tue Feb 26 10:52:49 2002 *************** *** 552,557 **** --- 552,558 ---- /* * Insert new socket into hash list. */ + inp->inp_inc.inc_isipv6 = sc->sc_inc.inc_isipv6; #ifdef INET6 if (sc->sc_inc.inc_isipv6) { inp->in6p_laddr = sc->sc_inc.inc6_laddr; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 21:49: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 5B03A37B405 for ; Mon, 25 Feb 2002 21:48:55 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1Q5k4w05228 for ; Mon, 25 Feb 2002 21:46:04 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Mon, 25 Feb 2002 21:46:04 -0800 (PST) From: Charlie ROOT To: Subject: I am running out of PTYs and I shouldn't be. Message-ID: <20020225213827.Q5021-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have recompiled my kernel with: maxusers 128 And have confirmed that that is indeed the case by checking the value in `sysctl`. Further, in addition to the 16 pty device files that come in /dev by default, I have created all 256 of them by running the commands: `sh MAKEDEV ptyX` (where X is each of the numbers 1 through 7) And I have verified that all those devices are there, and have reasonable major/minor numbers with the `ls` command. So I am rather confused that I am running out of PTYs - I get an error message from `screen` "No More PTYs." - and I am nowhere near to using up all the PTYs. I have a total of 307 processes on the machine, of which roughly 100 are httpd processes, add to that another 20 or so for system items, and you are left with a worst case scenario of about 180 PTYs in use. However, in reality, most of the other processes are other daemons and programs. I suspect I am using _maybe_ 32 or so PTYs. ---- I have set up a laptop to test, and did the same things to it - set maxusers to 128, and built all the PTY devices in /dev, and I kept creating new screens over and over until I hit about 240 of them and the machine crashed....so what gives ? Why am I hitting a very low wall with PTYs on this machine ? I am happy to give out more information about the machine, just not sure what else would be useful. Many thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 22:20: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 1D21637B404 for ; Mon, 25 Feb 2002 22:20:07 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020226062006.QMAI2951.rwcrmhc53.attbi.com@InterJet.elischer.org>; Tue, 26 Feb 2002 06:20:06 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id WAA91962; Mon, 25 Feb 2002 22:10:05 -0800 (PST) Date: Mon, 25 Feb 2002 22:10:03 -0800 (PST) From: Julian Elischer To: dirkx@covalent.net Cc: freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG did you say that there are other cards apparently OEM'd from these? On Mon, 25 Feb 2002 dirkx@covalent.net wrote: > > I found: > > http://www.myson.com.tw/mtd/driver/803/mtd80x-freebsd.tgz.TGZ > > to work splendidly with 4.5. Would be nice to see them rolled in. > > Dw > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Feb 25 23:54: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 4310037B404; Mon, 25 Feb 2002 23:54:01 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g1Q7rvdN048438; Tue, 26 Feb 2002 08:53:57 +0100 (CET) (envelope-from phk@critter.freebsd.dk) Date: Tue, 26 Feb 2002 08:53:57 +0100 Message-ID: <48437.1014710037@critter.freebsd.dk> From: Poul-Henning Kamp Subject: Future of HARP ATM stack in freebsd... MIME-Version: 1.0 Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa" To: undisclosed-recipients:; Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ------- =_aaaaaaaaaa Subject: Future of HARP ATM stack in freebsd... From: Poul-Henning Kamp Date: Tue, 26 Feb 2002 08:53:57 +0100 Message-ID: <48437.1014710037@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Bcc: Blind Distribution List: ; MIME-Version: 1.0 The two hardware drivers for the HARP ATM stack has been broken in -current for a LOOOONG time now. If nobody are have sufficient interest in the HARP ATM stack to actually fix these two drivers, we should retire the entire thing from -current. So consider this a "last call", if the drivers are not fixed by may 1st the HARP ATM stack will be put in the attic. If anybody is interested in actively maintaining this code, I may be able to find a donor for some ATM cards. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ------- =_aaaaaaaaaa-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 0:43:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 3F0F137B400 for ; Tue, 26 Feb 2002 00:43:35 -0800 (PST) Received: from pc4-card4-0-cust162.cdf.cable.ntl.com ([80.4.14.162] helo=rhadamanth.private.submonkey.net ident=mailnull) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 16fdCv-00020B-00 for hackers@freebsd.org; Tue, 26 Feb 2002 08:43:34 +0000 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.35 #1) id 16fdCR-0004Gh-00; Tue, 26 Feb 2002 08:43:03 +0000 Date: Tue, 26 Feb 2002 08:43:03 +0000 From: Ceri To: Charlie ROOT Cc: hackers@freebsd.org Subject: Re: I am running out of PTYs and I shouldn't be. Message-ID: <20020226084303.GB16029@rhadamanth> References: <20020225213827.Q5021-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020225213827.Q5021-100000@utility.clubscholarship.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 09:46:04PM -0800, Charlie ROOT wrote: > > I have recompiled my kernel with: > > maxusers 128 > > And have confirmed that that is indeed the case by checking the value in > `sysctl`. > > Further, in addition to the 16 pty device files that come in /dev by > default, I have created all 256 of them by running the commands: > > `sh MAKEDEV ptyX` (where X is each of the numbers 1 through 7) Doesn't really matter. What is this set to ? : pseudo-device pty #Pseudo ttys Note that you can optionally add a number to the end of this option. Ceri -- keep a mild groove on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 0:50:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id A1B6237B405; Tue, 26 Feb 2002 00:50:05 -0800 (PST) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g1Q8o2gS044061; Tue, 26 Feb 2002 11:50:02 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g1Q8o0FH044057; Tue, 26 Feb 2002 11:50:00 +0300 (MSK) Date: Tue, 26 Feb 2002 11:49:59 +0300 From: "Andrey A. Chernov" To: Garrett Wollman Cc: Maxim Sobolev , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, hackers@FreeBSD.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] Message-ID: <20020226084959.GA43948@nagual.pp.ru> References: <200202251355.g1PDtmb35078@freefall.freebsd.org> <20020225140030.GD33818@nagual.pp.ru> <3C7A458F.427FFF8A@FreeBSD.org> <20020225142352.GA34378@nagual.pp.ru> <200202251828.g1PISL382207@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202251828.g1PISL382207@khavrinen.lcs.mit.edu> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 13:28:21 -0500, Garrett Wollman wrote: > < said: > > >> From IEEE P1003.1 Draft 7: > > You're looking at the wrong document. FreeBSD is very far from being > ready to implement POSIX 2001 header files. POSIX 1990, which we do > implement, requires almost everywhere. Well, if we are very far, it will be just little step to be closer. On other case we will be very far forever. If you mean hypotetical one-step transition mega-patch in future, it will breaks too many things at once to be something real. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 1:15:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 4B27537B402; Tue, 26 Feb 2002 01:15:40 -0800 (PST) Received: from pool0152.cvx22-bradley.dialup.earthlink.net ([209.179.198.152] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16fdhr-0001X3-00; Tue, 26 Feb 2002 01:15:32 -0800 Message-ID: <3C7B5228.B2E2745A@mindspring.com> Date: Tue, 26 Feb 2002 01:15:20 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Subject: Re: Future of HARP ATM stack in freebsd... References: <48437.1014710037@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > Part 1.1Type: MHTML Document (message/rfc822) In case anyone missed this, it was a "hidden" last call on Poul's intent to rip out the HARP ATM stack. Please do not post HTML to the lists. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 2:12: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by hub.freebsd.org (Postfix) with ESMTP id C3C1D37B400; Tue, 26 Feb 2002 02:12:00 -0800 (PST) Received: from regency.nsu.ru ([193.124.210.26] helo=cytherea.weblab.nsu.ru) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 16fdh3-0003W0-00; Tue, 26 Feb 2002 15:14:41 +0600 Received: (from danfe@localhost) by cytherea.weblab.nsu.ru (8.11.6/8.11.6) id g1Q9EN459318; Tue, 26 Feb 2002 15:14:23 +0600 (NOVT) (envelope-from danfe) Date: Tue, 26 Feb 2002 15:14:23 +0600 From: Alexey Dokuchaev To: "Andrey A. Chernov" Cc: Garrett Wollman , Maxim Sobolev , cvs-committers@freebsd.org, cvs-all@freebsd.org, hackers@freebsd.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] Message-ID: <20020226151423.A57693@cytherea.weblab.nsu.ru> References: <200202251355.g1PDtmb35078@freefall.freebsd.org> <20020225140030.GD33818@nagual.pp.ru> <3C7A458F.427FFF8A@FreeBSD.org> <20020225142352.GA34378@nagual.pp.ru> <200202251828.g1PISL382207@khavrinen.lcs.mit.edu> <20020226084959.GA43948@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020226084959.GA43948@nagual.pp.ru>; from ache@nagual.pp.ru on Tue, Feb 26, 2002 at 11:49:59AM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 26, 2002 at 11:49:59AM +0300, Andrey A. Chernov wrote: > On Mon, Feb 25, 2002 at 13:28:21 -0500, Garrett Wollman wrote: > > < said: > > > > >> From IEEE P1003.1 Draft 7: > > > > You're looking at the wrong document. FreeBSD is very far from being > > ready to implement POSIX 2001 header files. POSIX 1990, which we do > > implement, requires almost everywhere. > > Well, if we are very far, it will be just little step to be closer. On > other case we will be very far forever. If you mean hypotetical one-step > transition mega-patch in future, it will breaks too many things at once to > be something real. Is there any chance we will come anywhere close to POSIX 2001 at all? What about targeting to POSIX 1990/1996 *now* instead of aiming to the standard that would likely be rendered obsolete by the time we would reach it? Especially, we still appear to not have an agreement on standard changes introduced between 1996 and 2001. ./danfe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 3:30:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.webweaving.org (uds51-45.dial.hccnet.nl [62.251.45.51]) by hub.freebsd.org (Postfix) with ESMTP id 13D7537B405 for ; Tue, 26 Feb 2002 03:30:43 -0800 (PST) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.10.2/8.10.2) with ESMTP id g1QAn7u01008; Tue, 26 Feb 2002 11:49:07 +0100 (CET) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Tue, 26 Feb 2002 11:49:07 +0100 (CET) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Tue, 26 Feb 2002 11:49:07 +0100 (CET) From: dirkx@covalent.net X-X-Sender: dirkx@gandalf.webweaving.org To: julian@elischer.org Cc: freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 25 Feb 2002, Julian Elischer wrote: > did you say that there are other cards apparently OEM'd from these? Yes - Saturday I bought a handfull of: Sitecom PCI Expansion kit's Trust PCI Ethernet NIC Vendex PCI Ethernet NIC 10/100 cards which have, on the box, a marking indicating that the chipset is an RTL8139B. The boxes are identical except for the outer sleeve, as are the floppies "100/10M Ethernet PCI Adaptor Version 1.2". On the actual PCI board's; which are virtually identical but for the shape, length and colour of the wakeup lead- they seem to have the 'antler shape' like RealTek logo on the chip - and the number appears to be RTL8139B/9A28* - though is very hard to read on all 6 cards. However the PCI id's do not match (and the if_rl.c driver does not recognize them as such) - and it appears as: my0@pci0:11:0: class=0x020000 card=0x08031516 chip=0x08031516 rev=0x00 hdr=0x00 which matches thy myson 'my' driver. This driver works perfectly. Dw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 3:43:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id E8C8237B402 for ; Tue, 26 Feb 2002 03:43:51 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g1QBhkg01535; Tue, 26 Feb 2002 03:43:46 -0800 (PST) (envelope-from rizzo) Date: Tue, 26 Feb 2002 03:43:46 -0800 From: Luigi Rizzo To: dirkx@covalent.net Cc: julian@elischer.org, freebsd-hackers@FreeBSD.ORG Subject: Re: Myson drivers for 4.x Message-ID: <20020226034346.B1509@iguana.icir.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG just curious, what if you add the pci-id in the list of devices reognised by if_rl.c (how different are the two drivers) ? cheers luigi On Tue, Feb 26, 2002 at 11:49:07AM +0100, dirkx@covalent.net wrote: > > On Mon, 25 Feb 2002, Julian Elischer wrote: > > > did you say that there are other cards apparently OEM'd from these? > > Yes - Saturday I bought a handfull of: > > Sitecom PCI Expansion kit's > Trust PCI Ethernet NIC > Vendex PCI Ethernet NIC 10/100 > > cards which have, on the box, a marking indicating that the chipset is an > RTL8139B. The boxes are identical except for the outer sleeve, as are the > floppies "100/10M Ethernet PCI Adaptor Version 1.2". > > On the actual PCI board's; which are virtually identical but for the > shape, length and colour of the wakeup lead- they seem to have the 'antler > shape' like RealTek logo on the chip - and the number appears to be > RTL8139B/9A28* - though is very hard to read on all 6 cards. > > However the PCI id's do not match (and the if_rl.c driver does not > recognize them as such) - and it appears as: > > my0@pci0:11:0: > class=0x020000 card=0x08031516 chip=0x08031516 rev=0x00 hdr=0x00 > > which matches thy myson 'my' driver. This driver works perfectly. > > Dw > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 3:57:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.webweaving.org (uds51-45.dial.hccnet.nl [62.251.45.51]) by hub.freebsd.org (Postfix) with ESMTP id 065D037B402 for ; Tue, 26 Feb 2002 03:57:16 -0800 (PST) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.10.2/8.10.2) with ESMTP id g1QBtqu01198; Tue, 26 Feb 2002 12:55:52 +0100 (CET) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Tue, 26 Feb 2002 12:55:52 +0100 (CET) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Tue, 26 Feb 2002 12:55:52 +0100 (CET) From: dirkx@covalent.net X-X-Sender: dirkx@gandalf.webweaving.org To: rizzo@icir.org Cc: julian@elischer.org, freebsd-hackers@FreeBSD.ORG Subject: Re: Myson drivers for 4.x In-Reply-To: <20020226034346.B1509@iguana.icir.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 26 Feb 2002, Luigi Rizzo wrote: > just curious, what if you add the pci-id in the list of > devices reognised by if_rl.c (how different are the two drivers) ? I tried that first :-) - added an entry to the list 'My RealTek..' and got: rl0: port 0xe000-0xe0ff mem 0xdf000000-0xdf0003ff irq 11 at device 11.0 on pci0 rl0: Ethernet address: 00:00:00:00:00:00 rl0: unknown device ID: 0 i.e. no mac in the eeprop at the right place etc. Dw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 7:12:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 19DB537B422 for ; Tue, 26 Feb 2002 07:12:32 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 26 Feb 2002 15:12:31 +0000 (GMT) Date: Tue, 26 Feb 2002 15:12:30 +0000 From: David Malone To: Charlie ROOT Cc: hackers@freebsd.org Subject: Re: I am running out of PTYs and I shouldn't be. Message-ID: <20020226151230.GA6393@walton.maths.tcd.ie> References: <20020225213827.Q5021-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020225213827.Q5021-100000@utility.clubscholarship.com> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 25, 2002 at 09:46:04PM -0800, Charlie ROOT wrote: > However, in reality, most of the other processes are other daemons and > programs. I suspect I am using _maybe_ 32 or so PTYs. Check that the ttys are listed in /etc/ttys... David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 8:34:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 0AA5837B402; Tue, 26 Feb 2002 08:34:02 -0800 (PST) Received: from pool0378.cvx40-bradley.dialup.earthlink.net ([216.244.43.123] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16fkUm-00010j-00; Tue, 26 Feb 2002 08:30:28 -0800 Message-ID: <3C7BB818.7A8D6BBC@mindspring.com> Date: Tue, 26 Feb 2002 08:30:16 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alexey Dokuchaev Cc: "Andrey A. Chernov" , Garrett Wollman , Maxim Sobolev , cvs-committers@freebsd.org, cvs-all@freebsd.org, hackers@freebsd.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] References: <200202251355.g1PDtmb35078@freefall.freebsd.org> <20020225140030.GD33818@nagual.pp.ru> <3C7A458F.427FFF8A@FreeBSD.org> <20020225142352.GA34378@nagual.pp.ru> <200202251828.g1PISL382207@khavrinen.lcs.mit.edu> <20020226084959.GA43948@nagual.pp.ru> <20020226151423.A57693@cytherea.weblab.nsu.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexey Dokuchaev wrote: > Is there any chance we will come anywhere close to POSIX 2001 at all? > What about targeting to POSIX 1990/1996 *now* instead of aiming to the > standard that would likely be rendered obsolete by the time we would > reach it? Especially, we still appear to not have an agreement on > standard changes introduced between 1996 and 2001. I agree. Full compliance with an old standard is far better than partial compliance with a new standard. When Jeremy Allison and I did the final work to bring the FreeBSD pthreads into Draft 4 compliance because we needed a compliant system for ACAP, they then became useful. Then, later, as they drifted toward standards compliance in the -release versions of FreeBSD as other people worked on the code, they became useless again. It was only after they had once again achieved compliance with something that they were once again useful. A programmer can only target a handful of standards with software; targetting moving versions means complicating their code into unreadability. Personally, I don't object to a global switchover on a major version release... from one standard to another. Leaving the code in Limbo between the two at a release is definitely not the answer, though. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 8:53:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 1AA4637B400; Tue, 26 Feb 2002 08:53:18 -0800 (PST) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g1QGqVgS054395; Tue, 26 Feb 2002 19:52:35 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g1QGqUQl054394; Tue, 26 Feb 2002 19:52:30 +0300 (MSK) Date: Tue, 26 Feb 2002 19:52:29 +0300 From: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= To: Alexey Dokuchaev Cc: Garrett Wollman , Maxim Sobolev , cvs-committers@freebsd.org, cvs-all@freebsd.org, hackers@freebsd.org Subject: Re: or not ? [Was: cvs commit: src/include grp.h] Message-ID: <20020226165229.GA54321@nagual.pp.ru> References: <200202251355.g1PDtmb35078@freefall.freebsd.org> <20020225140030.GD33818@nagual.pp.ru> <3C7A458F.427FFF8A@FreeBSD.org> <20020225142352.GA34378@nagual.pp.ru> <200202251828.g1PISL382207@khavrinen.lcs.mit.edu> <20020226084959.GA43948@nagual.pp.ru> <20020226151423.A57693@cytherea.weblab.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020226151423.A57693@cytherea.weblab.nsu.ru> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 26, 2002 at 15:14:23 +0600, Alexey Dokuchaev wrote: > On Tue, Feb 26, 2002 at 11:49:59AM +0300, Andrey A. Chernov wrote: > > On Mon, Feb 25, 2002 at 13:28:21 -0500, Garrett Wollman wrote: > > > < said: > > > > > > >> From IEEE P1003.1 Draft 7: > > > > > > You're looking at the wrong document. FreeBSD is very far from being > > > ready to implement POSIX 2001 header files. POSIX 1990, which we do > > > implement, requires almost everywhere. > > > > Well, if we are very far, it will be just little step to be closer. On > > other case we will be very far forever. If you mean hypotetical one-step > > transition mega-patch in future, it will breaks too many things at once to > > be something real. > > Is there any chance we will come anywhere close to POSIX 2001 at all? > What about targeting to POSIX 1990/1996 *now* instead of aiming to the > standard that would likely be rendered obsolete by the time we would > reach it? Especially, we still appear to not have an agreement on > standard changes introduced between 1996 and 2001. Please note that in the case we discuss proposed change is backward compatible with 1996 standard, i.e. including in addition to not produce any unwanted effects. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 9:25:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by hub.freebsd.org (Postfix) with ESMTP id 9D37F37B400; Tue, 26 Feb 2002 09:25:16 -0800 (PST) Received: from meer.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g1QHPCs76579; Tue, 26 Feb 2002 09:25:12 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by meer.meer.net (8.9.3/8.9.3/meer) with ESMTP id JAA1266446; Tue, 26 Feb 2002 09:24:30 -0800 (PST) Message-Id: <200202261724.JAA1266446@meer.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Are there periodic "GOOD" tags in CVS for -CURRENT? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 26 Feb 2002 09:24:30 -0800 From: "George V. Neville-Neil" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Folks, I'm wondering if anyone has been laying down periodic "good" tags in -CURRENT so that people who are just starting with it have a place to start that is reasonably stable. Yes, I know about -STABLE but that's not what I mean. Thanks, George -- George V. Neville-Neil gnn@neville-neil.com NIC:GN82 "Those who would trade liberty for temporary security deserve neither" - Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 9:43:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 2F95D37B405; Tue, 26 Feb 2002 09:43:47 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g1QHhcL56295; Tue, 26 Feb 2002 12:43:38 -0500 (EST) (envelope-from mwlucas) Date: Tue, 26 Feb 2002 12:43:38 -0500 From: Michael Lucas To: "George V. Neville-Neil" Cc: freebsd-current@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Are there periodic "GOOD" tags in CVS for -CURRENT? Message-ID: <20020226124338.A56264@blackhelicopters.org> References: <200202261724.JAA1266446@meer.meer.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200202261724.JAA1266446@meer.meer.net>; from gnn@neville-neil.com on Tue, Feb 26, 2002 at 09:24:30AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG These do exist, but are very rare. IIRC, the last such tag was pre-SMPNG. Something like that would be lovely, mind you. On Tue, Feb 26, 2002 at 09:24:30AM -0800, George V. Neville-Neil wrote: > Hi Folks, > I'm wondering if anyone has been laying down periodic "good" tags in > -CURRENT so that people who are just starting with it have a place to start > that is reasonably stable. Yes, I know about -STABLE but that's not what I > mean. > > Thanks, > George > > -- > George V. Neville-Neil gnn@neville-neil.com > NIC:GN82 > > "Those who would trade liberty for temporary security deserve neither" > - Benjamin Franklin > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 9:53:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by hub.freebsd.org (Postfix) with ESMTP id 83D1C37B402; Tue, 26 Feb 2002 09:53:04 -0800 (PST) Received: from meer.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g1QHr0s77273; Tue, 26 Feb 2002 09:53:00 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by meer.meer.net (8.9.3/8.9.3/meer) with ESMTP id JAA1293422; Tue, 26 Feb 2002 09:49:47 -0800 (PST) Message-Id: <200202261749.JAA1293422@meer.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Michael Lucas Cc: freebsd-current@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Are there periodic "GOOD" tags in CVS for -CURRENT? In-Reply-To: Message from Michael Lucas of "Tue, 26 Feb 2002 12:43:38 EST." <20020226124338.A56264@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 26 Feb 2002 09:49:45 -0800 From: "George V. Neville-Neil" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > These do exist, but are very rare. Oh well, I'm trying to use date specs in CVS instead. > Something like that would be lovely, mind you. > But would require some work to validate things and a bit more formality than perhaps people want. Thanks for the info though. Later, George -- George V. Neville-Neil gnn@neville-neil.com NIC:GN82 "Those who would trade liberty for temporary security deserve neither" - Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 10:17:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by hub.freebsd.org (Postfix) with ESMTP id 7894E37B41B; Tue, 26 Feb 2002 10:17:05 -0800 (PST) Received: from fwd07.sul.t-online.de by mailout09.sul.t-online.com with smtp id 16fm9k-0007St-01; Tue, 26 Feb 2002 19:16:52 +0100 Received: from Magelan.Leidinger.net (520065502893-0001@[80.131.117.204]) by fmrl07.sul.t-online.com with esmtp id 16fm9b-148XJ2C; Tue, 26 Feb 2002 19:16:43 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g1QIH6xK000959; Tue, 26 Feb 2002 19:17:10 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200202261817.g1QIH6xK000959@Magelan.Leidinger.net> Date: Tue, 26 Feb 2002 19:17:06 +0100 (CET) From: Alexander Leidinger Subject: Re: Are there periodic "GOOD" tags in CVS for -CURRENT? To: gnn@neville-neil.com Cc: mwlucas@blackhelicopters.org, freebsd-current@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG In-Reply-To: <200202261749.JAA1293422@meer.meer.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 26 Feb, George V. Neville-Neil wrote: >> These do exist, but are very rare. > > Oh well, I'm trying to use date specs in CVS instead. 200202191650 (cvsup from a german mirror) works for me. Bye, Alexander. -- Failure is not an option. It comes bundled with your Microsoft product. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 11: 0:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 5DD5637B405 for ; Tue, 26 Feb 2002 11:00:19 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020226190018.HPOW2626.rwcrmhc51.attbi.com@InterJet.elischer.org>; Tue, 26 Feb 2002 19:00:18 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA94946; Tue, 26 Feb 2002 10:48:23 -0800 (PST) Date: Tue, 26 Feb 2002 10:48:21 -0800 (PST) From: Julian Elischer To: dirkx@covalent.net Cc: freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is it possible that by adding the correct PCI ID teh realtek driver might handle them? (I'm just wondering if we alreay have a driver that is equivalent to the myson driver...?) On Tue, 26 Feb 2002 dirkx@covalent.net wrote: > > On Mon, 25 Feb 2002, Julian Elischer wrote: > > > did you say that there are other cards apparently OEM'd from these? > > Yes - Saturday I bought a handfull of: > > Sitecom PCI Expansion kit's > Trust PCI Ethernet NIC > Vendex PCI Ethernet NIC 10/100 > > cards which have, on the box, a marking indicating that the chipset is an > RTL8139B. The boxes are identical except for the outer sleeve, as are the > floppies "100/10M Ethernet PCI Adaptor Version 1.2". > > On the actual PCI board's; which are virtually identical but for the > shape, length and colour of the wakeup lead- they seem to have the 'antler > shape' like RealTek logo on the chip - and the number appears to be > RTL8139B/9A28* - though is very hard to read on all 6 cards. > > However the PCI id's do not match (and the if_rl.c driver does not > recognize them as such) - and it appears as: > > my0@pci0:11:0: > class=0x020000 card=0x08031516 chip=0x08031516 rev=0x00 hdr=0x00 > > which matches thy myson 'my' driver. This driver works perfectly. > > Dw > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 11: 1:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 00B3E37B417; Tue, 26 Feb 2002 11:01:27 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id g1QJ1JD32808; Tue, 26 Feb 2002 14:01:19 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 26 Feb 2002 14:01:19 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "George V. Neville-Neil" Cc: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Are there periodic "GOOD" tags in CVS for -CURRENT? In-Reply-To: <200202261724.JAA1266446@meer.meer.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hmm. Well, part of the goal of the upcoming development snapshots is to provide that. On the other hand, I think the reason there has been less focus on that of late is that -CURRENT is actually quite stable, leaving aside a few tiny windows (for example, when I broke booting due to messing up a locking case in vn_close() during a merge from a local tree). As we move towards a less stable tree, the best approach may be to announce good "times" to request of cvsup/CVS, to avoid the cost of the tagging operation. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Tue, 26 Feb 2002, George V. Neville-Neil wrote: > Hi Folks, > I'm wondering if anyone has been laying down periodic "good" tags in > -CURRENT so that people who are just starting with it have a place to start > that is reasonably stable. Yes, I know about -STABLE but that's not what I > mean. > > Thanks, > George > > -- > George V. Neville-Neil gnn@neville-neil.com > NIC:GN82 > > "Those who would trade liberty for temporary security deserve neither" > - Benjamin Franklin > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 11: 3:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id 8A55437B405; Tue, 26 Feb 2002 11:03:06 -0800 (PST) Received: from fwd11.sul.t-online.de by mailout06.sul.t-online.com with smtp id 16fmsQ-00046w-07; Tue, 26 Feb 2002 20:03:02 +0100 Received: from Magelan.Leidinger.net (520065502893-0001@[80.131.117.204]) by fmrl11.sul.t-online.com with esmtp id 16fms6-1CEebwC; Tue, 26 Feb 2002 20:02:42 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g1QJ35xK001067; Tue, 26 Feb 2002 20:03:09 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200202261903.g1QJ35xK001067@Magelan.Leidinger.net> Date: Tue, 26 Feb 2002 20:03:05 +0100 (CET) From: Alexander Leidinger Subject: Known good date for -current To: gnn@neville-neil.com Cc: freebsd-hackers@FreeBSD.ORG, freebsd-current@FreeBSD.ORG, mwlucas@blackhelicopters.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ooops... my previous answer (sorry, I was too fast with the delete key, so no real reply) was from a wrong source tree (a RELENG_4_5 one, good by definition), my known good -current world is from 200202251130 (german mirror). Sorry, Alexander. -- ...and that is how we know the Earth to be banana-shaped. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 11:20:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 99ED637B41B; Tue, 26 Feb 2002 11:20:18 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020226192018.NMBP1147.rwcrmhc52.attbi.com@InterJet.elischer.org>; Tue, 26 Feb 2002 19:20:18 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA95089; Tue, 26 Feb 2002 11:12:15 -0800 (PST) Date: Tue, 26 Feb 2002 11:12:15 -0800 (PST) From: Julian Elischer To: "George V. Neville-Neil" Cc: Michael Lucas , freebsd-current@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Are there periodic "GOOD" tags in CVS for -CURRENT? In-Reply-To: <200202261749.JAA1293422@meer.meer.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I was suggesting this at the kernel meeting.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 12: 9:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.22.195.2]) by hub.freebsd.org (Postfix) with ESMTP id C097F37B41A for ; Tue, 26 Feb 2002 12:09:12 -0800 (PST) Received: from fanf by chiark.greenend.org.uk with local (Exim 3.12 #1) id 16fnuR-0003iP-00 (Debian); Tue, 26 Feb 2002 20:09:11 +0000 Date: Tue, 26 Feb 2002 20:09:11 +0000 From: Tony Finch To: Nate Williams Cc: Tony Finch , hackers@FreeBSD.ORG Subject: Re: FreeBSD-1.X public cvs? Message-ID: <20020226200911.A13755@chiark.greenend.org.uk> References: <15447.10030.902189.861421@caddis.yogotech.com> <12493.1012344821@critter.freebsd.dk> <20020130101718.A42120@freebie.xs4all.nl> <15448.8747.886276.960123@caddis.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15448.8747.886276.960123@caddis.yogotech.com>; from nate@yogotech.com on Wed, Jan 30, 2002 at 09:41:15AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jan 30, 2002 at 09:41:15AM -0700, Nate Williams wrote: > > A FreeBSD 1.X CVS tree has been found, which has it's first import as > 386BSD 0.1 + PK 024. There are a couple minor points that need to be > clarified from Caldera before it can be made public. Has there been any more progress with this? Tony. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 12:13:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 2C99B37B48E for ; Tue, 26 Feb 2002 12:12:35 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA01015; Tue, 26 Feb 2002 13:12:33 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g1QKCV808618; Tue, 26 Feb 2002 13:12:31 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15483.60463.417490.112513@caddis.yogotech.com> Date: Tue, 26 Feb 2002 13:12:31 -0700 To: Tony Finch Cc: Nate Williams , hackers@FreeBSD.ORG Subject: Re: FreeBSD-1.X public cvs? In-Reply-To: <20020226200911.A13755@chiark.greenend.org.uk> References: <15447.10030.902189.861421@caddis.yogotech.com> <12493.1012344821@critter.freebsd.dk> <20020130101718.A42120@freebie.xs4all.nl> <15448.8747.886276.960123@caddis.yogotech.com> <20020226200911.A13755@chiark.greenend.org.uk> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > A FreeBSD 1.X CVS tree has been found, which has it's first import as > > 386BSD 0.1 + PK 024. There are a couple minor points that need to be > > clarified from Caldera before it can be made public. > > Has there been any more progress with this? There have been no clarifications from Caldera, AFAIK. At least, nothing I've heard about. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 12:29:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.webweaving.org (uds171-45.dial.hccnet.nl [62.251.45.171]) by hub.freebsd.org (Postfix) with ESMTP id DDCAF37B405 for ; Tue, 26 Feb 2002 12:29:30 -0800 (PST) Received: from localhost.leiden.webweaving.org (localhost.leiden.webweaving.org [127.0.0.1] (may be forged)) by mobile.webweaving.org (8.10.2/8.10.2) with ESMTP id g1QJ7Fu02449; Tue, 26 Feb 2002 20:07:16 +0100 (CET) X-Curiosity: Killed the Cat X-Huis-aan-Huis-deur-sticker: nee-nee X-Spam: no X-Passed: MX on Gandalf.WebWeaving.org Tue, 26 Feb 2002 20:07:16 +0100 (CET) and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Date: Tue, 26 Feb 2002 20:07:15 +0100 (CET) From: dirkx@covalent.net X-X-Sender: dirkx@gandalf.webweaving.org To: julian@elischer.org Cc: freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 26 Feb 2002, Julian Elischer wrote: > Is it possible that by adding the correct PCI ID teh realtek driver might > handle them? No: I tried that first: rl0: port 0xe000-0xe0ff mem 0xdf000000-0xdf0003ff irq 11 at device 11.0 on pci0 rl0: Ethernet address: 00:00:00:00:00:00 rl0: unknown device ID: 0 device_probe_and_attach: rl0 attach returned 6 I.e. no cookie. Dw. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 14: 7: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 93E4D37B426 for ; Tue, 26 Feb 2002 14:06:54 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1QM3h832728; Tue, 26 Feb 2002 14:03:47 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Tue, 26 Feb 2002 14:03:42 -0800 (PST) From: Charlie ROOT To: Ceri Cc: Subject: Re: I am running out of PTYs and I shouldn't be. In-Reply-To: <20020226084303.GB16029@rhadamanth> Message-ID: <20020226135902.A32480-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > `sh MAKEDEV ptyX` (where X is each of the numbers 1 through 7) > > Doesn't really matter. > What is this set to ? : > > pseudo-device pty #Pseudo ttys > > Note that you can optionally add a number to the end of this option. Currently this line is set like this: pseudo-device pty with no number arguments. Are you sure that I need to do this ? When I ran my tests on my laptop, I increased maxusers to 128 and made all the /dev files, but I _did not_ add a number argument to the above line, NOR did I add anything to /etc/ttys Also, I did not rebuild screen - but nevertheless I was able to start 6 screens and create about 40 new screens on each of them, for a total of 240 or so screens opened ... So the question is: How come on an identical environment (in terms of devices created, and settings in the kernel) my laptop can create a huge amount of screens - almost as many as the 256 pty device files in /dev, but on my server, which is running all sorts of other items like http and ssh and postgres, blah blah, I run out of ptys prematurely ? thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 15:59:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id D0C7637B41E; Tue, 26 Feb 2002 15:59:27 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1QNuV634993; Tue, 26 Feb 2002 15:56:31 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Tue, 26 Feb 2002 15:56:31 -0800 (PST) From: Patrick Thomas To: Cc: Subject: Four misc. questions related to jail usage Message-ID: <20020226154918.D34815-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 1. Does each jail need to have its own proc filesystem mounted ? The original jail documentation says to do that, but I have heard rumors that this is not necessary. What is the negative ramifications (if any) to running a jail without its own seperately mounted proc filesystem ? (I have a test machine with ten jails on it, and I have ten extra proc filesystems mounted - I would like to avoid this if possible..) 2. Does kern.maxproc scale in a linear fashion with maxusers ? 3. is kern.maxvnodes determined automatically based on other settings, or do I ever have to tune this myself by hand ? 4. Why is it that some linux utilities, run inside a jail, get the hostname of the host machine, and not the hostname of the jail itself ? I am successfully running linux apps in jails by using linux compat on the host system and running linux.ko, but sometimes these linux apps get the wrong hostnames.... Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 17:28:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from goose.prod.itd.earthlink.net (goose.mail.pas.earthlink.net [207.217.120.18]) by hub.freebsd.org (Postfix) with ESMTP id 81CAE37B402; Tue, 26 Feb 2002 17:28:31 -0800 (PST) Received: from pool0352.cvx40-bradley.dialup.earthlink.net ([216.244.43.97] helo=mindspring.com) by goose.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16fstR-0001s4-00; Tue, 26 Feb 2002 17:28:30 -0800 Message-ID: <3C7C362F.422C79CF@mindspring.com> Date: Tue, 26 Feb 2002 17:28:15 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: Four misc. questions related to jail usage References: <20020226154918.D34815-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Patrick Thomas wrote: > 1. Does each jail need to have its own proc filesystem mounted? It depends on how you plan to use it. If you use no programs that need procfs, then you don't need it. > The > original jail documentation says to do that, but I have heard rumors that > this is not necessary. What is the negative ramifications (if any) to > running a jail without its own seperately mounted proc filesystem ? (I > have a test machine with ten jails on it, and I have ten extra proc > filesystems mounted - I would like to avoid this if possible..) Programs will fail to provide information normally obtained from procfs (e.g. "ps" works this way), or will simply fail entirely. For -current, you're also going to need to mount a devfs in there, too, minimally for /dev/null and /dev/zero. > 2. Does kern.maxproc scale in a linear fashion with maxusers ? It's linear, but that doesn't mean it's correct for your application. The most common tuning mistake is bumping up maxusers in order to get something else bumped up as a side effect. > 3. is kern.maxvnodes determined automatically based on other settings, or > do I ever have to tune this myself by hand ? Depends on the version of FreeBSD, as to whether it's "automatic", since that could mean many things (e.g. Matt's autoscaling patches based on physical RAM size); you never _have_ to tune _anything_ by hand... but it's often a good idea to do so. The kern.maxvnodes is, as Matt explained yesterday, self-limiting. > 4. Why is it that some linux utilities, run inside a jail, get the > hostname of the host machine, and not the hostname of the jail itself ? I > am successfully running linux apps in jails by using linux compat on the > host system and running linux.ko, but sometimes these linux apps get the > wrong hostnames.... Dunno. Probably it's using linprocfs or something to get the information, and the code is not adjusting the return based on the caller being in a jail. Ask PHK; he started the whole "jail" thing. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 20:47:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from barkley.vpha.health.ufl.edu (barkley.vpha.health.ufl.edu [159.178.78.160]) by hub.freebsd.org (Postfix) with ESMTP id 7DADB37B41A for ; Tue, 26 Feb 2002 20:47:19 -0800 (PST) Received: (from apache@localhost) by barkley.vpha.health.ufl.edu (8.11.6/8.11.6) id g1R4lET30409 for hackers@freebsd.org; Tue, 26 Feb 2002 23:47:14 -0500 X-Authentication-Warning: barkley.vpha.health.ufl.edu: apache set sender to sridharv@ufl.edu using -f Received: from 66.157.148.102 ( [66.157.148.102]) as user sridharv@imap.ufl.edu by webmail.health.ufl.edu with HTTP; Tue, 26 Feb 2002 23:47:14 -0500 Message-ID: <1014785234.3c7c64d2ad999@webmail.health.ufl.edu> Date: Tue, 26 Feb 2002 23:47:14 -0500 From: sridharv@ufl.edu To: hackers@freebsd.org Subject: newbie SMP question MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 66.157.148.102 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have been trying to understand some basic SMP stuff( not specific to freebsd). I have a few real basic questions about OS support for SMP.Just to clarify- does the kernel run as various threads on each processor? Is the kernel stack the only non-shared entity among the various threads? I would also like to get a short intro in to interrupt handling ( atleast a good source of info for this , if there are any). I found some material on OS support for SMP , but they seem to be blurred with too many arch specific and OS specific details that I was missing the central idea. -sridhar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 21:40: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 1AEC737B440 for ; Tue, 26 Feb 2002 21:39:56 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g1R5dbP69020; Tue, 26 Feb 2002 21:39:37 -0800 (PST) (envelope-from obrien) Date: Tue, 26 Feb 2002 21:39:37 -0800 From: "David O'Brien" To: dirkx@covalent.net Cc: julian@elischer.org, freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x Message-ID: <20020226213937.A68969@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from dirkx@covalent.net on Tue, Feb 26, 2002 at 11:49:07AM +0100 X-Operating-System: FreeBSD 5.0-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 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 26, 2002 at 11:49:07AM +0100, dirkx@covalent.net wrote: > my0@pci0:11:0: > class=0x020000 card=0x08031516 chip=0x08031516 rev=0x00 hdr=0x00 I tried to get get the my driver to compile under current so I could commit it. But it was written pre-KSE. So it will take a little time to get it ready. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 22:20:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 09D6537B417; Tue, 26 Feb 2002 22:20:23 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020227062022.HOSN1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Wed, 27 Feb 2002 06:20:22 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id WAA98227; Tue, 26 Feb 2002 22:07:28 -0800 (PST) Date: Tue, 26 Feb 2002 22:07:27 -0800 (PST) From: Julian Elischer To: "David O'Brien" Cc: dirkx@covalent.net, freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x In-Reply-To: <20020226213937.A68969@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG there were no changes needed for network drivers resulting from KSE (or maybe a single word change) What errors do you get? On Tue, 26 Feb 2002, David O'Brien wrote: > On Tue, Feb 26, 2002 at 11:49:07AM +0100, dirkx@covalent.net wrote: > > my0@pci0:11:0: > > class=0x020000 card=0x08031516 chip=0x08031516 rev=0x00 hdr=0x00 > > I tried to get get the my driver to compile under current so I could > commit it. But it was written pre-KSE. So it will take a little time to > get it ready. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 22:20:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id AF45437B41F; Tue, 26 Feb 2002 22:20:25 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020227062025.HOTK1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Wed, 27 Feb 2002 06:20:25 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id WAA98233; Tue, 26 Feb 2002 22:09:43 -0800 (PST) Date: Tue, 26 Feb 2002 22:09:42 -0800 (PST) From: Julian Elischer To: "David O'Brien" Cc: dirkx@covalent.net, freebsd-hackers@freebsd.org Subject: Re: Myson drivers for 4.x In-Reply-To: <20020226213937.A68969@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have been speaking with the author. he is adding a BSD copyright. also he says we can KNFify (style(9)ify?) as it doesn't have to remain compatible with anything else. On Tue, 26 Feb 2002, David O'Brien wrote: > On Tue, Feb 26, 2002 at 11:49:07AM +0100, dirkx@covalent.net wrote: > > my0@pci0:11:0: > > class=0x020000 card=0x08031516 chip=0x08031516 rev=0x00 hdr=0x00 > > I tried to get get the my driver to compile under current so I could > commit it. But it was written pre-KSE. So it will take a little time to > get it ready. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 23:36:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from shidahara1.planet.sci.kobe-u.ac.jp (shidahara1.planet.sci.kobe-u.ac.jp [133.30.68.253]) by hub.freebsd.org (Postfix) with ESMTP id B5BE437B41A for ; Tue, 26 Feb 2002 23:36:02 -0800 (PST) Received: from shidahara1.planet.sci.kobe-u.ac.jp (localhost [127.0.0.1]) by shidahara1.planet.sci.kobe-u.ac.jp (8.9.3/8.9.3) with ESMTP id QAA03967 for ; Wed, 27 Feb 2002 16:35:13 +0900 (JST) (envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp) Message-Id: <200202270735.QAA03967@shidahara1.planet.sci.kobe-u.ac.jp> To: hackers@freebsd.org Subject: removing #ifdef DEV_ISA from sys/${arch}/autoconf.c Date: Wed, 27 Feb 2002 16:35:13 +0900 From: Takanori Watanabe Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I a patch to remove #ifdef DEV_ISA from autoconf.c http://people.freebsd.org/~takawata/isadiff Are there any objection to committing this? Takanori Watanoriy Public Key Key fingerprint = 2C 51 E2 78 2C E1 C5 2D 0F F1 20 A3 11 3A 62 2A To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Feb 26 23:52:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (dsl092-160-223.wdc1.dsl.speakeasy.net [66.92.160.223]) by hub.freebsd.org (Postfix) with ESMTP id 09BA437B400; Tue, 26 Feb 2002 23:52:50 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.11.6/8.11.6) with ESMTP id g1R7qfr21731; Wed, 27 Feb 2002 02:52:41 -0500 (EST) (envelope-from winter@jurai.net) Date: Wed, 27 Feb 2002 02:52:41 -0500 (EST) From: "Matthew N. Dodd" To: Julian Elischer Cc: "David O'Brien" , , Subject: Re: Myson drivers for 4.x In-Reply-To: Message-ID: <20020227025137.G21724-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 26 Feb 2002, Julian Elischer wrote: > I have been speaking with the author. > he is adding a BSD copyright. > also he says we can KNFify (style(9)ify?) as it doesn't have to remain > compatible with anything else. It might be nice if it could be folded into the driver it was copied from, if thats still possible. If its actually a Realtek clone with a few differences it wouldn't make sense to add a whole new driver to the system. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 0: 0:35 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 0E63537B41D; Wed, 27 Feb 2002 00:00:25 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020227080024.IZOL1147.rwcrmhc52.attbi.com@InterJet.elischer.org>; Wed, 27 Feb 2002 08:00:24 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA98630; Tue, 26 Feb 2002 23:55:36 -0800 (PST) Date: Tue, 26 Feb 2002 23:55:35 -0800 (PST) From: Julian Elischer To: "Matthew N. Dodd" Cc: "David O'Brien" , dirkx@covalent.net, freebsd-hackers@FreeBSD.ORG Subject: Re: Myson drivers for 4.x In-Reply-To: <20020227025137.G21724-100000@sasami.jurai.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 27 Feb 2002, Matthew N. Dodd wrote: > On Tue, 26 Feb 2002, Julian Elischer wrote: > > I have been speaking with the author. > > he is adding a BSD copyright. > > also he says we can KNFify (style(9)ify?) as it doesn't have to remain > > compatible with anything else. > > It might be nice if it could be folded into the driver it was copied from, > if thats still possible. > > If its actually a Realtek clone with a few differences it wouldn't make > sense to add a whole new driver to the system. Was it copied from another driver? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 0: 3:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (dsl092-160-223.wdc1.dsl.speakeasy.net [66.92.160.223]) by hub.freebsd.org (Postfix) with ESMTP id 1952737B41A; Wed, 27 Feb 2002 00:03:17 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.11.6/8.11.6) with ESMTP id g1R83Er21994; Wed, 27 Feb 2002 03:03:14 -0500 (EST) (envelope-from winter@jurai.net) Date: Wed, 27 Feb 2002 03:03:14 -0500 (EST) From: "Matthew N. Dodd" To: Julian Elischer Cc: "David O'Brien" , , Subject: Re: Myson drivers for 4.x In-Reply-To: Message-ID: <20020227030236.Q21724-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 26 Feb 2002, Julian Elischer wrote: > Was it copied from another driver? Given the code thats exactly line for line like Bill's other drivers I'd have to say yes, it was. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 1:51:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id B51CA37B405; Wed, 27 Feb 2002 01:51:34 -0800 (PST) Received: from 12-234-22-238.client.attbi.com ([12.234.22.238]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020227095134.EWDG2626.rwcrmhc51.attbi.com@12-234-22-238.client.attbi.com>; Wed, 27 Feb 2002 09:51:34 +0000 Received: from master.gorean.org (root@master.gorean.org [10.0.0.2]) by 12-234-22-238.client.attbi.com (8.11.6/8.11.6) with ESMTP id g1R9pXq53014; Wed, 27 Feb 2002 01:51:34 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from master.gorean.org (doug@localhost [127.0.0.1]) by master.gorean.org (8.12.2/8.12.2) with ESMTP id g1R9pXLR041838; Wed, 27 Feb 2002 01:51:33 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from localhost (doug@localhost) by master.gorean.org (8.12.2/8.12.2/Submit) with ESMTP id g1R9pWaA041835; Wed, 27 Feb 2002 01:51:33 -0800 (PST) X-Authentication-Warning: master.gorean.org: doug owned process doing -bs Date: Wed, 27 Feb 2002 01:51:32 -0800 (PST) From: Doug Barton X-X-Sender: doug@master.gorean.org To: "George V. Neville-Neil" Cc: freebsd-current@FreeBSD.org, Subject: Re: Are there periodic "GOOD" tags in CVS for -CURRENT? In-Reply-To: <200202261724.JAA1266446@meer.meer.net> Message-ID: <20020227015034.R31146-100000@master.gorean.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 26 Feb 2002, George V. Neville-Neil wrote: > Hi Folks, > I'm wondering if anyone has been laying down periodic "good" tags in > -CURRENT so that people who are just starting with it have a place to start > that is reasonably stable. Several of us have asked for this repeatedly, but it's not likely to happen. With or without a tag, at this point there is still no substitute for reading freebsd-current if you plan to run 5.0. -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 7:21: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cisco.com (sword.cisco.com [161.44.208.100]) by hub.freebsd.org (Postfix) with ESMTP id F402237B400 for ; Wed, 27 Feb 2002 07:20:57 -0800 (PST) Received: from sjt-u10.cisco.com (sjt-u10.cisco.com [10.85.30.63]) by cisco.com (8.8.5-Cisco.1/8.8.8) with ESMTP id KAA22666 for ; Wed, 27 Feb 2002 10:20:57 -0500 (EST) Received: (sjt@localhost) by sjt-u10.cisco.com (8.8.5-Cisco.1/CISCO.WS.1.2) id KAA22063 for freebsd-hackers@freebsd.org; Wed, 27 Feb 2002 10:20:56 -0500 (EST) Date: Wed, 27 Feb 2002 10:20:56 -0500 From: Steve Tremblett To: freebsd-hackers@freebsd.org Subject: getting started with -CURRENT Message-ID: <20020227102056.A21989@sjt-u10.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I was hoping to soon play with -CURRENT - mainly for my own interest, but hopefully to contribute in the future. I was curious about setting up a development machine and wondering what to install on it. I would think it is reasonable to dual-boot -CURRENT and -STABLE on this box. Is this possible on the same hard disk, or will multiple hard disks be required for that? I'm thinking that the BIOS should complain about multiple partitions of the same type? I'm so out of the loop in the PC world that I don't know if that is still a problem :) Any tips or tricks here would be appreciated - not just with the dual boot, but with -CURRENT development workstations in general. How are all your development machines set up? thanks all -- Steve Tremblett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 10:30:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (d211.dhcp212-198-26.noos.fr [212.198.26.211]) by hub.freebsd.org (Postfix) with ESMTP id 6E03B37B400 for ; Wed, 27 Feb 2002 10:30:39 -0800 (PST) Received: from herbelot.com (tulipe.herbelot.nom [192.168.1.5]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id TAA58385; Wed, 27 Feb 2002 19:30:27 +0100 (CET) (envelope-from thierry@herbelot.com) Message-ID: <3C7D25C3.85B66088@herbelot.com> Date: Wed, 27 Feb 2002 19:30:27 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Steve Tremblett Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: getting started with -CURRENT References: <20020227102056.A21989@sjt-u10.cisco.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Steve Tremblett wrote: > > I would think it is reasonable to dual-boot -CURRENT and -STABLE on > this box. Is this possible on the same hard disk, or will multiple > hard disks be required for that? I'm thinking that the BIOS should > complain about multiple partitions of the same type? I'm so out of the > loop in the PC world that I don't know if that is still a problem :) one disk (if large enough) is sufficient to boot numerous versions of FreeBSD (at the very least, one version for each of the 4 BIOS principal partitions, then even multple versions inside each BIOS partition) One example : multi% df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s3a 49583 35384 10233 78% / devfs 1 1 0 100% /dev /dev/ad0s3f 724303 399635 266724 60% /usr /dev/ad0s3e 19815 5559 12671 30% /var procfs 4 4 0 100% /proc /dev/ad0s1a 49583 38531 7086 84% /old_root /dev/ad0s1f 704495 477161 170975 74% /old_usr /dev/ad0s1e 19815 14297 3933 78% /old_var /dev/ad0s2e 15302928 13682913 1007898 93% /files3 multi% ad0s3 (3rd BIOS part of the first IDE disk) hosts -Current, and ad0s1 hosts -Stable. Shared resources are in ad0s2e (notably -Current sources, which are built when booted on -Stable) TfH you may also want to read carefully one post by Matt Dillon : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 11:13:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 59DF837B41B for ; Wed, 27 Feb 2002 11:13:34 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g1RJDS065145; Wed, 27 Feb 2002 14:13:28 -0500 (EST) (envelope-from mwlucas) Date: Wed, 27 Feb 2002 14:13:28 -0500 From: Michael Lucas To: Thierry Herbelot Cc: Steve Tremblett , freebsd-hackers@FreeBSD.ORG Subject: Re: getting started with -CURRENT Message-ID: <20020227141328.A65111@blackhelicopters.org> References: <20020227102056.A21989@sjt-u10.cisco.com> <3C7D25C3.85B66088@herbelot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C7D25C3.85B66088@herbelot.com>; from thierry@herbelot.com on Wed, Feb 27, 2002 at 07:30:27PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Just choose to install the FreeBSD Boot Manager, and you'll be fine doing this. I do this so that my laptop always has a runnable -stable, then run -current for day-to-day use. My laptop is a production machine for me, after all. My disk is divided a little differently, however: pedicular~;dh Filesystem Size Used Avail Capacity Mounted on /dev/ad0s3a 197M 62M 119M 34% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s3f 4.5G 1.1G 3.0G 27% /usr /dev/ad0s3e 246M 4.6M 222M 2% /var /dev/ad0s2a 246M 39M 187M 17% /stable /dev/ad0s2f 4.4G 1.6G 2.5G 39% /stable/usr /dev/ad0s2e 246M 27M 200M 12% /stable/var /dev/ad0s4e 26G 7.3G 17G 30% /shared pedicular~; Note the /shared partition, that takes up most of my space. The actual OS is small; there's no reason why things such as the ports tree, /tmp, /usr/obj, and my home directory cannot be shared between the OSs. /shared contains a hand-crafted duplicate of selected portions of the file tree, and I use a lot of symlinks to redirect directories more-or-less transparently. It's tedious, but easy. On Wed, Feb 27, 2002 at 07:30:27PM +0100, Thierry Herbelot wrote: > Steve Tremblett wrote: > > > > I would think it is reasonable to dual-boot -CURRENT and -STABLE on > > this box. Is this possible on the same hard disk, or will multiple > > hard disks be required for that? I'm thinking that the BIOS should > > complain about multiple partitions of the same type? I'm so out of the > > loop in the PC world that I don't know if that is still a problem :) > > one disk (if large enough) is sufficient to boot numerous versions of > FreeBSD (at the very least, one version for each of the 4 BIOS principal > partitions, then even multple versions inside each BIOS partition) > > One example : > > multi% df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s3a 49583 35384 10233 78% / > devfs 1 1 0 100% /dev > /dev/ad0s3f 724303 399635 266724 60% /usr > /dev/ad0s3e 19815 5559 12671 30% /var > procfs 4 4 0 100% /proc > /dev/ad0s1a 49583 38531 7086 84% /old_root > /dev/ad0s1f 704495 477161 170975 74% /old_usr > /dev/ad0s1e 19815 14297 3933 78% /old_var > /dev/ad0s2e 15302928 13682913 1007898 93% /files3 > multi% > > ad0s3 (3rd BIOS part of the first IDE disk) hosts -Current, and ad0s1 > hosts -Stable. Shared resources are in ad0s2e (notably -Current sources, > which are built when booted on -Stable) > > TfH > > you may also want to read carefully one post by Matt Dillon : > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 11:23:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cisco.com (sword.cisco.com [161.44.208.100]) by hub.freebsd.org (Postfix) with ESMTP id 7225737B417 for ; Wed, 27 Feb 2002 11:23:33 -0800 (PST) Received: from sjt-u10.cisco.com (sjt-u10.cisco.com [10.85.30.63]) by cisco.com (8.8.5-Cisco.1/8.8.8) with ESMTP id OAA07488; Wed, 27 Feb 2002 14:23:32 -0500 (EST) Received: (sjt@localhost) by sjt-u10.cisco.com (8.8.5-Cisco.1/CISCO.WS.1.2) id OAA22423; Wed, 27 Feb 2002 14:23:31 -0500 (EST) Date: Wed, 27 Feb 2002 14:23:31 -0500 From: Steve Tremblett To: Michael Lucas Cc: Thierry Herbelot , Steve Tremblett , freebsd-hackers@FreeBSD.ORG Subject: Re: getting started with -CURRENT Message-ID: <20020227142331.F22223@sjt-u10.cisco.com> References: <20020227102056.A21989@sjt-u10.cisco.com> <3C7D25C3.85B66088@herbelot.com> <20020227141328.A65111@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020227141328.A65111@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Wed, Feb 27, 2002 at 02:13:28PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for the help - much appreciated. I guess I'm misunderstanding the primary disk partitions and their types - I seem to recall PCs getting cranky when there are multiple primary partitions of the same type? Or is it that WINDOWS gets cranky when it sees that? -- Steve Tremblett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 11:26:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id BB5DD37B400 for ; Wed, 27 Feb 2002 11:26:30 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g1RJQDr65329; Wed, 27 Feb 2002 14:26:13 -0500 (EST) (envelope-from mwlucas) Date: Wed, 27 Feb 2002 14:26:13 -0500 From: Michael Lucas To: Steve Tremblett Cc: Thierry Herbelot , freebsd-hackers@FreeBSD.ORG Subject: Re: getting started with -CURRENT Message-ID: <20020227142613.A65309@blackhelicopters.org> References: <20020227102056.A21989@sjt-u10.cisco.com> <3C7D25C3.85B66088@herbelot.com> <20020227141328.A65111@blackhelicopters.org> <20020227142331.F22223@sjt-u10.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020227142331.F22223@sjt-u10.cisco.com>; from sjt@cisco.com on Wed, Feb 27, 2002 at 02:23:31PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG That would probably be Windows. I'm doing exactly this, without trouble. On Wed, Feb 27, 2002 at 02:23:31PM -0500, Steve Tremblett wrote: > Thanks for the help - much appreciated. > > I guess I'm misunderstanding the primary disk partitions and their > types - I seem to recall PCs getting cranky when there are multiple > primary partitions of the same type? Or is it that WINDOWS gets cranky > when it sees that? > > -- > Steve Tremblett -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 12:52:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 2FD2837B423; Wed, 27 Feb 2002 12:52:20 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1RKnIk67973; Wed, 27 Feb 2002 12:49:18 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Wed, 27 Feb 2002 12:49:18 -0800 (PST) From: Patrick Thomas To: Cc: Subject: using vnconfig devices instead of partitions for jails ? Message-ID: <20020227124518.X67780-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I would like to put a large number of jails (16 or 20) on a server for testing purposes. I have two options so far: create 16 or 20 partitions OR just put them all in one partition, but the downside of that is that then I cannot enforce disk usage between jails. So at this point, 16-20 partitions seems the safest route. But, what about using vnconfig to create files of fixed sizes and then mounting them? Is this reasonable ? Is there a limit to how many vnconfig files I can mount as filesystems ? Is there a way to mount a directory _inside_ a vnconfig mount as a 'proc' filesystem (since the jail needs proc in order for ps, etc., to work?) Any comments about this idea in general are appreciated. --PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 13: 3:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.109]) by hub.freebsd.org (Postfix) with ESMTP id 2976737B400; Wed, 27 Feb 2002 13:03:19 -0800 (PST) Received: from pooh.int (pooh.int [10.0.1.2]) by kanga.honeypot.net (8.11.6/8.11.6) with ESMTP id g1RL3Ca25132; Wed, 27 Feb 2002 15:03:12 -0600 (CST) (envelope-from kirk@strauser.com) Received: (from kirk@localhost) by pooh.int (8.11.6/8.11.6) id g1RL3B622409; Wed, 27 Feb 2002 15:03:11 -0600 (CST) (envelope-from kirk@strauser.com) To: Patrick Thomas Cc: , Subject: Re: using vnconfig devices instead of partitions for jails ? References: <20020227124518.X67780-100000@utility.clubscholarship.com> From: Kirk Strauser Date: 27 Feb 2002 15:03:11 -0600 In-Reply-To: <20020227124518.X67780-100000@utility.clubscholarship.com> Message-ID: <878z9ek580.fsf@pooh.int> Lines: 15 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 2002-02-27T20:49:18Z, Patrick Thomas writes: > I would like to put a large number of jails (16 or 20) on a server for > testing purposes. > > I have two options so far: create 16 or 20 partitions OR just put them all > in one partition, but the downside of that is that then I cannot enforce > disk usage between jails. So at this point, 16-20 partitions seems the > safest route. Good question. Is there any ability at all within the system to set a quota on a jail? -- Kirk Strauser To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 13:39:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id 6F91537B400 for ; Wed, 27 Feb 2002 13:39:04 -0800 (PST) Received: by energyhq.homeip.net (Postfix, from userid 1001) id DD9453FC46; Wed, 27 Feb 2002 22:39:01 +0100 (CET) Date: Wed, 27 Feb 2002 22:39:01 +0100 From: Miguel Mendez To: hackers@freebsd.org Subject: Meet fish (read on) Message-ID: <20020227223901.C16555@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="5gxpn/Q6ypwruk0T" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --5gxpn/Q6ypwruk0T Content-Type: multipart/mixed; boundary="69pVuxX8awAiJ7fD" Content-Disposition: inline --69pVuxX8awAiJ7fD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi there hackers, Some time ago, Terry proposed the creation of a graphical rc.conf editing tool. While the idea of mimicing the rededit program did not appeal much, I find it interesting to have a graphical tool for rc.conf management, specially for people who has just started using FreeBSD. So what I'm presenting here is the bare bones skeleton of the tool I'm working on, so you can taste what it will look like when I finish it. What works now:=20 - /etc/defaults/rc.conf parsing - GTK UI creation for both booleans and strings - Passes efence test, so no funny pointers in there. =09 TODO: - parse and merge /etc/rc.conf - Write callbacks I'm totally open to feedback and suggestions, I'm specially interested in knowing what the community feeling about this tool is, is it useful or do you thing is a waste of time to code such tool? What about going one step further and add something like the admin tool in Solaris? To compile the code just untargz and type make. You need gtk12 port installed. The window might take a few seconds to create the widgets, I'm working on it currently. Thanks in advance, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --69pVuxX8awAiJ7fD Content-Type: application/x-tar-gz Content-Disposition: attachment; filename="fish.tar.gz" Content-Transfer-Encoding: base64 H4sIAPZPfTwAA+08a3fiRrLzFf2KDs5OgJFt0Phx7zhkDwbZ1gaDF3CcOZkcIkNjtBYSVxL2 eLP+77eqH1ILhO3xjmfOzqonwVJ3VXVVdXc9uhsmTjjdfvWyhexU93d3yStCavu7NfWvLFVC 9nfe7hs7+/vVHWiu7tZqr8juC/PFyiKM7ICQVxP3zvMegHus/T+0THD8r6Lr4cLZGr1QH7Vq dWdnZ934G9U9HHMx/sZbA5oNY7f6ilRfiJ9U+S8f/+2K1vTnd4FzNY1IaVSG4agaOjl1rhbU JafUG9N/bpGG6xIGEpKAhjS4oeMtTevRsRNGgXO5iBzfI7Y3JouQEscjob8IRpTVXDqeHdyR iR/MQp3cOtGU+AH76y8ibeaPnYkzspGATuyAkjkNZk4U0TGZB/6NM4aHaGpH8EGBiOv6t453 RUa+N3YQKWRIMxq907RChaRZCok/kbyM/DHAwWiDBJENPCJB+9K/wSapAM+PnBHVtUI0dULi AimkoHbmjZc4gf5Gru3MaLBFsjiAnhQVSA5AtvECuPrsTBAh2dgfLWbUi5hmgTHA2Qa9+9AW kJkd0cCx3TDRMRsYhqhwzyXqUIdhYatnzyhyk5ofwHHSynTuwEQBhjkhPwi1wsy+I5cU5wfw 7hPAg2qKUwFYmPkRJVwlgDgG3mCCkQk0EKaD0J9EtzjOWkFMHBLO6QhnDqA5OJ8CnDMenz1h iLxr2uDE6pN+92hw0eiZBJ7Pet1frJbZIofvyeDEJM3u2fuedXwyICfddsvs9Umj04LazqBn HZ4PulBRbPQBs6hhQ6Pznpi/nvXMfp90e8Q6PWtbQAyo9xqdgWX2dWJ1mu3zltU51gkQIJ3u gLStU2sAYIOujp1qq2ike0ROzV7zBF4bh1bbGrxnjBxZgw72dQSdNchZozewmuftRo+cnffO un2TgFhay+o32w3r1GxtQe/QIzF/MTsD0j9ptNtLUnYvOmYPWU+JeGgCj43DtqmxjkDIltUz mwOUJnlqguKAvbZO+mdm08IH81cTZGn03uuCZt/8+zkAQaPWapw2jkG00iMagSFpnvfMU2QZ 1NA/P+wPrMH5wCTH3W4L9az1zd4vVtPsH5B2t8+Udd43ddJqDBqsYyABmoJmeD4871tMZ1Zn YPZ652cDq9spw/BegFZ6WrMBqC2m3G6HiQoK6vbeI1HUAdO9Ti5OTKjvoT6Zphqogj5orDlQ wDToDxQ4UGQkHfO4bR2bnaaJ3HSRyoXVN8swVFYfASze7UUD+jxnIuMQAVcae1QmrM4GklhH pNH6xUK2BTAMfd8S04SprHlCuLphzn9vjd+R7e0xnfvRdsq5b7wl32taZVvTNhxv5C7AHP4Y RmPH35r+lK5ynct0HZBAMliZ1BbnNqzgYGtaVOpEZ1CnXTleBGvZpREd0hswRSVyHF1fOOMr GpGKTo7H1yZW4/PV3AdoGpQPtBvfGQMaGCH/bgljGWrkz8BVDOfgksCslB6E/b/FEyC17Qqx yLXn33K7w3yG6/vX8Di10SwT8EQTJwCTHKKt1gnYN7B2JKR0FqJhu/WDa/Jus0xA0UBWGwUU jO2Q66XUaw473ZZJKsFoCN1chjoqyVvMxJvajmbYu0og4L2s/QleLgbCvg60giINOIOxf5uu E1oCRiPfSzcxpWQ1TEVtCNVaAbTyM7KHMqlQN5f+xxpoLYXJ69SqCso2dO1L6i413IQUJpEN HqLGOlLprG+qBDbM2uEdDWt6/Ob5rNd+G91lpXIV+Iv5Mm+zu8i+dOkSezfhKABHugpsj/8B zhqdqHGw1HTj0Nu5H0Q1qZ8+HyymoRUdGRk6WiJZgdHNVBHWAwfB3VrVGetVt9yxUICRqYBV 4EQBtXUKMBIF2Lg8bhlEhh5mdxDW0EtYS2lSwNAQat1wtRpEZ9RxATj4pOEbn+KkTnBJ8Zeh R29Lx4OfhxfgsLoXw0H3rA22sw0ruqBAhRQsgB+yIIoo8KTEAcpgk3jlEEzssGmiC8mk4Tqj O4VAgn/UaKNrGvTOTfGCVgX4Ti1CwTx/QeaHGNXw4S8Vmwy0iB0r6/NhnL8vBIZWiJduHeGn AgFmHNMSssPkwYq5PboeYvoTldAkHvofSaUc4+skxXQsnPhTlZqJKUFMp9AhCiFFjiwynA4Y VM92hxA2enQUMfV2D/8G0Uei3qLqTor6B61Q4DkkAvet406jPTw67zRLKhzgdc7b7U/sh/mf h7tgIE+nntImdjKCaXRNxw91kvZwSV8FRNAIeaRLRe9P7FB1k6poEMAL48mmFXtkEyrxXW91 OeELCQiul5HvDkOYIWgg2QQZYBNMEUlSr1XFMgFD0rqDLAIsSRgtJhNyRT0KpgyyAXC8wQJy G0hymHUB0CPmiDHxuI7dExgI8Ip16V+leerxrBUSxZnPUzECaSERrh9yyMC+YwS0QuKt6jMb EqxRImMldP5J/YkaP5RRXsWPPRln+gycxPF9Igp4xydjcNf5ZHCQHl2+sE83wtCQkmomAAg0 XnLq1QPnx5jigfPmTZn8iSQUyX5zfmdTjNdk2zuclnoRoJnNExxnIrImwmZdD+sPuTGtlFMd Miqxpp7CQdylXvT8IlsiysSRFNgLWyY4KTd/wvyY60ydMhI6qZKmuqCsJDuK7NE0e/2Q1KiQ FCMwBDpAOPDfmxq+sDUPaSwkQXpVrz6/m5QKdVLTjRfsho+LTqCPt7qjP9AJqvrNGxyRe+YP E0WLOTpN6Zlwn5gK9+ppDhApaWWDU93C/reAg1q1xv7wZ/nJR1kJFPkIizdGgk1i5L/R+tt5 f4AZcCnFRZkxNlVW1zRzdckAVi5B/nppC/HSXZDVPgrcYON+je2AuQVZxwwLc98GpNO9kiJI WZcDlaDyqI8Z+wWaCRlR6WQTxmvnf+JYYRVQoSygq9U1QQoX5bD7KykxpYB/SmHzqIt/rkYn PM5ZoSCVt4qOwi1rBhm/9IMxPIIo0ZSk9aREktylFeLwdskeFA+hktoet2Ai2l2GEUlFUU4m GUEzOPkS2wrOa1xtz+cQkIHsV5Qts45oYCtNQulMDXrM5eOav4k1H9P4NMVLAsq6fIwCBpar +El4uTpyK/N5/UBxehJJTtCpfytBDlZbEuGzWiXF1QYx17LapuuQ1KWX2awuxge8rDC/aX5U HxRbaBUk5UqE61qGWXWl2RDchIt44F4TkVkHzQTGcGEqhZZRnKjlJppnr2sjUOO5EajBI9DC J8eKcdauhktQ+XigaDwRY/rJGPGOwRPhZQhnfFoIh9m5EsDBf7EyHgt/EhYlJHtJRz28Ckcv oh95gmpiFXCtouuc9I3tLqjgU9XyvxtbGcvRiCrkZwutMnuJJXxKZLU26DGeGvTUPn/QY3x6 0FNLgh7jKUGP8Yygp/bJQY8RBz3GQ0GPgvCJsYyRimWMZ8QyRhLLZKA/OzYwdBGbsAR9ezvT 2RkPOLvMtuk6JFXl652dkeXsFHv0oKsz1jkpdWWvBZCLEgHuRYgo9iI8sLZ30pWtbIYWMrSQ uN9MJckAJ6sxvZmUAaBu/RyIrZU25bslCEAu6ZXjMdYQdYYn4twoBDRaBB6pHmj34hBHW3uK w3tUz3IYTHKoQsZ2ZOOxBdttEqTZOmbk2dGMlnXaIylnEpIcD1FKxnZMK3XO8zkILh0yPYlk YQ5BSzSRe7l4ok/sG9txmdm/o9HWBw+ieuwZO/qa9z/YEaE4yfs693/Al+wbK/d/9mr5/Z8v UfL7P/n9n/z+T37/J7//863e/5HOfaNWffYFIL4Ls+7+D9HgHzumv1xM5n6oR7O52JLBp3gL p8BuxFwuHHc8RLNWGk3B9VYAaUIDds/FpV5yByZ9SaaScUtGXJNJ2sUdmfiKDOQgdjSaHiiX Zmx3PrXVitEiCMBQqlW+O1ZfJ76vA5t2ch0BXMiN7R6I8D8WF5IR/iZEZu8AwPqU2zFiG0ZQ j7dguOoYhuCoLlkFduqvE1GUs8+5HYZ4Bwk0Co7Cu6bj2F944O946nE7dVxa4vR/BA2T16/F QH1X36zFJ3BMJM4xxxA19SoDiSHYsENnjCQOnGCXH0s7kxgPaV8G1MYbH7gtwfZm1rWjjMlI xCpYrzPE2PzJox+jDDzRgLsNcrtRXFOh6EdTesORYy5VbkAyDfJdyFI8B8uSlXiwKxlMlcSM TEELutnw8awu12PKcQOjtLSEUIozEYSB+3SuMPGUm5N8wGG+1ivKCTjM3LpgjFFYnl98uFOq +47pTs4NGLS4FYnW61Z/+HOneyiy7UKFdamMA/LA96MK94S64On/5HtzhQrjRgWFCgQtsIQ6 Zi7FDsu2ET9JTguYObHsNJmQKXuyvMCZYSgwELxNVBDXEyNbrlKQ8jtQkTeazUtibr/h66Ss F50J+a2o75TLMondxDtRgMI6LZPKEgap18kPH7wf+NrhlVxKRYT7Ryls/EDwssa//kUegoKe Hgf6EP0gxxMXwrUzZxd8WNaOGxROfRlNbKfy6eF8V0/kSQm0BvM+U+5SlW+dAOFE+ZkEkm7r MePJpIBI8zdG4Pc6G032zDtSO82kfK8sgjQpob+qXGhMSxjZ1vG+J98uUcgzmOaUjq7ZKQGu iOF7CHrkMwRj7JjgoZklkXQAAONcku/lslhc6ZUnFt7BcsMQTSrDBQhAVxRRX6aMbbGx4XrS 5DJ9nNdON8Vqp/vvcNrprmMU6D7EZ0aHEFrGPSoLO3t2xqjs5OC5Uym1OopiceCSeIC8Sv8J 64ivJG0NRTFhoe+DbJA3tdSsVpwJ6zQ1mVk/j6xFaQKeuM5UGGm9SzW2v/a1dz7ygoWlCB7M nJCGL/UdwIf3/4ixv7e/tP/3tvZ2P9//+xIl3//L9//y/b98/y/f//tW9/9U5x5/BzC2/wwE jz5f7PTvUf+/u7+3t+T/a/vVvdz/f4mS+//c/+f+P/f/uf//Vv0/d+4b//vsw7+FByZhvAR3 F25Hd3MarlbPZraXrp2MvMhNHx4+7ycF8PgQxSnh3r0dXI10wrf8K/Bywzb4sWUy1sUBHX+f 2XM8e9FH/gIPSXCnTDkoEEDJ8aL8tr16BKicpmR8Rz/7OFFeFHU8vFP2mvP7mnHKv10yGdf9 OfVKxW0ajWDIJvbCjcLtYLQFtnNS1LvDXqvbab/nd3ydSQkQ5IldASxd4AfrcNkeJ/3oRCXz V2swPGpYbVhl8eY32mOmk7obUnoNhPWq3jfNn4dmp8W447qpw2DOS1U9ViEutsGwZzZa7CYy 4BHJnMConzbOWH9mK80oI1V+kDOtIPUsj+4SHcuaeJzY7q4YqjrfsRcni8oJszgLkuy/jo+U Xyfj/Vr5sYXX8thN3IREcrOFh6ynSQmh1bPMlLAc52FxcVfX9UMK6sf+NpwJjCMBO3UIxh0v Ive7YJTjy4QDP7Jdca47gakMC/0vDinB//zrrxgWwIsQpfzB++AV9VjMN0IyfXWi821m2Q37 qYd3DLusHEYrKwAv3oq1BIoXT8o3TkRN8uUASXoD2AOmQ1KHD+ROQOqpwxj29eSsQwP1fIP8 NTlueUfUEwOBx/ac71XBhEDyVXy7KlPSZF2vlxUtxGeWNPkWQ1qIDQiXnAn+jEDq10Tiyawa L2Uyp8dXvdebxP/qFZHpC+UYj+R/b/f3Mn7/Ld///SIlz//y/C/P//L8L8//vtX8Tzr3jX2Z AWLihpEmLHRYcBgxYFDJrlSwxIjdiDF2d3+XmRK/T6DW4MWzVIW4SiTrWNrFbDsdi1eMT5TH IbtAWWDfV1W5qIj7Xto9ETkVD43BLEwcj45Lw+FRQOlhvzUclrUNXpvEgsUPRfjzoVhMN8Gy gJZOlzWwCyQpih0arSUIHxnEOt1iHJalGkV4WlupBaxqXCkuxyhg8vYKAGn8Ku3SNVm85apc feWXXlcqINbDv8t34hI4AFD9P5sip/Y1MOHSF4oxHon/yM7e6vd/DCOP/75E2SCrFkNOh41a DU1G86jdOO6/qZPNCxviwM0r8gckIDVjE3canCuyuTmauPZV+AfR2i0JuwziOpfhH5q2pSy7 C2twMjSP0FiWFczN9vYiDLZdf2S724BGNl06od6IaltivfFft+rXiTBtPmF7XD4RW0U+WA/g 9F3h+5IALWvw3GyWyfcl0VGZbPoEpSUqkDbCH+V4B8nSjGxOSGVLwODH1sgPKIB87RH7vEX9 idAXzP/2Hsr/qjVx/leDfzu7bP3v5Ov/i5Q8/8vzvzz/y/O/PP/7ZvI/keVhGrDm16d1grkE Sb/jEcTX9kZ5yUte8pKXvOQlL3nJS17ykpe85CUvefnc5f8B4gFCygB4AAA= --69pVuxX8awAiJ7fD-- --5gxpn/Q6ypwruk0T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8fVH0nLctrNyFFPERAlGkAJ951c43cnbRqjuPueSw9eAT0d4ZdACfdysT o6Kb3CwFRNtN5Zc3PyNPZ/I= =GtOw -----END PGP SIGNATURE----- --5gxpn/Q6ypwruk0T-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 13:48: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 2983037B417 for ; Wed, 27 Feb 2002 13:47:56 -0800 (PST) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id g1RLn5O78101; Wed, 27 Feb 2002 15:49:05 -0600 (CST) (envelope-from nick@rogness.net) Date: Wed, 27 Feb 2002 15:49:05 -0600 (CST) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Miguel Mendez Cc: hackers@FreeBSD.ORG Subject: Re: Meet fish (read on) In-Reply-To: <20020227223901.C16555@energyhq.homeip.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 27 Feb 2002, Miguel Mendez wrote: > Hi there hackers, > > Some time ago, Terry proposed the creation of a graphical rc.conf > editing tool. While the idea of mimicing the rededit program did not > appeal much, I find it interesting to have a graphical tool for > rc.conf management, specially for people who has just started using > FreeBSD. > > So what I'm presenting here is the bare bones skeleton of the tool I'm > working on, so you can taste what it will look like when I finish it. > > What works now: > > - /etc/defaults/rc.conf parsing > - GTK UI creation for both booleans and strings > - Passes efence test, so no funny pointers in there. > > TODO: > - parse and merge /etc/rc.conf > - Write callbacks > > I'm totally open to feedback and suggestions, I'm specially interested > in knowing what the community feeling about this tool is, is it useful > or do you thing is a waste of time to code such tool? What about going > one step further and add something like the admin tool in Solaris? Why make it in gtk only? I would detect if display is defined and if not run a util similar to /stand/sysinstall. Nick Rogness - Don't mind me...I'm just sniffing your packets To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 13:50:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 48B8B37B400 for ; Wed, 27 Feb 2002 13:50:06 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g1RLnq066115; Wed, 27 Feb 2002 16:49:52 -0500 (EST) (envelope-from mwlucas) Date: Wed, 27 Feb 2002 16:49:52 -0500 From: Michael Lucas To: Miguel Mendez Cc: hackers@FreeBSD.ORG Subject: Re: Meet fish (read on) Message-ID: <20020227164952.A66094@blackhelicopters.org> References: <20020227223901.C16555@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020227223901.C16555@energyhq.homeip.net>; from flynn@energyhq.homeip.net on Wed, Feb 27, 2002 at 10:39:01PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well, it compiles on -current, and shows the correct variables. That's a start. :-) What I'd like to see in such a tool is a "drop-box" containing a list of legitimate values for each option. This would require maintaining a separate table of rc.conf values, however. Something like that would make freeBSD much easier to administer, especially for the point-and-click crowd. So, why call it fish? On Wed, Feb 27, 2002 at 10:39:01PM +0100, Miguel Mendez wrote: > Hi there hackers, > > Some time ago, Terry proposed the creation of a graphical rc.conf > editing tool. While the idea of mimicing the rededit program did not > appeal much, I find it interesting to have a graphical tool for rc.conf > management, specially for people who has just started using FreeBSD. > > So what I'm presenting here is the bare bones skeleton of the tool I'm > working on, so you can taste what it will look like when I finish it. > > What works now: > > - /etc/defaults/rc.conf parsing > - GTK UI creation for both booleans and strings > - Passes efence test, so no funny pointers in there. > > TODO: > - parse and merge /etc/rc.conf > - Write callbacks > > I'm totally open to feedback and suggestions, I'm specially interested > in knowing what the community feeling about this tool is, is it useful > or do you thing is a waste of time to code such tool? What about going > one step further and add something like the admin tool in Solaris? > > To compile the code just untargz and type make. You need gtk12 port > installed. The window might take a few seconds to create the widgets, > I'm working on it currently. > > Thanks in advance, > -- > Miguel Mendez - flynn@energyhq.homeip.net > GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt > EnergyHQ :: http://www.energyhq.tk > FreeBSD - The power to serve! -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 13:55:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id 4306337B402 for ; Wed, 27 Feb 2002 13:55:54 -0800 (PST) Received: by energyhq.homeip.net (Postfix, from userid 1001) id 8BFC13FC46; Wed, 27 Feb 2002 22:55:56 +0100 (CET) Date: Wed, 27 Feb 2002 22:55:56 +0100 From: Miguel Mendez To: Nick Rogness Cc: hackers@FreeBSD.ORG Subject: Re: Meet fish (read on) Message-ID: <20020227225556.D16555@energyhq.homeip.net> References: <20020227223901.C16555@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ILuaRSyQpoVaJ1HG" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from nick@rogness.net on Wed, Feb 27, 2002 at 03:49:05PM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --ILuaRSyQpoVaJ1HG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2002 at 03:49:05PM -0600, Nick Rogness wrote: Hi Nick, >=20 > Why make it in gtk only? I would detect if display is defined and > if not run a util similar to /stand/sysinstall. Although currently it is gtk only, it will also have a ncurses display and will enable one or the other by checking the DISPLAY varible and a command line switch. I just felt like writing the GTK frontend first. Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --ILuaRSyQpoVaJ1HG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8fVXrnLctrNyFFPERAnWSAJ9A6XRQgfsCvWnYR7wMOfiZsWUZogCgo00R HAUSgGOic9Hvo3yYKlAFzy0= =bttH -----END PGP SIGNATURE----- --ILuaRSyQpoVaJ1HG-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 13:59:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id 27E1A37B402 for ; Wed, 27 Feb 2002 13:59:39 -0800 (PST) Received: by energyhq.homeip.net (Postfix, from userid 1001) id 890FE3FC46; Wed, 27 Feb 2002 22:59:38 +0100 (CET) Date: Wed, 27 Feb 2002 22:59:38 +0100 From: Miguel Mendez To: Michael Lucas Cc: hackers@FreeBSD.ORG Subject: Re: Meet fish (read on) Message-ID: <20020227225938.E16555@energyhq.homeip.net> References: <20020227223901.C16555@energyhq.homeip.net> <20020227164952.A66094@blackhelicopters.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="sDKAb4OeUBrWWL6P" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020227164952.A66094@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Wed, Feb 27, 2002 at 04:49:52PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --sDKAb4OeUBrWWL6P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2002 at 04:49:52PM -0500, Michael Lucas wrote: Hi Michael, > What I'd like to see in such a tool is a "drop-box" containing a list > of legitimate values for each option. This would require maintaining > a separate table of rc.conf values, however. Something like that > would make freeBSD much easier to administer, especially for the > point-and-click crowd. Yes, in fact that's also on my TODO list. I want to enable a kind of sanity check so the program won't allow illegal values for certain critical rc.conf variables. Having a menu of legal values would be very nice too. I'll work on it. =20 > So, why call it fish? I couldn't come up with a better name when I imported it into the p4 repo, I'm open to suggestions for a name too :) Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --sDKAb4OeUBrWWL6P Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8fVbJnLctrNyFFPERAjt2AJ9JwPR5gOxQj6LSAGDF1GXHxeLa9ACeJSLa NrgnRQq0udtQCkSUiGF3lNk= =EIBg -----END PGP SIGNATURE----- --sDKAb4OeUBrWWL6P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 14:34:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from post-11.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 59A1737B41A for ; Wed, 27 Feb 2002 14:34:21 -0800 (PST) Received: from [212.238.198.6] (helo=unicorn.demon.nl) by post-11.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16gCeS-0002qY-00; Wed, 27 Feb 2002 22:34:20 +0000 Message-ID: <3C7D5F6B.8050203@unicorn.demon.nl> Date: Wed, 27 Feb 2002 23:36:27 +0100 From: Ebo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020209 X-Accept-Language: en-us MIME-Version: 1.0 To: Miguel Mendez , hackers@freebsd.org Subject: Re: Meet fish (read on) References: <20020227223901.C16555@energyhq.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Miguel Mendez wrote: > Hi there hackers, > > Some time ago, Terry proposed the creation of a graphical rc.conf > editing tool. While the idea of mimicing the rededit program did not > appeal much, I find it interesting to have a graphical tool for rc.conf > management, specially for people who has just started using FreeBSD. > > So what I'm presenting here is the bare bones skeleton of the tool I'm > working on, so you can taste what it will look like when I finish it. > > What works now: > > - /etc/defaults/rc.conf parsing > - GTK UI creation for both booleans and strings > - Passes efence test, so no funny pointers in there. > > TODO: > - parse and merge /etc/rc.conf > - Write callbacks > > I'm totally open to feedback and suggestions, I'm specially interested > in knowing what the community feeling about this tool is, is it useful > or do you thing is a waste of time to code such tool? What about going > one step further and add something like the admin tool in Solaris? > > To compile the code just untargz and type make. You need gtk12 port > installed. The window might take a few seconds to create the widgets, > I'm working on it currently. > > Thanks in advance, > Looks nice. My $0.02/suggestions would be: - some concept of groups would be nice, so related entries can be turned on or off all at once - a roll-back option (last known working config) - implement a sort of rc.conf LINT ...but, feel free to have a life instead ;-) E. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 14:43: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 3DE6E37B402 for ; Wed, 27 Feb 2002 14:42:59 -0800 (PST) Received: from pool0052.cvx40-bradley.dialup.earthlink.net ([216.244.42.52] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16gCmc-0001cX-00; Wed, 27 Feb 2002 14:42:46 -0800 Message-ID: <3C7D60A4.2AB0DC23@mindspring.com> Date: Wed, 27 Feb 2002 14:41:40 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Miguel Mendez Cc: hackers@freebsd.org Subject: Re: Meet fish (read on) References: <20020227223901.C16555@energyhq.homeip.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Miguel Mendez wrote: > > Hi there hackers, > > Some time ago, Terry proposed the creation of a graphical rc.conf > editing tool. While the idea of mimicing the rededit program did not > appeal much, I find it interesting to have a graphical tool for rc.conf > management, specially for people who has just started using FreeBSD. > > So what I'm presenting here is the bare bones skeleton of the tool I'm > working on, so you can taste what it will look like when I finish it. Cool! I'll build this before the end of the week and give you feedback. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 15: 3:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from clarkevans.com (209-9-30-66.sdsl.cais.net [209.9.30.66]) by hub.freebsd.org (Postfix) with ESMTP id 5DC6B37B41E for ; Wed, 27 Feb 2002 15:03:15 -0800 (PST) Received: from cce by clarkevans.com with local (Exim 3.12 #1 (Debian)) id 16gDQ3-0004ew-00 for ; Wed, 27 Feb 2002 18:23:31 -0500 Date: Wed, 27 Feb 2002 18:23:31 -0500 From: "Clark C . Evans" To: freebsd-hackers@FreeBSD.ORG Subject: read-only CD-ROM boot partition for vinum webfarm? Message-ID: <20020227182331.C17592@doublegemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello. I was wondering if it is possible to make a read-only boot partition (core kernel, static configuration, and /usr) for a web-farm application. I've posted this question to the freebsd-small list as well and will try to solicit comments there as it seems that is the most appropriate list. Thus far these are some of the challenges outlined on the freebsd-users@uk list... It sounds like the predictable outstanding issues are (thanks to Paul and Jeff)... - /etc/motd gets updated at boot time, but you can turn that off in rc.conf - if you are using /etc/fbtab then /dev/console won't update, there may be other /dev issues (tty files) - if you are using DHCP then dhclient will want to update /etc/resolv.conf Kind Regards, Clark --- To: freebsd-small@FreeBSD.ORG Subject: read-only CD-ROM boot partition for webfarm? Hello. I'm building a webfarm and other than the apache configuration and webpages, the core operating system and /usr partition is/should-be relatively static (scp used to update stuff in a /data partition). I'm using vinum to mirror /data. How hard would it be to make a bootable CD-ROM image with everything on it except the data, log-files, etc? This would have three advantages for me: - Vinum doesn't protect the boot partition since it is a kernel level module. - Having a true read-only file system really would make it hard for crackers. - Updating boxes on the webfarm could be as simple as swapping a new CD-ROM! Thoughts? Clark ----- End forwarded message ----- -- Clark C. Evans Axista, Inc. http://www.axista.com 800.926.5525 XCOLLA Collaborative Project Management Software To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 15:10: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id 2356D37B400 for ; Wed, 27 Feb 2002 15:10:01 -0800 (PST) Received: by peitho.fxp.org (Postfix, from userid 1501) id AEC1513667; Wed, 27 Feb 2002 18:10:00 -0500 (EST) Date: Wed, 27 Feb 2002 18:10:00 -0500 From: Chris Faulhaber To: "Clark C . Evans" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: read-only CD-ROM boot partition for vinum webfarm? Message-ID: <20020227231000.GB42263@peitho.fxp.org> Mail-Followup-To: Chris Faulhaber , "Clark C . Evans" , freebsd-hackers@FreeBSD.ORG References: <20020227182331.C17592@doublegemini.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <20020227182331.C17592@doublegemini.com> User-Agent: Mutt/1.3.24i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2002 at 06:23:31PM -0500, Clark C . Evans wrote: > Hello. I was wondering if it is possible to make a read-only > boot partition (core kernel, static configuration, and /usr) > for a web-farm application. I've posted this question to the > freebsd-small list as well and will try to solicit comments=20 > there as it seems that is the most appropriate list. Thus=20 > far these are some of the challenges outlined on the freebsd-users@uk > list... >=20 You may want to check out the LiveCD project from FUGSPBR (FreeBSD Users Group, Sao Paulo, Brazil). See: http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D9039+13780+/usr/local/www/db/= text/2002/freebsd-hackers/20020120.freebsd-hackers for details. It may not be as 'small' as you looking for but is probably a good starting point. --=20 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: FreeBSD: The Power To Serve iEYEARECAAYFAjx9Z0gACgkQObaG4P6BelBGuQCdEV9W9ESeLdpeYYpxsWo6jA6C eK4An26YrxO/psGSvQ7DrzLfOpZgnvkj =Haul -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 15:22:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 083E737B405 for ; Wed, 27 Feb 2002 15:22:20 -0800 (PST) Received: from pool0052.cvx40-bradley.dialup.earthlink.net ([216.244.42.52] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16gDOo-000605-00; Wed, 27 Feb 2002 15:22:15 -0800 Message-ID: <3C7D69E0.3BF404EC@mindspring.com> Date: Wed, 27 Feb 2002 15:21:04 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Clark C . Evans" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: read-only CD-ROM boot partition for vinum webfarm? References: <20020227182331.C17592@doublegemini.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Clark C . Evans" wrote: > Hello. I was wondering if it is possible to make a read-only > boot partition (core kernel, static configuration, and /usr) > for a web-farm application. I've posted this question to the > freebsd-small list as well and will try to solicit comments > there as it seems that is the most appropriate list. Thus > far these are some of the challenges outlined on the freebsd-users@uk > list... It's possible to do; you probably want to limit it to a "test drive" CDROM, rather than putting it into a production setting. The issue is that the MTBF for IDE CDROM drives is very low, comparatively, when they are forced to a continuous duty cycle. This was discuseed two years ago, and I don't think the situation has improved any. 8-(. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 16: 8:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by hub.freebsd.org (Postfix) with ESMTP id BF1A237B402 for ; Wed, 27 Feb 2002 16:08:48 -0800 (PST) Received: (from ambrisko@localhost) by ambrisko.com (8.11.6/8.11.6) id g1S08co54485; Wed, 27 Feb 2002 16:08:38 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200202280008.g1S08co54485@ambrisko.com> Subject: Re: read-only CD-ROM boot partition for vinum webfarm? In-Reply-To: <3C7D69E0.3BF404EC@mindspring.com> To: Terry Lambert Date: Wed, 27 Feb 2002 16:08:38 -0800 (PST) Cc: "Clark C . Evans" , freebsd-hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert writes: | "Clark C . Evans" wrote: | > Hello. I was wondering if it is possible to make a read-only | > boot partition (core kernel, static configuration, and /usr) | > for a web-farm application. I've posted this question to the | > freebsd-small list as well and will try to solicit comments | > there as it seems that is the most appropriate list. Thus | > far these are some of the challenges outlined on the freebsd-users@uk | > list... | | It's possible to do; you probably want to limit it to | a "test drive" CDROM, rather than putting it into a | production setting. | | The issue is that the MTBF for IDE CDROM drives is very | low, comparatively, when they are forced to a continuous | duty cycle. This was discuseed two years ago, and I don't | think the situation has improved any. 8-(. Actually 2 years ago it got much better to be a non-issue. 4 years ago with IDE CD-ROMs it was sketchy. ... but what do I know being responsible for manufacturing systems based on FreeBSD mounting root via a CD-ROM in a dirty and hostile environment? Doug eh? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 16:14:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by hub.freebsd.org (Postfix) with ESMTP id 0B20237B402; Wed, 27 Feb 2002 16:14:32 -0800 (PST) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.3/8.11.3) id g1RNrLO05638; Wed, 27 Feb 2002 23:53:21 GMT (envelope-from nik) Date: Wed, 27 Feb 2002 23:53:20 +0000 From: Nik Clayton To: Kirk Strauser Cc: Patrick Thomas , freebsd-hackers@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: using vnconfig devices instead of partitions for jails ? Message-ID: <20020227235320.C4562@canyon.nothing-going-on.org> References: <20020227124518.X67780-100000@utility.clubscholarship.com> <878z9ek580.fsf@pooh.int> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="/Uq4LBwYP4y1W6pO" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <878z9ek580.fsf@pooh.int>; from kirk@strauser.com on Wed, Feb 27, 2002 at 03:03:11PM -0600 Organization: FreeBSD Project Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --/Uq4LBwYP4y1W6pO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2002 at 03:03:11PM -0600, Kirk Strauser wrote: > At 2002-02-27T20:49:18Z, Patrick Thomas writes: > > I would like to put a large number of jails (16 or 20) on a server for > > testing purposes. > >=20 > > I have two options so far: create 16 or 20 partitions OR just put them = all > > in one partition, but the downside of that is that then I cannot enforce > > disk usage between jails. So at this point, 16-20 partitions seems the > > safest route. >=20 > Good question. Is there any ability at all within the system to set a qu= ota > on a jail? Each vn* device has to be baced by a physical file on the system. Simply make sure that this physical device is the maximum size you want to allow in the jail. For example, on a server with 160GB of (RAID) disk, and 12 jails, each 10GB= =20 in size, I just have 12 jails; On the 'master' host for the jails. # cd /usr/local/jails/disk-images # ls -l totall 1758115 drwxr-xr-x 2 root wheel 512 Jan 23 00:40 . drwxr-xr-x 4 root wheel 512 Jan 23 00:39 .. -rw-r--r-- 1 root wheel 136 Jan 22 18:45 README -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 foo.com.vn -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 bar.com.vn -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 baz.com.vn ... These were created with "truncate 10G file", and are then mounted configued on different vn* devices, which are then mounted as normal. # mount ... /dev/vn0a on /usr/local/jails/foo.com /dev/vn1a on /usr/local/jails/bar.com /dev/vn2a on /usr/local/jails/baz.com ... N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --/Uq4LBwYP4y1W6pO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjx9cW8ACgkQk6gHZCw343Ub6QCfd9ZpULzClh4ZAlw6GqFZwruc vdkAn21PQ5CkRRN0pneTnlOE6q3zOoJ4 =gN1u -----END PGP SIGNATURE----- --/Uq4LBwYP4y1W6pO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 16:26:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.fm.intel.com (fmr01.intel.com [192.55.52.18]) by hub.freebsd.org (Postfix) with ESMTP id E14E537B41A; Wed, 27 Feb 2002 16:26:48 -0800 (PST) Received: from petasus.fm.intel.com (petasus.fm.intel.com [10.1.192.37]) by hermes.fm.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.31 2002/02/19 21:16:00 root Exp $) with ESMTP id g1S0Pma01757; Thu, 28 Feb 2002 00:25:48 GMT Received: from fmsmsxvs040.fm.intel.com (fmsmsxv040-1.fm.intel.com [132.233.48.108]) by petasus.fm.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.12 2002/02/09 00:15:52 root Exp $) with SMTP id g1S0PsM06058; Thu, 28 Feb 2002 00:25:54 GMT Received: from fmsmsx26.fm.intel.com ([132.233.42.26]) by fmsmsxvs040.fm.intel.com (NAVGW 2.5.1.16) with SMTP id M2002022716261425437 ; Wed, 27 Feb 2002 16:26:14 -0800 Received: by fmsmsx26.fm.intel.com with Internet Mail Service (5.5.2653.19) id <1Y30KF5Y>; Wed, 27 Feb 2002 16:26:37 -0800 Message-ID: From: "Frost, Stephen C" To: "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" Subject: FreeBSD, SMP and Performance Speeds? Date: Wed, 27 Feb 2002 16:26:35 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG All - I have RTFM'd, with little luck. Can some enlightened soul impart knowledge upon me, thus letting me know why any kernels compiled with SMP enabled seem to be slowing the whole system down? Throughput goes down by 40%. Tasks take twice as long to run, etc, etc... I have multiple boxes (Dells, IBM's, Microns, Gateways...) running FreeBSd 4.5, all showing the same phenomenon. I initially mistook it for a NIC driver issue, but it appears to be system-wide. And is directly linked to SMP: two kernels, identical EXCEPT that one has SMP enabled, the other not. The enabled kernel that *should* be fully utilizing multi-procs is suddenly effectively running at half speed. Is this a config issue? Any helpful hints? Or is it better just to keep SMP disabled on a multi-proc box? Your adult supervision is appreciated. Thanks - -=C. Stephen Frost=- Intel Corp. ICG - Network Quality Labs Software Test Engineer 503.264.8300 All opinions are my own and other standard disclaimers... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 16:34:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (Postfix) with ESMTP id 002C237B400 for ; Wed, 27 Feb 2002 16:34:10 -0800 (PST) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id g1S0X3F01945 for ; Thu, 28 Feb 2002 11:03:03 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.1.5) with ESMTP id for ; Thu, 28 Feb 2002 11:03:59 +1030 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id KAA27498 for ; Thu, 28 Feb 2002 10:56:47 +1030 (CST) Received: from squirm.dsto.defence.gov.au ([131.185.75.211]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id FVNBV3F5; Thu, 28 Feb 2002 10:56:45 +1030 Date: Thu, 28 Feb 2002 10:50:48 +1030 (CST) From: "Wilkinson,Alex" X-X-Sender: wilkinsa@squirm.dsto.defence.gov.au Reply-To: Alex.Wilkinson@dsto.defence.gov.au To: hackers@freebsd.org Subject: Keeping track with latest kernel ? CVSweb ? Message-ID: <20020228104139.P43806-100000@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I would just like to know what the best way to keep track of the latest kernel for say stable would be? Is there something similar to www.freshports.org around ? ie a way to know that the kernel has been updated so I can compile the new one. Thanks - Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 16:42:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id B4C4A37B400 for ; Wed, 27 Feb 2002 16:42:28 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id AAB03A804; Thu, 28 Feb 2002 11:42:17 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id A92B85426; Thu, 28 Feb 2002 11:42:17 +1100 (EST) Date: Thu, 28 Feb 2002 11:42:17 +1100 (EST) From: Andrew To: "Wilkinson,Alex" Cc: hackers@freebsd.org Subject: Re: Keeping track with latest kernel ? CVSweb ? In-Reply-To: <20020228104139.P43806-100000@squirm.dsto.defence.gov.au> Message-ID: <20020228114120.Q66186-100000@starbug.ugh.net.au> X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 28 Feb 2002, Wilkinson,Alex wrote: > ie a way to know that the kernel has been updated so I can compile the > new one. cvsup and watch the output is probably easiest. Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 16:45: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 7C05F37B400 for ; Wed, 27 Feb 2002 16:45:03 -0800 (PST) Received: from vcmr-19.rcs.rpi.edu (vcmr-19.rcs.rpi.edu [128.113.113.12]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g1S0j0lk162716; Wed, 27 Feb 2002 19:45:00 -0500 Received: from localhost (lansil@localhost) by vcmr-19.rcs.rpi.edu (8.8.5/8.8.6) with SMTP id TAA56864; Wed, 27 Feb 2002 19:45:00 -0500 X-Authentication-Warning: vcmr-19.rcs.rpi.edu: lansil owned process doing -bs Date: Wed, 27 Feb 2002 19:45:00 -0500 (EST) From: "Lawrence S. Lansing" X-Sender: lansil@vcmr-19.rcs.rpi.edu To: Chris Faulhaber Cc: "Clark C . Evans" , freebsd-hackers@FreeBSD.ORG Subject: Re: read-only CD-ROM boot partition for vinum webfarm? In-Reply-To: <20020227231000.GB42263@peitho.fxp.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Hello. I was wondering if it is possible to make a read-only > > boot partition (core kernel, static configuration, and /usr) > > for a web-farm application. I've posted this question to the > > freebsd-small list as well and will try to solicit comments > > there as it seems that is the most appropriate list. Thus > > far these are some of the challenges outlined on the freebsd-users@uk > > list... > > > > You may want to check out the LiveCD project from FUGSPBR > (FreeBSD Users Group, Sao Paulo, Brazil). See: You also might want to check out "FreeBSD To Go", a project that I have been working on. The URL is: http://www.sourceforge.net/projects/freebsdtogo/ In case sourceforge is unresponsive, the latest release can be downloaded from: http://www.acm.rpi.edu/~lansil/freebsdtogo-0.2.tar.gz This project is based on some work I did for RPI last semester. The idea was to make a bootable CD that would boot into a web browser, to allow students to take a web-based test on their laptops. I finished this project for the school, and decided to make a more general solution that would trivialize the process of creating bootable FreeBSD CDs. I released this solution as "FreeBSD To Go" on sourceforge, a few weeks ago. Work is still in a very early stage, and there is no documentation except for comments in the code (a Makefile). I was going to wait until things were a little better before announcing it on -hackers, but c'est la vie. :) Enjoy. -Lawrence Lansing RPI Class of 2003 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 16:58:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.143.238.93]) by hub.freebsd.org (Postfix) with SMTP id 9D60037B405 for ; Wed, 27 Feb 2002 16:58:38 -0800 (PST) Received: (qmail 95125 invoked by uid 1001); 28 Feb 2002 10:58:33 +1000 X-Posted-By: GJB-Post 2.23 27-Nov-2001 X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Uptime: 49 days, 17:19 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-GPG-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-PGP-Public-Keys: http://www.gbch.net/keys.html Message-Id: Date: Thu, 28 Feb 2002 10:58:33 +1000 From: Greg Black To: Michael Lucas Cc: Steve Tremblett , Thierry Herbelot , freebsd-hackers@FreeBSD.ORG Subject: Re: getting started with -CURRENT References: <20020227102056.A21989@sjt-u10.cisco.com> <3C7D25C3.85B66088@herbelot.com> <20020227141328.A65111@blackhelicopters.org> <20020227142331.F22223@sjt-u10.cisco.com> <20020227142613.A65309@blackhelicopters.org> In-reply-to: <20020227142613.A65309@blackhelicopters.org> of Wed, 27 Feb 2002 14:26:13 EST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Lucas wrote [top post put down where it belongs]: | On Wed, Feb 27, 2002 at 02:23:31PM -0500, Steve Tremblett wrote: | > Thanks for the help - much appreciated. | > | > I guess I'm misunderstanding the primary disk partitions and their | > types - I seem to recall PCs getting cranky when there are multiple | > primary partitions of the same type? Or is it that WINDOWS gets cranky | > when it sees that? | | That would probably be Windows. I'm doing exactly this, without | trouble. No, there's no problem doing this with Windows (at least with Windows-ME) -- I have Win-ME on my laptop (so I can say "it works under Windows" when something is broken) with two FreeBSD partitions: 4.3-R (which works) and -CURRENT (in which PCMCIA is completely broken). But booting any of the 3 OSes works fine. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 17: 1:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 04D9C37B41A for ; Wed, 27 Feb 2002 17:01:15 -0800 (PST) Received: from pool0187.cvx21-bradley.dialup.earthlink.net ([209.179.192.187] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16gEwZ-0005oi-00; Wed, 27 Feb 2002 17:01:12 -0800 Message-ID: <3C7D8106.28D8D2F4@mindspring.com> Date: Wed, 27 Feb 2002 16:59:50 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Doug Ambrisko Cc: "Clark C . Evans" , freebsd-hackers@FreeBSD.org Subject: Re: read-only CD-ROM boot partition for vinum webfarm? References: <200202280008.g1S08co54485@ambrisko.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Doug Ambrisko wrote: > | The issue is that the MTBF for IDE CDROM drives is very > | low, comparatively, when they are forced to a continuous > | duty cycle. This was discuseed two years ago, and I don't > | think the situation has improved any. 8-(. > > Actually 2 years ago it got much better to be a non-issue. 4 years > ago with IDE CD-ROMs it was sketchy. ... but what do I know being > responsible for manufacturing systems based on FreeBSD mounting root > via a CD-ROM in a dirty and hostile environment? Hey, Doug! I was basing my statement on the inability to use CDROMs for InterJets, which would have resolved the late-binding install issue for us. 8-). What's the MTBF for a CDROM being used as a swap backing store for program files and a root FS these days? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 17:10:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by hub.freebsd.org (Postfix) with ESMTP id 3CE7937B41A for ; Wed, 27 Feb 2002 17:10:20 -0800 (PST) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020228011019.EKHT22101.mta07-svc.ntlworld.com@lungfish.ntlworld.com>; Thu, 28 Feb 2002 01:10:19 +0000 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.3) with ESMTP id g1S1BMj12241; Thu, 28 Feb 2002 01:11:22 GMT (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g1S1BPB48867; Thu, 28 Feb 2002 01:11:25 GMT (envelope-from scott) Date: Thu, 28 Feb 2002 01:11:25 +0000 From: Scott Mitchell To: Greg Black Cc: Michael Lucas , Steve Tremblett , Thierry Herbelot , freebsd-hackers@FreeBSD.ORG Subject: Re: getting started with -CURRENT Message-ID: <20020228011125.E48231@localhost> References: <20020227102056.A21989@sjt-u10.cisco.com> <3C7D25C3.85B66088@herbelot.com> <20020227141328.A65111@blackhelicopters.org> <20020227142331.F22223@sjt-u10.cisco.com> <20020227142613.A65309@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gjb@gbch.net on Thu, Feb 28, 2002 at 10:58:33AM +1000 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 28, 2002 at 10:58:33AM +1000, Greg Black wrote: > Michael Lucas wrote [top post put down where it belongs]: > > | On Wed, Feb 27, 2002 at 02:23:31PM -0500, Steve Tremblett wrote: > | > Thanks for the help - much appreciated. > | > > | > I guess I'm misunderstanding the primary disk partitions and their > | > types - I seem to recall PCs getting cranky when there are multiple > | > primary partitions of the same type? Or is it that WINDOWS gets cranky > | > when it sees that? > | > | That would probably be Windows. I'm doing exactly this, without > | trouble. > > No, there's no problem doing this with Windows (at least with > Windows-ME) -- I have Win-ME on my laptop (so I can say "it > works under Windows" when something is broken) with two FreeBSD > partitions: 4.3-R (which works) and -CURRENT (in which PCMCIA is > completely broken). But booting any of the 3 OSes works fine. > > Greg Not quite the same thing, but IME Windows (at least up to Win2K), *really* likes to have the first partition table entry for itself, and to live at the start of the disk. I had a horrible time getting W2K to install at the slow end of the disk on this machine -- where it belongs, as I use it perhaps 5% of the time -- manual editing of the partition table was needed in the end :-( I've certainly had machines with multiple, primary Windows partitions before now, with no obvious problems. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 17:12:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 2EAA937B41E for ; Wed, 27 Feb 2002 17:12:11 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id A8E1678310; Thu, 28 Feb 2002 11:42:08 +1030 (CST) Date: Thu, 28 Feb 2002 11:42:08 +1030 From: Greg Lehey To: Andrew Cc: Alex Wilkinson , hackers@freebsd.org Subject: Re: Keeping track with latest kernel ? CVSweb ? Message-ID: <20020228114208.Q90450@wantadilla.lemis.com> References: <20020228104139.P43806-100000@squirm.dsto.defence.gov.au> <20020228114120.Q66186-100000@starbug.ugh.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020228114120.Q66186-100000@starbug.ugh.net.au> User-Agent: Mutt/1.3.23i 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: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday, 28 February 2002 at 11:42:17 +1100, Andrew wrote: > > > On Thu, 28 Feb 2002, Wilkinson,Alex wrote: > >> ie a way to know that the kernel has been updated so I can compile the >> new one. > > cvsup and watch the output is probably easiest. Note that it's not possible to build a new kernel every time something changes. There are dozens of updates every day. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 17:24:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from patrocles.silby.com (d12.as28.nwbl0.wi.voyager.net [169.207.69.12]) by hub.freebsd.org (Postfix) with ESMTP id 6DA0D37B405 for ; Wed, 27 Feb 2002 17:24:45 -0800 (PST) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.2/8.12.2) with ESMTP id g1RJSjpl001907; Wed, 27 Feb 2002 19:28:45 GMT (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.2/8.12.2/Submit) with ESMTP id g1RJSaqw001904; Wed, 27 Feb 2002 19:28:43 GMT X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Wed, 27 Feb 2002 19:28:36 +0000 (GMT) From: Mike Silbersack To: "Wilkinson,Alex" Cc: hackers@freebsd.org Subject: Re: Keeping track with latest kernel ? CVSweb ? In-Reply-To: <20020228104139.P43806-100000@squirm.dsto.defence.gov.au> Message-ID: <20020227192434.M1169-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 28 Feb 2002, Wilkinson,Alex wrote: > Hi all, > > I would just like to know what the best way to keep track of the latest kernel for say > stable would be? > > Is there something similar to www.freshports.org around ? > > ie a way to know that the kernel has been updated so I can compile the new one. > > Thanks > > - Alex Bruce Mah keeps the release notes relatively up to date, perhaps you could convince him to do weekly mailings with a summary of changes, or perhaps he could have a version of the release notes sorted by date. You can check out what he does have for -stable at: http://www.freebsd.org/relnotes/4-STABLE/relnotes/i386/index.html Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 17:57: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id 9EBF737B41B; Wed, 27 Feb 2002 17:56:53 -0800 (PST) Received: by peitho.fxp.org (Postfix, from userid 1501) id D4AC11366A; Wed, 27 Feb 2002 20:56:51 -0500 (EST) Date: Wed, 27 Feb 2002 20:56:51 -0500 From: Chris Faulhaber To: "Frost, Stephen C" Cc: "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" Subject: Re: FreeBSD, SMP and Performance Speeds? Message-ID: <20020228015651.GA90541@peitho.fxp.org> Mail-Followup-To: Chris Faulhaber , "Frost, Stephen C" , "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2002 at 04:26:35PM -0800, Frost, Stephen C wrote: >=20 > All - >=20 > I have RTFM'd, with little luck. Can some enlightened soul impart knowle= dge > upon me, thus letting me know why any kernels compiled with SMP enabled s= eem > to be slowing the whole system down? Throughput goes down by 40%. Tasks > take twice as long to run, etc, etc... >=20 > I have multiple boxes (Dells, IBM's, Microns, Gateways...) running FreeBSd > 4.5, all showing the same phenomenon. I initially mistook it for a NIC > driver issue, but it appears to be system-wide. And is directly linked to > SMP: two kernels, identical EXCEPT that one has SMP enabled, the other no= t. > The enabled kernel that *should* be fully utilizing multi-procs is sudden= ly > effectively running at half speed. >=20 > Is this a config issue? Any helpful hints? Or is it better just to keep > SMP disabled on a multi-proc box? >=20 Is this an old Pentium? If so, update to a recent -stable; a fix was committed a few weeks ago fixing a problem where the caches on both processors were not enabled on Pentiums. Otherwise, we have a few PII and PIII boxes here that work quite under 4.5. (oh, you might want to try the freebsd-smp list) --=20 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: FreeBSD: The Power To Serve iEYEARECAAYFAjx9jmMACgkQObaG4P6BelBnuwCffzjYbdp6FfLmNLh6QNVhusDm 8TkAoIEBY2wUrKbp6/diZPD0FHjVmXCW =xlGF -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 18: 5:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from artemis.drwilco.net (diana.drwilco.net [66.48.127.79]) by hub.freebsd.org (Postfix) with ESMTP id 5353837B48F; Wed, 27 Feb 2002 18:05:05 -0800 (PST) Received: from ceres.drwilco.net (docwilco.xs4all.nl [213.84.68.230]) by artemis.drwilco.net (8.11.6/8.11.6) with ESMTP id g1S24uV12527 (using TLSv1/SSLv3 with cipher DES-CBC3-SHA (168 bits) verified NO); Wed, 27 Feb 2002 21:04:58 -0500 (EST) (envelope-from drwilco@drwilco.net) Message-Id: <5.1.0.14.0.20020228031412.01bf8190@mail.drwilco.net> X-Sender: lists@mail.drwilco.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 28 Feb 2002 03:15:41 +0100 To: "Frost, Stephen C" , "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" From: "Rogier R. Mulhuijzen" Subject: Re: FreeBSD, SMP and Performance Speeds? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >I have RTFM'd, with little luck. Can some enlightened soul impart knowledge >upon me, thus letting me know why any kernels compiled with SMP enabled seem >to be slowing the whole system down? Throughput goes down by 40%. Tasks >take twice as long to run, etc, etc... What sort of throughput? What sort of processes are you running? Do you actually have multiple processes fighting for CPU? Doc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 19:24:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by hub.freebsd.org (Postfix) with ESMTP id 2844E37B405 for ; Wed, 27 Feb 2002 19:24:50 -0800 (PST) Received: (from ambrisko@localhost) by ambrisko.com (8.11.6/8.11.6) id g1S3Ocr60343; Wed, 27 Feb 2002 19:24:38 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200202280324.g1S3Ocr60343@ambrisko.com> Subject: Re: read-only CD-ROM boot partition for vinum webfarm? In-Reply-To: <3C7D8106.28D8D2F4@mindspring.com> To: Terry Lambert Date: Wed, 27 Feb 2002 19:24:38 -0800 (PST) Cc: Doug Ambrisko , "Clark C . Evans" , freebsd-hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert writes: | Doug Ambrisko wrote: | > | The issue is that the MTBF for IDE CDROM drives is very | > | low, comparatively, when they are forced to a continuous | > | duty cycle. This was discuseed two years ago, and I don't | > | think the situation has improved any. 8-(. | > | > Actually 2 years ago it got much better to be a non-issue. 4 years | > ago with IDE CD-ROMs it was sketchy. ... but what do I know being | > responsible for manufacturing systems based on FreeBSD mounting root | > via a CD-ROM in a dirty and hostile environment? | | Hey, Doug! | | I was basing my statement on the inability to use CDROMs | for InterJets, which would have resolved the late-binding | install issue for us. 8-). That was not an issue. Certain projects were exploring this possibility as per my patches to boot FreeBSD CD-ROMs on IBM hardware. | What's the MTBF for a CDROM being used as a swap backing | store for program files and a root FS these days? Enough, not to be an issue and probably on par to a typical hard drive in practicle use. I replaced 2 CD-ROMs and our manufacturer replaced atleast 2 IDE drives that I knew directly off. Since they had a supply of hard drives I just had them deal with that. CPU fans and CPUs were more of an issue due to caked on dust in the machines. Have to wonder how the dust effected the CD-ROM drives. Fortunately at the time we used P5-133 that didn't need much cooling compared to todays CPUs so it was a while before they failed. Our manufacturing process definitely weeded out marginal drives especially when we ran the "verify cd" command. We used the hard disk only as a cache for the download images and /var all binaries were run from the CD mounted as root which made login in take long time. You could hear the CD spin up and down and seek all around. The last time I had to be careful about selecting a CD-ROM was when T-Zone was still in business! Personally I don't care about MTBF, I care about how many times I have to service something. Since I tend to be lazy I try to use stuff that just works. If the CD-ROMs weren't reliable I don't think our entire manufacturing process would have depended on it. BTW near the "end" we started running into a slew of hard drives that had a stiction problem and needed some help to get spinning again. It was interesting to watch the drives seeking with the drive apart, with me push starting the plater and asking people not to sneeze or cough on it while we duplicated the disk to another drive. Also we never had to worry about bad sectors or head slap before hard disks were installed in system with a root mounted CD-ROM. This doesn't seem to appear in MTBF numbers. Power outages where not an issue or operators that power-cycled machines as matter of process and we know that power outages can cause bad sectors. Now a cool thing would be to make a FreeBSD live CD that booted up to multi-user for a quick demo. With jhb's work this should be a lot simpler to do now. It would be the ultimate "fix-it" disk. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 20:21:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id A89DA37B41C; Wed, 27 Feb 2002 20:21:05 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id A77552B703; Thu, 28 Feb 2002 05:21:03 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 1CCD335B; Thu, 28 Feb 2002 15:20:57 +1100 (EST) Date: Thu, 28 Feb 2002 15:20:57 +1100 From: Edwin Groothuis To: "JINMEI Tatuya / ?$B?@L@C#:H?(B" Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: IPv6-over-IPv4 problems since the upgrade to 4.5 Message-ID: <20020228152057.A619@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , "JINMEI Tatuya / ?$B?@L@C#:H?(B" , freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG References: <20020216130842.A19081@energyhq.homeip.net> <20020217122510.D491@k7.mavetju.org> <20020222234829.F492@k7.mavetju.org> <20020223084616.G492@k7.mavetju.org> <20020225221827.F491@k7.mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jinmei@isl.rdc.toshiba.co.jp on Tue, Feb 26, 2002 at 02:38:28PM +0900 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Jinmei, On Tue, Feb 26, 2002 at 02:38:28PM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: > Finally I figured out the problem. Thanks for these two patches, it works like a charm now! Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 22: 6:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from clarkevans.com (209-9-30-66.sdsl.cais.net [209.9.30.66]) by hub.freebsd.org (Postfix) with ESMTP id C936937B417 for ; Wed, 27 Feb 2002 22:06:31 -0800 (PST) Received: from cce by clarkevans.com with local (Exim 3.12 #1 (Debian)) id 16gK1h-00066l-00 for ; Thu, 28 Feb 2002 01:26:49 -0500 Date: Thu, 28 Feb 2002 01:26:49 -0500 From: "Clark C . Evans" To: freebsd-hackers@FreeBSD.org Subject: Re: read-only root partition? Message-ID: <20020228012649.A23259@doublegemini.com> References: <20020227175541.A17132@doublegemini.com> <20020228003540.V39476-100000@nohow.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020228003540.V39476-100000@nohow.demon.co.uk>; from noway@nohow.demon.co.uk on Thu, Feb 28, 2002 at 12:39:40AM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG | http://people.freebsd.org/~bsd/cdroot/ Ok. I've tried this route and it seems to be working, thank you all so much for your help and pointers. During burning the iso image, I get a message to my console, PREVENT_ALLOW - ILLEGAL REQUEST asc=64 ascq=0 error=04 this occurs as burncd is "fixing". However, I did reboot and it seems to work. I don't know how to get a trace-file of the bootup... but here are some things that I am a wee bit concerned about. I seemed to have one error that popped up that I don't know how to resolve, here is it "re-typed"... acd0: CD-RW <...> Mouning from root iso9660:cd0a no such device 'cd' setrootbyname failed iso_mountroot: can't find rootvp Root mount failed: 6 Mounting root from iso9660:acd0 I also see a few drives complaining (like the mouse), I think I know how to re-do the kernel to leave out the mouse driver though. Is this a cd driver that needs to be removed? Anyway, I log-in and everything works nicely. Cool. Given that I've gotten this far with cdroot, I think I'm going to stick with this solution... and figure out how it works. This kit makes three mfs for me: tmp, var, etc, dev. I'm wondering if the etc and dev must be done as mfs? My next step is to make a custom boot process: 1. Check to see if /dev/ad0s1b exists and is a swap partition, if so, load it. 2. Check to see if /dev/ad0s1? exists and is a FreeBSD partition. If so, see if it looks like a /tmp, /var, or /home partition. If so mount as appropriate. 3. Modify (2) above, to search on /ad?s1? for a similar structure. If so, then mount it using vinum. If steps 1-3 above fail, then assume it is an "uninitialized" box. Ask the user to verify this fact, and then create the partitions automagically. If there are two disks, ask the user if a software mirror is to be used, if so, then configure this as well. If any of you have any suggestions/comments/ideas as to how to best do this, I'd love to hear them! Best, Clark Thank you all so much for your suggestions and thoughts! My next step is to examine the file system: (a) if the "data" partition exists, then this can be mounted and /var and /tmp can be To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 22:35:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from clarkevans.com (209-9-30-66.sdsl.cais.net [209.9.30.66]) by hub.freebsd.org (Postfix) with ESMTP id 44BFC37B400 for ; Wed, 27 Feb 2002 22:35:53 -0800 (PST) Received: from cce by clarkevans.com with local (Exim 3.12 #1 (Debian)) id 16gKU7-0006AP-00 for ; Thu, 28 Feb 2002 01:56:11 -0500 Date: Thu, 28 Feb 2002 01:56:11 -0500 From: "Clark C . Evans" To: freebsd-hackers@FreeBSD.org Subject: Re: read-only root partition? Message-ID: <20020228015610.A23549@doublegemini.com> References: <20020227175541.A17132@doublegemini.com> <20020228003540.V39476-100000@nohow.demon.co.uk> <20020228012649.A23259@doublegemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020228012649.A23259@doublegemini.com>; from cce@clarkevans.com on Thu, Feb 28, 2002 at 01:26:49AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok. I have a slight problem, I swapped by CD Writer (HP 8100) with a CD-Reader (Mitsumi) and rebooted. I get a new error during the boot process... immediatly following: | acd0: CD-RW <...> | Mouning from root iso9660:cd0a | no such device 'cd' | setrootbyname failed | iso_mountroot: can't find rootvp | Root mount failed: 6 | Mounting root from iso9660:acd0 acd0: READ_BIG - MEDIUM ERROR asc=02 ascq=0 error=00 Root mount failed: 5 no such device 'wcd' set rootbyname failed cd9960: Rockridge Extension acd0: READ_BIG - command timeout - resetting bus error ... bunch more READ_BIG MEDIUM ERRORs and timeouts then a "vm fault pager read error", then a "bus error core dumped"... then it ends saying that it can't mount fstab so startup is aborted. ... Does this have anything to do with the following error? | During burning the iso image, I get a message to my | console, PREVENT_ALLOW - ILLEGAL REQUEST asc=64 ascq=0 error=04 | this occurs as burncd is "fixing". I replaced the reader with the writer and all is well, so, I see a few potentials for this problem: (a) bad media (b) bad writer (c) bad reader (d) imperfect software (e) some combination It's about time I replaced by CD-Writer and got a new CD-Reader, any brands that you recommend? I can get new media while I'm at it. By the way, another group of warnings appear in both boot cases... Warning: Bytes per inode restrict cylinders per group to 9 Warning: Inode blocks/cylinder group (285) >= data blocks (256) in the last cylinder group, this implies that 4096 cylinders cannot be allocated 496 blocks Warning: Block size restricts cylinders per group to 26 496 blocks mounting non-volitle disk Is this something to be worried about? Thank you all so much. Best, Clark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 23:27:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web14609.mail.yahoo.com (web14609.mail.yahoo.com [216.136.224.241]) by hub.freebsd.org (Postfix) with SMTP id E78CE37B41A for ; Wed, 27 Feb 2002 23:27:51 -0800 (PST) Message-ID: <20020228072751.1492.qmail@web14609.mail.yahoo.com> Received: from [61.11.22.169] by web14609.mail.yahoo.com via HTTP; Wed, 27 Feb 2002 23:27:51 PST Date: Wed, 27 Feb 2002 23:27:51 -0800 (PST) From: Balaji To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hello there, Can anyone help me out as to what all NFS metadata have to be stored to rebuild the state of NFS server on failure. We are implementing HA for NFS in BSD, according to Dr. Anupam Bhide's Usenix paper. Please this is very urgent. We are implementing HA for NFSv3, v2 and NQNFS. Balaji. ===== The HA-NFS group, Pune Institute of Computer Technology. |_|_|_| |_|_|_\ |_|_|_| |_|_|_| |_|_|_\ /_|_|_\ |_|_|_\ |_| |_| )_) |_| |_| |_| )_)(_( |_| \_\ |_|_|_| |_|_|_/ |_|_|_| |_|_|_| |_|_<_< \_|_|_\ |_| )_) |_| |_| \_\ |_| |_| |_| )_) )_)|_| /_/ |_| |_| \_\ |_|_|_| |_|_|_| |_|_|_/ \_|_|_/ |_|_|_/ __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 23:36:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wellington.cnchost.com (wellington.concentric.net [207.155.252.14]) by hub.freebsd.org (Postfix) with ESMTP id 29EAB37B420 for ; Wed, 27 Feb 2002 23:36:00 -0800 (PST) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by wellington.cnchost.com id CAA29627; Thu, 28 Feb 2002 02:36:00 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <200202280736.CAA29627@wellington.cnchost.com> To: freebsd-hackers@freebsd.org Subject: Missing PT_READ_U Date: Wed, 27 Feb 2002 23:35:59 -0800 From: Bakul Shah Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Now that ptrace(PT_READ_U, ...) has been excised how does one find out what actions are registered for various signals? The ups debugger needs this. Please see /usr/ports/devel/ups-debug/work/ups-3.35-beta13/ups/ao_pt_uarea.c:632 Thanks! -- bakul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Feb 27 23:40: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 0C8A437B402; Wed, 27 Feb 2002 23:40:01 -0800 (PST) Received: from pool0203.cvx22-bradley.dialup.earthlink.net ([209.179.198.203] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16gLAI-0004sS-00; Wed, 27 Feb 2002 23:39:47 -0800 Message-ID: <3C7DDE33.9D1E7D14@mindspring.com> Date: Wed, 27 Feb 2002 23:37:23 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lehey Cc: Andrew , Alex Wilkinson , hackers@freebsd.org Subject: Re: Keeping track with latest kernel ? CVSweb ? References: <20020228104139.P43806-100000@squirm.dsto.defence.gov.au> <20020228114120.Q66186-100000@starbug.ugh.net.au> <20020228114208.Q90450@wantadilla.lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greg Lehey wrote: > On Thursday, 28 February 2002 at 11:42:17 +1100, Andrew wrote: > > On Thu, 28 Feb 2002, Wilkinson,Alex wrote: > >> ie a way to know that the kernel has been updated so I can compile the > >> new one. > > > > cvsup and watch the output is probably easiest. > > Note that it's not possible to build a new kernel every time something > changes. There are dozens of updates every day. And at 8 minutes a kernel, for 5 dozen updates, that's almost 8 hours. And days are much, much longer than 8 hours. 8^p 8-) 8-) -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 6:27:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by hub.freebsd.org (Postfix) with ESMTP id 8D82C37B405 for ; Thu, 28 Feb 2002 06:27:54 -0800 (PST) Received: from list1.xs4all.nl (list1.xs4all.nl [194.109.6.52]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id g1SERrRw059180 for ; Thu, 28 Feb 2002 15:27:53 +0100 (CET) Received: (from root@localhost) by list1.xs4all.nl (8.9.3/8.9.3) id PAA05412; Thu, 28 Feb 2002 15:27:51 +0100 (CET) From: Luuk van Dijk To: freebsd-hackers@freebsd.org X-Via: imploder /usr/local/lib/mail/news2mail/news2mail at list1.xs4all.nl Subject: arbitrary serial speeds Date: Thu, 28 Feb 2002 15:15:55 +0100 Organization: XS4ALL Internet BV Message-ID: <3C7E3B9B.1BACD9AC@mndmttr.nl> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------17932B47B695003DFEDACE26 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit L.S. for a project in which I communicate with embedded controllers in cars I need to read and write serial data at weird speeds of 5 and 10400 baud. the beauty of the freebsd interface to the serial ports is that the speed can be specified as an integer, i.e. not neccesarily as some predefined constant like B9600, but in src/sys/isa/sio.c the supplied value is looked up in a table, so using an arbitrary baudrate like 5 will return EINVAL. (On linux there is an ugly way to set these weird baud rates by setting the baudrate to 38400, and using a special syscall to tell the kernel to use some other divisor of 115200 to generate the uart speed. needless to say, I prefer the hygiene commonly observed in bsd's api's) an easy way would be to add my special baudrates to the table 'comspeedtab' that maps speed to divisor, but it is even more flexible to calculate the divisor on the spot, with the same macro COMBRD() as used in the initializer of 'comspeedtab'; note that this macro will automatically round to the next higher baudrate that is a divisor of 115200. The attached patch contains the neccesary changes. It works well for me, but who knows what I broke.... As far as I can tell, this renders the comspeedtab table, as well as the routine ttspeedtab in kern/tty.c superfluous, but as I'm not sure I haven't included their removal in the patch. Whoever maintains isa/sio.c, feel free to use this. I'd be very happy if in future versions of FreeBSD I could use baudrates of 5 and 10400 (actually the latter is rounded to 10475 == 115200/11, but that's good enough for me), without recompiling. Regards, Luuk van Dijk ___________________________________________________ Mind over Matter lvd at mndmttr.nl The Netherlands tel +31 6 224 97 227 ___________________________________________________ --------------17932B47B695003DFEDACE26 Content-Type: text/plain; charset=us-ascii; name="freebsd-src-sys-isa-sio-arbitrary-speed.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="freebsd-src-sys-isa-sio-arbitrary-speed.patch" --- isa.org/sio.c Wed Feb 6 23:58:00 2002 +++ isa/sio.c Thu Feb 7 00:08:25 2002 @@ -2153,7 +2153,7 @@ t->c_ispeed = t->c_ospeed; /* check requested parameters */ - divisor = ttspeedtab(t->c_ospeed, comspeedtab); + divisor = (t->c_ospeed) ? COMBRD(t->c_ospeed) : 0; /* was ttspeedtab(t->c_ospeed, comspeedtab); lvd */ if (divisor < 0 || (divisor > 0 && t->c_ispeed != t->c_ospeed)) return (EINVAL); @@ -2794,7 +2794,7 @@ * data input register. This also reduces the effects of the * UMC8669F bug. */ - divisor = ttspeedtab(speed, comspeedtab); + divisor = (speed) ? COMBRD(speed) : 0; /* was ttspeedtab(speed, comspeedtab); lvd */ dlbl = divisor & 0xFF; if (sp->dlbl != dlbl) outb(iobase + com_dlbl, dlbl); --------------17932B47B695003DFEDACE26-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 7:46:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.internexo.co.cr (iguana.internexo.co.cr [196.40.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 47C3E37B41C for ; Thu, 28 Feb 2002 07:46:25 -0800 (PST) Received: (from freebsd@localhost) by iguana.internexo.co.cr (8.9.3/8.9.3) id JAA00971 for freebsd-hackers@freebsd.org; Thu, 28 Feb 2002 09:46:24 -0600 (CST) From: Theodore Hope Message-Id: <200202281546.JAA00971@iguana.internexo.co.cr> Subject: oracle 8.1.7.0.1 installation successful, anyone? To: freebsd-hackers@freebsd.org Date: Thu, 28 Feb 2002 09:46:23 -0600 (CST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG We've tried installing Oracle 8.1.7.0.1 (for Linux) under FreeBSD 4.5-release and end up with two "jre" processes eating all the CPU and the infamous "kernel trap 9 with interrupts disabled" message scrolling on the console. This has been reported before by others, and I'm wondering if anyone has successfully installed Oracle (8.1.x or 9.x) under 4.5-Release. We can't tell if the main problem is with the Linux emulation, or what; thus my cross-posting. Many folks (including the handbook) report successful installations of Oracle 8.0.x under FreeBSD 3.2, but I haven't been able to find any recent Oracle+FreeBSD combinations. (If anyone could tell me how to download Oracle 8.0.x I'd also like to give it a try, but the "oldest" one can download for Linux from oracle.com is 8.1.7.0.1.) Thanks, -Ted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 9:21:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cheer.mahoroba.org (flets19-017.kamome.or.jp [218.45.19.17]) by hub.freebsd.org (Postfix) with ESMTP id 04CAD37B41B; Thu, 28 Feb 2002 09:21:05 -0800 (PST) Received: from mille.mahoroba.org (IDENT:zMPQAmt/qnJaUSMiQ1wajdMC3SVuYtbzGFfT83uwUDa86LQugb4aNH3vvK/R7rGg@mille.mahoroba.org [IPv6:2001:200:301:0:202:2dff:fe0a:6bee]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.2/8.12.2) with ESMTP/inet6 id g1SHL1Ev086265 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 1 Mar 2002 02:21:02 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 01 Mar 2002 02:21:01 +0900 Message-ID: From: Hajimu UMEMOTO To: Edwin Groothuis Cc: "JINMEI Tatuya / ?$B?@L@C#:H?(B" , freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: IPv6-over-IPv4 problems since the upgrade to 4.5 In-Reply-To: <20020228152057.A619@k7.mavetju.org> References: <20020216130842.A19081@energyhq.homeip.net> <20020217122510.D491@k7.mavetju.org> <20020222234829.F492@k7.mavetju.org> <20020223084616.G492@k7.mavetju.org> <20020225221827.F491@k7.mavetju.org> User-Agent: xcite1.38> Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.5-RELEASE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, >>>>> On Thu, 28 Feb 2002 15:20:57 +1100 >>>>> Edwin Groothuis said: edwin> On Tue, Feb 26, 2002 at 02:38:28PM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: > Finally I figured out the problem. edwin> Thanks for these two patches, it works like a charm now! I just committed both patches to -CURRENT. I'll do MFC after 1 week. -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 10:20:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 52A6937B41C for ; Thu, 28 Feb 2002 10:20:13 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020228182012.BQFI1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Thu, 28 Feb 2002 18:20:12 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA06552; Thu, 28 Feb 2002 10:00:14 -0800 (PST) Date: Thu, 28 Feb 2002 10:00:06 -0800 (PST) From: Julian Elischer To: Luuk van Dijk Cc: freebsd-hackers@freebsd.org Subject: Re: arbitrary serial speeds In-Reply-To: <3C7E3B9B.1BACD9AC@mndmttr.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I had changes to do this BDE refused to commit them. On Thu, 28 Feb 2002, Luuk van Dijk wrote: > This is a multi-part message in MIME format. > --------------17932B47B695003DFEDACE26 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > L.S. > > for a project in which I communicate with embedded controllers in cars I > need to read and write serial data at weird speeds of 5 and 10400 baud. > > the beauty of the freebsd interface to the serial ports is that the > speed > can be specified as an integer, i.e. not neccesarily as some predefined > constant > like B9600, but in src/sys/isa/sio.c the supplied value is looked up in > a table, > so using an arbitrary baudrate like 5 will return EINVAL. > > (On linux there is an ugly way to set these weird baud rates by setting > the > baudrate to 38400, and using a special syscall to tell the kernel to use > some other divisor of 115200 to generate the uart speed. needless to > say, I prefer > the hygiene commonly observed in bsd's api's) > > an easy way would be to add my special baudrates to the table > 'comspeedtab' > that maps speed to divisor, but it is even more flexible to calculate > the divisor > on the spot, with the same macro COMBRD() as used in the initializer of > 'comspeedtab'; > note that this macro will automatically round to the next higher > baudrate that is > a divisor of 115200. > > The attached patch contains the neccesary changes. It works well for > me, > but who knows what I broke.... > > As far as I can tell, this renders the comspeedtab table, as well as the > routine ttspeedtab in kern/tty.c superfluous, but as I'm not sure I > haven't > included their removal in the patch. > > Whoever maintains isa/sio.c, feel free to use this. I'd be very happy > if > in future versions of FreeBSD I could use baudrates of 5 and 10400 > (actually the > latter is rounded to 10475 == 115200/11, but that's good enough for me), > without > recompiling. > > Regards, > Luuk van Dijk > > ___________________________________________________ > Mind over Matter lvd at mndmttr.nl > The Netherlands tel +31 6 224 97 227 > ___________________________________________________ > --------------17932B47B695003DFEDACE26 > Content-Type: text/plain; charset=us-ascii; > name="freebsd-src-sys-isa-sio-arbitrary-speed.patch" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="freebsd-src-sys-isa-sio-arbitrary-speed.patch" > > --- isa.org/sio.c Wed Feb 6 23:58:00 2002 > +++ isa/sio.c Thu Feb 7 00:08:25 2002 > @@ -2153,7 +2153,7 @@ > t->c_ispeed = t->c_ospeed; > > /* check requested parameters */ > - divisor = ttspeedtab(t->c_ospeed, comspeedtab); > + divisor = (t->c_ospeed) ? COMBRD(t->c_ospeed) : 0; /* was ttspeedtab(t->c_ospeed, comspeedtab); lvd */ > if (divisor < 0 || (divisor > 0 && t->c_ispeed != t->c_ospeed)) > return (EINVAL); > > @@ -2794,7 +2794,7 @@ > * data input register. This also reduces the effects of the > * UMC8669F bug. > */ > - divisor = ttspeedtab(speed, comspeedtab); > + divisor = (speed) ? COMBRD(speed) : 0; /* was ttspeedtab(speed, comspeedtab); lvd */ > dlbl = divisor & 0xFF; > if (sp->dlbl != dlbl) > outb(iobase + com_dlbl, dlbl); > > --------------17932B47B695003DFEDACE26-- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 11:44: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hebe.or.intel.com (jffdns02.or.intel.com [134.134.248.4]) by hub.freebsd.org (Postfix) with ESMTP id 9EB8237B41A; Thu, 28 Feb 2002 11:43:56 -0800 (PST) Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by hebe.or.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.51 2002/02/19 21:12:32 root Exp $) with SMTP id TAA22816; Thu, 28 Feb 2002 19:43:56 GMT Received: from orsmsx26.jf.intel.com ([192.168.65.26]) by orsmsxvs040.jf.intel.com (NAVGW 2.5.1.16) with SMTP id M2002022811492810310 ; Thu, 28 Feb 2002 11:49:28 -0800 Received: by orsmsx26.jf.intel.com with Internet Mail Service (5.5.2653.19) id <1YPL9ZTQ>; Thu, 28 Feb 2002 11:43:56 -0800 Message-ID: From: "Frost, Stephen C" To: "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" , "'freebsd-smp@freebsd.org'" Cc: "Frost, Stephen C" Subject: RE: FreeBSD, SMP and Performance Speeds? Date: Thu, 28 Feb 2002 11:43:53 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm crossposting to freebsd-smp@freebsd.org, as per suggestion. My original post, edited: > > ... why any kernels compiled with SMP enabled seem > > to be slowing the whole system down? Throughput goes down by 40%. Tasks > > take twice as long to run, etc, etc... > > ... it appears to be system-wide. And is directly linked to > > SMP: two kernels, identical EXCEPT that one has SMP enabled, the other not. > > The enabled kernel that *should* be fully utilizing multi-procs is suddenly > > effectively running at half speed. Thanks to all for replies. Regarding my SMP query, Doc asks: > What sort of throughput? What sort of processes are you > running? Do you > actually have multiple processes fighting for CPU? Yes, I'm using netperf, iperf or nttcp to measure TCP throughput using the server (the box in question) in response to ten simultaneous clients. Chariot allegedly did not show the performance hit. But then, even measuring the process time to run a single simple script shows ~half the speed with SMP enabled. Chris F. asks: > Is this an old Pentium? If so, update to a recent -stable; > a fix was committed a few weeks ago fixing a problem where > the caches on both processors were not enabled on Pentiums. > Otherwise, we have a few PII and PIII boxes here that work > quite under 4.5. This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, quad PIII Zeon 550s, etc... No old procs, per se. I'm running the released version of 4.5. Was a proc-specific fix implemented *after* its release? Greg L states: > It would also be interesting to see if you get the same results > running 5-CURRENT. While this version isn't suited to production use, > it's based on a very different implementation, and the information > would help us work out what's going on here. Unfortunately, I do not get a whole lot of time to get experimental due to compressed testing schedules but, if a hole opens up, I will attempt to get some testing done using 5-CURRENT. Will report any results to you. Thanks for your interest. This scenario has been replicated on several (virtually any and all) test boxes by multiple engineers. Any other tips are greatly appreciated. TIA - -=C. Stephen Frost=- Intel Corp. ICG - Network Quality Labs Software Test Engineer 503.264.8300 All opinions are my own, not those of Intel Corporation To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 11:47:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id B681F37B4CD; Thu, 28 Feb 2002 11:46:08 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 6C866AE279; Thu, 28 Feb 2002 11:46:03 -0800 (PST) Date: Thu, 28 Feb 2002 11:46:03 -0800 From: Alfred Perlstein To: "Frost, Stephen C" Cc: "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" , "'freebsd-smp@freebsd.org'" Subject: Re: FreeBSD, SMP and Performance Speeds? Message-ID: <20020228194603.GC77980@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Frost, Stephen C [020228 11:44] wrote: > > This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, > quad PIII Zeon 550s, etc... No old procs, per se. I'm running the released > version of 4.5. Was a proc-specific fix implemented *after* its release? Yes. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 12:36:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 092C237B405; Thu, 28 Feb 2002 12:36:40 -0800 (PST) Received: from pool0091.cvx21-bradley.dialup.earthlink.net ([209.179.192.91] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16gXHu-0001zw-00; Thu, 28 Feb 2002 12:36:26 -0800 Message-ID: <3C7E94BD.B22144BB@mindspring.com> Date: Thu, 28 Feb 2002 12:36:13 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Frost, Stephen C" Cc: "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" , "'freebsd-smp@freebsd.org'" Subject: Re: FreeBSD, SMP and Performance Speeds? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Frost, Stephen C" wrote: > This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, > quad PIII Zeon 550s, etc... No old procs, per se. I'm running the released > version of 4.5. Was a proc-specific fix implemented *after* its release? There is code in 4.5 that is incredibly slow on older hardware. THis has been fixed in -current and -stable. Please see the list archives for the patch, if you can not update to -stable. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 13: 1: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id AF88E37B437; Thu, 28 Feb 2002 13:00:42 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020228210042.GCGN1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Thu, 28 Feb 2002 21:00:42 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA07396; Thu, 28 Feb 2002 12:47:00 -0800 (PST) Date: Thu, 28 Feb 2002 12:46:59 -0800 (PST) From: Julian Elischer To: Terry Lambert Cc: "Frost, Stephen C" , "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" , "'freebsd-smp@freebsd.org'" Subject: Re: FreeBSD, SMP and Performance Speeds? In-Reply-To: <3C7E94BD.B22144BB@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is not so relevant because he is NOT RUNNING old hardware! (well not THAT old). On Thu, 28 Feb 2002, Terry Lambert wrote: > "Frost, Stephen C" wrote: > > This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, > > quad PIII Zeon 550s, etc... No old procs, per se. I'm running the released > > version of 4.5. Was a proc-specific fix implemented *after* its release? > > There is code in 4.5 that is incredibly slow on older > hardware. THis has been fixed in -current and -stable. > > Please see the list archives for the patch, if you can > not update to -stable. > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 13:53:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by hub.freebsd.org (Postfix) with SMTP id 2925B37B400 for ; Thu, 28 Feb 2002 13:52:50 -0800 (PST) Received: (qmail 86980 invoked from network); 28 Feb 2002 21:51:09 -0000 Received: from unknown (HELO pipeline.ch) ([62.48.0.47]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 28 Feb 2002 21:51:09 -0000 Message-ID: <3C7EA78A.8010800@pipeline.ch> Date: Thu, 28 Feb 2002 22:56:26 +0100 From: Andre Oppermann Organization: Internet Business Solutions AG User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Cc: "Matthew N. Dodd" , Julian Elischer , David O'Brien , dirkx@covalent.net Subject: Re: Myson drivers for 4.x Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Tue, 26 Feb 2002, Julian Elischer wrote: >> I have been speaking with the author. >> he is adding a BSD copyright. >> also he says we can KNFify (style(9)ify?) as it doesn't have to >> remain >> compatible with anything else. > > It might be nice if it could be folded into the driver it was copied from, > if thats still possible. > > If its actually a Realtek clone with a few differences it wouldn't make > sense to add a whole new driver to the system. Just a side note; the Realtek driver isn't entirely up to date. The chip has evolved quite a bit with it's current RTL8139C(L)+ revision and now can do things like descriptor-base buffer management (one of the major shortcomings of the first revisions and what wpaul was bitching about), VLAN tagging, checksum offloading and some other stuff. I haven't looked at the mys driver source but if that supports these new features (which probably make this new chip rev fly) it should be integrated also for if_rl. -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 14:20:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id D054D37B400; Thu, 28 Feb 2002 14:20:22 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020228222022.IMAB1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Thu, 28 Feb 2002 22:20:22 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA07796; Thu, 28 Feb 2002 14:02:37 -0800 (PST) Date: Thu, 28 Feb 2002 14:02:36 -0800 (PST) From: Julian Elischer To: Andre Oppermann Cc: freebsd-hackers@freebsd.org, "Matthew N. Dodd" , "David O'Brien" , dirkx@covalent.net Subject: Re: Myson drivers for 4.x In-Reply-To: <3C7EA78A.8010800@pipeline.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 28 Feb 2002, Andre Oppermann wrote: > > On Tue, 26 Feb 2002, Julian Elischer wrote: > > > > If its actually a Realtek clone with a few differences it wouldn't make > > sense to add a whole new driver to the system. > > Just a side note; the Realtek driver isn't entirely up to date. The > chip has evolved quite a bit with it's current RTL8139C(L)+ revision and > now can do things like descriptor-base buffer management (one of the > major shortcomings of the first revisions and what wpaul was bitching > about), VLAN tagging, checksum offloading and some other stuff. > > I haven't looked at the mys driver source but if that supports these > new features (which probably make this new chip rev fly) it should > be integrated also for if_rl. Here's what teh author said about the driver: -------start quite: [Julian said:] > Can you tell me if your driver was based upon an existing driver? > If so, which one? > We have the driver for FreeBSD 3.X. I modified it for FreeBSD 4.X and 5.X. Of course, when modified it for 4.X and 5.X. I refered the code of Intel and Realtek. > does the hardware resemble the hardware used by that driver? > how much? > what is different? Our chip is similar to Dec 21143. But they are different. We use the concept of "descriptor", too. > > > -- > Andre > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 14:35:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id A8AE237B400; Thu, 28 Feb 2002 14:35:12 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1SMW3t29146; Thu, 28 Feb 2002 14:32:03 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Thu, 28 Feb 2002 14:32:03 -0800 (PST) From: Patrick Thomas To: Nik Clayton Cc: Kirk Strauser , , Subject: Re: using vnconfig devices instead of partitions for jails ? In-Reply-To: <20020227235320.C4562@canyon.nothing-going-on.org> Message-ID: <20020228143046.F29049-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG thank you - I am glad to see that this is a good way of doing things. Two quick items: 1. How do I give each jail a 'proc' filesystem in its /proc using this configuration ? 2. Is there any downside to this whatsoever ? This seems infinitely better than a new partition for each jail, so was I just silly for doing it that way ? thanks! On Wed, 27 Feb 2002, Nik Clayton wrote: > On Wed, Feb 27, 2002 at 03:03:11PM -0600, Kirk Strauser wrote: > > At 2002-02-27T20:49:18Z, Patrick Thomas writes: > > > I would like to put a large number of jails (16 or 20) on a server for > > > testing purposes. > > > > > > I have two options so far: create 16 or 20 partitions OR just put them all > > > in one partition, but the downside of that is that then I cannot enforce > > > disk usage between jails. So at this point, 16-20 partitions seems the > > > safest route. > > > > Good question. Is there any ability at all within the system to set a quota > > on a jail? > > Each vn* device has to be baced by a physical file on the system. > Simply make sure that this physical device is the maximum size you want > to allow in the jail. > > For example, on a server with 160GB of (RAID) disk, and 12 jails, each 10GB > in size, I just have 12 jails; > > On the 'master' host for the jails. > > # cd /usr/local/jails/disk-images > # ls -l > totall 1758115 > drwxr-xr-x 2 root wheel 512 Jan 23 00:40 . > drwxr-xr-x 4 root wheel 512 Jan 23 00:39 .. > -rw-r--r-- 1 root wheel 136 Jan 22 18:45 README > -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 foo.com.vn > -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 bar.com.vn > -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 baz.com.vn > ... > > These were created with "truncate 10G file", and are then mounted > configued on different vn* devices, which are then mounted as normal. > > # mount > ... > /dev/vn0a on /usr/local/jails/foo.com > /dev/vn1a on /usr/local/jails/bar.com > /dev/vn2a on /usr/local/jails/baz.com > ... > > N > -- > FreeBSD: The Power to Serve http://www.freebsd.org/ (__) > FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) > \/ \ ^ > --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/_) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 14:46: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id 8961E37B405 for ; Thu, 28 Feb 2002 14:46:02 -0800 (PST) Received: from there (pgh.nepinc.com [66.207.129.50]) by w2xo.pgh.pa.us (8.11.6/8.11.3) with SMTP id g1SMk1k68706 for ; Thu, 28 Feb 2002 22:46:01 GMT (envelope-from durham@w2xo.pgh.pa.us) Message-Id: <200202282246.g1SMk1k68706@w2xo.pgh.pa.us> Content-Type: text/plain; charset="iso-8859-1" From: Jim Durham To: freebsd-hackers@freebsd.org Subject: Acl patches Date: Thu, 28 Feb 2002 17:45:59 -0500 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've looked over the mailing lists and google and I can't figure out if the patches to the 5.0 kernel to support ACLs in Samba ever made it into 4.4 or 4.5 Release ? -- Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 14:47:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 952D237B41A; Thu, 28 Feb 2002 14:47:30 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1SMiLA29345; Thu, 28 Feb 2002 14:44:21 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Thu, 28 Feb 2002 14:44:21 -0800 (PST) From: Patrick Thomas To: Nik Clayton Cc: Kirk Strauser , , Subject: Re: using vnconfig devices instead of partitions for jails ? In-Reply-To: <20020227235320.C4562@canyon.nothing-going-on.org> Message-ID: <20020228144213.P29049-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG one other thing: How many mount points (jails, in this case) can I run ? I see that there are 8 existing vn0X device files in /dev - can I just create more of them using MAKEDEV (or mknod) and keep going ? What is the maximum ? 256 ? also, do I need to alter the kernel to support more vn0X device files, or does a stock kernel support all the way up to the maximum (whatever that is - see previous question :) thanks again - much appreciated. --pt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 15: 0:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from inexusnet.com (ns1.inexusnet.com [142.179.223.184]) by hub.freebsd.org (Postfix) with SMTP id 3E3BC37B417 for ; Thu, 28 Feb 2002 15:00:35 -0800 (PST) Received: (qmail 24353 invoked by uid 1001); 28 Feb 2002 23:00:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 28 Feb 2002 23:00:19 -0000 Date: Thu, 28 Feb 2002 16:00:19 -0700 (MST) From: Dan To: Subject: Realtek RTL8100B Message-ID: <20020228155927.S5960-100000@lovepond.inexusnet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is this supported? Cannot seem to find this version at ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/4.5-RELEASE/HARDWARE.HTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 15: 3:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from artemis.drwilco.net (diana.drwilco.net [66.48.127.79]) by hub.freebsd.org (Postfix) with ESMTP id D675937B417 for ; Thu, 28 Feb 2002 15:03:05 -0800 (PST) Received: from ceres.drwilco.net (docwilco.xs4all.nl [213.84.68.230]) by artemis.drwilco.net (8.11.6/8.11.6) with ESMTP id g1SN2vV51965 (using TLSv1/SSLv3 with cipher DES-CBC3-SHA (168 bits) verified NO); Thu, 28 Feb 2002 18:03:00 -0500 (EST) (envelope-from drwilco@drwilco.net) Message-Id: <5.1.0.14.0.20020301000704.01bf9800@mail.drwilco.net> X-Sender: lists@mail.drwilco.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 01 Mar 2002 00:13:43 +0100 To: Theodore Hope , freebsd-hackers@FreeBSD.ORG From: "Rogier R. Mulhuijzen" Subject: Re: oracle 8.1.7.0.1 installation successful, anyone? In-Reply-To: <200202281546.JAA00971@iguana.internexo.co.cr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 09:46 28-2-2002 -0600, Theodore Hope wrote: >We've tried installing Oracle 8.1.7.0.1 (for Linux) under >FreeBSD 4.5-release and end up with two "jre" processes >eating all the CPU and the infamous >"kernel trap 9 with interrupts disabled" message scrolling on >the console. This has been reported before by others, and >I'm wondering if anyone has successfully installed Oracle >(8.1.x or 9.x) under 4.5-Release. We can't tell if the >main problem is with the Linux emulation, or what; thus >my cross-posting. I didn't succeed in installing 8.1.7 either, but I've been semi-succesful with 9.0.1 lately. I had to pull a few tricks but I got it to install. However, the relinking of several binaries (like the RDBMS one) failed with some glibc errors, so there's something not completely right with my linux libs. 9.0.1's installer uses a JDK on the CD, but I ran it with the linux-jdk1.3.1 too. The Universal Installer is just very sensitive pacakge =( I used the RedHat7.1 port and added some devel rpms, made the oracle user's shell /compat/linux/bin/bash (try a 'uname -a' when logged in with a user setup like that, it's freaky) and I had to make a /compat/linux/etc/mtab file to keep the installer from bombing when it tries to figure out which filesystems you have. Doc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 15: 6:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-169-107-10.dsl.lsan03.pacbell.net [64.169.107.10]) by hub.freebsd.org (Postfix) with ESMTP id 8084E37B405 for ; Thu, 28 Feb 2002 15:06:39 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F339766D91; Thu, 28 Feb 2002 15:06:38 -0800 (PST) Date: Thu, 28 Feb 2002 15:06:38 -0800 From: Kris Kennaway To: Jim Durham Cc: freebsd-hackers@freebsd.org Subject: Re: Acl patches Message-ID: <20020228150638.A6967@xor.obsecurity.org> References: <200202282246.g1SMk1k68706@w2xo.pgh.pa.us> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200202282246.g1SMk1k68706@w2xo.pgh.pa.us>; from durham@w2xo.pgh.pa.us on Thu, Feb 28, 2002 at 05:45:59PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 28, 2002 at 05:45:59PM -0500, Jim Durham wrote: > I've looked over the mailing lists and google and I can't figure out=20 > if the patches to the 5.0 kernel to support ACLs in Samba ever made=20 > it into 4.4 or 4.5 Release ? No, and I don't think a merge is planned because of the scope of the changes. Kris --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8frf+Wry0BWjoQKURAvnDAJ9rf07hrKN3o7gsET+cBNQQZCT8+gCgydCB 0gVrKosY0IYtfytJPjuRu1M= =RKoJ -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 15:15:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from artemis.drwilco.net (diana.drwilco.net [66.48.127.79]) by hub.freebsd.org (Postfix) with ESMTP id 677BC37B405; Thu, 28 Feb 2002 15:15:27 -0800 (PST) Received: from ceres.drwilco.net (docwilco.xs4all.nl [213.84.68.230]) by artemis.drwilco.net (8.11.6/8.11.6) with ESMTP id g1SNFKV52404 (using TLSv1/SSLv3 with cipher DES-CBC3-SHA (168 bits) verified NO); Thu, 28 Feb 2002 18:15:22 -0500 (EST) (envelope-from drwilco@drwilco.net) Message-Id: <5.1.0.14.0.20020301001536.01cd5610@mail.drwilco.net> X-Sender: lists@mail.drwilco.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 01 Mar 2002 00:26:06 +0100 To: "Frost, Stephen C" , "'freebsd-questions@freebsd.org'" , "'freebsd-hackers@freebsd.org'" , "'freebsd-smp@freebsd.org'" From: "Rogier R. Mulhuijzen" Subject: RE: FreeBSD, SMP and Performance Speeds? Cc: "Frost, Stephen C" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Regarding my SMP query, Doc asks: > > What sort of throughput? What sort of processes are you > > running? Do you > > actually have multiple processes fighting for CPU? > >Yes, I'm using netperf, iperf or nttcp to measure TCP throughput using the >server (the box in question) in response to ten simultaneous clients. >Chariot allegedly did not show the performance hit. But then, even >measuring the process time to run a single simple script shows ~half the >speed with SMP enabled. I'm no expert but I'm going to have a shot at this anyways. Comments are welcome. =) When you run a benchmark or a process where network performance is the bottleneck instead of CPU time, you're not going to have SMP help you at all. Currently in the 4.X kernels the kernel can run on only one CPU at a given time. That means that when raw network performance is the bottleneck only one CPU is actually doing the work, and running in SMP mode gives you a lot of overhead. The same is true for a situation where a single single-threaded process is involved. A single-threaded process can only run on one CPU at a given time, so having a 2nd CPU only adds overhead. Have you tried running 4 jobs simultaneously and timing that? So what sort of application are you using exactly, is it multi-process, multithreaded, CPU intensive, network intensive? Where do you think the bottleneck in the performance lies at this moment? Doc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 15:47:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id E275C37B405; Thu, 28 Feb 2002 15:46:49 -0800 (PST) Received: from pool0128.cvx40-bradley.dialup.earthlink.net ([216.244.42.128] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16gaFu-00071K-00; Thu, 28 Feb 2002 15:46:35 -0800 Message-ID: <3C7EC14A.9D3DC098@mindspring.com> Date: Thu, 28 Feb 2002 15:46:18 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: Nik Clayton , Kirk Strauser , freebsd-hackers@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: using vnconfig devices instead of partitions for jails ? References: <20020228144213.P29049-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Patrick Thomas wrote: > How many mount points (jails, in this case) can I run ? I see that there > are 8 existing vn0X device files in /dev - can I just create more of them > using MAKEDEV (or mknod) and keep going ? > > What is the maximum ? 256 ? Depends. Expect 256 to be available in all versions. > also, do I need to alter the kernel to support more vn0X device files, or > does a stock kernel support all the way up to the maximum (whatever that > is - see previous question :) They are allocated as they are configed, so the limitation is the number of minor devices. Note: I personally run 13 jails on the laptop from which I am currently typing this. I do *not* use seperate partitions or vnconfig'ed devices; on the other hand, I don't have quota enforecement issues. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 16:20:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 1E66A37B400 for ; Thu, 28 Feb 2002 16:20:17 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020301002016.JPXJ2626.rwcrmhc51.attbi.com@InterJet.elischer.org>; Fri, 1 Mar 2002 00:20:16 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA08405; Thu, 28 Feb 2002 16:13:07 -0800 (PST) Date: Thu, 28 Feb 2002 16:13:05 -0800 (PST) From: Julian Elischer To: Bakul Shah Cc: freebsd-hackers@freebsd.org Subject: Re: Missing PT_READ_U In-Reply-To: <200202280736.CAA29627@wellington.cnchost.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 27 Feb 2002, Bakul Shah wrote: > Now that ptrace(PT_READ_U, ...) has been excised how does one > find out what actions are registered for various signals? > The ups debugger needs this. Please see > /usr/ports/devel/ups-debug/work/ups-3.35-beta13/ups/ao_pt_uarea.c:632 > > Thanks! > Here's the commit message in question: Revision 1.69 / (download) - annotate - [select for diffs], Wed Aug 8 05:25:07 2001 UTC (6 months, 3 weeks ago) by peter Branch: MAIN CVS Tags: KSE_PRE_MILESTONE_2 Changes since 1.68: +1 -44 lines Diff to previous 1.68 (colored) Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they are a really nasty interface that should have been killed long ago when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they operate on (struct user) will not be around much longer since it is part-per-process and part-per-thread in a post-KSE world. gdb does not actually use this except for the obscure 'info udot' command which does a hexdump of as much of the child's 'struct user' as it can get. It carries its own #defines so it doesn't break compiles. this pretty much says it.. the uarea is pretty much a shadow of its former self The fields have been scattered across two structures. What is ups trying to find out? There are other ways to get all the information in question. Julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 18:26:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from warspite.cnchost.com (warspite.concentric.net [207.155.248.9]) by hub.freebsd.org (Postfix) with ESMTP id C26B937B405 for ; Thu, 28 Feb 2002 18:26:13 -0800 (PST) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by warspite.cnchost.com id VAA18006; Thu, 28 Feb 2002 21:26:10 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <200203010226.VAA18006@warspite.cnchost.com> To: Julian Elischer Cc: freebsd-hackers@freebsd.org Subject: Re: Missing PT_READ_U In-reply-to: Your message of "Thu, 28 Feb 2002 16:13:05 PST." Date: Thu, 28 Feb 2002 18:26:09 -0800 From: Bakul Shah Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they > are a really nasty interface that should have been killed long ago > when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they > operate on (struct user) will not be around much longer since it > is part-per-process and part-per-thread in a post-KSE world. Yeah I saw that before sending out my query. This should've waited until after KSE is in place. > the uarea is pretty much a shadow of its former self > The fields have been scattered across two structures. > > What is ups trying to find out? Signal handling state of the process being debugged (whether ignored/caught etc). I haven't dug deeper into it so I don't know why it wants that but it seems to be pretty deeply wired in. > There are other ways to get all the information in question. There isn't. I don't think procfs will give me that either. May be PT_{SET,GET}SIGSTATE should be added? BTW, what is being added to allow debugging a post-KSE world process? -- bakul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 18:40:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 590F637B402 for ; Thu, 28 Feb 2002 18:40:15 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020301024015.QJBX1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Fri, 1 Mar 2002 02:40:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA08961; Thu, 28 Feb 2002 18:36:10 -0800 (PST) Date: Thu, 28 Feb 2002 18:36:09 -0800 (PST) From: Julian Elischer To: Bakul Shah Cc: freebsd-hackers@freebsd.org Subject: Re: Missing PT_READ_U In-Reply-To: <200203010226.VAA18006@warspite.cnchost.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 28 Feb 2002, Bakul Shah wrote: > > Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they > > are a really nasty interface that should have been killed long ago > > when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they > > operate on (struct user) will not be around much longer since it > > is part-per-process and part-per-thread in a post-KSE world. > > Yeah I saw that before sending out my query. This should've > waited until after KSE is in place. > > > the uarea is pretty much a shadow of its former self > > The fields have been scattered across two structures. > > > > What is ups trying to find out? > > Signal handling state of the process being debugged (whether > ignored/caught etc). I haven't dug deeper into it so I > don't know why it wants that but it seems to be pretty deeply > wired in. > > > There are other ways to get all the information in question. > > There isn't. I don't think procfs will give me that either. > May be PT_{SET,GET}SIGSTATE should be added? > > BTW, what is being added to allow debugging a post-KSE world > process? I'm planning on extending Ptrace. There will need to be a ptrace command to specify 1/ which thread you want future ptrace commands to control (e.g. single step), 2/ What you want the OTHER threads to do (e.g run as normal or stop) The READ_U should be replaced by a specific SIGSTATE command as you suggest I think. It only reads it right? > > -- bakul > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 18:40:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 9CF4637B400 for ; Thu, 28 Feb 2002 18:40:12 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020301024012.QJAY1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Fri, 1 Mar 2002 02:40:12 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA08948; Thu, 28 Feb 2002 18:32:50 -0800 (PST) Date: Thu, 28 Feb 2002 18:32:50 -0800 (PST) From: Julian Elischer To: Bakul Shah Cc: freebsd-hackers@freebsd.org Subject: Re: Missing PT_READ_U In-Reply-To: <200203010226.VAA18006@warspite.cnchost.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 28 Feb 2002, Bakul Shah wrote: > > Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they > > are a really nasty interface that should have been killed long ago > > when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they > > operate on (struct user) will not be around much longer since it > > is part-per-process and part-per-thread in a post-KSE world. > > Yeah I saw that before sending out my query. This should've > waited until after KSE is in place. The u-area is already gone really... > > > the uarea is pretty much a shadow of its former self > > The fields have been scattered across two structures. > > > > What is ups trying to find out? > > Signal handling state of the process being debugged (whether > ignored/caught etc). I haven't dug deeper into it so I > don't know why it wants that but it seems to be pretty deeply > wired in. > > > There are other ways to get all the information in question. > > There isn't. I don't think procfs will give me that either. > May be PT_{SET,GET}SIGSTATE should be added? > > BTW, what is being added to allow debugging a post-KSE world > process? > > -- bakul > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 19:33:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.bsdhome.com (rdu25-2-113.nc.rr.com [24.25.2.113]) by hub.freebsd.org (Postfix) with ESMTP id 3023C37B402 for ; Thu, 28 Feb 2002 19:32:14 -0800 (PST) Received: from neutrino.bsdhome.com (jupiter [192.168.220.13]) by smtp.bsdhome.com (8.11.3nb1/8.11.4) with ESMTP id g213W8d22620 for ; Thu, 28 Feb 2002 22:32:08 -0500 (EST) Received: (from bsd@localhost) by neutrino.bsdhome.com (8.11.6/8.11.6) id g213V0E23239; Thu, 28 Feb 2002 22:31:00 -0500 (EST) (envelope-from bsd) Date: Thu, 28 Feb 2002 22:31:00 -0500 From: Brian Dean To: "Clark C . Evans" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: read-only CD-ROM boot partition for vinum webfarm? Message-ID: <20020228223100.B22566@neutrino.bsdhome.com> References: <20020227182331.C17592@doublegemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020227182331.C17592@doublegemini.com>; from cce@clarkevans.com on Wed, Feb 27, 2002 at 06:23:31PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 27, 2002 at 06:23:31PM -0500, Clark C . Evans wrote: > > Hello. I was wondering if it is possible to make a read-only > boot partition (core kernel, static configuration, and /usr) > for a web-farm application. I've put together a few scripts to help set this up. I've been happily using this setup for about a year or so. These are at: http://people.freebsd.org/~bsd/cdroot/ These scripts create an image that can be burned on to a CD and then booted from. I've also got hooks in there so that if you have a floppy disk present with a /etc on it, it will be used to override files in the system /etc. This allows one to use the same CD for many applications and have per-system customizations come off the floppy. For example, I've put together firewalls that use this and the hostname, firewall rules, etc, are copied from the floppy. Also, I've written a simple installer script that gets dropped at /etc/inst on the CD. If you build a FreeBSD release and copy disc1 of that release to /dist on the CD, the installer script can be used to install onto a new system. It's nowhere near a full sysinstall replacement, but it does what I want with minimal questions. There are a few minor issues that I need to fix, mainly that I have ksh installed in /bin/ksh and that is used by the scripts, which ends up biting people. I keep meaning to clean that up and use /bin/sh solely. However, I use ksh for its array handling and I need to convert those to the really hokey method of doing arrays in /bin/sh. -Brian -- Brian Dean bsd@FreeBSD.org bsd@bsdhome.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 20: 2:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.bsdhome.com (rdu25-2-113.nc.rr.com [24.25.2.113]) by hub.freebsd.org (Postfix) with ESMTP id 03EC637B400 for ; Thu, 28 Feb 2002 20:01:06 -0800 (PST) Received: from neutrino.bsdhome.com (jupiter [192.168.220.13]) by smtp.bsdhome.com (8.11.3nb1/8.11.4) with ESMTP id g21415d22748 for ; Thu, 28 Feb 2002 23:01:05 -0500 (EST) Received: (from bsd@localhost) by neutrino.bsdhome.com (8.11.6/8.11.6) id g213xve23429; Thu, 28 Feb 2002 22:59:57 -0500 (EST) (envelope-from bsd) Date: Thu, 28 Feb 2002 22:59:57 -0500 From: Brian Dean To: "Clark C . Evans" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: read-only root partition? Message-ID: <20020228225957.C22566@neutrino.bsdhome.com> References: <20020227175541.A17132@doublegemini.com> <20020228003540.V39476-100000@nohow.demon.co.uk> <20020228012649.A23259@doublegemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020228012649.A23259@doublegemini.com>; from cce@clarkevans.com on Thu, Feb 28, 2002 at 01:26:49AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 28, 2002 at 01:26:49AM -0500, Clark C . Evans wrote: > > | http://people.freebsd.org/~bsd/cdroot/ > > Ok. I've tried this route and it seems to be working, > thank you all so much for your help and pointers. Whoops, sorry. I just replied to your earlier mail mentioning these scripts, but I see now that you've already found them. I really should read everything through before responding. > During burning the iso image, I get a message to my > console, PREVENT_ALLOW - ILLEGAL REQUEST asc=64 ascq=0 error=04 > this occurs as burncd is "fixing". I've never seen that before so I don't know. > acd0: CD-RW <...> > Mouning from root iso9660:cd0a > no such device 'cd' > setrootbyname failed > iso_mountroot: can't find rootvp > Root mount failed: 6 > Mounting root from iso9660:acd0 This is harmless ... the startup code is doing a boot -C which instructions the kernel to mountroot from the CD drive. It first tries the scsi drive (cd0a), but not being there it failed, but then moves on to the IDE cd drive (acd0) and succeeds. > I also see a few drives complaining (like the mouse), > I think I know how to re-do the kernel to leave out > the mouse driver though. Is this a cd driver that > needs to be removed? I'm not sure what you mean by this question. If your asking if the CD should be removed, the answer is no. In fact, you won't be able to eject the CD while the system is running because it is mounted at the root, and its not possible to unmount /. To eject and switch to a new cd, do a 'halt', wait until you get the message that says you can press any key to reboot, then eject. > Anyway, I log-in and everything works nicely. Cool. > Given that I've gotten this far with cdroot, I think > I'm going to stick with this solution... and figure > out how it works. This kit makes three mfs for me: > tmp, var, etc, dev. I'm wondering if the etc > and dev must be done as mfs? I guess technically, /etc does not. However, one feature of this method (as I described in my earlier mail that I sent not knowing you'd gotten this far) is that you can provide override files from a floppy disk. You wouldn't be able to do this if its not rw. /dev needs to be rw. > My next step is to make a custom boot process: > > 1. Check to see if /dev/ad0s1b exists and is a > swap partition, if so, load it. > > 2. Check to see if /dev/ad0s1? exists and is > a FreeBSD partition. If so, see if it looks > like a /tmp, /var, or /home partition. If > so mount as appropriate. > > 3. Modify (2) above, to search on /ad?s1? for > a similar structure. If so, then mount it > using vinum. > > If steps 1-3 above fail, then assume it is an > "uninitialized" box. Ask the user to verify > this fact, and then create the partitions > automagically. If there are two disks, ask > the user if a software mirror is to be used, > if so, then configure this as well. All of these are doable and could reasonably go into the file that I used to replace /etc/rc (rc.replacement, which gets installed as /etc/rc on the CD). Take a look at rc_hook variable in rc.replacement (set this in /etc/rc.conf on the CD or on the floppy /etc/rc.conf). This may be a good way to hook in your customizations. As far as how to do what you want regarding the local disk, you could simply run disklabel -r on ad0s1 and look at what partitions are there. In the CD based root, you have a full /usr/bin worth of tools to work with very early on in the boot process. #1 should be pretty simple, just grep for it and if it is there issue a swapon. For #2, you could mount each one in turn on /mnt, and do a spot check for some "identifying" files or directories that would likely be in /usr, or /var, or whatever. Once you find a match, then unmount it from /mnt and remount it where it should go. I don't use vinum, so I'm not sure about #3, but that should probably be similar. These are just a few suggestions. I'm sure there are many ways to implement what you are wanting. Good luck! -Brian -- Brian Dean bsd@FreeBSD.org bsd@bsdhome.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 21: 4:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 2963C37B417 for ; Thu, 28 Feb 2002 21:04:50 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g2154mi51276; Thu, 28 Feb 2002 22:04:48 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g2154lL47700; Thu, 28 Feb 2002 22:04:47 -0700 (MST) (envelope-from imp@village.org) Date: Thu, 28 Feb 2002 22:04:38 -0700 (MST) Message-Id: <20020228.220438.48882431.imp@village.org> To: dan@inexusnet.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Realtek RTL8100B From: "M. Warner Losh" In-Reply-To: <20020228155927.S5960-100000@lovepond.inexusnet.com> References: <20020228155927.S5960-100000@lovepond.inexusnet.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020228155927.S5960-100000@lovepond.inexusnet.com> Dan writes: : : Is this supported? : Cannot seem to find this version at : ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/4.5-RELEASE/HARDWARE.HTM If this is a USB ethernet chip, then I just got done reviewing a driver from someone in Japan that should be going into the tree soon. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 21:57:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by hub.freebsd.org (Postfix) with ESMTP id 1A88C37B405 for ; Thu, 28 Feb 2002 21:57:07 -0800 (PST) Received: from meer.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g215v2s42804; Thu, 28 Feb 2002 21:57:02 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by meer.meer.net (8.9.3/8.9.3/meer) with ESMTP id VAA1802420; Thu, 28 Feb 2002 21:57:02 -0800 (PST) Message-Id: <200203010557.VAA1802420@meer.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bob Bishop Cc: Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? In-Reply-To: Message from Bob Bishop of "Fri, 22 Feb 2002 17:05:41 GMT." <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Feb 2002 21:57:02 -0800 From: "George V. Neville-Neil" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > At 13:10 19/02/02 -0800, Doug Ambrisko wrote: > >Bob Bishop writes: > >| No dice with last night's -STABLE. And it's definitely the interface, I've > >| tried a variety and netatalk works with everything (including the dreaded > >| Via Rhine) except for the onboard sis0. > >| > >| I suppose it's time for some comparative tcpdumping... > > > >Pity that would have been an easy fix. Doing tcpdump should help. > >I like Ethereal so I can drill down a little easier. > > This is what tcpdump (on a disinterested machine) sees: > > sis - fails: > > 20:53:43.423585 255.0.158.nis > 0.0.nis: nbp-lkup 1: "=:=@*" > [addr=255.0.158.128] > aaaa 0308 0007 809b 001a 8369 0000 ff00 > ff9e 0202 0221 01ff 009e 8000 013d 013d > 012a ffff ffff ffff ffff ffff ffff > > vr - works: > > 20:54:55.022827 255.0.158.nis > 0.0.nis: nbp-lkup 1: "=:=@*" > [addr=255.0.158.128] > aaaa 0308 0007 809b 001a 8369 0000 ff00 > ff9e 0202 0221 01ff 009e 8000 013d 013d > 012a 0050 baec bd66 00ff 009e 0000 > > Those trailing 1's look suspicious to me. The NBP lookup packet is only 48 > bytes, so needs padding to the ethernet minimum 60 on the wire. I suspect > this isn't happening on the sis. The packets are otherwise well-formed (and > the ethernet headers (not shown above) are correct). No need. The problem seems to be that at least the National Semi version of the chip does have "Auto Padding" which pads runt packets out to the necessary 60 bytes for Ethernet but that the padding is 1s and not 0s. I seem to remember that according to the Ethernet spec the pad bytes should be 0 but don't quote me. I figured that Auto Padding was not on, but actually it is by default in the driver. You can easily reproduce this bug by doing a ping -s 1 224.0.0.1 on the machine with the sis device. To fix this someone would have to modify sis_encap to pad to the minimum 60 bytes by hand. I'll take a crack at that now. Later, George -- George V. Neville-Neil gnn@neville-neil.com NIC:GN82 "Those who would trade liberty for temporary security deserve neither" - Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 22: 1:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 1C3CD37B405 for ; Thu, 28 Feb 2002 22:01:10 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g215vsl37484 for ; Thu, 28 Feb 2002 21:57:54 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Thu, 28 Feb 2002 21:57:54 -0800 (PST) From: Patrick Thomas To: Subject: how do I see the current number of PTYs in use ? Message-ID: <20020228215541.T33309-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (asked on -questions and got no response, also did a `sysctl -a | grep pty` and only saw error messages) I am trying to troubleshoot something - the bad thing that is happening is that I try to create new `screen` windows and I get 'No more PTYs'. I know how to add more PTYs, etc., and I am not asking how to do that - I am simply asking: How do I, when I am told I have no more PTYs, know whether I just hit 32 out of 32, or 128 out of 128, or what ? I want to know how many PTYs I have available, and how many are in use. How do I do that ? thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 22:14:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 8713037B402; Thu, 28 Feb 2002 22:14:48 -0800 (PST) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id JAA24030; Fri, 1 Mar 2002 09:22:19 +0300 (MSK) Message-Id: <200203010622.JAA24030@aaz.links.ru> Subject: Re: using vnconfig devices instead of partitions for jails ? In-Reply-To: <20020228144213.P29049-100000@utility.clubscholarship.com> from "Patrick Thomas" at "Feb 28, 2 02:44:21 pm" To: root@utility.clubscholarship.com (Patrick Thomas) Date: Fri, 1 Mar 2002 09:22:19 +0300 (MSK) Cc: nik@FreeBSD.ORG, kirk@strauser.com, freebsd-hackers@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG From: "."@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Patrick Thomas writes: > > one other thing: > > How many mount points (jails, in this case) can I run ? I see that there > are 8 existing vn0X device files in /dev - can I just create more of them > using MAKEDEV (or mknod) and keep going ? You can use vnXs1a..vnXs30h on each vn vnconfig -s labels > What is the maximum ? 256 ? > > also, do I need to alter the kernel to support more vn0X device files, or > does a stock kernel support all the way up to the maximum (whatever that > is - see previous question :) -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 22:34:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id CDCCD37B402 for ; Thu, 28 Feb 2002 22:34:42 -0800 (PST) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g216YCQ20870; Fri, 1 Mar 2002 08:34:12 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200203010634.g216YCQ20870@zibbi.icomtek.csir.co.za> Subject: Re: arbitrary serial speeds In-Reply-To: from Julian Elischer at "Feb 28, 2002 10:00:06 am" To: julian@elischer.org (Julian Elischer) Date: Fri, 1 Mar 2002 08:34:12 +0200 (SAT) Cc: lvd@mndmttr.nl (Luuk van Dijk), freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Don't the stuff I committed to current do what you guys want? I'm planning to MFC it, but haven't asked Bruce yet. I'll need it before I MFC the puc driver. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org > I had changes to do this > BDE refused to commit them. > > > On Thu, 28 Feb 2002, Luuk van Dijk wrote: > > > This is a multi-part message in MIME format. > > --------------17932B47B695003DFEDACE26 > > Content-Type: text/plain; charset=us-ascii > > Content-Transfer-Encoding: 7bit > > > > L.S. > > > > for a project in which I communicate with embedded controllers in cars I > > need to read and write serial data at weird speeds of 5 and 10400 baud. > > > > the beauty of the freebsd interface to the serial ports is that the > > speed > > can be specified as an integer, i.e. not neccesarily as some predefined > > constant > > like B9600, but in src/sys/isa/sio.c the supplied value is looked up in > > a table, > > so using an arbitrary baudrate like 5 will return EINVAL. > > > > (On linux there is an ugly way to set these weird baud rates by setting > > the > > baudrate to 38400, and using a special syscall to tell the kernel to use > > some other divisor of 115200 to generate the uart speed. needless to > > say, I prefer > > the hygiene commonly observed in bsd's api's) > > > > an easy way would be to add my special baudrates to the table > > 'comspeedtab' > > that maps speed to divisor, but it is even more flexible to calculate > > the divisor > > on the spot, with the same macro COMBRD() as used in the initializer of > > 'comspeedtab'; > > note that this macro will automatically round to the next higher > > baudrate that is > > a divisor of 115200. > > > > The attached patch contains the neccesary changes. It works well for > > me, > > but who knows what I broke.... > > > > As far as I can tell, this renders the comspeedtab table, as well as the > > routine ttspeedtab in kern/tty.c superfluous, but as I'm not sure I > > haven't > > included their removal in the patch. > > > > Whoever maintains isa/sio.c, feel free to use this. I'd be very happy > > if > > in future versions of FreeBSD I could use baudrates of 5 and 10400 > > (actually the > > latter is rounded to 10475 == 115200/11, but that's good enough for me), > > without > > recompiling. > > > > Regards, > > Luuk van Dijk > > > > ___________________________________________________ > > Mind over Matter lvd at mndmttr.nl > > The Netherlands tel +31 6 224 97 227 > > ___________________________________________________ > > --------------17932B47B695003DFEDACE26 > > Content-Type: text/plain; charset=us-ascii; > > name="freebsd-src-sys-isa-sio-arbitrary-speed.patch" > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline; > > filename="freebsd-src-sys-isa-sio-arbitrary-speed.patch" > > > > --- isa.org/sio.c Wed Feb 6 23:58:00 2002 > > +++ isa/sio.c Thu Feb 7 00:08:25 2002 > > @@ -2153,7 +2153,7 @@ > > t->c_ispeed = t->c_ospeed; > > > > /* check requested parameters */ > > - divisor = ttspeedtab(t->c_ospeed, comspeedtab); > > + divisor = (t->c_ospeed) ? COMBRD(t->c_ospeed) : 0; /* was ttspeedtab(t->c_ospeed, comspeedtab); lvd */ > > if (divisor < 0 || (divisor > 0 && t->c_ispeed != t->c_ospeed)) > > return (EINVAL); > > > > @@ -2794,7 +2794,7 @@ > > * data input register. This also reduces the effects of the > > * UMC8669F bug. > > */ > > - divisor = ttspeedtab(speed, comspeedtab); > > + divisor = (speed) ? COMBRD(speed) : 0; /* was ttspeedtab(speed, comspeedtab); lvd */ > > dlbl = divisor & 0xFF; > > if (sp->dlbl != dlbl) > > outb(iobase + com_dlbl, dlbl); > > > > --------------17932B47B695003DFEDACE26-- > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 22:58:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by hub.freebsd.org (Postfix) with ESMTP id 04D6337B417 for ; Thu, 28 Feb 2002 22:58:07 -0800 (PST) Received: from meer.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g216w2s43436; Thu, 28 Feb 2002 22:58:02 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by meer.meer.net (8.9.3/8.9.3/meer) with ESMTP id WAA1805200; Thu, 28 Feb 2002 22:58:03 -0800 (PST) Message-Id: <200203010658.WAA1805200@meer.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bob Bishop Cc: Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? In-Reply-To: Message from Bob Bishop of "Fri, 22 Feb 2002 17:05:41 GMT." <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Feb 2002 22:58:03 -0800 From: "George V. Neville-Neil" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here is a context diff that fixes the driver. Not the most performant solution (it requires allocating a new, zero'd, mbuf) but it's the most straightforward fix. Auto Padding is still on in the driver. I saw no reason to disable this even though we're now go around it. This fix is against -CURRENT of 20 Feb 2002 vintage. I've submitted a PR with the patch in the comments. Later, George Index: if_sis.c =================================================================== RCS file: /music/FreeBSD-CVS/src/sys/pci/if_sis.c,v retrieving revision 1.48 diff -c -r1.48 if_sis.c *** if_sis.c 6 Feb 2002 22:06:47 -0000 1.48 --- if_sis.c 1 Mar 2002 06:51:46 -0000 *************** *** 1665,1671 **** struct ifnet *ifp; { struct sis_softc *sc; ! struct mbuf *m_head = NULL; u_int32_t idx; sc = ifp->if_softc; --- 1665,1671 ---- struct ifnet *ifp; { struct sis_softc *sc; ! struct mbuf *m_head = NULL, *m_zero = NULL; u_int32_t idx; sc = ifp->if_softc; *************** *** 1687,1692 **** --- 1687,1701 ---- IF_DEQUEUE(&ifp->if_snd, m_head); if (m_head == NULL) break; + + if (m_head->m_pkthdr.len < ETHER_MIN_LEN) { + m_zero = m_get_clrd(M_DONTWAIT, MT_DATA); + if (m_zero == NULL) + break; + m_zero->m_len = ETHER_MIN_LEN - m_head->m_pkthdr.len; + m_cat(m_head, m_zero); + m_head->m_pkthdr.len = ETHER_MIN_LEN; + } if (sis_encap(sc, m_head, &idx)) { IF_PREPEND(&ifp->if_snd, m_head); -- George V. Neville-Neil gnn@neville-neil.com NIC:GN82 "Those who would trade liberty for temporary security deserve neither" - Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Feb 28 23: 4:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web14607.mail.yahoo.com (web14607.mail.yahoo.com [216.136.224.87]) by hub.freebsd.org (Postfix) with SMTP id CF0E337B400 for ; Thu, 28 Feb 2002 23:04:45 -0800 (PST) Message-ID: <20020301070445.87381.qmail@web14607.mail.yahoo.com> Received: from [61.11.21.103] by web14607.mail.yahoo.com via HTTP; Thu, 28 Feb 2002 23:04:45 PST Date: Thu, 28 Feb 2002 23:04:45 -0800 (PST) From: Balaji To: rick@snowhite.cis.uoguelph.ca, brent.callaghan@sun.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Respected Sir, I have two NFS servers acting as backups for each other. We are working in FreeBSD. Now when a server fails, the other server takes over the IP address of the failed server on a different Network Interface. But, now the clients of the failed server are not able to mount from the backup server inspite of the fact that the mountpoint permissions are satisfied in /etc/exports. The NFS mountpoints are shared by both servers. I cannot afford to kill and restart the nfsds. I run a "kill -s HUP 'cat /var/run/mountd.pid'" after combining the exports files of both the servers. But still this does not work. How can I bind the nfsds to the new IP address without restarting them? If I try to run more nfsds by binding them to the new IP address, it gives me a "can't bind udp adress: address already in use" error. And still the nfs clients cannot mount the NFS exported partitions. Plz help. Awaiting your reply. Yours Sincerely, Balaji. __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 0:14:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from vagabond.auriga.ru (vagabond.auriga.ru [80.240.102.246]) by hub.freebsd.org (Postfix) with ESMTP id 2EFF837B400 for ; Fri, 1 Mar 2002 00:14:40 -0800 (PST) Received: from localhost (localhost [[UNIX: localhost]]) by vagabond.auriga.ru (8.11.2/8.11.2) id g218Ecl30177 for freebsd-hackers@freebsd.org; Fri, 1 Mar 2002 11:14:38 +0300 Content-Type: text/plain; charset="koi8-r" From: "Alexey V. Neyman" To: freebsd-hackers@freebsd.org Subject: struct __hack Date: Fri, 1 Mar 2002 11:14:38 +0300 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <02030111143802.22942@vagabond.auriga.ru> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello there! In FreeBSD headers there are many occurences of 'struct __hack' (e.g. in src/sys/module.h, eventhandler.h). What's the point of this structure? I guess it help to avoid some warnings/errors, but what? Regards, Alexey. -- <-------------------------> ) May the Sun and Water ( Regards, Alexey V. Neyman ) always fall upon you! ( mailto:alex.neyman@auriga.ru <-------------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 0:20:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from saruman.xwin.net (saruman.xwin.net [205.219.158.250]) by hub.freebsd.org (Postfix) with ESMTP id A464537B417 for ; Fri, 1 Mar 2002 00:20:37 -0800 (PST) Received: from localhost (dp@localhost) by saruman.xwin.net (8.11.4/8.11.4) with ESMTP id g218Lkd12431; Fri, 1 Mar 2002 02:21:47 -0600 Date: Fri, 1 Mar 2002 02:21:46 -0600 (CST) From: Paul Halliday X-X-Sender: To: Patrick Thomas Cc: Subject: Re: how do I see the current number of PTYs in use ? In-Reply-To: <20020228215541.T33309-100000@utility.clubscholarship.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 28 Feb 2002, Patrick Thomas wrote: > > (asked on -questions and got no response, also did a `sysctl -a | grep > pty` and only saw error messages) > > I am trying to troubleshoot something - the bad thing that is happening is > that I try to create new `screen` windows and I get 'No more PTYs'. I > know how to add more PTYs, etc., and I am not asking how to do that - I am > simply asking: > > How do I, when I am told I have no more PTYs, know whether I just hit 32 > out of 32, or 128 out of 128, or what ? I want to know how many PTYs I > have available, and how many are in use. > > How do I do that ? ls /dev | grep pty | wc -l who | awk '{print $2}' | grep p | wc -l ;P Paul H. "Don't underestimate the power of stupid people in large groups" ___________________ http://dp.penix.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 1: 2: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id A8B9237B405 for ; Fri, 1 Mar 2002 01:01:55 -0800 (PST) Received: from localhost (root@localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.2/8.12.2) with ESMTP id g2191oZR078619; Fri, 1 Mar 2002 19:31:51 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: how do I see the current number of PTYs in use ? From: "Daniel O'Connor" To: Paul Halliday Cc: Patrick Thomas , freebsd-hackers@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 01 Mar 2002 20:31:49 +1130 Message-Id: <1014973312.18005.22.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2002-03-01 at 19:51, Paul Halliday wrote: > On Thu, 28 Feb 2002, Patrick Thomas wrote: > > > > > (asked on -questions and got no response, also did a `sysctl -a | grep > > pty` and only saw error messages) > > > > I am trying to troubleshoot something - the bad thing that is happening is > > that I try to create new `screen` windows and I get 'No more PTYs'. I > > know how to add more PTYs, etc., and I am not asking how to do that - I am > > simply asking: > > > > How do I, when I am told I have no more PTYs, know whether I just hit 32 > > out of 32, or 128 out of 128, or what ? I want to know how many PTYs I > > have available, and how many are in use. > > > > How do I do that ? > > ls /dev | grep pty | wc -l > who | awk '{print $2}' | grep p | wc -l > > ;P This -> fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | wc -l Is much more accurate. (ie on my machine who only shows 4 entries :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 1:11: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id BC84737B41B for ; Fri, 1 Mar 2002 01:11:01 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g219AaT32044; Fri, 1 Mar 2002 01:10:36 -0800 (PST) (envelope-from rizzo) Date: Fri, 1 Mar 2002 01:10:36 -0800 From: Luigi Rizzo To: "George V. Neville-Neil" Cc: Bob Bishop , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? Message-ID: <20020301011035.A31942@iguana.icir.org> References: <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> <200203010557.VAA1802420@meer.meer.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203010557.VAA1802420@meer.meer.net> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I do not agree with the explaination. Padding is padding, the actual value is irrelevant. Plus, in the tcpdump below, the are actually 46 bytes of data, which together with the 14 of the MAC header and the 4bytes of CRC make a perfectly legal packet. I strongly suspect a bug elsewhere, e.g. the upper layer calling ether_output() with a short length. The thing is, other drivers might implement padding differently -- e.g. the "vr" just artificially increases m_pkthdr.len and m_len to make sure that the packet has the right size, thus letting out any junk that is already in the mbuf. This "junk" might actually be useful data for the receiver, and this would mask the bug in passing the short length to ether_output(). What kind of protocol are we talking about ? Which are the other drivers that "work" ? cheers luigi On Thu, Feb 28, 2002 at 09:57:02PM -0800, George V. Neville-Neil wrote: > > At 13:10 19/02/02 -0800, Doug Ambrisko wrote: > > >Bob Bishop writes: > > >| No dice with last night's -STABLE. And it's definitely the interface, I've > > >| tried a variety and netatalk works with everything (including the dreaded > > >| Via Rhine) except for the onboard sis0. > > >| > > >| I suppose it's time for some comparative tcpdumping... > > > > > >Pity that would have been an easy fix. Doing tcpdump should help. > > >I like Ethereal so I can drill down a little easier. > > > > This is what tcpdump (on a disinterested machine) sees: > > > > sis - fails: > > > > 20:53:43.423585 255.0.158.nis > 0.0.nis: nbp-lkup 1: "=:=@*" > > [addr=255.0.158.128] > > aaaa 0308 0007 809b 001a 8369 0000 ff00 > > ff9e 0202 0221 01ff 009e 8000 013d 013d > > 012a ffff ffff ffff ffff ffff ffff > > > > vr - works: > > > > 20:54:55.022827 255.0.158.nis > 0.0.nis: nbp-lkup 1: "=:=@*" > > [addr=255.0.158.128] > > aaaa 0308 0007 809b 001a 8369 0000 ff00 > > ff9e 0202 0221 01ff 009e 8000 013d 013d > > 012a 0050 baec bd66 00ff 009e 0000 > > > > Those trailing 1's look suspicious to me. The NBP lookup packet is only 48 > > bytes, so needs padding to the ethernet minimum 60 on the wire. I suspect > > this isn't happening on the sis. The packets are otherwise well-formed (and > > the ethernet headers (not shown above) are correct). > > No need. The problem seems to be that at least the National Semi > version of the chip does have "Auto Padding" which pads runt packets > out to the necessary 60 bytes for Ethernet but that the padding is > 1s and not 0s. I seem to remember that according to the Ethernet > spec the pad bytes should be 0 but don't quote me. > > I figured that Auto Padding was not on, but actually it is by default in the > driver. > > You can easily reproduce this bug by doing a > > ping -s 1 224.0.0.1 > > on the machine with the sis device. > > To fix this someone would have to modify sis_encap to pad > to the minimum 60 bytes by hand. I'll take a crack at that now. > > Later, > George > > -- > George V. Neville-Neil gnn@neville-neil.com > NIC:GN82 > > "Those who would trade liberty for temporary security deserve neither" > - Benjamin Franklin > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 1:49:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 0600537B417 for ; Fri, 1 Mar 2002 01:49:29 -0800 (PST) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=exim) by cs.huji.ac.il with esmtp (Exim 3.34 #1) id 16gjfI-0003At-00; Fri, 01 Mar 2002 11:49:24 +0200 Received: from localhost ([127.0.0.1] helo=pampa.cs.huji.ac.il ident=danny) by pampa.cs.huji.ac.il with esmtp (Exim 3.22 #2) id 16gjfE-000166-00; Fri, 01 Mar 2002 11:49:20 +0200 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Daniel O'Connor" Cc: Paul Halliday , Patrick Thomas , freebsd-hackers@FreeBSD.ORG Subject: Re: how do I see the current number of PTYs in use ? In-Reply-To: Message from "Daniel O'Connor" of "01 Mar 2002 20:31:49 +1130." <1014973312.18005.22.camel@chowder.gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Mar 2002 11:49:20 +0200 From: Danny Braniss Message-Id: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Fri, 2002-03-01 at 19:51, Paul Halliday wrote: [...] > This -> > fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | wc -l > > Is much more accurate. > (ie on my machine who only shows 4 entries :) fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l is IMHO correct, ;-) danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 3:34:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by hub.freebsd.org (Postfix) with ESMTP id 8C0D837B41A; Fri, 1 Mar 2002 03:34:33 -0800 (PST) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.6/8.11.6) id g21BP6s06527; Fri, 1 Mar 2002 11:25:06 GMT (envelope-from nik) Date: Fri, 1 Mar 2002 11:25:06 +0000 From: Nik Clayton To: Patrick Thomas Cc: Nik Clayton , Kirk Strauser , freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: using vnconfig devices instead of partitions for jails ? Message-ID: <20020301112506.A843@clan.nothing-going-on.org> References: <20020227235320.C4562@canyon.nothing-going-on.org> <20020228143046.F29049-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020228143046.F29049-100000@utility.clubscholarship.com>; from root@utility.clubscholarship.com on Thu, Feb 28, 2002 at 02:32:03PM -0800 Organization: FreeBSD Project Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 28, 2002 at 02:32:03PM -0800, Patrick Thomas wrote: >=20 > thank you - I am glad to see that this is a good way of doing things. Two > quick items: >=20 > 1. How do I give each jail a 'proc' filesystem in its /proc using this > configuration ? mount -t procfs proc /usr/local/jails/foo.com/proc Do this *after* you've mounted the vn device on /usr/local/jails/foo.com > 2. Is there any downside to this whatsoever ? This seems infinitely > better than a new partition for each jail, so was I just silly for doing > it that way ? The only real problems I've run into relate to the fact that the FreeBSD startup scripts know nothing about jails. So there's some script writing required to get things to start up appropriately at boot time. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjx/ZREACgkQk6gHZCw343VBigCfaAhCjBBGLpATBLnIktpnfDEj 3xsAn0tFPsDq7KMV7plxhyEzK2ZHWNwb =8yr4 -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 3:37:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by hub.freebsd.org (Postfix) with ESMTP id BDD4937B405 for ; Fri, 1 Mar 2002 03:37:18 -0800 (PST) Received: (from rb@localhost) by gidgate.gid.co.uk (8.11.6/8.11.6) id g21Bb6779960; Fri, 1 Mar 2002 11:37:06 GMT (envelope-from rb) Message-Id: <4.3.2.7.2.20020301112956.00c5b550@gid.co.uk> X-Sender: rbmail@gid.co.uk X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Fri, 01 Mar 2002 11:37:03 +0000 To: Luigi Rizzo , "George V. Neville-Neil" From: Bob Bishop Subject: Re: Multicast problem with sis interface? Cc: Doug Ambrisko , hackers@FreeBSD.ORG In-Reply-To: <20020301011035.A31942@iguana.icir.org> References: <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> <200203010557.VAA1802420@meer.meer.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, At 01:10 01/03/02 -0800, Luigi Rizzo wrote: >I do not agree with the explaination. Padding is padding, the actual >value is irrelevant. Plus, in the tcpdump below, the are actually >46 bytes of data, which together with the 14 of the MAC header and >the 4bytes of CRC make a perfectly legal packet. Correct, but the trailing 1's were supplied by the switch between the box with the sis and the box running tcpdump. George's patch looks plausible, I'll check it out tonight (GMT). >I strongly suspect a bug elsewhere, e.g. the upper layer calling >ether_output() with a short length. > >The thing is, other drivers might implement padding differently -- >e.g. the "vr" just artificially increases m_pkthdr.len and m_len >to make sure that the packet has the right size, thus letting out >any junk that is already in the mbuf. I tried this, but missed m_pkthdr.len (whacks self round head). >This "junk" might actually >be useful data for the receiver, and this would mask the bug in >passing the short length to ether_output(). > >What kind of protocol are we talking about ? Appletalk NBP, for instance. >Which are the other drivers that "work" ? ed, vr, rl > cheers > luigi > >On Thu, Feb 28, 2002 at 09:57:02PM -0800, George V. Neville-Neil wrote: > > > At 13:10 19/02/02 -0800, Doug Ambrisko wrote: > > > >Bob Bishop writes: > > > >| No dice with last night's -STABLE. And it's definitely the > interface, I've > > > >| tried a variety and netatalk works with everything (including the > dreaded > > > >| Via Rhine) except for the onboard sis0. > > > >| > > > >| I suppose it's time for some comparative tcpdumping... > > > > > > > >Pity that would have been an easy fix. Doing tcpdump should help. > > > >I like Ethereal so I can drill down a little easier. > > > > > > This is what tcpdump (on a disinterested machine) sees: > > > > > > sis - fails: > > > > > > 20:53:43.423585 255.0.158.nis > 0.0.nis: nbp-lkup 1: "=:=@*" > > > [addr=255.0.158.128] > > > aaaa 0308 0007 809b 001a 8369 0000 ff00 > > > ff9e 0202 0221 01ff 009e 8000 013d 013d > > > 012a ffff ffff ffff ffff ffff ffff > > > > > > vr - works: > > > > > > 20:54:55.022827 255.0.158.nis > 0.0.nis: nbp-lkup 1: "=:=@*" > > > [addr=255.0.158.128] > > > aaaa 0308 0007 809b 001a 8369 0000 ff00 > > > ff9e 0202 0221 01ff 009e 8000 013d 013d > > > 012a 0050 baec bd66 00ff 009e 0000 > > > > > > Those trailing 1's look suspicious to me. The NBP lookup packet is > only 48 > > > bytes, so needs padding to the ethernet minimum 60 on the wire. I > suspect > > > this isn't happening on the sis. The packets are otherwise > well-formed (and > > > the ethernet headers (not shown above) are correct). > > > > No need. The problem seems to be that at least the National Semi > > version of the chip does have "Auto Padding" which pads runt packets > > out to the necessary 60 bytes for Ethernet but that the padding is > > 1s and not 0s. I seem to remember that according to the Ethernet > > spec the pad bytes should be 0 but don't quote me. > > > > I figured that Auto Padding was not on, but actually it is by default > in the > > driver. > > > > You can easily reproduce this bug by doing a > > > > ping -s 1 224.0.0.1 > > > > on the machine with the sis device. > > > > To fix this someone would have to modify sis_encap to pad > > to the minimum 60 bytes by hand. I'll take a crack at that now. > > > > Later, > > George > > > > -- > > George V. > Neville-Neil gnn@neville-neil.com > > NIC:GN82 > > > > "Those who would trade liberty for temporary security deserve neither" > > - Benjamin Franklin > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 3:56:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 8978737B417 for ; Fri, 1 Mar 2002 03:56:29 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g21BuN233060; Fri, 1 Mar 2002 03:56:23 -0800 (PST) (envelope-from rizzo) Date: Fri, 1 Mar 2002 03:56:23 -0800 From: Luigi Rizzo To: Bob Bishop Cc: "George V. Neville-Neil" , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? Message-ID: <20020301035623.A32974@iguana.icir.org> References: <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020301112956.00c5b550@gid.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4.3.2.7.2.20020301112956.00c5b550@gid.co.uk> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 01, 2002 at 11:37:03AM +0000, Bob Bishop wrote: > Hi, > > At 01:10 01/03/02 -0800, Luigi Rizzo wrote: > >I do not agree with the explaination. Padding is padding, the actual > >value is irrelevant. Plus, in the tcpdump below, the are actually > >46 bytes of data, which together with the 14 of the MAC header and > >the 4bytes of CRC make a perfectly legal packet. > > Correct, but the trailing 1's were supplied by the switch between the box > with the sis and the box running tcpdump. I find this hard to believe. The "sis" driver does the padding itself, using ones for the padding. I have verified this locally. And a switch which receives a short packet (runt packet) is not supposed to pass it through. > >What kind of protocol are we talking about ? > > Appletalk NBP, for instance. can you try and instruments the calls in the protocol stack which are issued to generate the packet ? > >Which are the other drivers that "work" ? > > ed, vr, rl ok, these three drivers behave as follows: "ed" pads with whatever is left in the transmit buffer from earlier transmissions; "vr" pads with whatever is available in the mbuf after the actual data; "rl" pads with zeroes (in the driver) and of course "sis" pads in hardware (with ones) The beauty of diversity... cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 8:23:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.umr.edu (mrelay1.cc.umr.edu [131.151.1.120]) by hub.freebsd.org (Postfix) with ESMTP id CA2BB37B405; Fri, 1 Mar 2002 08:23:04 -0800 (PST) Received: from saucer.cc.umr.edu (root@saucer.cc.umr.edu [131.151.35.14]) via ESMTP by mrelay1.cc.umr.edu (8.12.1/) id g21GMxDU028991; Fri, 1 Mar 2002 10:22:59 -0600 Received: (from nkunkee@localhost) by saucer.cc.umr.edu (8.12.1/8.12.0.Beta7) id g21GMxYP025376; Fri, 1 Mar 2002 10:22:59 -0600 (CST) Date: Fri, 1 Mar 2002 10:22:58 -0600 From: Nathan Kunkee To: hackers@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: freebsd-hackers SMP performance question Message-ID: <20020301162258.GA24102@umr.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I'm crossposting to freebsd-smp@freebsd.org, as per suggestion. > > My original post, edited: > > > > ... why any kernels compiled with SMP enabled seem > > > to be slowing the whole system down? Throughput goes down by 40%. > Tasks > > > take twice as long to run, etc, etc... > > > ... it appears to be system-wide. And is directly linked to > > > SMP: two kernels, identical EXCEPT that one has SMP enabled, the other > not. > > > The enabled kernel that *should* be fully utilizing multi-procs is > suddenly > > > effectively running at half speed. > > Thanks to all for replies. Since i am having the same problem, I'll tack my info next to yours and see if both of us can get an answer. I'm using a dual P120, 64M ram, built my own SMP kernel, and have noticed the same thing: performance/through put slows to nothing. my best example of this is when in X I move the mouse. no mouse motion, ~6% cpu usage. move the mouse, ~40-55% usage. Are all interrupts being mapped to a single cpu?? > > Regarding my SMP query, Doc asks: > > What sort of throughput? What sort of processes are you > > running? Do you > > actually have multiple processes fighting for CPU? > > Yes, I'm using netperf, iperf or nttcp to measure TCP throughput using the > server (the box in question) in response to ten simultaneous clients. > Chariot allegedly did not show the performance hit. But then, even > measuring the process time to run a single simple script shows ~half the > speed with SMP enabled. > Yes. does KDE with konqueror (and user ppp in background) count? konqueror is so slow it is nearly unusable. I figured that dual cpus would provide closer to my K6 233 performance, meaning comfortable interaction. building the kernel (make -j2 depend; make -j2; make -j2 install) seems to take as long as a single proc.. don't have actual wall clock time, got too bored. I also have some other quirks that i think are related. Occasionaly, my scsi drive (ahb eisa) will timeout while trying to reset. loading an smp kernel helped reduce this trouble, but not eliminate it. My sound card, which works fine AFAIK in other machines, has timeout trouble in this one. how can i determine if these are hardware troubles, or SMP related?? Is there a way to dynamicaly disable/enable a cpu? so that i can disable one and see how that affects performance?? I tried sysctl machdep.smp_active=1, or =2, but according to top, no difference. both procs are still getting programs and time slices. > Chris F. asks: > > Is this an old Pentium? If so, update to a recent -stable; > > a fix was committed a few weeks ago fixing a problem where > > the caches on both processors were not enabled on Pentiums. > > Otherwise, we have a few PII and PIII boxes here that work > > quite under 4.5. > > This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, > quad PIII Zeon 550s, etc... No old procs, per se. I'm running the released > version of 4.5. Was a proc-specific fix implemented *after* its release? > yes, p120. I will endeavor to setup and download the latest this weekend. will take some time since i'm on dialup.... > Greg L states: > > It would also be interesting to see if you get the same results > > running 5-CURRENT. While this version isn't suited to production use, > > it's based on a very different implementation, and the information > > would help us work out what's going on here. > I will endeavor to get this d/l as well. again, dialup will not make this quick or easy... > Unfortunately, I do not get a whole lot of time to get experimental due to > compressed testing schedules but, if a hole opens up, I will attempt to get > some testing done using 5-CURRENT. Will report any results to you. Thanks > for your interest. > > This scenario has been replicated on several (virtually any and all) test > boxes by multiple engineers. Any other tips are greatly appreciated. > > TIA - > > -=C. Stephen Frost=- > Intel Corp. > ICG - Network Quality Labs > Software Test Engineer > 503.264.8300 > > All opinions are my own, not those of Intel Corporation As well, thanks for all the information and help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 8:23:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id BB1B937B427 for ; Fri, 1 Mar 2002 08:23:45 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id g21GNcD87933; Fri, 1 Mar 2002 11:23:38 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 1 Mar 2002 11:23:37 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Jim Durham Cc: freebsd-hackers@freebsd.org Subject: Re: Acl patches In-Reply-To: <200202282246.g1SMk1k68706@w2xo.pgh.pa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Currently there are no plans to merge the ACL-related changes into the 4.x tree, due to the complexity and code impact. In addition, part of what will bring ACLs to high levels of production-readiness in 5.0 will be the UFS2 work, and that's unlikely ever to make it into the RELENG_4 branch also. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Thu, 28 Feb 2002, Jim Durham wrote: > I've looked over the mailing lists and google and I can't figure out > if the patches to the 5.0 kernel to support ACLs in Samba ever made > it into 4.4 or 4.5 Release ? > -- > Jim > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 8:30:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by hub.freebsd.org (Postfix) with ESMTP id F1F5537B402 for ; Fri, 1 Mar 2002 08:30:20 -0800 (PST) Received: (from jake@localhost) by k6.locore.ca (8.11.6/8.11.6) id g21GWSX74006; Fri, 1 Mar 2002 11:32:28 -0500 (EST) (envelope-from jake) Date: Fri, 1 Mar 2002 11:32:27 -0500 From: Jake Burkholder To: "Alexey V. Neyman" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: struct __hack Message-ID: <20020301113227.A71118@locore.ca> References: <02030111143802.22942@vagabond.auriga.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <02030111143802.22942@vagabond.auriga.ru>; from alex.neyman@auriga.ru on Fri, Mar 01, 2002 at 11:14:38AM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Apparently, On Fri, Mar 01, 2002 at 11:14:38AM +0300, Alexey V. Neyman said words to the effect of; > Hello there! > > In FreeBSD headers there are many occurences of 'struct __hack' (e.g. > in src/sys/module.h, eventhandler.h). What's the point of this > structure? I guess it help to avoid some warnings/errors, but what? Its to require that the macro invocation have a semi-colon after it. It eats the semi-colon. > > Regards, > Alexey. > > -- > <-------------------------> > ) May the Sun and Water ( Regards, Alexey V. Neyman > ) always fall upon you! ( mailto:alex.neyman@auriga.ru > <-------------------------> > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 8:47:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id 633A837B41B; Fri, 1 Mar 2002 08:47:13 -0800 (PST) Received: from pool-63.49.209.169.troy.grid.net ([63.49.209.169] helo=europa2) by smtp10.atl.mindspring.net with smtp (Exim 3.33 #1) id 16gqBQ-0004oJ-00; Fri, 01 Mar 2002 11:47:01 -0500 Message-Id: <3.0.6.32.20020301114511.00dafba0@imatowns.com> X-Sender: ggombert@imatowns.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Fri, 01 Mar 2002 11:45:11 -0500 To: Nathan Kunkee , hackers@FreeBSD.ORG, smp@FreeBSD.ORG From: Glenn Gombert Subject: Re: freebsd-hackers SMP performance question In-Reply-To: <20020301162258.GA24102@umr.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There are *many* issue(s) in -Current right now realted to KDE operationg (or not operating) as the case manybe. Older versions of KDE (2.1 for example) seem to run much better than the current 2.2 version. I have much better luck when running X in FreeBSD/Current by using a 'lighter weight' wm such as blackbox or icewm..... GG At 10:22 AM 3/1/2002 -0600, Nathan Kunkee wrote: >> >> I'm crossposting to freebsd-smp@freebsd.org, as per suggestion. >> >> My original post, edited: >> >> > > ... why any kernels compiled with SMP enabled seem >> > > to be slowing the whole system down? Throughput goes down by 40%. >> Tasks >> > > take twice as long to run, etc, etc... >> > > ... it appears to be system-wide. And is directly linked to >> > > SMP: two kernels, identical EXCEPT that one has SMP enabled, the other >> not. >> > > The enabled kernel that *should* be fully utilizing multi-procs is >> suddenly >> > > effectively running at half speed. >> >> Thanks to all for replies. >Since i am having the same problem, I'll tack my info next to yours and see if >both of us can get an answer. > >I'm using a dual P120, 64M ram, built my own SMP kernel, and have noticed the >same thing: performance/through put slows to nothing. my best example of this >is when in X I move the mouse. no mouse motion, ~6% cpu usage. move the mouse, >~40-55% usage. Are all interrupts being mapped to a single cpu?? > > >> >> Regarding my SMP query, Doc asks: >> > What sort of throughput? What sort of processes are you >> > running? Do you >> > actually have multiple processes fighting for CPU? >> >> Yes, I'm using netperf, iperf or nttcp to measure TCP throughput using the >> server (the box in question) in response to ten simultaneous clients. >> Chariot allegedly did not show the performance hit. But then, even >> measuring the process time to run a single simple script shows ~half the >> speed with SMP enabled. >> >Yes. does KDE with konqueror (and user ppp in background) count? konqueror is >so slow it is nearly unusable. I figured that dual cpus would provide closer >to my K6 233 performance, meaning comfortable interaction. building the kernel >(make -j2 depend; make -j2; make -j2 install) seems to take as long as a single >proc.. don't have actual wall clock time, got too bored. > >I also have some other quirks that i think are related. Occasionaly, my scsi >drive (ahb eisa) will timeout while trying to reset. loading an smp kernel helped >reduce this trouble, but not eliminate it. My sound card, which works fine AFAIK >in other machines, has timeout trouble in this one. how can i determine if >these are hardware troubles, or SMP related?? > >Is there a way to dynamicaly disable/enable a cpu? so that i can disable one and >see how that affects performance?? I tried sysctl machdep.smp_active=1, or =2, >but according to top, no difference. both procs are still getting programs and >time slices. > >> Chris F. asks: >> > Is this an old Pentium? If so, update to a recent -stable; >> > a fix was committed a few weeks ago fixing a problem where >> > the caches on both processors were not enabled on Pentiums. >> > Otherwise, we have a few PII and PIII boxes here that work >> > quite under 4.5. >> >> This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, >> quad PIII Zeon 550s, etc... No old procs, per se. I'm running the released >> version of 4.5. Was a proc-specific fix implemented *after* its release? >> >yes, p120. I will endeavor to setup and download the latest this weekend. will >take some time since i'm on dialup.... > >> Greg L states: >> > It would also be interesting to see if you get the same results >> > running 5-CURRENT. While this version isn't suited to production use, >> > it's based on a very different implementation, and the information >> > would help us work out what's going on here. >> >I will endeavor to get this d/l as well. again, dialup will not make this quick >or easy... > >> Unfortunately, I do not get a whole lot of time to get experimental due to >> compressed testing schedules but, if a hole opens up, I will attempt to get >> some testing done using 5-CURRENT. Will report any results to you. Thanks >> for your interest. >> >> This scenario has been replicated on several (virtually any and all) test >> boxes by multiple engineers. Any other tips are greatly appreciated. >> >> TIA - >> >> -=C. Stephen Frost=- >> Intel Corp. >> ICG - Network Quality Labs >> Software Test Engineer >> 503.264.8300 >> >> All opinions are my own, not those of Intel Corporation > >As well, thanks for all the information and help. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-smp" in the body of the message > Glenn Gombert ggombert@imatowns.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 9:51:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by hub.freebsd.org (Postfix) with ESMTP id 8CEA937B402 for ; Fri, 1 Mar 2002 09:51:10 -0800 (PST) Received: from meer.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g21Hp6s51471; Fri, 1 Mar 2002 09:51:06 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by meer.meer.net (8.9.3/8.9.3/meer) with ESMTP id JAA1797377; Fri, 1 Mar 2002 09:49:54 -0800 (PST) Message-Id: <200203011749.JAA1797377@meer.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Luigi Rizzo Cc: Bob Bishop , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? In-Reply-To: Message from Luigi Rizzo of "Fri, 01 Mar 2002 03:56:23 PST." <20020301035623.A32974@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Mar 2002 09:49:50 -0800 From: "George V. Neville-Neil" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I find this hard to believe. The "sis" driver does the padding > itself, using ones for the padding. I have verified this locally. > And a switch which receives a short packet (runt packet) is > not supposed to pass it through. I have verified this as well, and did before I hacked that patch together. > > ed, vr, rl > > ok, these three drivers behave as follows: > > "ed" pads with whatever is left in the transmit buffer from > earlier transmissions; > "vr" pads with whatever is available in the mbuf after the actual data; > "rl" pads with zeroes (in the driver) > and of course > "sis" pads in hardware (with ones) > I'm downloading the 802.3 spec now. Just to be sure. Of course I have no problem letting the driver stand as is if it's "right" but my memory, which I'm checking via the spec, is that short packets are to be padded with 0s. More when the darned things are done. BTW I've no attachment to putting this change in, I decided to check/fix this as a way of testing my new development environment. We can always close the PR, which is kern/35442. Later, George -- George V. Neville-Neil gnn@neville-neil.com NIC:GN82 "Those who would trade liberty for temporary security deserve neither" - Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 10:32:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from pgh.nepinc.com (pgh.nepinc.com [66.207.129.50]) by hub.freebsd.org (Postfix) with ESMTP id 9FF3037B41B; Fri, 1 Mar 2002 10:32:18 -0800 (PST) Received: from there (dhcp107.int [192.100.100.107]) by pgh.nepinc.com (8.11.4/8.11.3) with SMTP id g21IWK273038; Fri, 1 Mar 2002 13:32:20 -0500 (EST) (envelope-from jimd@nepinc.com) Message-Id: <200203011832.g21IWK273038@pgh.nepinc.com> Content-Type: text/plain; charset="iso-8859-1" From: Jim Durham Reply-To: jimd@nepinc.com To: Robert Watson , Jim Durham Subject: Re: Acl patches Date: Fri, 1 Mar 2002 13:32:15 -0500 X-Mailer: KMail [version 1.3] Cc: freebsd-hackers@freebsd.org References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 01 March 2002 11:23 am, Robert Watson wrote: > Currently there are no plans to merge the ACL-related changes into > the 4.x tree, due to the complexity and code impact. In addition, > part of what will bring ACLs to high levels of production-readiness > in 5.0 will be the UFS2 work, and that's unlikely ever to make it > into the RELENG_4 branch also. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > robert@fledge.watson.org NAI Labs, Safeport Network Services > > On Thu, 28 Feb 2002, Jim Durham wrote: > > I've looked over the mailing lists and google and I can't figure > > out if the patches to the 5.0 kernel to support ACLs in Samba > > ever made it into 4.4 or 4.5 Release ? > > -- > > Jim > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message Thanks, I'll just have to wait for 5.0. -Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 10:36:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by hub.freebsd.org (Postfix) with ESMTP id 98CB437B405 for ; Fri, 1 Mar 2002 10:36:27 -0800 (PST) Received: from meer.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g21IaNs52468; Fri, 1 Mar 2002 10:36:23 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by meer.meer.net (8.9.3/8.9.3/meer) with ESMTP id KAA1838206; Fri, 1 Mar 2002 10:35:56 -0800 (PST) Message-Id: <200203011835.KAA1838206@meer.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Luigi Rizzo Cc: Bob Bishop , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? In-Reply-To: Message from Luigi Rizzo of "Fri, 01 Mar 2002 03:56:23 PST." <20020301035623.A32974@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Mar 2002 10:35:55 -0800 From: "George V. Neville-Neil" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK, here is the official answer: 4.2.3.3 Minimum frame size The CSMA/CD Media Access mechanism requires that a minimum frame length of minFrameSize bits be transmitted. If frameSize is less than minFrameSize, then the CSMA/CD MAC sub layer shall append extra bits in units of octets, after the end of the MAC client data field but prior to calculating, and appending, the FCS. The number of extra bits shall be sufficient to ensure that the frame, from the DA field through the FCS field inclusive, is at least minFrameSize its. The content of the pad is unspecified. The most important part of course is that last sentence "The content of the pad is unspecified." I guess we can forget the patch then ;-) That's what I get for not reading the spec first. Later, George -- George V. Neville-Neil gnn@neville-neil.com NIC:GN82 "Those who would trade liberty for temporary security deserve neither" - Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 10:41:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by hub.freebsd.org (Postfix) with ESMTP id BA1C837B402 for ; Fri, 1 Mar 2002 10:41:43 -0800 (PST) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id g21IfNv05984; Fri, 1 Mar 2002 13:41:23 -0500 (EST) (envelope-from bicknell) Date: Fri, 1 Mar 2002 13:41:23 -0500 From: Leo Bicknell To: Luigi Rizzo Cc: Bob Bishop , "George V. Neville-Neil" , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? Message-ID: <20020301184123.GA5908@ussenterprise.ufp.org> References: <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020301112956.00c5b550@gid.co.uk> <20020301035623.A32974@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020301035623.A32974@iguana.icir.org> Organization: United Federation of Planets Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In a message written on Fri, Mar 01, 2002 at 03:56:23AM -0800, Luigi Rizzo wrote: > ok, these three drivers behave as follows: > > "ed" pads with whatever is left in the transmit buffer from > earlier transmissions; > "vr" pads with whatever is available in the mbuf after the actual data; I point out both of these are security risks. Granted, fairly minor, but they allow someone to get all/part of a previous packet's data, when they should have it. This sort of thing has been used as an attack vector before. I think fixing these to pad with some generated (0's, 1's, /dev/random, whatever) should be a top priority. -- 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 10:47:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 6B80337B405 for ; Fri, 1 Mar 2002 10:47:12 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g21Il5K36984; Fri, 1 Mar 2002 10:47:05 -0800 (PST) (envelope-from rizzo) Date: Fri, 1 Mar 2002 10:47:05 -0800 From: Luigi Rizzo To: Leo Bicknell Cc: Bob Bishop , "George V. Neville-Neil" , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? Message-ID: <20020301104705.A36640@iguana.icir.org> References: <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020301112956.00c5b550@gid.co.uk> <20020301035623.A32974@iguana.icir.org> <20020301184123.GA5908@ussenterprise.ufp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020301184123.GA5908@ussenterprise.ufp.org> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 01, 2002 at 01:41:23PM -0500, Leo Bicknell wrote: > In a message written on Fri, Mar 01, 2002 at 03:56:23AM -0800, Luigi Rizzo wrote: > > ok, these three drivers behave as follows: > > > > "ed" pads with whatever is left in the transmit buffer from > > earlier transmissions; > > "vr" pads with whatever is available in the mbuf after the actual data; > > I point out both of these are security risks. Granted, fairly I know, that is why i mentioned that. In fact i think i raised the subject long ago about this misbehaviour in some driver, maybe "dc". 0's or 1's are perfectly fine as padding, no need to put random stuff, especially given that from the header fields it is in most cases pretty obvious to find out what is the actual payload. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 13:38:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 1335137B400 for ; Fri, 1 Mar 2002 13:38:30 -0800 (PST) Received: from pool0405.cvx40-bradley.dialup.earthlink.net ([216.244.43.150] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16gujA-0001Sd-00; Fri, 01 Mar 2002 13:38:09 -0800 Message-ID: <3C7FF481.991305A7@mindspring.com> Date: Fri, 01 Mar 2002 13:37:05 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Leo Bicknell Cc: Luigi Rizzo , Bob Bishop , "George V. Neville-Neil" , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? References: <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020301112956.00c5b550@gid.co.uk> <20020301035623.A32974@iguana.icir.org> <20020301184123.GA5908@ussenterprise.ufp.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Leo Bicknell wrote: > I point out both of these are security risks. Granted, fairly > minor, but they allow someone to get all/part of a previous packet's > data, when they should have it. This sort of thing has been used > as an attack vector before. I think fixing these to pad with some > generated (0's, 1's, /dev/random, whatever) should be a top priority. Not /dev/random. It's going to be ignored as invalid anyway, since it's after the end of the packet according to the length. So it's not like trying to obfuscate it will magically put an attacker at some disadvantage. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 14:20: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 8EE3C37B402 for ; Fri, 1 Mar 2002 14:19:53 -0800 (PST) Received: from localhost (root@localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.2/8.12.2) with ESMTP id g21MJeZR000200; Sat, 2 Mar 2002 08:49:41 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: how do I see the current number of PTYs in use ? From: "Daniel O'Connor" To: Danny Braniss Cc: Paul Halliday , Patrick Thomas , freebsd-hackers@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 02 Mar 2002 09:49:40 +1130 Message-Id: <1015021184.19697.25.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2002-03-01 at 21:19, Danny Braniss wrote: > fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l > > is IMHO correct, ;-) Ach, of course :) I hope the original poster is satisfied 8-) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 14:49:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 3B32D37B417 for ; Fri, 1 Mar 2002 14:49:32 -0800 (PST) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.12.2/8.12.2) with ESMTP id g21MnR5P060809; Fri, 1 Mar 2002 16:49:27 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.2/Submit) id g21MnQkl060807; Fri, 1 Mar 2002 16:49:26 -0600 (CST) Date: Fri, 1 Mar 2002 16:49:26 -0600 From: Dan Nelson To: "Daniel O'Connor" Cc: Danny Braniss , Paul Halliday , Patrick Thomas , freebsd-hackers@FreeBSD.ORG Subject: Re: how do I see the current number of PTYs in use ? Message-ID: <20020301224926.GC3548@dan.emsphone.com> References: <1015021184.19697.25.camel@chowder.gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1015021184.19697.25.camel@chowder.gsoft.com.au> User-Agent: Mutt/1.3.27i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Mar 02), Daniel O'Connor said: > On Fri, 2002-03-01 at 21:19, Danny Braniss wrote: > > fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l > > > > is IMHO correct, ;-) > > Ach, of course :) > I hope the original poster is satisfied 8-) Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l" -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 15:35:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sleet.ispgateway.de (sleet.ispgateway.de [62.67.200.125]) by hub.freebsd.org (Postfix) with SMTP id 4C7B237B402 for ; Fri, 1 Mar 2002 15:35:33 -0800 (PST) Received: (qmail 17870 invoked from network); 1 Mar 2002 23:35:31 -0000 Received: from unknown (HELO max) (132451@[80.141.103.165]) (envelope-sender ) by sleet.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 1 Mar 2002 23:35:31 -0000 From: =?iso-8859-1?Q?Max_David_Kr=FCper?= To: Subject: httpd in malloc(): warning: recursive call (FreeBSD error??) Date: Sat, 2 Mar 2002 00:36:54 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have a FreeBSD 4.5-STABLE box running, when i start apache first all works fine, but after like 3 minutes in the logfile i see this messages: httpd in free(): warning: chunk is already free httpd in free(): warning: chunk is already free httpd in free(): warning: chunk is already free httpd in free(): warning: chunk is already free httpd in free(): warning: chunk is already free httpd in free(): warning: chunk is already free after another 2 minutes the logfile gets flooded of hundred of this messages: httpd in free(): warning: recursive call httpd in free(): warning: recursive call httpd in free(): warning: recursive call httpd in free(): warning: recursive call httpd in free(): warning: recursive call httpd in free(): warning: recursive call ... ... right after this i get all time this error(this error didn't appear before): httpd in malloc(): warning: recursive call httpd in malloc(): warning: recursive call [Fri Mar 1 19:49:16 2002] [alert] [client 195.93.64.xx] /usr/local/httpd/htdocs/qm-dev/.htaccess: RewriteRule: cannot compile regular expression 'F([0-9]+)(.htm(l)?)?' httpd in malloc(): warning: recursive call httpd in malloc(): warning: recursive call [Fri Mar 1 19:49:19 2002] [alert] [client 217.228.1.xx] /usr/local/httpd/htdocs/qm-dev/.htaccess: RewriteRule: cannot compile regular expression 'F([0-9]+)(.htm(l)?)?' ... ... The php doesn't work well after this, i get sometimes errors, it tells me there would be errors in the code, but if i refresh it works fine, and the apache prints "Internal Server Error"... but this happens only under high server load. Is it a FreeBSD bug? I found similar problems in mailinglists from last year, all about FreeBSD! What might we do to fix that, use Linux again ?? :> Before we used a Linux Server with apache 1.3.?? and PHP 4.0.(4or6) and all worked fine. Ciao, Max P.S. I am writing in the right list at all ?? :> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 15:57:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from saruman.xwin.net (saruman.xwin.net [205.219.158.250]) by hub.freebsd.org (Postfix) with ESMTP id 3EA3B37B402 for ; Fri, 1 Mar 2002 15:57:10 -0800 (PST) Received: from localhost (dp@localhost) by saruman.xwin.net (8.11.4/8.11.4) with ESMTP id g21Nw0v13775; Fri, 1 Mar 2002 17:58:00 -0600 Date: Fri, 1 Mar 2002 17:58:00 -0600 (CST) From: Paul Halliday X-X-Sender: To: Dan Nelson Cc: "Daniel O'Connor" , Danny Braniss , Patrick Thomas , Subject: Re: how do I see the current number of PTYs in use ? In-Reply-To: <20020301224926.GC3548@dan.emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 1 Mar 2002, Dan Nelson wrote: > In the last episode (Mar 02), Daniel O'Connor said: > > On Fri, 2002-03-01 at 21:19, Danny Braniss wrote: > > > fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l > > > > > > is IMHO correct, ;-) > > > > Ach, of course :) > > I hope the original poster is satisfied 8-) > > Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l" Actually, you are missing a delimiter for your output in the 'State' column for pstat. Dead terminals still appear but this flag changes. Not very accurate as is, unless you grep the OCc. [06:54pm]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | wc -l 8 [06:54pm]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | grep OCc | wc -l 5 [06:54pm]-root@dissent~# fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l 5 fstat is still the winner. > > -- > Dan Nelson > dnelson@allantgroup.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Paul H. "Don't underestimate the power of stupid people in large groups" ___________________ http://dp.penix.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 17: 9:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-169-107-10.dsl.lsan03.pacbell.net [64.169.107.10]) by hub.freebsd.org (Postfix) with ESMTP id 5505337B41B for ; Fri, 1 Mar 2002 17:09:54 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D9F0A66C80; Fri, 1 Mar 2002 17:09:53 -0800 (PST) Date: Fri, 1 Mar 2002 17:09:53 -0800 From: Kris Kennaway To: =?iso-8859-1?Q?Max_David_Kr=FCper?= Cc: freebsd-hackers@freebsd.org Subject: Re: httpd in malloc(): warning: recursive call (FreeBSD error??) Message-ID: <20020301170953.A20862@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from m.krueper@linuxwork.de on Sat, Mar 02, 2002 at 12:36:54AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 02, 2002 at 12:36:54AM +0100, Max David Kr=FCper wrote: > The php doesn't work well after this, i get sometimes errors, it tells > me there would be errors in the code, but if i refresh it works fine, > and the apache prints "Internal Server Error"... but this happens only > under high server load. Is it a FreeBSD bug? I found similar problems > in mailinglists from last year, all about FreeBSD! What might we do to > fix that, use Linux again ?? :> Why would you think it's a FreeBSD bug, not an apache bug? The malloc code on Linux doesn't display warnings for this kind of thing, AFAIK. FreeBSD is just being more verbose. Kris --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8gCZhWry0BWjoQKURAsmkAJ92HzdnIiMVWx4fFdsH+FUQn5b0oACeNrkM XQz+tFTqxRqcIJN3rRZBcBM= =NS3X -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 17:14:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by hub.freebsd.org (Postfix) with ESMTP id B72F137B402 for ; Fri, 1 Mar 2002 17:14:21 -0800 (PST) Received: from hyperion ([24.156.109.145]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.04.06 201-253-122-122-106-20020109) with ESMTP id <20020302011420.GWWO159916.fep04-mail.bloor.is.net.cable.rogers.com@hyperion>; Fri, 1 Mar 2002 20:14:20 -0500 Date: Fri, 1 Mar 2002 20:14:18 -0500 Subject: Re: how do I see the current number of PTYs in use ? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: "Daniel O'Connor" , Danny Braniss , Paul Halliday , Patrick Thomas , freebsd-hackers@FreeBSD.ORG To: Dan Nelson From: Joe Abley In-Reply-To: <20020301224926.GC3548@dan.emsphone.com> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.156.109.145] using ID at Fri, 1 Mar 2002 20:14:18 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, March 1, 2002, at 05:49 , Dan Nelson wrote: > In the last episode (Mar 02), Daniel O'Connor said: >> On Fri, 2002-03-01 at 21:19, Danny Braniss wrote: >>> fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l >>> >>> is IMHO correct, ;-) >> >> Ach, of course :) >> I hope the original poster is satisfied 8-) > > Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l" pstat -t | grep -ic 'tty[pqrs]' saves a fork. Since we're being silly. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 17:16:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 72FCB37B405 for ; Fri, 1 Mar 2002 17:16:24 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 4215AAE25A; Fri, 1 Mar 2002 17:16:24 -0800 (PST) Date: Fri, 1 Mar 2002 17:16:24 -0800 From: Alfred Perlstein To: Kris Kennaway Cc: Max David =?iso-8859-1?Q?Kr=FCper?= , freebsd-hackers@freebsd.org Subject: Re: httpd in malloc(): warning: recursive call (FreeBSD error??) Message-ID: <20020302011624.GP77980@elvis.mu.org> References: <20020301170953.A20862@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20020301170953.A20862@xor.obsecurity.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Kris Kennaway [020301 17:10] wrote: > On Sat, Mar 02, 2002 at 12:36:54AM +0100, Max David Krüper wrote: > > > The php doesn't work well after this, i get sometimes errors, it tells > > me there would be errors in the code, but if i refresh it works fine, > > and the apache prints "Internal Server Error"... but this happens only > > under high server load. Is it a FreeBSD bug? I found similar problems > > in mailinglists from last year, all about FreeBSD! What might we do to > > fix that, use Linux again ?? :> > > Why would you think it's a FreeBSD bug, not an apache bug? The malloc > code on Linux doesn't display warnings for this kind of thing, AFAIK. > FreeBSD is just being more verbose. Kris is right. However usually the trick to fixing this is just to reinstall apache and php. I'm not sure what causes it, possibly some bugs if you somehow got the two out of sync with each other. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 19:50:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from saruman.xwin.net (saruman.xwin.net [205.219.158.250]) by hub.freebsd.org (Postfix) with ESMTP id 5ACBD37B416 for ; Fri, 1 Mar 2002 19:50:27 -0800 (PST) Received: from localhost (dp@localhost) by saruman.xwin.net (8.11.4/8.11.4) with ESMTP id g223pMc14117; Fri, 1 Mar 2002 21:51:22 -0600 Date: Fri, 1 Mar 2002 21:51:22 -0600 (CST) From: Paul Halliday X-X-Sender: To: Joe Abley Cc: Dan Nelson , "Daniel O'Connor" , Danny Braniss , Patrick Thomas , Subject: Re: how do I see the current number of PTYs in use ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 1 Mar 2002, Joe Abley wrote: > > On Friday, March 1, 2002, at 05:49 , Dan Nelson wrote: > > > In the last episode (Mar 02), Daniel O'Connor said: > >> On Fri, 2002-03-01 at 21:19, Danny Braniss wrote: > >>> fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l > >>> > >>> is IMHO correct, ;-) > >> > >> Ach, of course :) > >> I hope the original poster is satisfied 8-) > > > > Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l" > > pstat -t | grep -ic 'tty[pqrs]' > > saves a fork. Since we're being silly. err.. we are not being silly.. not accurate (read last post) your modification still produces erroneous results. Paul H. "Don't underestimate the power of stupid people in large groups" ___________________ http://dp.penix.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 20:55:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web20409.mail.yahoo.com (web20409.mail.yahoo.com [216.136.226.128]) by hub.freebsd.org (Postfix) with SMTP id 0E47237B405 for ; Fri, 1 Mar 2002 20:55:44 -0800 (PST) Message-ID: <20020302045539.21978.qmail@web20409.mail.yahoo.com> Received: from [62.90.91.30] by web20409.mail.yahoo.com via HTTP; Fri, 01 Mar 2002 20:55:39 PST Date: Fri, 1 Mar 2002 20:55:39 -0800 (PST) From: Francis Jordan Subject: ciss.ko module anyone? To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Could someone please email me a copy of the ciss.ko module (gzipped if possible)? I am trying to install FreeBSD on a Compaq Proliant ML370 and the install CD of 4.5-RELEASE doesn't see the SmartArray 5i. Thanks FJ __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 21: 4:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from buffoon.automagic.org (buffoon.automagic.org [208.185.30.208]) by hub.freebsd.org (Postfix) with SMTP id 9F46C37B416 for ; Fri, 1 Mar 2002 21:04:12 -0800 (PST) Received: (qmail 45061 invoked by uid 1000); 2 Mar 2002 05:04:11 -0000 Date: Sat, 2 Mar 2002 00:04:11 -0500 From: Joe Abley To: Paul Halliday Cc: Dan Nelson , Daniel O'Connor , Danny Braniss , Patrick Thomas , freebsd-hackers@FreeBSD.ORG Subject: Re: how do I see the current number of PTYs in use ? Message-ID: <20020302000410.A45042@buffoon.automagic.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 01, 2002 at 09:51:22PM -0600, Paul Halliday wrote: > On Fri, 1 Mar 2002, Joe Abley wrote: > > > > > On Friday, March 1, 2002, at 05:49 , Dan Nelson wrote: > > > > > In the last episode (Mar 02), Daniel O'Connor said: > > >> On Fri, 2002-03-01 at 21:19, Danny Braniss wrote: > > >>> fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l > > >>> > > >>> is IMHO correct, ;-) > > >> > > >> Ach, of course :) > > >> I hope the original poster is satisfied 8-) > > > > > > Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l" > > > > pstat -t | grep -ic 'tty[pqrs]' > > > > saves a fork. Since we're being silly. > > err.. we are not being silly.. Oh yes we are. > not accurate (read last post) > your modification still produces erroneous results. My modification saves a fork from your modification, as specified. If there is a god, this thread will now die. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 21:22:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from saruman.xwin.net (saruman.xwin.net [205.219.158.250]) by hub.freebsd.org (Postfix) with ESMTP id 5A81F37B417 for ; Fri, 1 Mar 2002 21:22:15 -0800 (PST) Received: from localhost (dp@localhost) by saruman.xwin.net (8.11.4/8.11.4) with ESMTP id g225NEa01413; Fri, 1 Mar 2002 23:23:14 -0600 Date: Fri, 1 Mar 2002 23:23:14 -0600 (CST) From: Paul Halliday X-X-Sender: To: Joe Abley Cc: Dan Nelson , "Daniel O'Connor" , Danny Braniss , Patrick Thomas , Subject: Re: how do I see the current number of PTYs in use ? In-Reply-To: <20020302000410.A45042@buffoon.automagic.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2 Mar 2002, Joe Abley wrote: > On Fri, Mar 01, 2002 at 09:51:22PM -0600, Paul Halliday wrote: > > On Fri, 1 Mar 2002, Joe Abley wrote: > > > > > > > > On Friday, March 1, 2002, at 05:49 , Dan Nelson wrote: > > > > > > > In the last episode (Mar 02), Daniel O'Connor said: > > > >> On Fri, 2002-03-01 at 21:19, Danny Braniss wrote: > > > >>> fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l > > > >>> > > > >>> is IMHO correct, ;-) > > > >> > > > >> Ach, of course :) > > > >> I hope the original poster is satisfied 8-) > > > > > > > > Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l" > > > > > > pstat -t | grep -ic 'tty[pqrs]' > > > > > > saves a fork. Since we're being silly. > > > > err.. we are not being silly.. > > Oh yes we are. > > > not accurate (read last post) > > your modification still produces erroneous results. > > My modification saves a fork from your modification, as specified. > If there is a god, this thread will now die. Your not very bright are you? for one, there is no god. Secondly you failed to see what I introduced into the equation in the mod.. now pay attention Mr. not walking erectus... this was the line in question: [00:12am]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | wc -l 10 my addition: [00:12am]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | grep OCc | wc -l 3 your solution: [00:17am]-root@dissent~# pstat -t | grep -ic 'tty[pqrs]' 10 And the winner for number of terminals 'actually' open? definately not yours Mr. save a fork. Thanks for comming out though. Paul H. "Don't underestimate the power of stupid people in large groups" ___________________ http://dp.penix.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 21:23:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by hub.freebsd.org (Postfix) with ESMTP id 473BF37B419 for ; Fri, 1 Mar 2002 21:23:21 -0800 (PST) Received: from hyperion ([24.156.109.145]) by fep03-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.04.06 201-253-122-122-106-20020109) with ESMTP id <20020302052320.DNBH5932.fep03-mail.bloor.is.net.cable.rogers.com@hyperion>; Sat, 2 Mar 2002 00:23:20 -0500 Date: Sat, 2 Mar 2002 00:23:20 -0500 Subject: Re: how do I see the current number of PTYs in use ? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: Dan Nelson , "Daniel O'Connor" , Danny Braniss , Patrick Thomas , To: Paul Halliday From: Joe Abley In-Reply-To: Message-Id: <9BDE7DD8-2D9D-11D6-94E9-00039312C852@automagic.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.156.109.145] using ID at Sat, 2 Mar 2002 00:23:19 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday, March 2, 2002, at 12:23 , Paul Halliday wrote: > Your not very bright are you? Hey, at least I can spell. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 21:34: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by hub.freebsd.org (Postfix) with ESMTP id 4CF9E37B417 for ; Fri, 1 Mar 2002 21:33:57 -0800 (PST) Received: from hyperion ([24.156.109.145]) by fep01-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.04.06 201-253-122-122-106-20020109) with ESMTP id <20020302053356.XTSH5488.fep01-mail.bloor.is.net.cable.rogers.com@hyperion>; Sat, 2 Mar 2002 00:33:56 -0500 Date: Sat, 2 Mar 2002 00:33:56 -0500 Subject: Re: how do I see the current number of PTYs in use ? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: Dan Nelson , "Daniel O'Connor" , Danny Braniss , Patrick Thomas , To: Paul Halliday From: Joe Abley In-Reply-To: Message-Id: <1711D996-2D9F-11D6-94E9-00039312C852@automagic.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.156.109.145] using ID at Sat, 2 Mar 2002 00:33:56 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday, March 2, 2002, at 12:23 , Paul Halliday wrote: > [00:12am]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | grep OCc | > wc -l Oh, and pstat -t | egrep -ic 'tty[pqrs].* OCc ' saves two forks. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 21:40:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from artemis.drwilco.net (diana.drwilco.net [66.48.127.79]) by hub.freebsd.org (Postfix) with ESMTP id 3709637B400 for ; Fri, 1 Mar 2002 21:40:39 -0800 (PST) Received: from ceres.drwilco.net (docwilco.xs4all.nl [213.84.68.230]) by artemis.drwilco.net (8.11.6/8.11.6) with ESMTP id g225dkV34284 (using TLSv1/SSLv3 with cipher DES-CBC3-SHA (168 bits) verified NO); Sat, 2 Mar 2002 00:39:48 -0500 (EST) (envelope-from drwilco@drwilco.net) Message-Id: <5.1.0.14.0.20020302065001.01c9a058@mail.drwilco.net> X-Sender: lists@mail.drwilco.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 02 Mar 2002 06:50:32 +0100 To: Joe Abley , Paul Halliday From: "Rogier R. Mulhuijzen" Subject: Re: how do I see the current number of PTYs in use ? Cc: Dan Nelson , "Daniel O'Connor" , Danny Braniss , Patrick Thomas , In-Reply-To: <1711D996-2D9F-11D6-94E9-00039312C852@automagic.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 00:33 2-3-2002 -0500, Joe Abley wrote: >On Saturday, March 2, 2002, at 12:23 , Paul Halliday wrote: >>[00:12am]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | grep OCc | wc -l > >Oh, and > > pstat -t | egrep -ic 'tty[pqrs].* OCc ' > >saves two forks. And forks aren't cheap at all! See: http://www.pricepoint.com/AllForks.html Are we done being silly? =) Doc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 21:43:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 8BC9337B400 for ; Fri, 1 Mar 2002 21:43:28 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020302054323.WXR1214.rwcrmhc54.attbi.com@peter3.wemm.org> for ; Sat, 2 Mar 2002 05:43:23 +0000 Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g225hMs84146 for ; Fri, 1 Mar 2002 21:43:22 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 874273BAC; Fri, 1 Mar 2002 21:43:22 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bakul Shah Cc: Julian Elischer , freebsd-hackers@FreeBSD.ORG Subject: Re: Missing PT_READ_U In-Reply-To: <200203010226.VAA18006@warspite.cnchost.com> Date: Fri, 01 Mar 2002 21:43:22 -0800 From: Peter Wemm Message-Id: <20020302054322.874273BAC@overcee.wemm.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bakul Shah wrote: > > Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they > > are a really nasty interface that should have been killed long ago > > when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they > > operate on (struct user) will not be around much longer since it > > is part-per-process and part-per-thread in a post-KSE world. > > Yeah I saw that before sending out my query. This should've > waited until after KSE is in place. > > > the uarea is pretty much a shadow of its former self > > The fields have been scattered across two structures. > > > > What is ups trying to find out? > > Signal handling state of the process being debugged (whether > ignored/caught etc). I haven't dug deeper into it so I > don't know why it wants that but it seems to be pretty deeply > wired in. > > > There are other ways to get all the information in question. > > There isn't. I don't think procfs will give me that either. > May be PT_{SET,GET}SIGSTATE should be added? As the culprit behind PT_READ_U's demise, I'm willing to dive in and help here if needed. Incidently, PT_READ_U didn't actually work for the case where the signal handlers were shared between rfork()'ed processes. Do you have any suggestions as to how PT_GET/SETSIGSTATE should look and feel? UPS's requirements seem pretty trivial (ie: return the handler for a given signal number), but that feels a bit minimalistic given that we have flags and a mask per signal as well. There is also the signal mask as well (masks are 128 bit). On the other hand, maybe we should just keep it simple for ptrace() since the API is so limited. > BTW, what is being added to allow debugging a post-KSE world > process? > > -- bakul > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 21:56:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from saruman.xwin.net (saruman.xwin.net [205.219.158.250]) by hub.freebsd.org (Postfix) with ESMTP id A6B9037B400 for ; Fri, 1 Mar 2002 21:56:44 -0800 (PST) Received: from localhost (dp@localhost) by saruman.xwin.net (8.11.4/8.11.4) with ESMTP id g225voE06142; Fri, 1 Mar 2002 23:57:50 -0600 Date: Fri, 1 Mar 2002 23:57:50 -0600 (CST) From: Paul Halliday X-X-Sender: To: Joe Abley Cc: Dan Nelson , "Daniel O'Connor" , Danny Braniss , Patrick Thomas , Subject: Re: how do I see the current number of PTYs in use ? In-Reply-To: <9BDE7DD8-2D9D-11D6-94E9-00039312C852@automagic.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2 Mar 2002, Joe Abley wrote: > > On Saturday, March 2, 2002, at 12:23 , Paul Halliday wrote: > > > Your not very bright are you? > > Hey, at least I can spell. Thanks for comming out mike schiffman you got me! My previous email was actually in 'secret' code. I was hoping to throw you outta the loop. My bad. Damn, I underestimated those 'operating on brain stem only' indiviuals. I am not so sure, but I believe that it was a 'grammatical error' you would know best however. I am actually sorry for replying to the intial email at all come to think of it. Heaven forbid I should try and help someone, knowing that a question of that calibre is usually ignored on such an 'elitist' list. What was I thinking. I was never looking for criticism towards my solution especially considering the normal feedback from the prominent players on this list. I guess this list has nothing to do with the intial question anyway, just how you can cutup a solution to a problem that someone else has tried to rectify. heh. I know if I don't jot this down now that everyone will reply ' this list is not for questions like that' read the charter... etc. Unfortunately as long as this list exists, and there are players irrelevent questions will always be posed here. I am certain that you are all aware of this. so what to do? try not to be so damn ostentatious. take a breather, hug your wife, remember what its all about.. and if you have a problem with that? go fuck your hat. whatever works for you I guess. Paul H. "Don't underestimate the power of stupid people in large groups" ___________________ http://dp.penix.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 22: 6: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 9EBD437B7BF for ; Fri, 1 Mar 2002 22:04:17 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1098) id 3C5FAAE2BE; Fri, 1 Mar 2002 22:03:30 -0800 (PST) Date: Fri, 1 Mar 2002 22:03:30 -0800 From: Bill Fumerola To: Paul Halliday Cc: Joe Abley , freebsd-hackers@FreeBSD.ORG Subject: Re: how do I see the current number of PTYs in use ? Message-ID: <20020302060330.GQ803@elvis.mu.org> References: <9BDE7DD8-2D9D-11D6-94E9-00039312C852@automagic.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-MUORG-20020215 i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 01, 2002 at 11:57:50PM -0600, Paul Halliday wrote: > and if you have a problem with that? go fuck your hat. please read the charters for the freebsd mailing lists and keep these flameposts off the mailing lists. and if you have a problem with that i have a bitbucket with your name on it. -- - bill fumerola / fumerola@yahoo-inc.com / billf@FreeBSD.org / billf@mu.org ps. joe is a talented engineer. i happen to use software that he's written every day. what have you done that's worthwhile? try writing code instead of incoherent flames. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 1 23:23:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tonnant.cnchost.com (tonnant.concentric.net [207.155.248.72]) by hub.freebsd.org (Postfix) with ESMTP id 96AAC37B41B for ; Fri, 1 Mar 2002 23:23:11 -0800 (PST) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by tonnant.cnchost.com id CAA16024; Sat, 2 Mar 2002 02:22:48 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <200203020722.CAA16024@tonnant.cnchost.com> To: Peter Wemm Cc: Julian Elischer , freebsd-hackers@FreeBSD.ORG Subject: Re: Missing PT_READ_U In-reply-to: Your message of "Fri, 01 Mar 2002 21:43:22 PST." <20020302054322.874273BAC@overcee.wemm.org> Date: Fri, 01 Mar 2002 23:22:47 -0800 From: Bakul Shah Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > As the culprit behind PT_READ_U's demise, I'm willing to dive in > and help here if needed. Thanks but Julian sent me a patch for 4.5 that seems to work with no changes in ups. Would be nice if PT_READ_U is put back in 4.x. Now that I think about it, ups will need to be fixed up since the ability to write registers is lost with PT_WRITE_U gone (have to use PT_SETREGS). If you want to put PT_WRITE_U back in 4.5, I wouldn't complain;-) > Incidently, PT_READ_U didn't actually work for the case where the > signal handlers were shared between rfork()'ed processes. Hmm... Probably neither does ups:-) > Do you have any suggestions as to how PT_GET/SETSIGSTATE should look and > feel? UPS's requirements seem pretty trivial (ie: return the handler > for a given signal number), but that feels a bit minimalistic given that > we have flags and a mask per signal as well. There is also the signal > mask as well (masks are 128 bit). I just copy struct sigacts in my code for this. There is no PT_SETSIGSTATE (that would require a whole bunch of checking for very little gain). > On the other hand, maybe we should just keep it simple for ptrace() since > the API is so limited. There is time to think through API changes for 5.x. Reporting signal state is a small part of this! Some random thoughts: - should be able to get at additional registers (SSE etc. on x86). - I'd just merge access to all registers in one register space. This allows you to access any special or additional registers intel/amd may throw at you (ditto for ppc) without having to add more request codes. This is why READ_U/WRITE_U were so useful. - would be nice if the old interface of just returning one word was put back even for registers. Typically you access a very small number in a debugger (more typically never). - May be for reading registers there is some value in a read-all register interface but hardly ever for writing. - Need a way to find out what threads exist and may be in what state (if 5.x had a u-page, this would be part of it!). - Need PT_{ATTACH,DETACH,CONTINUE}_THREAD to deal with kernel threads. Some sort of thread-id would be handy for this. [But I don't know how you find a particular thread] - On a breakpoint a number of threads may stop -- if you allow other threads to proceed while the first thread at a bkpt is stopped. Need an ability to report this as well as continue/step any subset of these threads. - Inserting debugging code that is run by a particular thread and no one else can be tricky [ability to insert code is one of the strengths of ups]. - All this gets somewhat trickier (or impossible) to implement if you allow threads to run on multiple processors! - If all this is done, it should be not too hard to add support (in a debugger) for debugging multi-process apps. - Need to look at how multi-threaded apps are debugged on other OSes and learn from that as well. - Need to experiment before settling on an interface. -- bakul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 0:14: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id AC81C37B402 for ; Sat, 2 Mar 2002 00:14:00 -0800 (PST) Received: from elischer.org ([64.170.121.0]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GSC007S66VCWX@mta6.snfc21.pbi.net> for freebsd-hackers@FreeBSD.ORG; Sat, 02 Mar 2002 00:14:00 -0800 (PST) Date: Sat, 02 Mar 2002 00:13:31 -0800 From: Julian Elischer Subject: Re: Missing PT_READ_U To: Bakul Shah Cc: Peter Wemm , freebsd-hackers@FreeBSD.ORG Message-id: <3C8089AB.892A6A86@elischer.org> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en, hu References: <200203020722.CAA16024@tonnant.cnchost.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bakul Shah wrote: > > > As the culprit behind PT_READ_U's demise, I'm willing to dive in > > and help here if needed. > > Thanks but Julian sent me a patch for 4.5 that seems to work > with no changes in ups. Would be nice if PT_READ_U is put > back in 4.x. Just a quick comment Peter.. I was thinking we could stuff PT_READ_U back in for 4.x to keep UPS going till we sort out the Ptrace API for 5.0 (which we need to do soon because it's the next stumbling block.) and then retrofit the new interface to 4.6(?) when we know what it is rather than doing it twice.. I know that PT_READ_U is ugly and not really correct for rforked processes but it probably can stay in 4.x for a little without doing any damage. > [...] > - should be able to get at additional registers (SSE etc. on x86). > - I'd just merge access to all registers in one register > space. This allows you to access any special or additional > registers intel/amd may throw at you (ditto for ppc) > without having to add more request codes. This is why > READ_U/WRITE_U were so useful. yes but if we changed the frame layout (which we could have done in the kernel at any time) you lose. > - would be nice if the old interface of just returning one > word was put back even for registers. Typically you access > a very small number in a debugger (more typically never). > - May be for reading registers there is some value in a > read-all register interface but hardly ever for writing. > - Need a way to find out what threads exist and may be in > what state (if 5.x had a u-page, this would be part of > it!). ummm one u page N threads.. that is why U page is dying..much of the information init needs to be duplicated PER thread (in the kernel) > - Need PT_{ATTACH,DETACH,CONTINUE}_THREAD to deal with kernel > threads. Some sort of thread-id would be handy for this. > [But I don't know how you find a particular thread] Threads are transitory from the point of view of the kernel you have just enough threads as you need to run the number of system calls you have outstanding. if you are totally in user space (even on N processors then theoretically you have no threads in the kernel so the kernel has no threads assigned to you. (Actually it has N held to one side reserved for you but theoretically they are only there as a cache. On the other hand the kernel is not informed at all about how many threads are running in the userland. and theoretically the userland thread scheduler might switch through 100 userland threads without entering the kernel once so teh kernel doesn't know if there are 100 or 1 threads defined in userland. All it knows is that when it retunred to userland aftera syscall blocked.. SOMETHING did another syscall.... :-) > - On a breakpoint a number of threads may stop -- if you > allow other threads to proceed while the first thread at a > bkpt is stopped. Need an ability to report this as well as > continue/step any subset of these threads. The whole ptrace interfacestarts to fall apart here. > - Inserting debugging code that is run by a particular thread > and no one else can be tricky [ability to insert code is > one of the strengths of ups]. you'd have to nsert a breakpoint and CONDITIONALLY allow the thread to run the new or old code according to which it was. > - All this gets somewhat trickier (or impossible) to > implement if you allow threads to run on multiple > processors! yep > - If all this is done, it should be not too hard to add > support (in a debugger) for debugging multi-process apps. > - Need to look at how multi-threaded apps are debugged on > other OSes and learn from that as well. > - Need to experiment before settling on an interface. > > -- bakul -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 4: 1: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sonic.kks.net (sonic.kks.net [213.161.0.18]) by hub.freebsd.org (Postfix) with ESMTP id 28B7237B405; Sat, 2 Mar 2002 04:00:57 -0800 (PST) Received: from voyager.kksonline.com (5-51.ro.cable.kks.net [213.161.5.51]) by sonic.kks.net (Postfix) with ESMTP id 5FA0E253; Sat, 2 Mar 2002 13:01:01 +0100 (CET) Message-Id: <5.0.2.1.0.20020302125303.02c1ca90@164.8.8.5> X-Sender: rozmanal@164.8.8.5 X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sat, 02 Mar 2002 12:57:29 +0100 To: freebsd-hackers@FreeBSD.ORG From: Aleksander Rozman - Andy Subject: How to write code in FreeBSD Cc: freebsd-questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi ! I was wondering if there are any guidelines how to write code in FreeBSD. I have taken a look at several code of FreeBSD but each is written differently? Problem is I don't know which is preferred way. Reason I am asking this is that I am trying to add some code to kernel. Compile is OK, no error, no warning, but on link all variables defined with extern are marked as : undefined reference to 'variable', variable is extern and .h file which has it defined is included... Where can be the problem?? Another problem is that I get multiple definition error...how can I get over this. Please help Andy ************************************************************************** * Aleksander Rozman - Andy * Fandoms: E2:EA, SAABer, Trekkie, Earthie * * andy@kksonline.com * Sentinel, BH 90210, True's Trooper, * * andy@atechnet.dhs.org * Heller's Angel, Questie, Legacy, PO5, * * Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender * * ICQ-UIC: 4911125 ********************************************* * PGP key available * http://www.atechnet.dhs.org/~andy/ * ************************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 4:54:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id CD02337B419 for ; Sat, 2 Mar 2002 04:54:31 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g22CsVM45413; Sat, 2 Mar 2002 04:54:31 -0800 (PST) (envelope-from rizzo) Date: Sat, 2 Mar 2002 04:54:31 -0800 From: Luigi Rizzo To: hackers@freebsd.org Subject: a question about disklabels Message-ID: <20020302045431.A45398@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Maybe someone can comment on this ? I was hoping to be able to dump picobsd images (which are basically an image of a bootable FreeBSD "slice") straight into a disk "slice" (e.g. say /dev/ad0s2), and it took me a while to realize that both the loader (boot2) and the kernel itself expect to find in the label, in the "partition offset" field, the absolute offset (relative to the beginning of the disk) as opposed to the relative one (relative to the beginning of the slice), which is shown by "disklabel". This makes images a bit less portable, in that they need to be customized (though trivially) for the specific device they go into. Any idea on how hard would it be to remove this restriction (apart from backward compatibility issues) ? I was under the impression that any code in the kernel that works on a partition must also be told which partition/disk/slice to work on so from that information it should be easy enough to reconstruct the actual offset of the partition on the disk. thanks luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 5: 7:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by hub.freebsd.org (Postfix) with ESMTP id 78FD237B416; Sat, 2 Mar 2002 05:07:16 -0800 (PST) Received: from fwd02.sul.t-online.de by mailout08.sul.t-online.com with smtp id 16h8zP-0008IC-08; Sat, 02 Mar 2002 13:51:51 +0100 Received: from spirit.corecode.ath.cx (320050403952-0001@[217.82.49.124]) by fmrl02.sul.t-online.com with esmtp id 16h8zE-0v4CI4C; Sat, 2 Mar 2002 13:51:40 +0100 Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46]) by spirit.corecode.ath.cx (8.11.6/8.11.6) with ESMTP id g22Cpcn52783; Sat, 2 Mar 2002 13:51:40 +0100 (CET) (envelope-from corecode@corecode.ath.cx) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g22CpbE03531; Sat, 2 Mar 2002 13:51:37 +0100 (CET) (envelope-from corecode) Date: Sat, 2 Mar 2002 13:51:28 +0100 From: "Simon 'corecode' Schubert" To: Aleksander Rozman - Andy Cc: freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: How to write code in FreeBSD Message-Id: <20020302135128.621e5b48.corecode@corecode.ath.cx> In-Reply-To: <5.0.2.1.0.20020302125303.02c1ca90@164.8.8.5> References: <5.0.2.1.0.20020302125303.02c1ca90@164.8.8.5> X-Mailer: Sylpheed version 0.7.2claws (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.uBGzB:5RNgEow0" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=.uBGzB:5RNgEow0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 02 Mar 2002 12:57:29 +0100 Aleksander Rozman - Andy wrote: > > Hi ! > > I was wondering if there are any guidelines how to write code in FreeBSD. I > have taken a look at several code of FreeBSD but each is written > differently? Problem is I don't know which is preferred way. look at style(9) -- /"\ http://corecode.ath.cx/ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.uBGzB:5RNgEow0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE8gMrZr5S+dk6z85oRAtmrAKDpmiOfDoUyURUFAr9zfVLYJIGm7gCgwTRJ HFsPXvN6Wy+YOYZ0mqQWEkc= =ZJPd -----END PGP SIGNATURE----- --=.uBGzB:5RNgEow0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 5:11:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from omta05.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by hub.freebsd.org (Postfix) with ESMTP id 1A34837B402 for ; Sat, 2 Mar 2002 05:11:47 -0800 (PST) Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta05.mta.everyone.net (Postfix) with ESMTP id 4CC314A1C0 for ; Sat, 2 Mar 2002 05:11:43 -0800 (PST) Received: by sitemail.everyone.net (Postfix, from userid 99) id 42B6936F9; Sat, 2 Mar 2002 05:11:43 -0800 (PST) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Sat, 2 Mar 2002 05:11:43 -0800 (PST) From: sa-tmp To: freebsd-hackers@freebsd.org Subject: Ancient BSD sources Reply-To: radium@secureroot.com X-Originating-Ip: [62.64.142.212] Message-Id: <20020302131143.42B6936F9@sitemail.everyone.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If I were to buy a copy of the Ancient BSD sources CD set (costs $99), would anyone be interested in buying copies [CD-R versions] of the archive for, say $20? $99 is probably a bit steep for some people who are interested in just looking through the source code, and if I this would help anyone out, then I'll go ahead with it. _____________________________________________________________ --- http://mail.secureroot.com/ - free mailbox for hackers and geeks _____________________________________________________________ You deserve a better email address! Get personalized email @yourname or @yourcompany from Everyone.net --> http://www.everyone.net?tag To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 5:30: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from voi.aagh.net (pc1-hart4-0-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id EE1F337B402 for ; Sat, 2 Mar 2002 05:30:03 -0800 (PST) Received: from freaky by voi.aagh.net with local (Exim 3.35 #1) id 16h9aF-0002d5-00 for freebsd-hackers@freebsd.org; Sat, 02 Mar 2002 13:29:55 +0000 Date: Sat, 2 Mar 2002 13:29:55 +0000 From: Thomas Hurst To: freebsd-hackers@freebsd.org Subject: Re: httpd in malloc(): warning: recursive call (FreeBSD error??) Message-ID: <20020302132955.GA9708@voi.aagh.net> Mail-Followup-To: freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.3.27i Organization: Not much. X-Operating-System: FreeBSD/4.5-PRERELEASE (i386) X-Uptime: 1:19PM up 71 days, 22:04, 4 users, load averages: 2.07, 2.03, 2.01 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Max David Krüper (m.krueper@linuxwork.de) wrote: > I have a FreeBSD 4.5-STABLE box running, when i start apache first > all works fine, but after like 3 minutes in the logfile i see this > messages: > > httpd in free(): warning: chunk is already free > httpd in free(): warning: recursive call > httpd in malloc(): warning: recursive call > httpd in malloc(): warning: recursive call > [Fri Mar 1 19:49:16 2002] [alert] [client 195.93.64.xx] > /usr/local/httpd/htdocs/qm-dev/.htaccess: RewriteRule: cannot compile > regular expression 'F([0-9]+)(.htm(l)?)?' I've had lots of fun nuking Apache using mod_rewrite. It's can be fragile at times; the solution is usually to rewrite the regex. It's also a good idea to put it in httpd.conf on a production server, since .htaccess support is conciderably slower and more of a hack then anything. Also keep in mind with php embedded in the server, bugs in that and it's extensions (some of which are dodgy at the best of times, like XSLT) can show up as Apache errors. Try disabling it and seeing if it still happens (after mod_rewrite :) -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - No problem is so formidable that you can't just walk away from it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 9:47:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail8.nc.rr.com (fe8.southeast.rr.com [24.93.67.55]) by hub.freebsd.org (Postfix) with ESMTP id E620E37B41A; Sat, 2 Mar 2002 09:47:24 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sat, 2 Mar 2002 09:46:55 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id DE38CBA03; Sat, 2 Mar 2002 09:41:15 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Aleksander Rozman - Andy , freebsd-hackers@FreeBSD.ORG Subject: Re: How to write code in FreeBSD Date: Sat, 2 Mar 2002 09:41:15 -0500 X-Mailer: KMail [version 1.3] Cc: freebsd-questions@FreeBSD.ORG References: <5.0.2.1.0.20020302125303.02c1ca90@164.8.8.5> In-Reply-To: <5.0.2.1.0.20020302125303.02c1ca90@164.8.8.5> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020302144115.DE38CBA03@i8k.babbleon.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday 02 March 2002 06:57 am, Aleksander Rozman - Andy wrote: > Hi ! > > I was wondering if there are any guidelines how to write code in FreeBSD. I > have taken a look at several code of FreeBSD but each is written > differently? Problem is I don't know which is preferred way. > > Reason I am asking this is that I am trying to add some code to kernel. > Compile is OK, no error, no warning, but on link all variables defined with > extern are marked as : undefined reference to 'variable', variable is > extern and .h file which has it defined is included... Where can be the > problem?? Another problem is that I get multiple definition error...how can > I get over this. There's notthing "special" about FreeBSD in this regard. You have to have *some* file which does *not* refer to the variables as "extern" since "extern" means "defined someplace else in the link," and if *every* file says tha they are defined in some *other* file, well, then, they never get defined--just declared. THis is a basic "C" quesiton, not a "FreeBSD" question. -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 10: 6:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id C877537B41A; Sat, 2 Mar 2002 10:05:52 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 2 Mar 2002 18:05:51 +0000 (GMT) Date: Sat, 2 Mar 2002 18:05:51 +0000 From: David Malone To: Aleksander Rozman - Andy Cc: freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: How to write code in FreeBSD Message-ID: <20020302180551.GA26208@walton.maths.tcd.ie> References: <5.0.2.1.0.20020302125303.02c1ca90@164.8.8.5> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.0.2.1.0.20020302125303.02c1ca90@164.8.8.5> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 02, 2002 at 12:57:29PM +0100, Aleksander Rozman - Andy wrote: > I was wondering if there are any guidelines how to write code in FreeBSD. I > have taken a look at several code of FreeBSD but each is written > differently? Problem is I don't know which is preferred way. Most code in FreeBSD is written according to the rules in the style(9) man page. Code which has been imported from other projects is usually not subject to these guidelines. > Reason I am asking this is that I am trying to add some code to kernel. > Compile is OK, no error, no warning, but on link all variables defined with > extern are marked as : undefined reference to 'variable', variable is > extern and .h file which has it defined is included... Where can be the > problem?? Another problem is that I get multiple definition error...how can > I get over this. It's almost impossible to say without seeing the code. Can you produce a short example and say how you are compiling and linking it into the kernel. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 10:10:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 2690037B432 for ; Sat, 2 Mar 2002 10:10:24 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 2 Mar 2002 18:10:23 +0000 (GMT) Date: Sat, 2 Mar 2002 18:10:23 +0000 From: David Malone To: sa-tmp Cc: freebsd-hackers@freebsd.org Subject: Re: Ancient BSD sources Message-ID: <20020302181023.GB26208@walton.maths.tcd.ie> References: <20020302131143.42B6936F9@sitemail.everyone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020302131143.42B6936F9@sitemail.everyone.net> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 02, 2002 at 05:11:43AM -0800, sa-tmp wrote: > If I were to buy a copy of the Ancient BSD sources CD set (costs $99), > would anyone be interested in buying copies [CD-R versions] of the > archive for, say $20? Are you're thinking of doing this with the CDs that Krik distributes? If so, the compilation of the material is copyright so you'd have to be quite careful not to violate that copyright. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 10:50:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from omta05.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by hub.freebsd.org (Postfix) with ESMTP id 9603A37B419 for ; Sat, 2 Mar 2002 10:50:45 -0800 (PST) Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta05.mta.everyone.net (Postfix) with ESMTP id DEBF848596; Sat, 2 Mar 2002 10:50:43 -0800 (PST) Received: by sitemail.everyone.net (Postfix, from userid 99) id 9A4CA2757; Sat, 2 Mar 2002 10:50:43 -0800 (PST) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Sat, 2 Mar 2002 10:50:43 -0800 (PST) From: sa-tmp To: David Malone Cc: freebsd-hackers@freebsd.org Subject: Re: Ancient BSD sources Reply-To: radium@secureroot.com X-Originating-Ip: [80.225.74.93] Message-Id: <20020302185043.9A4CA2757@sitemail.everyone.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I remember seeing a message on his site that distribution is OK - I didn't know that it was copyrighted. Why does it cost so much anyway? It seems a bit much for something that's supposed to be free. By the way, someone told me that the FreeBSD DVD contained the old BSD source code. If've checked the FBSD DVD site, but I can't tell if it contains everything Kirk's 4-CD archive does - perhaps not if it's copyrighted :(. --- David Malone wrote: >On Sat, Mar 02, 2002 at 05:11:43AM -0800, sa-tmp wrote: >> If I were to buy a copy of the Ancient BSD sources CD set (costs $99), >> would anyone be interested in buying copies [CD-R versions] of the >> archive for, say $20? > >Are you're thinking of doing this with the CDs that Krik distributes? >If so, the compilation of the material is copyright so you'd have >to be quite careful not to violate that copyright. > > David. _____________________________________________________________ --- http://mail.secureroot.com/ - free mailbox for hackers and geeks _____________________________________________________________ You deserve a better email address! Get personalized email @yourname or @yourcompany from Everyone.net --> http://www.everyone.net?tag To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 10:55:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx01-a.netapp.com (mx01-a.netapp.com [198.95.226.53]) by hub.freebsd.org (Postfix) with ESMTP id C0FB537B405 for ; Sat, 2 Mar 2002 10:55:17 -0800 (PST) Received: from frejya.corp.netapp.com (frejya [10.10.20.91]) by mx01-a.netapp.com (8.11.1/8.11.1/NTAP-1.2) with ESMTP id g22It0300378; Sat, 2 Mar 2002 10:55:00 -0800 (PST) Received: from cranford-be.eng (localhost [127.0.0.1]) by frejya.corp.netapp.com (8.12.2/8.12.2/NTAP-1.4) with ESMTP id g22It0Zg028951; Sat, 2 Mar 2002 10:55:00 -0800 (PST) Received: from localhost (kmacy@localhost) by cranford-be.eng (8.11.6+Sun/8.11.6) with ESMTP id g22Isxq03919; Sat, 2 Mar 2002 10:54:59 -0800 (PST) Date: Sat, 2 Mar 2002 10:54:58 -0800 (PST) From: Kip Macy To: sa-tmp Cc: David Malone , freebsd-hackers@FreeBSD.ORG Subject: Re: Ancient BSD sources In-Reply-To: <20020302185043.9A4CA2757@sitemail.everyone.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is the exact quote from Kirk's website: The compilation of this archive is copyright 1998 by Marshall Kirk McKusick. You may freely redistribute it to anyone else. However, I would appreciate your buying your own copy to help cover the costs that I incurred in producing the archive. -Kip On Sat, 2 Mar 2002, sa-tmp wrote: > I remember seeing a message on his site that distribution is OK - I didn't know that it was copyrighted. > > Why does it cost so much anyway? It seems a bit much for something that's supposed to be free. > > By the way, someone told me that the FreeBSD DVD contained the old BSD source code. If've checked the FBSD DVD site, but I can't tell if it contains everything Kirk's 4-CD archive does - perhaps not if it's copyrighted :(. > > --- David Malone wrote: > >On Sat, Mar 02, 2002 at 05:11:43AM -0800, sa-tmp wrote: > >> If I were to buy a copy of the Ancient BSD sources CD set (costs $99), > >> would anyone be interested in buying copies [CD-R versions] of the > >> archive for, say $20? > > > >Are you're thinking of doing this with the CDs that Krik distributes? > >If so, the compilation of the material is copyright so you'd have > >to be quite careful not to violate that copyright. > > > > David. > > _____________________________________________________________ > --- > http://mail.secureroot.com/ - free mailbox for hackers and geeks > > _____________________________________________________________ > You deserve a better email address! Get personalized email @yourname > or @yourcompany from Everyone.net --> http://www.everyone.net?tag > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 11:19:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from omta01.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by hub.freebsd.org (Postfix) with ESMTP id F063737B416 for ; Sat, 2 Mar 2002 11:19:54 -0800 (PST) Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta01.mta.everyone.net (Postfix) with ESMTP id BF1801C52E3; Sat, 2 Mar 2002 11:19:54 -0800 (PST) Received: by sitemail.everyone.net (Postfix, from userid 99) id A59A12755; Sat, 2 Mar 2002 11:19:54 -0800 (PST) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Sat, 2 Mar 2002 11:19:54 -0800 (PST) From: sa-tmp To: Kip Macy Cc: freebsd-hackers@freebsd.org Subject: Re: Ancient BSD sources Reply-To: radium@secureroot.com X-Originating-Ip: [80.225.2.142] Message-Id: <20020302191954.A59A12755@sitemail.everyone.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I know - I've just reviewed the site again, and realised that I (rather stupidly) misread/misinterpreted it the first time. I suppose that distributing it anyway would go against Kirk's request, so I'd better not bother. However, I will be getting ahold of an official copy for myself ;). --- Kip Macy wrote: >This is the exact quote from Kirk's website: > > The compilation of this archive is copyright 1998 by Marshall Kirk McKusick. >You may freely redistribute it to anyone >else. However, I would appreciate your buying your own copy to help cover the >costs that I incurred in producing the archive. > > > -Kip > >On Sat, 2 Mar 2002, sa-tmp wrote: > >> I remember seeing a message on his site that distribution is OK - I didn't know that it was copyrighted. >> >> Why does it cost so much anyway? It seems a bit much for something that's supposed to be free. >> >> By the way, someone told me that the FreeBSD DVD contained the old BSD source code. If've checked the FBSD DVD site, but I can't tell if it contains everything Kirk's 4-CD archive does - perhaps not if it's copyrighted :(. >> >> --- David Malone wrote: >> >On Sat, Mar 02, 2002 at 05:11:43AM -0800, sa-tmp wrote: >> >> If I were to buy a copy of the Ancient BSD sources CD set (costs $99), >> >> would anyone be interested in buying copies [CD-R versions] of the >> >> archive for, say $20? >> > >> >Are you're thinking of doing this with the CDs that Krik distributes? >> >If so, the compilation of the material is copyright so you'd have >> >to be quite careful not to violate that copyright. >> > >> > David. >> >> _____________________________________________________________ >> --- >> http://mail.secureroot.com/ - free mailbox for hackers and geeks >> >> _____________________________________________________________ >> You deserve a better email address! Get personalized email @yourname >> or @yourcompany from Everyone.net --> http://www.everyone.net?tag >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-hackers" in the body of the message >> _____________________________________________________________ --- http://mail.secureroot.com/ - free mailbox for hackers and geeks _____________________________________________________________ You deserve a better email address! Get personalized email @yourname or @yourcompany from Everyone.net --> http://www.everyone.net?tag To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 12:12:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 7682337B417 for ; Sat, 2 Mar 2002 12:12:43 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020302201240.PIYU1147.rwcrmhc52.attbi.com@blossom.cjclark.org>; Sat, 2 Mar 2002 20:12:40 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g22KCYa82525; Sat, 2 Mar 2002 12:12:34 -0800 (PST) (envelope-from cjc) Date: Sat, 2 Mar 2002 12:12:33 -0800 From: "Crist J. Clark" To: Leo Bicknell Cc: Luigi Rizzo , Bob Bishop , "George V. Neville-Neil" , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? Message-ID: <20020302121233.G66092@blossom.cjclark.org> References: <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020301112956.00c5b550@gid.co.uk> <20020301035623.A32974@iguana.icir.org> <20020301184123.GA5908@ussenterprise.ufp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020301184123.GA5908@ussenterprise.ufp.org>; from bicknell@ufp.org on Fri, Mar 01, 2002 at 01:41:23PM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 01, 2002 at 01:41:23PM -0500, Leo Bicknell wrote: > In a message written on Fri, Mar 01, 2002 at 03:56:23AM -0800, Luigi Rizzo wrote: > > ok, these three drivers behave as follows: > > > > "ed" pads with whatever is left in the transmit buffer from > > earlier transmissions; > > "vr" pads with whatever is available in the mbuf after the actual data; > > I point out both of these are security risks. Granted, fairly > minor, but they allow someone to get all/part of a previous packet's > data, when they should have it. This sort of thing has been used > as an attack vector before. I think fixing these to pad with some > generated (0's, 1's, /dev/random, whatever) should be a top priority. The only "people" who can see the leftover stuff are the same ones who could have seen the original packet (the exception being very simple switches, but anyone who really wanted to could see everything over one of those anyway). If you are worried about this, don't buy Cisco. The first time I noticed this was watching NIDS go off multiple times from stuff coming over a 4000. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 12:23:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id E4CDB37B402; Sat, 2 Mar 2002 12:23:50 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g22KNo249144; Sat, 2 Mar 2002 12:23:50 -0800 (PST) (envelope-from rizzo) Date: Sat, 2 Mar 2002 12:23:50 -0800 From: Luigi Rizzo To: "Crist J. Clark" Cc: Leo Bicknell , Bob Bishop , "George V. Neville-Neil" , Doug Ambrisko , hackers@FreeBSD.ORG Subject: Re: Multicast problem with sis interface? Message-ID: <20020302122350.A49121@iguana.icir.org> References: <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020222165515.00c14850@gid.co.uk> <200203010557.VAA1802420@meer.meer.net> <4.3.2.7.2.20020301112956.00c5b550@gid.co.uk> <20020301035623.A32974@iguana.icir.org> <20020301184123.GA5908@ussenterprise.ufp.org> <20020302121233.G66092@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020302121233.G66092@blossom.cjclark.org> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 02, 2002 at 12:12:33PM -0800, Crist J. Clark wrote: > > > ok, these three drivers behave as follows: ... > > > "ed" pads with whatever is left in the transmit buffer from > > > earlier transmissions; > > > "vr" pads with whatever is available in the mbuf after the actual data; > > > > I point out both of these are security risks. Granted, fairly > > minor, but they allow someone to get all/part of a previous packet's > > data, when they should have it. This sort of thing has been used ... > The only "people" who can see the leftover stuff are the same ones who > could have seen the original packet (the exception being very simple not in the "vr" case, because the junk comes from the mbuf. Which could have stored something else in the past, not just a packet previously gone out on the same interface. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 12:29: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 1D71C37B400 for ; Sat, 2 Mar 2002 12:28:59 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g22KSwI83232 for hackers@freebsd.org; Sat, 2 Mar 2002 15:28:58 -0500 (EST) (envelope-from mwlucas) Date: Sat, 2 Mar 2002 15:28:58 -0500 From: Michael Lucas To: hackers@freebsd.org Subject: crash partition Message-ID: <20020302152858.A83208@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After some comments from Greg Lehey during his kernel debugging tutorial, (to paraphrase, "you can save your panic to a UFS partition, but it won't be a UFS partition any longer"), I've been experimenting with the idea of a "panic partition" for dumpdevs. The purpose is to have a rapid reboot after a panic. Now, my laptop has a DOS sleep partition. Is it safe to use that as a dumpdev? I have to use 320meg for a sleep partition, and 321 meg for a dumpdev, when I could just use a 321-meg sleep/dump partition. It *seems* to work, but that means absolutely nothing in the real world. Thanks, Michael -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 14:58:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.internexo.co.cr (iguana.internexo.co.cr [196.40.17.2]) by hub.freebsd.org (Postfix) with ESMTP id D3F2537B416 for ; Sat, 2 Mar 2002 14:58:51 -0800 (PST) Received: (from freebsd@localhost) by iguana.internexo.co.cr (8.9.3/8.9.3) id QAA22377; Sat, 2 Mar 2002 16:58:46 -0600 (CST) From: Theodore Hope Message-Id: <200203022258.QAA22377@iguana.internexo.co.cr> Subject: Re: oracle 8.1.7.0.1 installation successful, anyone? To: drwilco@drwilco.net (Rogier R. Mulhuijzen) Date: Sat, 2 Mar 2002 16:58:46 -0600 (CST) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <5.1.0.14.0.20020301000704.01bf9800@mail.drwilco.net> from "Rogier R. Mulhuijzen" at Mar 1, 2 00:13:43 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Doc, thanks for your comments. We managed to finally install and use the "developer client" part of Oracle 8.1.7.0.1 (on FreeBSD 4.5) following the instructions from http://www.kiwi-us.com/~tokuda/FreeBSD/oracle816.html (they're in Japanese, you'll have to use Altavista's translator and a lot of imagination :-) The main problem, which has been mentioned before, is the JDK/JRE that comes in the Oracle distribution. Changing this so that it uses the linux-jdk and the Blackdown JRE (as mentioned in Tokuda's document) is key. However, once you get done with installation you still have to change a bunch of the shell scripts that Oracle installs so that they _also_ use the new JDK/JRE. This isn't defined in one place, but all over the place, so it's not really a good way to go. Regards, -T. > At 09:46 28-2-2002 -0600, Theodore Hope wrote: > >We've tried installing Oracle 8.1.7.0.1 (for Linux) under > >FreeBSD 4.5-release and end up with two "jre" processes > >eating all the CPU and the infamous > >"kernel trap 9 with interrupts disabled" message scrolling on > >the console. This has been reported before by others, and > >I'm wondering if anyone has successfully installed Oracle > >(8.1.x or 9.x) under 4.5-Release. We can't tell if the > >main problem is with the Linux emulation, or what; thus > >my cross-posting. > > I didn't succeed in installing 8.1.7 either, but I've been semi-succesful > with 9.0.1 lately. > > I had to pull a few tricks but I got it to install. However, the relinking > of several binaries (like the RDBMS one) failed with some glibc errors, so > there's something not completely right with my linux libs. > > 9.0.1's installer uses a JDK on the CD, but I ran it with the > linux-jdk1.3.1 too. The Universal Installer is just very sensitive pacakge =( > > I used the RedHat7.1 port and added some devel rpms, made the oracle user's > shell /compat/linux/bin/bash (try a 'uname -a' when logged in with a user > setup like that, it's freaky) and I had to make a /compat/linux/etc/mtab > file to keep the installer from bombing when it tries to figure out which > filesystems you have. > > Doc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 15:38:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 219F237B400 for ; Sat, 2 Mar 2002 15:38:53 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020302233847.UBHZ1147.rwcrmhc52.attbi.com@blossom.cjclark.org>; Sat, 2 Mar 2002 23:38:47 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g22Ncls82993; Sat, 2 Mar 2002 15:38:47 -0800 (PST) (envelope-from cjc) Date: Sat, 2 Mar 2002 15:38:47 -0800 From: "Crist J. Clark" To: Michael Lucas Cc: hackers@FreeBSD.ORG Subject: Re: crash partition Message-ID: <20020302153847.K66092@blossom.cjclark.org> References: <20020302152858.A83208@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020302152858.A83208@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Sat, Mar 02, 2002 at 03:28:58PM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 02, 2002 at 03:28:58PM -0500, Michael Lucas wrote: > After some comments from Greg Lehey during his kernel debugging > tutorial, (to paraphrase, "you can save your panic to a UFS partition, > but it won't be a UFS partition any longer"), I've been experimenting > with the idea of a "panic partition" for dumpdevs. The purpose is to > have a rapid reboot after a panic. > > Now, my laptop has a DOS sleep partition. Is it safe to use that as a > dumpdev? I have to use 320meg for a sleep partition, and 321 meg for > a dumpdev, when I could just use a 321-meg sleep/dump partition. > > It *seems* to work, but that means absolutely nothing in the real world. And what's the problem with the age-old solution of using your swap partition? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 16: 9:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id CDE8E37B405 for ; Sat, 2 Mar 2002 16:09:15 -0800 (PST) Received: (qmail 19390 invoked by uid 0); 3 Mar 2002 00:09:14 -0000 Received: from p3ee38508.dip.t-dialin.net (HELO volker) (62.227.133.8) by mail.gmx.net (mp003-rz3) with SMTP; 3 Mar 2002 00:09:14 -0000 From: "Volker Sturm" To: Subject: RS232/V24 Driver Date: Sun, 3 Mar 2002 01:09:14 +0100 Message-ID: <000101c1c247$a8071eb0$0100a8c0@volker> 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.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I want to write a driver for a device on the serial port. The problem is that I dont get any info on the protocol that is used for data transmission. The device in question is a Olympus 2500L SLR digital camera. Olympus didnt even reply to my request. Is there a driver out there already? If not, are there ways to analyze the protocol by a monitor or whatever technique appropriate? Regards, Volker Sturm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 16:21:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from calvin.saturn-tech.com (calvin.saturn-tech.com [207.229.19.6]) by hub.freebsd.org (Postfix) with ESMTP id 57BD937B41A for ; Sat, 2 Mar 2002 16:21:36 -0800 (PST) Received: from localhost (drussell@localhost) by calvin.saturn-tech.com (8.8.8/8.8.8) with SMTP id RAA23675; Sat, 2 Mar 2002 17:21:08 -0700 (MST) (envelope-from drussell@saturn-tech.com) Date: Sat, 2 Mar 2002 17:21:08 -0700 (MST) From: Doug Russell To: Volker Sturm Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: RS232/V24 Driver In-Reply-To: <000101c1c247$a8071eb0$0100a8c0@volker> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 3 Mar 2002, Volker Sturm wrote: > I want to write a driver for a device on the serial port. The problem is > that I dont get any info on the protocol that is used for data .. > there already? If not, are there ways to analyze the protocol by a > monitor or whatever technique appropriate? You might take a look at ports/comms/snooper Later...... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 17:45:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 319C537B400; Sat, 2 Mar 2002 17:45:22 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g231jIZ84091; Sat, 2 Mar 2002 20:45:18 -0500 (EST) (envelope-from mwlucas) Date: Sat, 2 Mar 2002 20:45:18 -0500 From: Michael Lucas To: "Crist J. Clark" Cc: hackers@FreeBSD.ORG Subject: Re: crash partition Message-ID: <20020302204518.A84076@blackhelicopters.org> References: <20020302152858.A83208@blackhelicopters.org> <20020302153847.K66092@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020302153847.K66092@blossom.cjclark.org>; from cjc@FreeBSD.ORG on Sat, Mar 02, 2002 at 03:38:47PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 02, 2002 at 03:38:47PM -0800, Crist J. Clark wrote: > On Sat, Mar 02, 2002 at 03:28:58PM -0500, Michael Lucas wrote: > And what's the problem with the age-old solution of using your swap > partition? Is it safe, useful, and reliable to use a -stable savecore to recover a -current dump? Will it always be so? My gut reaction is that this isn't guaranteed to work properly. My laptop is configured for multi-boot, -stable and -current. While I want to provide solid bug reports, my laptop is a production system; I cannot have it down while I try to identify and fix today's Bug of Slow Hideous Death. (Unfortunately, my current job is not even vaguely FreeBSD related.) So, if -current panics, I boot -stable and get on with life. I'd feel better if I had a separate place to dump these until I could go home, boot into -current, recover the core, and get on with prepping my bug report. (This, of course, completely ignores the fact that my latest problems have all been silent lockups, but one keeps cvsuping and hoping...) ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 2 18:20:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id DC1F137B402 for ; Sat, 2 Mar 2002 18:20:10 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020303022010.UFOX2626.rwcrmhc51.attbi.com@blossom.cjclark.org>; Sun, 3 Mar 2002 02:20:10 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g232K9T83347; Sat, 2 Mar 2002 18:20:09 -0800 (PST) (envelope-from cjc) Date: Sat, 2 Mar 2002 18:20:09 -0800 From: "Crist J. Clark" To: Michael Lucas Cc: hackers@FreeBSD.ORG Subject: Re: crash partition Message-ID: <20020302182009.N66092@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020302152858.A83208@blackhelicopters.org> <20020302153847.K66092@blossom.cjclark.org> <20020302204518.A84076@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020302204518.A84076@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Sat, Mar 02, 2002 at 08:45:18PM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 02, 2002 at 08:45:18PM -0500, Michael Lucas wrote: > On Sat, Mar 02, 2002 at 03:38:47PM -0800, Crist J. Clark wrote: > > On Sat, Mar 02, 2002 at 03:28:58PM -0500, Michael Lucas wrote: > > And what's the problem with the age-old solution of using your swap > > partition? > > Is it safe, useful, and reliable to use a -stable savecore to recover > a -current dump? Will it always be so? My gut reaction is that this > isn't guaranteed to work properly. > > My laptop is configured for multi-boot, -stable and -current. While I > want to provide solid bug reports, my laptop is a production system; I > cannot have it down while I try to identify and fix today's Bug of > Slow Hideous Death. (Unfortunately, my current job is not even > vaguely FreeBSD related.) So, if -current panics, I boot -stable and > get on with life. > > I'd feel better if I had a separate place to dump these until I could > go home, boot into -current, recover the core, and get on with > prepping my bug report. Make a separate swap partition for each since you are going to be using the disk space anyway if you go with another setup. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message