From owner-freebsd-hackers Sun Mar 12 0: 0:28 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kalypso.iqm.unicamp.br (kalypso.iqm.unicamp.br [143.106.51.1]) by hub.freebsd.org (Postfix) with ESMTP id 12E9337BDDE for ; Sun, 12 Mar 2000 00:00:26 -0800 (PST) (envelope-from vazquez@iqm.unicamp.br) Received: by kalypso.iqm.unicamp.br (V-MTA, from userid 105) id D3DB57268B; Sun, 12 Mar 2000 05:00:21 -0300 (EST) Date: Sun, 12 Mar 2000 05:00:21 -0300 From: Pedro A M Vazquez To: Kris Kennaway Cc: Pedro A M Vazquez , freebsd-hackers@FreeBSD.ORG Subject: Re: Getting CPU usage in FreeBSD Message-ID: <20000312050021.A50944@kalypso.iqm.unicamp.br> References: <20000312043943.A50685@kalypso.iqm.unicamp.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: ; from kris@hub.freebsd.org on Sat, Mar 11, 2000 at 11:56:30PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG |o|... Sat, Mar 11, 2000 at 11:56:30PM -0800, Kris Kennaway ...|o| wrote: > On Sun, 12 Mar 2000, Pedro A M Vazquez wrote: > > > > We probably should make this into a sysctl to divorce the binaries from > > > having to read kvm. > > > > it's already there: > > > > vm.loadavg: { 1.40 1.33 1.23 } > > Thats the system load average. The question referred to CPU usage > percentages. yep, never answer a question at 4:00AM > > Kris > > ---- > In God we Trust -- all others must submit an X.509 certificate. > -- Charles Forsythe > -- .sig: license expired, contact your vendor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 0:33:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fb00.eng00.mindspring.net (fb00.eng00.mindspring.net [207.69.200.31]) by hub.freebsd.org (Postfix) with ESMTP id 08E2537BDAA for ; Sun, 12 Mar 2000 00:33:42 -0800 (PST) (envelope-from jhix@mindspring.com) Received: from jhix.mindspring.com (user-33qtgbk.dialup.mindspring.com [199.174.193.116]) by fb00.eng00.mindspring.net (8.9.3/8.8.5) with ESMTP id DAA31987 for ; Sun, 12 Mar 2000 03:33:39 -0500 (EST) Received: from localhost (jhix@localhost [127.0.0.1]) by jhix.mindspring.com (8.9.3/8.9.2) with ESMTP id AAA00637 for ; Sun, 12 Mar 2000 00:37:57 -0800 (PST) (envelope-from jhix@mindspring.com) To: hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... In-Reply-To: <200003111841.NAA17534@etinc.com> References: <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> X-Mailer: Mew version 1.94.1 on XEmacs 21.1 (Bryce Canyon) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000312003757O.jhix@mindspring.com> Date: Sun, 12 Mar 2000 00:37:57 -0800 From: W Gerald Hicks X-Dispatcher: imput version 990905(IM130) Lines: 31 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Once again I must ask... What do you know of Open Source? Aside from your enlightened criticisms I've seen nothing in the way of any sort of contribution. No ports maintenance, no code contribution. Nothing other than pure profiteering and never returning anything but a kick in the nuts. Thanks (not) -- Jerry Hicks jhix@mindspring.com From: Dennis Subject: Re: Is FreeBSD dead? Well, not in theory... Date: Sat, 11 Mar 2000 13:36:31 -0500 > mbac@nyct.net writes... > > >The very fact that source is available means that you can pay any scruffy > >unshaven hacker to fix it for you, instead of suffering at the hands and > >whims of, say, a FreeBSD "vendor" as you are doing. I would figure that at > >least you (of all people) realize that someone else can come in and get it > >done, and that you could optionally pay someone to do this. > > Not realistically. First of all, most "scruffy unshaven hackers" are not > qualified to... [rant and shameless self-promotion elided] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 5:29:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id A442837B6F7; Sun, 12 Mar 2000 05:29:19 -0800 (PST) (envelope-from narvi@haldjas.folklore.ee) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id PAA83378; Sun, 12 Mar 2000 15:29:11 +0200 (EET) (envelope-from narvi@haldjas.folklore.ee) Date: Sun, 12 Mar 2000 15:29:11 +0200 (EET) From: Narvi To: Mike Smith Cc: Dennis , hackers@FreeBSD.ORG Subject: Re: Dennis' inability to fix the eepro driver In-Reply-To: <200003112227.OAA05768@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 11 Mar 2000, Mike Smith wrote: [snip] > > Why haven't you considered hiring somebody to document the parts you are > > intersted in? Would solve at least half the problem... > > To be fair to Dennis, it's not the cost of paying the dropout to fix this > driver that's at issue here. > > Documentation for the eepro parts is not easy to get; I only have one > outdated hardcopy, and I get all sorts of weird stuff thrown at me. > Nah. It wasn't in response to anything that dealt with the driver. Nothing to do with eepro at all. It was in response to the rant about how everything was undocumented spaghetty code so few people could make any sense of that people were virtually dependant on those few. [snip] > > -- > \\ Give a man a fish, and you feed him for a day. \\ Mike Smith > \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org > \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 5:35:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id 10B2537BE11; Sun, 12 Mar 2000 05:35:02 -0800 (PST) (envelope-from narvi@haldjas.folklore.ee) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id PAA83464; Sun, 12 Mar 2000 15:34:54 +0200 (EET) (envelope-from narvi@haldjas.folklore.ee) Date: Sun, 12 Mar 2000 15:34:53 +0200 (EET) From: Narvi To: Mike Smith Cc: Dennis , hackers@FreeBSD.ORG Subject: Re: Dennis' inability to fix the eepro driver In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Uhhh... And before anybody gets all kinds of funny ideas, no, i am not trying to blackmail Dennis. On Sun, 12 Mar 2000, Narvi wrote: > > On Sat, 11 Mar 2000, Mike Smith wrote: > > [snip] > > > > Why haven't you considered hiring somebody to document the parts you are > > > intersted in? Would solve at least half the problem... > > > > To be fair to Dennis, it's not the cost of paying the dropout to fix this > > driver that's at issue here. > > > > Documentation for the eepro parts is not easy to get; I only have one > > outdated hardcopy, and I get all sorts of weird stuff thrown at me. > > > > Nah. It wasn't in response to anything that dealt with the driver. Nothing > to do with eepro at all. > > It was in response to the rant about how everything was undocumented > spaghetty code so few people could make any sense of that people were > virtually dependant on those few. > > [snip] > > > > > -- > > \\ Give a man a fish, and you feed him for a day. \\ Mike Smith > > \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org > > \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 5:58:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id A625337BC03 for ; Sun, 12 Mar 2000 05:58:33 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id OAA73815; Sun, 12 Mar 2000 14:58:26 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200003121358.OAA73815@freebsd.dk> Subject: Re: ATA-disk question In-Reply-To: <20000311173548.A1570@cs.rice.edu> from Sitaram Iyer at "Mar 11, 2000 05:35:48 pm" To: ssiyer@cs.rice.edu (Sitaram Iyer) Date: Sun, 12 Mar 2000 14:58:26 +0100 (CET) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Sitaram Iyer wrote: > (kernel 4.0-20000208-CURRENT) > > I have a question about adstrategy() in ata-disk.c: it says > > bufqdisksort() -- which appends to the drive queue using CSCAN, > > and immediately, without a check for adp->active, there is > > ad_start() -- which removes it from there and puts it into the > controller queue, thereby nullifying CSCAN's effect > completely (drive queue length always = 0 or 1) and > blowing up the controller TAILQ to occasional spurts > with tens of requests (I measured this). > > on browsing through cvsweb, I find that such a check used to be there > earlier ( bufqdisksort(&adp->queue, bp); if (!adp->active) ad_start(adp); ) > till "1.14 Fri Jun 25 9:02:59 1999 UTC by sos" (the 9th ATA update), and the > only thing in the commit log that's making sense to me is: > > "The disk driver has been changed a bit to prepare for tagged > queing, which is next on my list." -- sos > > What's the exact rationale behind doing away with CSCAN? is it temporary? > Its not entirely clear to me how "tagged queueing" (whatever that is) would > remedy the fact that requests are taken away from drive queues as soon as > they're put there. This was part of the code for tagged queueing, but since that has been put on hold for now, this is clearly a bug. Tagged queueing is the term for having multiple outstanding requests on the disk, and let the disk sort out in which ord to complete them. -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 6:58: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bytor.rush.net (bytor.rush.net [209.45.245.145]) by hub.freebsd.org (Postfix) with ESMTP id 8860537BB1D for ; Sun, 12 Mar 2000 06:57:56 -0800 (PST) (envelope-from lynch@bsdunix.net) Received: from localhost (lynch@localhost) by bytor.rush.net (8.10.0/8.10.0) with ESMTP id e2CEvmX01762 for ; Sun, 12 Mar 2000 09:57:48 -0500 (EST) Date: Sun, 12 Mar 2000 09:57:48 -0500 (EST) From: Pat Lynch X-Sender: lynch@bytor.rush.net To: hackers@freebsd.org Subject: FreeBSD is dead! Long live FreeBSD! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG heh, having read over the responses of the people "in the know" (and I've only known about this for a month or two and only by guessing ;)) I think this is very beneficial. Jordan, as always has thought about everything, contingency plans, and has made it very clear that the aquisition of WCCDROM is not one of FreeBSD as well. However the FreeBSD team benefits from having several key BSD developers whom we all look up to getting involved. I already have seen posts from Sam Leffler, Kirk has been involved for a while with FreeBSD and I know for a fact this is a vote of confidence on his part about the business viability of FreeBSD as well as its technical merits. I think this is an exciting period in FreeBSD's development, I personally am very excited. if FreeBSD is dead, Long live FreeBSD. -Pat __ Pat Lynch lynch@rush.net lynch@bsdunix.net lynch@unix.sh lynch@blowfi.sh Systems Administrator Rush Networking To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 7:44:41 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id 908F237BE1F; Sun, 12 Mar 2000 07:44:37 -0800 (PST) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 2F2162DC07; Sun, 12 Mar 2000 16:49:07 +0100 (CET) Received: by mx.webgiro.com (Postfix, from userid 1001) id 3F7477811; Sun, 12 Mar 2000 16:42:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 3965810E16; Sun, 12 Mar 2000 16:42:28 +0100 (CET) Date: Sun, 12 Mar 2000 16:42:26 +0100 (CET) From: Andrzej Bialecki To: Kris Kennaway Cc: freebsd-hackers@FreeBSD.ORG, jkh@freebsd.org Subject: Re: Getting CPU usage in FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1673614147-952875746=:23703" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1673614147-952875746=:23703 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 11 Mar 2000, Kris Kennaway wrote: > On Sun, 12 Mar 2000, Oliver Fromme wrote: > > > Then look up the definition of kread() in the same file, and > > how the contents of cur.cp_time are used in the cpustats() > > function. Note that "cur" is a "struct statinfo", which is > > defined in /usr/include/devstat.h. The CPU states are defined > > in /usr/include/sys/dkstat.h. > > We probably should make this into a sysctl to divorce the binaries from > having to read kvm. I'm definitely for it... If I can get permission from Jordan, perhaps the attached patches can make it into upcoming release. Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- --0-1673614147-952875746=:23703 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="sysctl.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="sysctl.diff" SW5kZXg6IHN5c2N0bC5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1Mg ZmlsZTogL2hvbWUvbmN2cy9zcmMvc2Jpbi9zeXNjdGwvc3lzY3RsLmMsdg0K cmV0cmlldmluZyByZXZpc2lvbiAxLjI1DQpkaWZmIC11IC1yMS4yNSBzeXNj dGwuYw0KLS0tIHN5c2N0bC5jCTE5OTkvMTEvMjIgMDg6NDM6MDAJMS4yNQ0K KysrIHN5c2N0bC5jCTIwMDAvMDMvMTIgMTU6MzU6MTINCkBAIC00Niw2ICs0 Niw3IEBADQogI2VuZGlmIC8qIG5vdCBsaW50ICovDQogDQogI2luY2x1ZGUg PHN5cy90eXBlcy5oPg0KKyNpbmNsdWRlIDxzeXMvZGtzdGF0Lmg+DQogI2lu Y2x1ZGUgPHN5cy9zdGF0Lmg+DQogI2luY2x1ZGUgPHN5cy9zeXNjdGwuaD4N CiAjaW5jbHVkZSA8c3lzL3Jlc291cmNlLmg+DQpAQCAtMjE5LDYgKzIyMCwy OSBAQA0KIC8qIFRoZXNlIGZ1bmN0aW9ucyB3aWxsIGR1bXAgb3V0IHZhcmlv dXMgaW50ZXJlc3Rpbmcgc3RydWN0dXJlcy4gKi8NCiANCiBzdGF0aWMgaW50 DQorU19jcHVfdGltZShpbnQgbDIsIHZvaWQgKnApDQorew0KKwlsb25nICpj cHQ9KGxvbmcgKilwOw0KKwlkb3VibGUgZCx0b3RhbDsNCisJaW50IGk7DQor DQorCXRvdGFsPTA7DQorCWZvcihpPTA7aTxDUFVTVEFURVM7aSsrKQ0KKwkJ dG90YWwrPSooY3B0K2kpOw0KKwlkPTEwMCoqKGNwdCtDUF9VU0VSKS90b3Rh bDsNCisJcHJpbnRmKCJ7IHVzZXI9JS4wZiUlICIsZCk7DQorCWQ9MTAwKioo Y3B0K0NQX05JQ0UpL3RvdGFsOw0KKwlwcmludGYoIm5pY2U9JS4wZiUlICIs ZCk7DQorCWQ9MTAwKiooY3B0K0NQX1NZUykvdG90YWw7DQorCXByaW50Zigi c3lzPSUuMGYlJSAiLGQpOw0KKwlkPTEwMCoqKGNwdCtDUF9JTlRSKS90b3Rh bDsNCisJcHJpbnRmKCJpbnRyPSUuMGYlJSAiLGQpOw0KKwlkPTEwMCoqKGNw dCtDUF9JRExFKS90b3RhbDsNCisJcHJpbnRmKCJpZGxlPSUuMGYlJSB9Iixk KTsNCisJcmV0dXJuKDApOw0KK30NCisNCitzdGF0aWMgaW50DQogU19jbG9j a2luZm8oaW50IGwyLCB2b2lkICpwKQ0KIHsNCiAJc3RydWN0IGNsb2NraW5m byAqY2kgPSAoc3RydWN0IGNsb2NraW5mbyopcDsNCkBAIC00MTcsNiArNDQx LDcgQEANCiAJY2FzZSAnUyc6DQogCQlpID0gMDsNCiAJCWlmICghc3RyY21w KGZtdCwgIlMsY2xvY2tpbmZvIikpCWZ1bmMgPSBTX2Nsb2NraW5mbzsNCisJ CWVsc2UgaWYgKCFzdHJjbXAoZm10LCAiUyxjcHVfdGltZSIpKQlmdW5jID0g U19jcHVfdGltZTsNCiAJCWVsc2UgaWYgKCFzdHJjbXAoZm10LCAiUyx0aW1l dmFsIikpCWZ1bmMgPSBTX3RpbWV2YWw7DQogCQllbHNlIGlmICghc3RyY21w KGZtdCwgIlMsbG9hZGF2ZyIpKQlmdW5jID0gU19sb2FkYXZnOw0KIAkJZWxz ZSBpZiAoIXN0cmNtcChmbXQsICJULGRldl90IikpCWZ1bmMgPSBUX2Rldl90 Ow0K --0-1673614147-952875746=:23703 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="kern_clock.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="kern_clock.diff" SW5kZXg6IGtlcm5fY2xvY2suYw0KPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0K UkNTIGZpbGU6IC9ob21lL25jdnMvc3JjL3N5cy9rZXJuL2tlcm5fY2xvY2su Yyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTA1DQpkaWZmIC11IC1yMS4x MDUga2Vybl9jbG9jay5jDQotLS0ga2Vybl9jbG9jay5jCTIwMDAvMDIvMTMg MTA6NTY6MzIJMS4xMDUNCisrKyBrZXJuX2Nsb2NrLmMJMjAwMC8wMy8xMiAx NTozNTo0NA0KQEAgLTEwNSw2ICsxMDUsOSBAQA0KIFNZU0NUTF9TVFJVQ1Qo X2tlcm4sIEtFUk5fQk9PVFRJTUUsIGJvb3R0aW1lLCBDVExGTEFHX1JELA0K ICAgICAmYm9vdHRpbWUsIHRpbWV2YWwsICJTeXN0ZW0gYm9vdHRpbWUiKTsN CiANCitTWVNDVExfT1BBUVVFKF9rZXJuLCBPSURfQVVUTywgY3B1X3RpbWUs IENUTEZMQUdfUkQsICZjcF90aW1lLA0KKwlzaXplb2YoY3BfdGltZSksICJT LGNwdV90aW1lIiwgIkNQVSB0aW1lcyIpOw0KKw0KIC8qDQogICogV2hpY2gg dXBkYXRlIHBvbGljeSB0byB1c2UuDQogICogICAwIC0gZXZlcnkgdGljaywg YmFkIGhhcmR3YXJlIG1heSBmYWlsIHdpdGggImNhbGNydSBuZWdhdGl2ZS4u LiINCg== --0-1673614147-952875746=:23703-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 8:54:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id CC58A37BB2B for ; Sun, 12 Mar 2000 08:54:52 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id RAA46802; Sun, 12 Mar 2000 17:54:50 +0100 (CET) (envelope-from olli) Date: Sun, 12 Mar 2000 17:54:50 +0100 (CET) Message-Id: <200003121654.RAA46802@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG Reply-To: freebsd-hackers@FreeBSD.ORG Subject: Re: Getting CPU usage in FreeBSD X-Newsgroups: list.freebsd-hackers In-Reply-To: <8afhgc$15kp$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway wrote in list.freebsd-hackers: > On Sun, 12 Mar 2000, Oliver Fromme wrote: > > Then look up the definition of kread() in the same file, and > > how the contents of cur.cp_time are used in the cpustats() > > function. Note that "cur" is a "struct statinfo", which is > > defined in /usr/include/devstat.h. The CPU states are defined > > in /usr/include/sys/dkstat.h. > > We probably should make this into a sysctl to divorce the binaries from > having to read kvm. Sounds like a good idea. But then again, vmstat.c uses kvm for about a dozen different things. Shouldn't they all be made into sysctls then? Just wondering... Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 8:59: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id DA92C37BBA6 for ; Sun, 12 Mar 2000 08:58:56 -0800 (PST) (envelope-from dennis@etinc.com) Received: from workstation.etinc.com (port37.netsvr1.cst.vastnet.net [207.252.73.37]) by etinc.com (8.9.3/8.9.3) with SMTP id LAA00450; Sun, 12 Mar 2000 11:58:17 -0500 (EST) Message-Id: <200003121658.LAA00450@etinc.com> X-Sender: dennis@mail.etinc.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Mon, 13 Mar 2000 00:30:09 -0500 To: Pat Lynch , hackers@FreeBSD.ORG From: Dennis Subject: Re: FreeBSD is dead! Long live FreeBSD! In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >I think this is an exciting period in FreeBSD's development, I personally >am very excited. I think it *could* be a "good" thing, but the proof of the pudding is in the taste. Just keep a bag packed in case. DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 9: 5:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by hub.freebsd.org (Postfix) with ESMTP id 11BDE37BE2E for ; Sun, 12 Mar 2000 09:05:42 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.198.157]) by smtp05.wxs.nl (Netscape Messaging Server 4.05) with ESMTP id FRBJHD02.64V for ; Sun, 12 Mar 2000 18:05:37 +0100 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id SAA09918 for hackers@freebsd.org; Sun, 12 Mar 2000 18:04:54 +0100 (CET) (envelope-from asmodai) Date: Sun, 12 Mar 2000 18:04:54 +0100 From: Jeroen Ruigrok/Asmodai To: hackers@freebsd.org Subject: WRT `Is FreeBSD dead?' Message-ID: <20000312180453.V68308@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Could we place relocate this topic to -chat or -advocacy, since it doesn't seem that correct to be discussed on -hackers. Hackers was meant for quality technical discussion, not discussions about FUD, stupidity of people whom don't read official messages posted prior to stating things, spinning off and more of that non-technical crap. Thanks, -- Jeroen Ruigrok vd Werven/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best The BSD Programmer's Documentation Project I must be cruel, only to be kind... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 9: 8:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 0471437BDF9; Sun, 12 Mar 2000 09:08:38 -0800 (PST) (envelope-from dennis@etinc.com) Received: from workstation.etinc.com (port37.netsvr1.cst.vastnet.net [207.252.73.37]) by etinc.com (8.9.3/8.9.3) with SMTP id MAA00474; Sun, 12 Mar 2000 12:07:55 -0500 (EST) Message-Id: <200003121707.MAA00474@etinc.com> X-Sender: dennis@mail.etinc.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Mon, 13 Mar 2000 00:39:47 -0500 To: Narvi , Mike Smith From: Dennis Subject: Re: Dennis' inability to fix the eepro driver Cc: hackers@FreeBSD.ORG In-Reply-To: References: <200003112227.OAA05768@mass.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 03:29 PM 3/12/00 +0200, Narvi wrote: > >On Sat, 11 Mar 2000, Mike Smith wrote: > >[snip] > >> > Why haven't you considered hiring somebody to document the parts you are >> > intersted in? Would solve at least half the problem... >> >> To be fair to Dennis, it's not the cost of paying the dropout to fix this >> driver that's at issue here. >> >> Documentation for the eepro parts is not easy to get; I only have one >> outdated hardcopy, and I get all sorts of weird stuff thrown at me. >> > >Nah. It wasn't in response to anything that dealt with the driver. Nothing >to do with eepro at all. > >It was in response to the rant about how everything was undocumented >spaghetty code so few people could make any sense of that people were >virtually dependant on those few. More communist propaganda.... :-) My *point* was simply that, not only is it difficult to make major changes to critical code without substantial documentation (all of us know that something that *looks* wrong may very will be there for an obscure reason), but when you do you lose the benefits of code improvements in the next release unless you do it again. Its not realistic. Plus, when you make a change, ANY problem with that driver, even if it has nothing to do with the change, is your problem. So, by making even a minor improvement, you take on a support responsibilty (as a commercial vendor) for code that isnt yours and may be extremely difficult to debug. dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 10:32:33 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp06.wxs.nl (smtp06.wxs.nl [195.121.6.58]) by hub.freebsd.org (Postfix) with ESMTP id 0D35137B827 for ; Sun, 12 Mar 2000 10:32:27 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.198.157]) by smtp06.wxs.nl (Netscape Messaging Server 4.05) with ESMTP id FRBNHK02.M08; Sun, 12 Mar 2000 19:32:08 +0100 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id TAA10035; Sun, 12 Mar 2000 19:32:06 +0100 (CET) (envelope-from asmodai) Date: Sun, 12 Mar 2000 19:32:06 +0100 From: Jeroen Ruigrok/Asmodai To: Joe Abley Cc: Dennis , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... Message-ID: <20000312193205.W68308@daemon.ninth-circle.org> References: <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000312083736.A27614@patho.gen.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000312083736.A27614@patho.gen.nz>; from jabley@patho.gen.nz on Sun, Mar 12, 2000 at 08:37:38AM +1300 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [20000312 00:00], Joe Abley (jabley@patho.gen.nz) wrote: >On Sat, Mar 11, 2000 at 01:36:31PM -0500, Dennis wrote: >> Another point is that Open Source is virtually synonomous with "Totally >> undocumented". > >This is sillier. Exactly, and it also slightly pisses me off... Then I guess I wrote all the manpages and documents for nothing. elf.5 comes to mind for a very handy resource. http://home.wxs.nl/~asmodai/newbus-draft.txt comes to mind. And when that is finished the manpages will follow. That's also why I am wasting my time slowly documenting the FreeBSD internals in my spare time. -- Jeroen Ruigrok vd Werven/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best The BSD Programmer's Documentation Project You prayed before, who are the prayers for..? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 11: 4:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id 68D5837BE30 for ; Sun, 12 Mar 2000 11:04:44 -0800 (PST) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 8E41C2DC07; Sun, 12 Mar 2000 20:09:07 +0100 (CET) Received: by mx.webgiro.com (Postfix, from userid 1001) id D854B7811; Sun, 12 Mar 2000 20:01:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id CCD7C10E16 for ; Sun, 12 Mar 2000 20:01:51 +0100 (CET) Date: Sun, 12 Mar 2000 20:01:51 +0100 (CET) From: Andrzej Bialecki To: freebsd-hackers@FreeBSD.ORG Subject: Re: Getting CPU usage in FreeBSD In-Reply-To: <200003121654.RAA46802@dorifer.heim3.tu-clausthal.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 12 Mar 2000, Oliver Fromme wrote: > Kris Kennaway wrote in list.freebsd-hackers: > > On Sun, 12 Mar 2000, Oliver Fromme wrote: > > > Then look up the definition of kread() in the same file, and > > > how the contents of cur.cp_time are used in the cpustats() > > > function. Note that "cur" is a "struct statinfo", which is > > > defined in /usr/include/devstat.h. The CPU states are defined > > > in /usr/include/sys/dkstat.h. > > > > We probably should make this into a sysctl to divorce the binaries from > > having to read kvm. > > Sounds like a good idea. But then again, vmstat.c uses kvm > for about a dozen different things. Shouldn't they all be > made into sysctls then? Just wondering... Many of them can already be obtained via sysctl (e.g. vmtotal, proc list). This is rather historical dependency, or one related to very rare uses (like reading VM statistics from post mortem dump). Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12: 1:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 129E937BD15; Sun, 12 Mar 2000 12:01:09 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from zippy.cdrom.com (jkh@localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id MAA16181; Sun, 12 Mar 2000 12:00:46 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) To: Andrzej Bialecki Cc: Kris Kennaway , freebsd-hackers@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: Getting CPU usage in FreeBSD In-reply-to: Your message of "Sun, 12 Mar 2000 16:42:26 +0100." Date: Sun, 12 Mar 2000 12:00:46 -0800 Message-ID: <16178.952891246@zippy.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm definitely for it... If I can get permission from Jordan, perhaps the > attached patches can make it into upcoming release. I think it's a fine idea, I'm just not sure one day before release is the time to be talking about it. It should have been raised before now. :( - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:13:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id B165537B6CD for ; Sun, 12 Mar 2000 12:13:12 -0800 (PST) (envelope-from dennis@etinc.com) Received: from workstation.etinc.com (port36.netsvr1.cst.vastnet.net [207.252.73.36]) by etinc.com (8.9.3/8.9.3) with SMTP id PAA00812; Sun, 12 Mar 2000 15:12:12 -0500 (EST) Message-Id: <200003122012.PAA00812@etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Mon, 13 Mar 2000 03:44:04 -0500 To: Jeroen Ruigrok/Asmodai , Joe Abley From: Dennis Subject: Re: Is FreeBSD dead? Well, not in theory... Cc: hackers@FreeBSD.ORG In-Reply-To: <20000312193205.W68308@daemon.ninth-circle.org> References: <20000312083736.A27614@patho.gen.nz> <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000312083736.A27614@patho.gen.nz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 07:32 PM 3/12/00 +0100, Jeroen Ruigrok/Asmodai wrote: >-On [20000312 00:00], Joe Abley (jabley@patho.gen.nz) wrote: >>On Sat, Mar 11, 2000 at 01:36:31PM -0500, Dennis wrote: > >>> Another point is that Open Source is virtually synonomous with "Totally >>> undocumented". >> >>This is sillier. > >Exactly, and it also slightly pisses me off... > >Then I guess I wrote all the manpages and documents for nothing. > >elf.5 comes to mind for a very handy resource. > >http://home.wxs.nl/~asmodai/newbus-draft.txt comes to mind. And when >that is finished the manpages will follow. > >That's also why I am wasting my time slowly documenting the FreeBSD >internals in my spare time. "slowly" is the key word here. Real products are documented before they are in commercial use. Plus by the time you're done they will be outdated...another common problem. Why are you arguing this point? Is there anyone that believes that Linux and FreeBSD are well documented? Please. The books are out of date before they hit the stores. DB . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:14:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from account.abs.net (account.abs.net [207.114.5.70]) by hub.freebsd.org (Postfix) with ESMTP id 5178F37B849 for ; Sun, 12 Mar 2000 12:14:42 -0800 (PST) (envelope-from howardl@account.abs.net) Received: (from howardl@localhost) by account.abs.net (8.9.3/8.9.3+RBL+DUL+RSS+ORBS) id PAA29351 for freebsd-hackers@freebsd.org; Sun, 12 Mar 2000 15:14:40 -0500 (EST) (envelope-from howardl) From: Howard Leadmon Message-Id: <200003122014.PAA29351@account.abs.net> Subject: Buffer Problems and hangs in 4.0-CURRENT.. To: freebsd-hackers@freebsd.org Date: Sun, 12 Mar 2000 15:14:40 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL72 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I am getting the following errors out of FreeBSD 4.0-CURRENT trying to run an IRC server, and was wondering if anyone had any ideas or recommended tunables I should set?? Mar 9 22:32:03 u /usr/ircd/undernet/ircd[154]: Unable to create auth socket for [@163.152.216.46]:No buffer space available Mar 9 22:32:03 u /usr/ircd/undernet/ircd[154]: Unable to create auth socket for [@208.164.193.201]:No buffer space available Mar 9 22:33:00 u syslogd: sendto: No buffer space available I have actually been fighting a problem with this machine locking up, and requiring a hard reset, and this is the only type errors I am actually seeing in the messages file. Not sure if this can cause such problems, so kind of grasping at straws to try and correct it. FYI, the IRC machine supports 4000+ clients connected at the same time, so if anyone has recommended tunables for this type of setup with so many active connections I would love to hear about it.. --- Howard Leadmon - howardl@abs.net - http://www.abs.net ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:20:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from tardis.patho.gen.nz (tardis.patho.gen.nz [203.97.2.226]) by hub.freebsd.org (Postfix) with ESMTP id C71FA37BE58 for ; Sun, 12 Mar 2000 12:20:21 -0800 (PST) (envelope-from jabley@tardis.patho.gen.nz) Received: (from jabley@localhost) by tardis.patho.gen.nz (8.9.3/8.9.3) id JAA20748; Mon, 13 Mar 2000 09:19:45 +1300 (NZDT) Date: Mon, 13 Mar 2000 09:19:43 +1300 From: Joe Abley To: Dennis Cc: Jeroen Ruigrok/Asmodai , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... Message-ID: <20000313091940.B18713@patho.gen.nz> References: <20000312083736.A27614@patho.gen.nz> <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000312083736.A27614@patho.gen.nz> <20000312193205.W68308@daemon.ninth-circle.org> <200003122012.PAA00812@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003122012.PAA00812@etinc.com>; from dennis@etinc.com on Mon, Mar 13, 2000 at 03:44:04AM -0500 X-Files: the Truth is Out There Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 13, 2000 at 03:44:04AM -0500, Dennis wrote: > At 07:32 PM 3/12/00 +0100, Jeroen Ruigrok/Asmodai wrote: > >That's also why I am wasting my time slowly documenting the FreeBSD > >internals in my spare time. > > "slowly" is the key word here. Real products are documented before they are > in commercial use. Plus by the time you're done they will be > outdated...another common problem. I have yet to find a "real product" with good documentation. > Why are you arguing this point? Is there anyone that believes that Linux > and FreeBSD are well documented? Yes. > Please. The books are out of date before they hit the stores. Books? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:29:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6D17F37BD62 for ; Sun, 12 Mar 2000 12:28:52 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id NAA26685; Sun, 12 Mar 2000 13:01:12 -0800 (PST) Date: Sun, 12 Mar 2000 13:01:12 -0800 From: Alfred Perlstein To: Howard Leadmon Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. Message-ID: <20000312130111.K14279@fw.wintelcom.net> References: <200003122014.PAA29351@account.abs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003122014.PAA29351@account.abs.net>; from howardl@account.abs.net on Sun, Mar 12, 2000 at 03:14:40PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Howard Leadmon [000312 12:51] wrote: > > Hello, > > I am getting the following errors out of FreeBSD 4.0-CURRENT trying to > run an IRC server, and was wondering if anyone had any ideas or recommended > tunables I should set?? > > > Mar 9 22:32:03 u /usr/ircd/undernet/ircd[154]: Unable to create auth socket for [@163.152.216.46]:No buffer space available > Mar 9 22:32:03 u /usr/ircd/undernet/ircd[154]: Unable to create auth socket for [@208.164.193.201]:No buffer space available > Mar 9 22:33:00 u syslogd: sendto: No buffer space available I'm assuming you haven't tuned a single thing, therefor you'll want to double "maxusers" in your kernel config file. It would help if you told us the configuration of the machine so that I felt comfortable giving more specific tunables without worrying about them causing other problems because of lack of RAM. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:30:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.ct.home.com (ha1.rdc1.ct.home.com [24.2.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 77F4C37BD0B for ; Sun, 12 Mar 2000 12:30:37 -0800 (PST) (envelope-from tsikora@home.com) Received: from home.com ([24.2.168.186]) by mail.rdc1.ct.home.com (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <20000312203036.FUDZ24587.mail.rdc1.ct.home.com@home.com> for ; Sun, 12 Mar 2000 12:30:36 -0800 Message-ID: <38CBFE3A.12F3835B@home.com> Date: Sun, 12 Mar 2000 15:29:46 -0500 From: Ted Sikora Organization: Jtl Development X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15pre13 i686) X-Accept-Language: en-US,en-GB MIME-Version: 1.0 To: "freebsd-hackers@FreeBSD.ORG" Subject: 5.0 features? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Excerpt from Slashdot interview: David Greenman and Mike Karels will be working together as co-architects for the new system. As features are merged in, they will be available for download at www.freebsd.org, and on "snapshot" CDROMs. The completely merged system will be released as FreeBSD 5.0. What kind of features and additions can we expect from the merged systems in 5.0? It looks as though this has been in the works for sometime. I think I read somewhere that SMP support would be much improved? Regards, -- Ted Sikora Jtl Development Group tsikora@powerusersbbs.com http://powerusersbbs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:43:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 46BFE37B792 for ; Sun, 12 Mar 2000 12:43:33 -0800 (PST) (envelope-from dennis@etinc.com) Received: from workstation.etinc.com (port36.netsvr1.cst.vastnet.net [207.252.73.36]) by etinc.com (8.9.3/8.9.3) with SMTP id PAA00896; Sun, 12 Mar 2000 15:42:42 -0500 (EST) Message-Id: <200003122042.PAA00896@etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Mon, 13 Mar 2000 04:14:34 -0500 To: Joe Abley From: Dennis Subject: Re: Is FreeBSD dead? Well, not in theory... Cc: Jeroen Ruigrok/Asmodai , hackers@FreeBSD.ORG In-Reply-To: <20000313091940.B18713@patho.gen.nz> References: <200003122012.PAA00812@etinc.com> <20000312083736.A27614@patho.gen.nz> <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000312083736.A27614@patho.gen.nz> <20000312193205.W68308@daemon.ninth-circle.org> <200003122012.PAA00812@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:19 AM 3/13/00 +1300, Joe Abley wrote: >On Mon, Mar 13, 2000 at 03:44:04AM -0500, Dennis wrote: >> At 07:32 PM 3/12/00 +0100, Jeroen Ruigrok/Asmodai wrote: >> >That's also why I am wasting my time slowly documenting the FreeBSD >> >internals in my spare time. >> >> "slowly" is the key word here. Real products are documented before they are >> in commercial use. Plus by the time you're done they will be >> outdated...another common problem. > >I have yet to find a "real product" with good documentation. I hate when these discussions get so out of context. The original point regarded source code, and whether it was useful enough to allow end-users to maintain their own systems simply by having it, since many of the caveats and "code tricks" are known only to the authors, or because of the substantial learning curve of fully understanding a hardware device. The discussion about general docs for the OS is a completely different matter. DB ------------------------------------------------------------------------- http://www.etinc.com T1/T3 boards for FreeBSD and Linux Multiport T1/T3 Routers Full-Featured Bandwidth Manager To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:48:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from account.abs.net (account.abs.net [207.114.5.70]) by hub.freebsd.org (Postfix) with ESMTP id 6CBEA37B844 for ; Sun, 12 Mar 2000 12:48:26 -0800 (PST) (envelope-from howardl@account.abs.net) Received: (from howardl@localhost) by account.abs.net (8.9.3/8.9.3+RBL+DUL+RSS+ORBS) id PAA31595; Sun, 12 Mar 2000 15:48:23 -0500 (EST) (envelope-from howardl) From: Howard Leadmon Message-Id: <200003122048.PAA31595@account.abs.net> Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. In-Reply-To: <20000312130111.K14279@fw.wintelcom.net> from Alfred Perlstein at "Mar 12, 2000 01:01:12 pm" To: Alfred Perlstein Date: Sun, 12 Mar 2000 15:48:23 -0500 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL72 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hello, > > > > I am getting the following errors out of FreeBSD 4.0-CURRENT trying to > > run an IRC server, and was wondering if anyone had any ideas or recommended > > tunables I should set?? > > > > > > Mar 9 22:32:03 u /usr/ircd/undernet/ircd[154]: Unable to create auth socket for [@163.152.216.46]:No buffer space available > > Mar 9 22:32:03 u /usr/ircd/undernet/ircd[154]: Unable to create auth socket for [@208.164.193.201]:No buffer space available > > Mar 9 22:33:00 u syslogd: sendto: No buffer space available > > I'm assuming you haven't tuned a single thing, therefor you'll want > to double "maxusers" in your kernel config file. > > It would help if you told us the configuration of the machine so that > I felt comfortable giving more specific tunables without worrying > about them causing other problems because of lack of RAM. > > -Alfred Howdy, Not a whole lot done, I had the MAXUSERS set to 128, though am about to bump it to 256 when I rebuild to see if that helps. I used to have some tunables for BSDI when I used it, but when I tried to apply them to FBSD it bitched about them being unknown so I just left them out. Was also going to move NMBCLUSTERS up to 20480, not sure if thats the solution or not. I can post the whole config if desired, but really it's very close to the GENERIC except I added SOFTUPDATES, and removed all the drivers I didn't need for my system to hopefully slim it down some.. --- Howard Leadmon - howardl@abs.net - http://www.abs.net ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:55:55 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 7FA6837BBE4 for ; Sun, 12 Mar 2000 12:55:52 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id NAA27336; Sun, 12 Mar 2000 13:28:11 -0800 (PST) Date: Sun, 12 Mar 2000 13:28:11 -0800 From: Alfred Perlstein To: Howard Leadmon Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. Message-ID: <20000312132811.N14279@fw.wintelcom.net> References: <20000312130111.K14279@fw.wintelcom.net> <200003122048.PAA31595@account.abs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003122048.PAA31595@account.abs.net>; from howardl@account.abs.net on Sun, Mar 12, 2000 at 03:48:23PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Howard Leadmon [000312 13:20] wrote: > > > > Hello, > > > > > > I am getting the following errors out of FreeBSD 4.0-CURRENT trying to > > > run an IRC server, and was wondering if anyone had any ideas or recommended > > > tunables I should set?? > > > > > > > > > Mar 9 22:32:03 u /usr/ircd/undernet/ircd[154]: Unable to create auth socket for [@163.152.216.46]:No buffer space available > > > Mar 9 22:32:03 u /usr/ircd/undernet/ircd[154]: Unable to create auth socket for [@208.164.193.201]:No buffer space available > > > Mar 9 22:33:00 u syslogd: sendto: No buffer space available > > > > I'm assuming you haven't tuned a single thing, therefor you'll want > > to double "maxusers" in your kernel config file. > > > > It would help if you told us the configuration of the machine so that > > I felt comfortable giving more specific tunables without worrying > > about them causing other problems because of lack of RAM. > > > > -Alfred > > > Howdy, > > Not a whole lot done, I had the MAXUSERS set to 128, though am about to > bump it to 256 when I rebuild to see if that helps. I used to have some > tunables for BSDI when I used it, but when I tried to apply them to FBSD > it bitched about them being unknown so I just left them out. Was also > going to move NMBCLUSTERS up to 20480, not sure if thats the solution or > not. I can post the whole config if desired, but really it's very close > to the GENERIC except I added SOFTUPDATES, and removed all the drivers I > didn't need for my system to hopefully slim it down some.. grrrr, you _still_ haven't even told me how much RAM is in the box and what else it does if anything. Without that kind of information I'm not too comfortable giving advice on tuneables because I DON'T KNOW WHAT I'M TUNING :), when I've just blindly told people to increase NMBCLUSTERS they've had other problems because the kernel's network buffers wired down all the machine's memory. Yes, increasing NMBLCUSTERS is a good thing, but without your configuration it's hard to say how much to increase it. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 12:59:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sr14.nsw-remote.bigpond.net.au (sr14.nsw-remote.bigpond.net.au [24.192.3.29]) by hub.freebsd.org (Postfix) with ESMTP id 8776E37B844 for ; Sun, 12 Mar 2000 12:59:44 -0800 (PST) (envelope-from areilly@nsw.bigpond.net.au) Received: from areilly.bpc-users.org (CPE-144-132-171-71.nsw.bigpond.net.au [144.132.171.71]) by sr14.nsw-remote.bigpond.net.au (Pro-8.9.3/8.9.3) with SMTP id HAA11996 for ; Mon, 13 Mar 2000 07:59:40 +1100 (EDT) Received: (qmail 91197 invoked by uid 1000); 12 Mar 2000 20:59:40 -0000 From: "Andrew Reilly" Date: Mon, 13 Mar 2000 07:59:40 +1100 To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... Message-ID: <20000313075939.A90430@gurney.reilly.home> References: <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <200003111841.NAA17534@etinc.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 11, 2000 at 01:36:31PM -0500, Dennis wrote: [open source is irrelevant because none but but the authors can really fix things] [open source _means_ that it's never finished] [the existing commercial support sucks] Seems like a pretty pointless and content-free set of remarks to be making on the mailing lists of a successful open-source project. Particularly from someone who obviously _does_ use and support open source projects. Go on, what's your real point? -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 13: 5:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.netcom.com (freebsd.netcom.com [198.211.79.3]) by hub.freebsd.org (Postfix) with ESMTP id 5529837BD64 for ; Sun, 12 Mar 2000 13:05:43 -0800 (PST) (envelope-from bugs@freebsd.netcom.com) Received: (from bugs@localhost) by freebsd.netcom.com (8.8.8+Sun/8.8.8) id PAA19501 for freebsd-hackers@freebsd.org; Sun, 12 Mar 2000 15:11:51 -0600 (CST) From: Mark Hittinger Message-Id: <200003122111.PAA19501@freebsd.netcom.com> Subject: re: 5.0 features? To: freebsd-hackers@freebsd.org Date: Sun, 12 Mar 2000 15:11:51 -0600 (CST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Something that the old DEC took a few stabs at was the idea of a "checkpoint" feature where a process or a series of processes could be put in a quiesced state. This would page out the process or processes into the swap space, allow a hardware shutdown, and after a reboot allow the restart of the checkpointed process(es). (Not as fun as SMP but fairly slick) Later Mark Hittinger Earthlink!Mindspring!Netcom!Dallas bugs@freebsd.netcom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 13:10:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sr14.nsw-remote.bigpond.net.au (sr14.nsw-remote.bigpond.net.au [24.192.3.29]) by hub.freebsd.org (Postfix) with ESMTP id D5D2737BD81 for ; Sun, 12 Mar 2000 13:10:48 -0800 (PST) (envelope-from areilly@nsw.bigpond.net.au) Received: from areilly.bpc-users.org (CPE-144-132-171-71.nsw.bigpond.net.au [144.132.171.71]) by sr14.nsw-remote.bigpond.net.au (Pro-8.9.3/8.9.3) with SMTP id IAA12708 for ; Mon, 13 Mar 2000 08:10:45 +1100 (EDT) Received: (qmail 91956 invoked by uid 1000); 12 Mar 2000 21:10:43 -0000 From: "Andrew Reilly" Date: Mon, 13 Mar 2000 08:10:43 +1100 To: Dennis Cc: Joe Abley , Jeroen Ruigrok/Asmodai , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... Message-ID: <20000313081043.B90430@gurney.reilly.home> References: <200003122012.PAA00812@etinc.com> <20000312083736.A27614@patho.gen.nz> <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000312083736.A27614@patho.gen.nz> <20000312193205.W68308@daemon.ninth-circle.org> <200003122012.PAA00812@etinc.com> <20000313091940.B18713@patho.gen.nz> <200003122042.PAA00896@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <200003122042.PAA00896@etinc.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 13, 2000 at 04:14:34AM -0500, Dennis wrote: > At 09:19 AM 3/13/00 +1300, Joe Abley wrote: > >I have yet to find a "real product" with good documentation. > > I hate when these discussions get so out of context. The original point > regarded source code, and whether it was useful enough to allow end-users > to maintain their own systems simply by having it, since many of the > caveats and "code tricks" are known only to the authors, or because of the > substantial learning curve of fully understanding a hardware device. Well, I've been able to get several problems "fixed" as a result of having the source code. I might not be able to fix the problem myself, but I can usually (a) work around it and (b) submit a detailed-enough PR or message to the author, including a pointer to the problem piece of code and what I think's wrong with it, that a fix has been installed in very short order. How much better would I have fared with Solaris, SCO or NT? What does it matter if there are users that can't derive even this level of utility from the source, when there _arent_ any better alternatives. Again, your complaint has no positive arguments for ways to improve the situation, or alternative scenarios that would be better. It is just an unhelpful whinge. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 13:11:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 7F8F237BC42; Sun, 12 Mar 2000 13:11:21 -0800 (PST) (envelope-from Doug@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id NAA72926; Sun, 12 Mar 2000 13:11:20 -0800 (PST) (envelope-from Doug@gorean.org) Message-ID: <38CC07F7.B55F708B@gorean.org> Date: Sun, 12 Mar 2000 13:11:19 -0800 From: Doug Barton Reply-To: freebsd-hackers@freebsd.org Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-CURRENT-0307 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith Cc: Carroll Kong , freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Detecting ECC errors References: <200003121934.LAA08972@mass.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG CC'ing -hackers in case we can scare up some interest . . . Mike Smith wrote: > > > Hi. I took a look over the archives and noticed this ancient > > thread. (1998) However, I checked the handbook and LINT for options on > > how FreeBSD logs ECC errors, but I could not find anything. Has this > > finally been implemented? Or is there currently no way for the OS to > > detect the # of corrections / detections of errors by DIMM slot? > > You're correct; there isn't. It's a relatively simple task that's been > waiting for a junior hacker to come along and take it up. It's also > devillishly difficult to _test_ such code... This would be a very valuable thing to have though (just to restate the obvious). We had a sun machine go down at work with no symptoms at all... other than the log which showed that ECC errors were being caught and corrected (mostly) at a furious pace. If not for that log we would have spent hours testing possible reasons for the crash. Doug -- "Welcome to the desert of the real." - Laurence Fishburne as Morpheus, "The Matrix" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 13:18:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from account.abs.net (account.abs.net [207.114.5.70]) by hub.freebsd.org (Postfix) with ESMTP id 3D8F237BD17 for ; Sun, 12 Mar 2000 13:18:23 -0800 (PST) (envelope-from howardl@account.abs.net) Received: (from howardl@localhost) by account.abs.net (8.9.3/8.9.3+RBL+DUL+RSS+ORBS) id QAA33520; Sun, 12 Mar 2000 16:18:19 -0500 (EST) (envelope-from howardl) From: Howard Leadmon Message-Id: <200003122118.QAA33520@account.abs.net> Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. In-Reply-To: <20000312132811.N14279@fw.wintelcom.net> from Alfred Perlstein at "Mar 12, 2000 01:28:11 pm" To: Alfred Perlstein Date: Sun, 12 Mar 2000 16:18:19 -0500 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL72 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Not a whole lot done, I had the MAXUSERS set to 128, though am about to > > bump it to 256 when I rebuild to see if that helps. I used to have some > > tunables for BSDI when I used it, but when I tried to apply them to FBSD > > it bitched about them being unknown so I just left them out. Was also > > going to move NMBCLUSTERS up to 20480, not sure if thats the solution or > > not. I can post the whole config if desired, but really it's very close > > to the GENERIC except I added SOFTUPDATES, and removed all the drivers I > > didn't need for my system to hopefully slim it down some.. > > grrrr, you _still_ haven't even told me how much RAM is in the box > and what else it does if anything. > > Without that kind of information I'm not too comfortable giving > advice on tuneables because I DON'T KNOW WHAT I'M TUNING :), when > I've just blindly told people to increase NMBCLUSTERS they've had > other problems because the kernel's network buffers wired down all > the machine's memory. > > Yes, increasing NMBLCUSTERS is a good thing, but without your > configuration it's hard to say how much to increase it. > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Sorry, thought you were asking about the kernel configs, not the hardware configs. Here is my current running config via dmesg, as I think that covers it all.. Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #3: Tue Mar 7 04:20:22 EST 2000 root@u2.abs.net:/usr/src/sys/compile/U2 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (551.25-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 402587648 (393152K bytes) config> q avail memory = 387334144 (378256K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc02cc000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02cc09c. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: at 7.2 irq 5 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x5000-0x500f at device 7.3 on pci0 dc0: port 0xd400-0xd47f mem 0xd5410000-0xd54103ff irq 17 at device 13.0 on pci0 dc0: Ethernet address: 00:c0:f0:3b:a7:eb miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 15.0 irq 16 atapci1: port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 18 at device 19.0 on pci0 atapci2: port 0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 18 at device 19.1 on pci0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 SMP: AP CPU #1 Launched! ad0: 8693MB [17662/16/63] at ata0-master using UDMA33 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted dc0: TX underrun -- increasing TX threshold Did I miss anything important you need?? --- Howard Leadmon - howardl@abs.net - http://www.abs.net ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 13:33:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id CD34037B50E for ; Sun, 12 Mar 2000 13:33:35 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id OAA28575; Sun, 12 Mar 2000 14:33:12 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id OAA09182; Sun, 12 Mar 2000 14:33:11 -0700 (MST) (envelope-from nate) Date: Sun, 12 Mar 2000 14:33:11 -0700 (MST) Message-Id: <200003122133.OAA09182@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Dennis Cc: Jeroen Ruigrok/Asmodai , Joe Abley , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... In-Reply-To: <200003122012.PAA00812@etinc.com> References: <20000312083736.A27614@patho.gen.nz> <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000312193205.W68308@daemon.ninth-circle.org> <200003122012.PAA00812@etinc.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >That's also why I am wasting my time slowly documenting the FreeBSD > >internals in my spare time. > > "slowly" is the key word here. Real products are documented before they are > in commercial use. Really? That's very different from my experience as a commercial software developer. And, it's not the experience I had from using your products as well. Documentation was as sparse as the FreeBSD documentation, but this is typical of most projects, except for government projects which requires truckloads of documentation. That's the main reason that government projects are rarely on time and budget, and never end up with the features that are desired. They spend all their time documenting, and no time implementing. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 13:35:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6925237BC42 for ; Sun, 12 Mar 2000 13:35:22 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id OAA28378; Sun, 12 Mar 2000 14:07:38 -0800 (PST) Date: Sun, 12 Mar 2000 14:07:38 -0800 From: Alfred Perlstein To: Howard Leadmon Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. Message-ID: <20000312140738.P14279@fw.wintelcom.net> References: <20000312132811.N14279@fw.wintelcom.net> <200003122118.QAA33520@account.abs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003122118.QAA33520@account.abs.net>; from howardl@account.abs.net on Sun, Mar 12, 2000 at 04:18:19PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Howard Leadmon [000312 13:50] wrote: > > > > Not a whole lot done, I had the MAXUSERS set to 128, though am about to > > > bump it to 256 when I rebuild to see if that helps. I used to have some > > > tunables for BSDI when I used it, but when I tried to apply them to FBSD > > > it bitched about them being unknown so I just left them out. Was also > > > going to move NMBCLUSTERS up to 20480, not sure if thats the solution or > > > not. I can post the whole config if desired, but really it's very close > > > to the GENERIC except I added SOFTUPDATES, and removed all the drivers I > > > didn't need for my system to hopefully slim it down some.. > > > > grrrr, you _still_ haven't even told me how much RAM is in the box > > and what else it does if anything. > > > > Without that kind of information I'm not too comfortable giving > > advice on tuneables because I DON'T KNOW WHAT I'M TUNING :), when > > I've just blindly told people to increase NMBCLUSTERS they've had > > other problems because the kernel's network buffers wired down all > > the machine's memory. > > > > Yes, increasing NMBLCUSTERS is a good thing, but without your > > configuration it's hard to say how much to increase it. > > > > -- > > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > > > Sorry, thought you were asking about the kernel configs, not the > hardware configs. Here is my current running config via dmesg, as > I think that covers it all.. > > > Copyright (c) 1992-2000 The FreeBSD Project. ... > real memory = 402587648 (393152K bytes) > config> q > avail memory = 387334144 (378256K bytes) > Programming 24 pins in IOAPIC #0 > IOAPIC #0 intpin 2 -> irq 0 > FreeBSD/SMP: Multiprocessor motherboard > cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 > cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 > io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 > > Did I miss anything important you need?? No that's fine, I run several machines with maxusers at 512 and NMBCLUSTERS at 32768 (although the ram is usually at 512 to a 1024), let me know if you have any problems with those settings though as I'd like to know if they are set too high for heavy load. I would also suggest using fxp cards (Intel Ether Express Pro) in the future, they are definetly my favorite. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 13:45:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 994AF37BBF8 for ; Sun, 12 Mar 2000 13:45:45 -0800 (PST) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id QAA56550; Sun, 12 Mar 2000 16:42:49 -0500 (EST) (envelope-from chuckr@picnic.mat.net) Date: Sun, 12 Mar 2000 16:42:49 -0500 (EST) From: Chuck Robey To: Nate Williams Cc: Dennis , Jeroen Ruigrok/Asmodai , Joe Abley , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... In-Reply-To: <200003122133.OAA09182@nomad.yogotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 12 Mar 2000, Nate Williams wrote: > > >That's also why I am wasting my time slowly documenting the FreeBSD > > >internals in my spare time. > > > > "slowly" is the key word here. Real products are documented before they are > > in commercial use. > > Really? That's very different from my experience as a commercial > software developer. > > And, it's not the experience I had from using your products as well. > Documentation was as sparse as the FreeBSD documentation, but this is > typical of most projects, except for government projects which requires > truckloads of documentation. > > That's the main reason that government projects are rarely on time and > budget, and never end up with the features that are desired. They spend > all their time documenting, and no time implementing. :) You ever see those docs they write? Generally, it's an odd case of nothing actually being better than something. I did once see a company that did the docs first, and then used those docs as the design template. Any changes in the design had to be modified in the docs first, and the docs were under a version control system. That was the one and only time I ever saw that. Dennis is living on another planet than we do. And don't call the stuff that comes with consumer products docs, because they are usually written by marketing, and usually largely a work of fiction. ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 14:14:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id C279A37BD15; Sun, 12 Mar 2000 14:14:45 -0800 (PST) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 327D62DC09; Sun, 12 Mar 2000 23:19:07 +0100 (CET) Received: by mx.webgiro.com (Postfix, from userid 1001) id D1D7B7811; Sun, 12 Mar 2000 23:10:13 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id CF9E610E16; Sun, 12 Mar 2000 23:10:13 +0100 (CET) Date: Sun, 12 Mar 2000 23:10:13 +0100 (CET) From: Andrzej Bialecki To: "Jordan K. Hubbard" Cc: Kris Kennaway , freebsd-hackers@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: Getting CPU usage in FreeBSD In-Reply-To: <16178.952891246@zippy.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 12 Mar 2000, Jordan K. Hubbard wrote: > > I'm definitely for it... If I can get permission from Jordan, perhaps the > > attached patches can make it into upcoming release. > > I think it's a fine idea, I'm just not sure one day before release > is the time to be talking about it. It should have been raised > before now. :( I understand your concern. I don't think the sky will fall on our heads if these patches will be integrated after the release. :-) They are more like a convenience, not a must. Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 15:20:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id 7349037BBE4 for ; Sun, 12 Mar 2000 15:20:49 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.9.3/8.9.3) id RAA13639; Sun, 12 Mar 2000 17:24:06 -0600 (CST) (envelope-from jlemon) Date: Sun, 12 Mar 2000 17:24:06 -0600 (CST) From: Jonathan Lemon Message-Id: <200003122324.RAA13639@prism.flugsvamp.com> To: bugs@freebsd.netcom.com, hackers@freebsd.org Subject: Re: 5.0 features? X-Newsgroups: local.mail.freebsd-hackers In-Reply-To: Organization: Cc: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article you write: > >Something that the old DEC took a few stabs at was the idea of a >"checkpoint" feature where a process or a series of processes could be >put in a quiesced state. This would page out the process or processes >into the swap space, allow a hardware shutdown, and after a reboot allow >the restart of the checkpointed process(es). You might want to look at Condor , which does something similar; processes are allowed to be checkpointed and "migrated" to another machine. Sounds similar to what you describe above. It's fairly useful for high-throughput computing (making use of all/any idle CPU cycles). -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 15:24: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from account.abs.net (account.abs.net [207.114.5.70]) by hub.freebsd.org (Postfix) with ESMTP id 445D437B582 for ; Sun, 12 Mar 2000 15:23:54 -0800 (PST) (envelope-from howardl@account.abs.net) Received: (from howardl@localhost) by account.abs.net (8.9.3/8.9.3+RBL+DUL+RSS+ORBS) id SAA41606; Sun, 12 Mar 2000 18:23:52 -0500 (EST) (envelope-from howardl) From: Howard Leadmon Message-Id: <200003122323.SAA41606@account.abs.net> Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. In-Reply-To: <20000312132811.N14279@fw.wintelcom.net> from Alfred Perlstein at "Mar 12, 2000 01:28:11 pm" To: Alfred Perlstein Date: Sun, 12 Mar 2000 18:23:52 -0500 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL72 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Copyright (c) 1992-2000 The FreeBSD Project. > ... > > real memory = 402587648 (393152K bytes) > > config> q > > avail memory = 387334144 (378256K bytes) > > Programming 24 pins in IOAPIC #0 > > IOAPIC #0 intpin 2 -> irq 0 > > FreeBSD/SMP: Multiprocessor motherboard > > cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 > > cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 > > io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 > > > > Did I miss anything important you need?? > > No that's fine, I run several machines with maxusers at 512 and > NMBCLUSTERS at 32768 (although the ram is usually at 512 to a 1024), > let me know if you have any problems with those settings though as > I'd like to know if they are set too high for heavy load. > > I would also suggest using fxp cards (Intel Ether Express Pro) in > the future, they are definetly my favorite. > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] I'll let you know how things pan out, but I just did a cvsup to the current code as of today, and also changed the MAXUSERS to 256, and the NMBCLUSTERS to 20480 in the current kernel. I did do a netstat -m on the box and see: u2.abs.net$ netstat -m 3798/4800/81920 mbufs in use (current/peak/max): 2179 mbufs allocated to data 1619 mbufs allocated to packet headers 784/1152/20480 mbuf clusters in use (current/peak/max) 2904 Kbytes allocated to network (70% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Though the box is not even close to full load, that I will see later on tonight when everyone gets on to chat. I don't remember it ever having 81k mbufs available, so guess changing MAXUSERS set that one up. Anyhow I'll try and keep an eye on it, the real problem is that it just dies and needs a reboot at times, so I don't get to see if I had any failures.. :( As for the EEpro, I thought Intel had dropped that card, but maybe I am wrong. I used the DEC based cards as I had seen so many people raving about them, and at least under Solaris they claim the DEC tulip based boards are the hot ticket. Do you think the Intel board would really work that much better under FBSD, as I can always try and find one to try out.. --- Howard Leadmon - howardl@abs.net - http://www.abs.net ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 15:41:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 516DC37BC42 for ; Sun, 12 Mar 2000 15:41:27 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id AAA25674 for ; Mon, 13 Mar 2000 00:37:10 +0100 (CET) Message-Id: <200003122337.AAA25674@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: freebsd-hackers@FreeBSD.ORG Subject: Re: 5.0 features? Reply-To: Gary Jennejohn In-reply-to: Your message of "Sun, 12 Mar 2000 15:11:51 CST." <200003122111.PAA19501@freebsd.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 13 Mar 2000 00:37:10 +0100 From: Gary Jennejohn Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Hittinger writes: > >Something that the old DEC took a few stabs at was the idea of a >"checkpoint" feature where a process or a series of processes could be >put in a quiesced state. This would page out the process or processes >into the swap space, allow a hardware shutdown, and after a reboot allow >the restart of the checkpointed process(es). > I did something like this for Philips while I was at UniSoft. It depended on some special hardware features (turning off/losing power generated an interrupt, there was a small UPS in the box along with battery-backed SRAM to save various kernel structures). Turning off the power caused all memory to be saved to disk (the kernel turned off the UPS after it was done). Upon a restart the kernel noticed that memory had been saved, read the contents in from disk, futzed around with some structures, and restarted what was curproc at the time of shutdown. It even worked ;-) Philips never did anything with it. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 15:53:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 4500237B547 for ; Sun, 12 Mar 2000 15:53:46 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id QAA01813; Sun, 12 Mar 2000 16:26:05 -0800 (PST) Date: Sun, 12 Mar 2000 16:26:05 -0800 From: Alfred Perlstein To: Howard Leadmon Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. Message-ID: <20000312162605.R14279@fw.wintelcom.net> References: <20000312132811.N14279@fw.wintelcom.net> <200003122323.SAA41606@account.abs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003122323.SAA41606@account.abs.net>; from howardl@account.abs.net on Sun, Mar 12, 2000 at 06:23:52PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Howard Leadmon [000312 15:56] wrote: > > > > Copyright (c) 1992-2000 The FreeBSD Project. > > ... > > > real memory = 402587648 (393152K bytes) > > > config> q > > > avail memory = 387334144 (378256K bytes) > > > Programming 24 pins in IOAPIC #0 > > > IOAPIC #0 intpin 2 -> irq 0 > > > FreeBSD/SMP: Multiprocessor motherboard > > > cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 > > > cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 > > > io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 > > > > > > Did I miss anything important you need?? > > > > No that's fine, I run several machines with maxusers at 512 and > > NMBCLUSTERS at 32768 (although the ram is usually at 512 to a 1024), > > let me know if you have any problems with those settings though as > > I'd like to know if they are set too high for heavy load. > > > > I would also suggest using fxp cards (Intel Ether Express Pro) in > > the future, they are definetly my favorite. > > > > -- > > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > > > I'll let you know how things pan out, but I just did a cvsup to the > current code as of today, and also changed the MAXUSERS to 256, and > the NMBCLUSTERS to 20480 in the current kernel. > > I did do a netstat -m on the box and see: > > u2.abs.net$ netstat -m > 3798/4800/81920 mbufs in use (current/peak/max): > 2179 mbufs allocated to data > 1619 mbufs allocated to packet headers > 784/1152/20480 mbuf clusters in use (current/peak/max) > 2904 Kbytes allocated to network (70% in use) > 0 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > > > Though the box is not even close to full load, that I will see later on > tonight when everyone gets on to chat. I don't remember it ever having > 81k mbufs available, so guess changing MAXUSERS set that one up. Anyhow > I'll try and keep an eye on it, the real problem is that it just dies and > needs a reboot at times, so I don't get to see if I had any failures.. :( > > As for the EEpro, I thought Intel had dropped that card, but maybe I am > wrong. I used the DEC based cards as I had seen so many people raving > about them, and at least under Solaris they claim the DEC tulip based > boards are the hot ticket. Do you think the Intel board would really work > that much better under FBSD, as I can always try and find one to try out.. Use what works for you. Please make sure to follow up even if everything works out smoothly, it's great to hear about success stories. :) thanks, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 16: 6:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mycenae.ilion.eu.org (mycenae.ilion.eu.org [203.35.206.129]) by hub.freebsd.org (Postfix) with ESMTP id E985537B50E for ; Sun, 12 Mar 2000 16:06:37 -0800 (PST) (envelope-from patrykz@ilion.eu.org) Received: from mycenae.ilion.eu.org (localhost [127.0.0.1]) by mycenae.ilion.eu.org (8.9.3/8.9.3) with ESMTP id LAA05238; Mon, 13 Mar 2000 11:06:26 +1100 (EST) (envelope-from patrykz@mycenae.ilion.eu.org) Message-Id: <200003130006.LAA05238@mycenae.ilion.eu.org> To: Gary Jennejohn Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: 5.0 features? In-reply-to: Your message of "Mon, 13 Mar 2000 00:37:10 BST." <200003122337.AAA25674@peedub.muc.de> Date: Mon, 13 Mar 2000 11:06:26 +1100 From: Patryk Zadarnowski Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Mark Hittinger writes: > > > >Something that the old DEC took a few stabs at was the idea of a > >"checkpoint" feature where a process or a series of processes could be > >put in a quiesced state. This would page out the process or processes > >into the swap space, allow a hardware shutdown, and after a reboot allow > >the restart of the checkpointed process(es). > > > > I did something like this for Philips while I was at UniSoft. It > depended on some special hardware features (turning off/losing power > generated an interrupt, there was a small UPS in the box along with > battery-backed SRAM to save various kernel structures). > > Turning off the power caused all memory to be saved to disk (the kernel > turned off the UPS after it was done). Upon a restart the kernel noticed > that memory had been saved, read the contents in from disk, futzed around > with some structures, and restarted what was curproc at the time of > shutdown. It even worked ;-) > > Philips never did anything with it. Out of pure curiosity, what did you do with pending interrupts, partially completed DMA transfers and other such state information? Pat. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk Zadarnowski University of New South Wales -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 19:14:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id B69B437B591 for ; Sun, 12 Mar 2000 19:14:09 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (wes@homer.softweyr.com [204.68.178.39]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id UAA03005; Sun, 12 Mar 2000 20:12:37 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <38CC5CC4.F5A76BC1@softweyr.com> Date: Sun, 12 Mar 2000 20:13:08 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jeroen Ruigrok/Asmodai Cc: Joe Abley , Dennis , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD documented? Well, not in theory... References: <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000312083736.A27614@patho.gen.nz> <20000312193205.W68308@daemon.ninth-circle.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeroen Ruigrok/Asmodai wrote: > > -On [20000312 00:00], Joe Abley (jabley@patho.gen.nz) wrote: > >On Sat, Mar 11, 2000 at 01:36:31PM -0500, Dennis wrote: > > >> Another point is that Open Source is virtually synonomous with "Totally > >> undocumented". > > > >This is sillier. > > Exactly, and it also slightly pisses me off... > > Then I guess I wrote all the manpages and documents for nothing. > > elf.5 comes to mind for a very handy resource. > > http://home.wxs.nl/~asmodai/newbus-draft.txt comes to mind. And when > that is finished the manpages will follow. > > That's also why I am wasting my time slowly documenting the FreeBSD > internals in my spare time. And I want you to know that NONE of us appreciate this or ever use your non-existant documentation. I give you exactly 27 years to stop wasting your time like this. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 21: 9:28 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 818FC37B5D6 for ; Sun, 12 Mar 2000 21:09:23 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (wes@homer.softweyr.com [204.68.178.39]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id WAA04007; Sun, 12 Mar 2000 22:09:13 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <38CC7819.C807D095@softweyr.com> Date: Sun, 12 Mar 2000 22:09:45 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mark Hittinger Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: 5.0 features? References: <200003122111.PAA19501@freebsd.netcom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Hittinger wrote: > > Something that the old DEC took a few stabs at was the idea of a > "checkpoint" feature where a process or a series of processes could be > put in a quiesced state. This would page out the process or processes > into the swap space, allow a hardware shutdown, and after a reboot allow > the restart of the checkpointed process(es). Actually checkpoint/restart worked pretty well under both VMS and ELN. The core file code gives us a reasonable starting point for doing the same; the Emacs "loadup/dump" initialization essentially does a check- point of Emacs following elisp initialization. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 21:20: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 1322037B5E2 for ; Sun, 12 Mar 2000 21:20:00 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (wes@homer.softweyr.com [204.68.178.39]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id WAA04281; Sun, 12 Mar 2000 22:18:33 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <38CC7A48.B948C670@softweyr.com> Date: Sun, 12 Mar 2000 22:19:04 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Chuck Robey Cc: Nate Williams , Dennis , Jeroen Ruigrok/Asmodai , Joe Abley , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chuck Robey wrote: > > On Sun, 12 Mar 2000, Nate Williams wrote: > > > > >That's also why I am wasting my time slowly documenting the FreeBSD > > > >internals in my spare time. > > > > > > "slowly" is the key word here. Real products are documented before they are > > > in commercial use. > > > > Really? That's very different from my experience as a commercial > > software developer. > > > > And, it's not the experience I had from using your products as well. > > Documentation was as sparse as the FreeBSD documentation, but this is > > typical of most projects, except for government projects which requires > > truckloads of documentation. > > > > That's the main reason that government projects are rarely on time and > > budget, and never end up with the features that are desired. They spend > > all their time documenting, and no time implementing. :) > > You ever see those docs they write? Generally, it's an odd case of > nothing actually being better than something. Hey! Some of my past work resembles that remark! > I did once see a company that did the docs first, and then used those docs > as the design template. Any changes in the design had to be modified in > the docs first, and the docs were under a version control system. > > That was the one and only time I ever saw that. Dennis is living on > another planet than we do. And don't call the stuff that comes with > consumer products docs, because they are usually written by marketing, and > usually largely a work of fiction. I actually work for a company that writes both software and hardware design specs before plunging off into development work. Of course, the specs are never updated after the fact, so they're completely worthless for any follow-on work. In effect, the C, asm, and VHDL becomes the as-built documentation, which is quite horrid. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 12 21:31:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id A828537B545 for ; Sun, 12 Mar 2000 21:31:52 -0800 (PST) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id VAA01702; Sun, 12 Mar 2000 21:31:34 -0800 Date: Sun, 12 Mar 2000 21:31:34 -0800 From: Arun Sharma Message-Id: <200003130531.VAA01702@sharmas.dhs.org> To: guazzibe@dcc.unicamp.br Cc: freebsd-hackers@freebsd.org Subject: Re: Getting CPU usage in FreeBSD In-Reply-To: References: Reply-To: adsharma@sharmas.dhs.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Linux this is what I do to get this value: Measure the number of > scheduled jiffies (hundreths of second), measure elapsed time since last > measurement, divide. I ran into the same problem as you - and took the time to implement it. My patches fix the SMP case as well as getting it via sysctl instead of kvm_read. See: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=169412+180922+/usr/local/www/db/text/1999/freebsd-hackers/19991212.freebsd-hackers http://www.freebsd.org/cgi/getmsg.cgi?fetch=293002+0+/usr/local/www/db/text/1999/freebsd-hackers/19991226.freebsd-hackers -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 0: 2:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id 3B74437B5BB for ; Mon, 13 Mar 2000 00:02:26 -0800 (PST) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by relay.butya.kz with local-esmtp (Exim 3.13 #1) id 12UPnK-000ETX-00; Mon, 13 Mar 2000 14:01:42 +0600 Date: Mon, 13 Mar 2000 14:01:42 +0600 (ALMT) From: Boris Popov To: Dennis Cc: Jeroen Ruigrok/Asmodai , Joe Abley , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... In-Reply-To: <200003122012.PAA00812@etinc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 13 Mar 2000, Dennis wrote: > At 07:32 PM 3/12/00 +0100, Jeroen Ruigrok/Asmodai wrote: > > > >Exactly, and it also slightly pisses me off... > > > >Then I guess I wrote all the manpages and documents for nothing. > > > >elf.5 comes to mind for a very handy resource. > > > >http://home.wxs.nl/~asmodai/newbus-draft.txt comes to mind. And when > >that is finished the manpages will follow. > > > >That's also why I am wasting my time slowly documenting the FreeBSD > >internals in my spare time. > > "slowly" is the key word here. Real products are documented before they are > in commercial use. Plus by the time you're done they will be > outdated...another common problem. > > Why are you arguing this point? Is there anyone that believes that Linux > and FreeBSD are well documented? Please. The books are out of date before > they hit the stores. This is completly pointless. The user side of the FreeBSD is very well documented. The kernel internals has more poor documentation. But if someone want or need to contribute kernel side code, he is expected to be clueful enough to understand kernel sources _and_ ideolgy. In fact, it is doesn't require too much time. When you're jump in to truck, it is not too hard to track related source code changes and keep your code synched up. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 3:16:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id CE7FA37B9B1; Mon, 13 Mar 2000 03:16:53 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id CBA822E8156; Mon, 13 Mar 2000 03:16:53 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Mon, 13 Mar 2000 03:16:53 -0800 (PST) From: Kris Kennaway To: Ted Sikora Cc: "freebsd-hackers@FreeBSD.ORG" Subject: Re: 5.0 features? In-Reply-To: <38CBFE3A.12F3835B@home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 12 Mar 2000, Ted Sikora wrote: > What kind of features and additions can we expect from the merged > systems in 5.0? It looks as though this has been in > the works for sometime. I think I read somewhere that SMP support would > be much improved? Since no-one else seems to have replied about this, 5.0 only started development about 2 hours ago when the 5.0-CURRENT branch split from 4.0-RELEASE. I'm sure there will be lots of exciting features added during the course of the branch, but exactly what those are remains to be seen. I'd expect to see improved SMP support in some form however - whether that comes from BSD/OS or internally. Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 3:34: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 4ED8137B5FB for ; Mon, 13 Mar 2000 03:33:49 -0800 (PST) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) Received: from rina.r.dl.itc.u-tokyo.ac.jp (tanimura@localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-rina.r-0.1-11.01.2000) with ESMTP/IPv4 id UAA28524; Mon, 13 Mar 2000 20:33:38 +0900 (JST) Date: Mon, 13 Mar 2000 20:33:38 +0900 Message-ID: <14540.53778.434837.9786L@rina.r.dl.itc.u-tokyo.ac.jp> From: Seigo Tanimura To: freebsd-hackers@freebsd.org Subject: buffer overflow in rtm_type_name() of routed(8) Cc: Seigo Tanimura User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEzaki?=) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.13.4 - "Terai") Content-Type: multipart/mixed; boundary="Multipart_Mon_Mar_13_20:33:38_2000-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Multipart_Mon_Mar_13_20:33:38_2000-1 Content-Type: text/plain; charset=US-ASCII I had been experiencing routed(8) dumping core in about five minutes after rebooting my box for several months. A string buffer in rtm_type_name() of src/sbin/routed/table.c was overrun if the string appropriate to the argument of rtm_type_name() was not found. The router is a box running Solaris 2.6. The following patch should fix this problem. With this patch routed(8) in my box is running just fine for more than two days. --Multipart_Mon_Mar_13_20:33:38_2000-1 Content-Type: text/plain; type=patch; charset=US-ASCII Content-Disposition: attachment; filename="table.c.diff" Content-Transfer-Encoding: 7bit --- table.c.org Fri Sep 17 03:50:10 1999 +++ table.c Sat Mar 11 15:03:09 2000 @@ -617,6 +617,7 @@ } +#define NAME0_LEN 14 static const char * rtm_type_name(u_char type) { @@ -636,12 +637,12 @@ "RTM_DELADDR", "RTM_IFINFO" }; - static char name0[10]; + static char name0[NAME0_LEN]; if (type > sizeof(rtm_types)/sizeof(rtm_types[0]) || type == 0) { - sprintf(name0, "RTM type %#x", type); + snprintf(name0, NAME0_LEN, "RTM type %#x", type); return name0; } else { return rtm_types[type-1]; --Multipart_Mon_Mar_13_20:33:38_2000-1 Content-Type: text/plain; charset=US-ASCII -- Seigo Tanimura --Multipart_Mon_Mar_13_20:33:38_2000-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 3:42:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 961D637B549 for ; Mon, 13 Mar 2000 03:42:36 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id MAA79158; Mon, 13 Mar 2000 12:41:08 +0100 (CET) Message-Id: <200003131141.MAA79158@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Patryk Zadarnowski Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: 5.0 features? Reply-To: Gary Jennejohn In-reply-to: Your message of "Mon, 13 Mar 2000 11:06:26 +1100." <200003130006.LAA05238@mycenae.ilion.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 13 Mar 2000 12:41:08 +0100 From: Gary Jennejohn Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Patryk Zadarnowski writes: >> Mark Hittinger writes: >> > >> >Something that the old DEC took a few stabs at was the idea of a >> >"checkpoint" feature where a process or a series of processes could be >> >put in a quiesced state. This would page out the process or processes >> >into the swap space, allow a hardware shutdown, and after a reboot allow >> >the restart of the checkpointed process(es). >> > >> >> I did something like this for Philips while I was at UniSoft. It >> depended on some special hardware features (turning off/losing power >> generated an interrupt, there was a small UPS in the box along with >> battery-backed SRAM to save various kernel structures). >> >> Turning off the power caused all memory to be saved to disk (the kernel >> turned off the UPS after it was done). Upon a restart the kernel noticed >> that memory had been saved, read the contents in from disk, futzed around >> with some structures, and restarted what was curproc at the time of >> shutdown. It even worked ;-) >> >> Philips never did anything with it. > >Out of pure curiosity, what did you do with pending interrupts, partially >completed DMA transfers and other such state information? > IIRC (this was all 13 years ago) there were hooks in the drivers which were called on shutdown/startup so that they could DTRT. I do remeber that some characters were lost on the serial ports. Disk and network seemed to work fine, though. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 4:54: 1 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from web116.yahoomail.com (web116.yahoomail.com [205.180.60.89]) by hub.freebsd.org (Postfix) with SMTP id 50F5937B5C6 for ; Mon, 13 Mar 2000 04:54:00 -0800 (PST) (envelope-from dyeske@yahoo.com) Received: (qmail 4259 invoked by uid 60001); 13 Mar 2000 12:53:59 -0000 Message-ID: <20000313125359.4258.qmail@web116.yahoomail.com> Received: from [209.186.12.34] by web116.yahoomail.com; Mon, 13 Mar 2000 04:53:59 PST Date: Mon, 13 Mar 2000 04:53:59 -0800 (PST) From: David Yeske Subject: PXE To: freebsd-hackers@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just got an Intel PRO/100+ Management card for a project I am working on. I have done a little a little research and it looks like it is going to be a lot of work to netboot this thing. Anyone gotten this to work so far? I have tried using bootpd and dhcpd with no luck. Regards, David Yeske __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 4:57:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lucifer.bart.nl (lucifer.bart.nl [194.158.168.74]) by hub.freebsd.org (Postfix) with ESMTP id 877F037BAB6 for ; Mon, 13 Mar 2000 04:57:40 -0800 (PST) (envelope-from asmodai@lucifer.bart.nl) Received: (from asmodai@localhost) by lucifer.bart.nl (8.9.3/8.9.3) id NAA03944; Mon, 13 Mar 2000 13:57:15 +0100 (CET) (envelope-from asmodai) Date: Mon, 13 Mar 2000 13:57:15 +0100 From: Jeroen Ruigrok van der Werven To: David Yeske Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PXE Message-ID: <20000313135715.M77324@lucifer.bart.nl> References: <20000313125359.4258.qmail@web116.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000313125359.4258.qmail@web116.yahoomail.com>; from dyeske@yahoo.com on Mon, Mar 13, 2000 at 04:53:59AM -0800 Organisation: bART Internet Services B.V. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [20000313 13:55], David Yeske (dyeske@yahoo.com) wrote: >I just got an Intel PRO/100+ Management card for a project I am working on. I have done a little >a little research and it looks like it is going to be a lot of work to netboot this thing. Anyone >gotten this to work so far? I have tried using bootpd and dhcpd with no luck. Please save your troubles. I know of some committers whom are netbooting with 3Com's and Intels already. I think that this will be committed ASAP. -- Jeroen Ruigrok van der Werven Network- and systemadministrator VIA NET.WORKS The Netherlands BSD: Technical excellence at its best http://www.bart.nl Here's a mirror, there's a screen, on both ways you can get in... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 5:12:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pazardjik.eunet.bg (pazardjik.digsys.bg [193.68.12.65]) by hub.freebsd.org (Postfix) with ESMTP id EEA9737B5A3 for ; Mon, 13 Mar 2000 05:12:06 -0800 (PST) (envelope-from mirobo@mbox.digsys.bg) Received: from shadow (pazardjik72.pip.digsys.bg [193.68.12.72]) by pazardjik.eunet.bg (8.8.5/8.8.5) with SMTP id PAA09576 for ; Mon, 13 Mar 2000 15:11:58 +0200 (EET) Message-ID: <008801bf8ced$97c65ac0$5a01a8c0@TK> From: "M Pendev" To: Subject: Re: Midnight Commander and FreeBSD Date: Mon, 13 Mar 2000 15:09:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG thanx bush doctor ... ;-) but, I know how to install ports... I want to install only mc (for txt console only) not the whole gnome pkg because i have good working kde. I have tryed to compile it - but some errors occur he need the gtk and gnome libs - thats all. thanx anyway again. M Pendev e-mail: pendev@hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 5:16:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from home.gtcs.com (home.gtcs.com [209.181.16.2]) by hub.freebsd.org (Postfix) with ESMTP id BF12037B577 for ; Mon, 13 Mar 2000 05:16:17 -0800 (PST) (envelope-from bruce@gtcs.com) Received: from gtcs.com (localhost [127.0.0.1]) by home.gtcs.com (8.8.8/8.8.8) with ESMTP id GAA24487; Mon, 13 Mar 2000 06:14:58 -0700 (MST) (envelope-from bruce@gtcs.com) Message-Id: <200003131314.GAA24487@ home.gtcs.com> Date: Mon, 13 Mar 2000 06:14:52 -0700 (MST) From: Bruce Gingery Reply-To: bgingery@gtcs.com Subject: Re: rewrite of sysinstall To: Edward Gold Cc: freebsd-hackers@freebsd.org In-Reply-To: <38C5BAD7.7AA9E6A3@mindspring.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In freebsd-hackers, Edward Gold wrote: -> I was actually planning a near-complete rewrite of sysinstall anyway! -> How about everyone throwing in whatever suggestions you would like -> (about anything regarding sysinstall), and I will try to incorporate them!? -> The things I am specifically going to focus on are: -> 1. depretzel the GUI from the logic and modularize. Excellent!!! Please add vikeys as a possible option for the GUI itself. I've had some times running on a remote machine over bad enough links that cursor keys were unusable, hence it was impossible to use the current GUI. Even just the hjkl key-set would have made it usable. If not enabled, make option letters non- case-sensitive. If enabled, force all option selection keys uppercase, similar to Lynx's handling of the "h" versus "H" key. At a minimum, make everything navigable by single-byte-key commands. -> 2. implement scripting capability so we can control the user's path -> through the various menus from a script file of sorts. Yep, although one of the biggest neophyte complaints I've seen so far is too many navigation paths, which makes the whole process seem more complex than it is. Perhaps moving all of the post-install configuration items to a seemingly distinct interface would answer that. One thing often ignored is the presumption that /var/ will be the default proxy queue for Apache, and even the default database location for MySQL. Running either of these with default configurations tend to increase the need for /var/ space. Logging Apache logs to /var/log/ on a popular server adds that much more. Mailservers with large /var/mail or mail or print or fax servers with large /var/spool/ usage similarly. This info should be in help when the disk is partitioned. -> 3. possibly make stand alone post-install GUI based utilities for -> fdisk/disklabel and other configuration functions. Yes PLEASE! By decoupling the post-install GUI from the distribution install (although perhaps "sharing modules"), we can look at a number of things: * Migration assistance when installing an update. Several upgrades since v2.0.x haven't been painless, and some have been a bit confusing. * Less confusion in "adding distributions" without committing to a complete re-install. * Make kernel builds a part of the post-install GUI (at least eventually). * Even (eventually) allow non-root port/package installs part of the post-install GUI. Even PIB needs to run as root, last I checked. It wouldn't be all that hard to check for a system-wide install already in place, and change $PREFIX for a non-root install, so long as pkg_add and pkg_delete could also be directed to other than /var/db/pkg/ when run as non-root. OTHER THOUGHTS If it's to be modular (e.g. plug-in in basic design) anyways, how about preserving a single basic binary for the GUI, and defaulting to a different set of "plug-ins" depending upon whether it's running from RAMfs or /stand/sysinstall, and whether it's being run with an EUID as root or not. E.g: Run to install: Presume that it's a new install or upgrade unless launched with an override flag, perhaps -configure That would allow post-install to merely re-invoke itself as an exec'd subtask. /stand/sysinstall as root: Presume it's a system configuration unless launched with an override flag, perhaps -software or -upgrade /stand/sysinstall non-root: Presume it's for user configuration or by-user ports/package install tasks, but warn that for system configuration it must be run as root. Despite the gradual decrease in usefulness of diskettes, its likely that a user-level interface built on /stand/sysinstall should be available for formatting diskettes. Space permitting, there could be a menu option to switch from one to another, even if it required an exec re-launch of the GUI shell to get into that "other setup task". ** You might wish to consider also, HTTP fetch capacity of these "modules". This would allow, for example, mounting a CD on one LAN host with a webserver, or over-the-internet installs to fetch far more even for the basic system install and configuration, than would ever be desirable in kern.flp or the memory filesystem root. So long as the module has a checksum in its file format, partial fetches could be handled fairly easily, even with a minimal webserver that doesn't send file sizes in the protocol headers (in fact non-error headers could be merely tossed in the bitbucket and MOVED errors should merely be reported rather than followed). That would also allow for a far more complete HELP system in the basic install. Only an HTTP1.0 plus file:/// would be needed, so long as all links are relative once that BASE is set, because multi-file fetches would seldom (if ever) be any enhancement. It should send a Host: header, though, for HTTP. Perhaps a questonmark on EACH option could offer context-sensitive help. It would even be logical to register an application/vnd. MIME type for these modules. With OpenSSL in the base distribution for 4.x (${OSVERSION} >= 400014) and up, should the shell try for https:// before http:// ?? ** Color code the modules. The Royal Blue is pretty, but this can help with remote voice support, and even E-Mail/Usenet support and FAQ documentation. ** Check for screen/terminal size with the GUI. If post-install configuration is run (later) in an X-Term that's 80x60 - or even 160x80, why should it still be stuck at about 80x24, if there are more options to display than fit in that size. ** If system component addition is done from an X-Term, open another one as a log view, comparable to the 2nd console in a basic system install. (e.g. if DISPLAY is a non-null shell variable). ** In post-install, allow for the TRADITIONAL distinct kernel hostname from kernel domainname, whether or not NIS will be used. I know that this is a "religious battle" but there are still some of us on the other side of that argument from current presumptions. Sure each active interface (other than lo0) should have a FQDN assigned, ideally, but certainly there are a lot of status displays that benefit from a shorter hostname. Sendmail defaults (last I installed one) still allow for Dj set following $w set to `hostname` appending .`domainname` internally. Many other utils allow for this, as well, including Perl's host determination. Very few are able to handle both a FQDN as `hostname` and a non-null `domainname`. I know of quite a bit of UUCP use still going on around the world, and although UUCP on FreeBSD handles internet addressing ... ** In disk partitioning, several preset presumptions could be selected from, rather than a single default. / swap /usr - Personal use with /var/ symlinked to /usr/var/ / swap /var /usr - Plain server / swap /var /usr - Print, Fax or Mail server / swap /var /usr and /home and/or /usr/local / swap /var /usr and /var/cache or similar for proxy servers / swap /var /var/db /usr for database servers. etc. Even if only half a dozen typical uses were used for formulation it could cut down on the "I've run out of room on..." posts in the mailing lists and newsgroup. ** Would it be easier to just do the rewrite based on Tcl which already has regexp's and socket support built in, along with UTF-8 for internationalization, sub-interpreter for "safe" zones, and the like. The XF86Setup utility is Tcl/Tk without a "normal" Tcl/Tk install, already, for example. With the Tk dynamic loading in the works, it could even make sysinstall evolve into one which is OPTIONALLY an X application when used post-install. Bruce Gingery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 5:44:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail2.x-treme.gr (mail2.x-treme.gr [212.120.196.24]) by hub.freebsd.org (Postfix) with ESMTP id EAFAE37B583 for ; Mon, 13 Mar 2000 05:44:24 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (pat32.x-treme.gr [212.120.197.224]) by mail2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with ESMTP id PAA06707; Mon, 13 Mar 2000 15:44:04 +0200 Received: (from charon@localhost) by hades.hell.gr (8.9.3/8.9.3) id OAA12204; Mon, 13 Mar 2000 14:54:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 13 Mar 2000 14:54:02 +0200 From: Giorgos Keramidas To: Dennis Cc: Jeroen Ruigrok/Asmodai , Joe Abley , hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... Message-ID: <20000313145402.B11429@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: <20000312083736.A27614@patho.gen.nz> <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000312083736.A27614@patho.gen.nz> <20000312193205.W68308@daemon.ninth-circle.org> <200003122012.PAA00812@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200003122012.PAA00812@etinc.com>; from dennis@etinc.com on Mon, Mar 13, 2000 at 03:44:04AM -0500 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E X-Phone-Number: +30-94-6203692, +30-93-2886457 X-Address: Theodorou Kirinaiou 61, 26334 Patra, Greece Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 13, 2000 at 03:44:04AM -0500, Dennis wrote: > > "slowly" is the key word here. Real products are documented before > they are in commercial use. The fact that they're documented, does not imply that their documentation is also "good", though. Oh, and let us not forget that some vendors think their documentation of the system is not an essential 'part' of the whole thing, but it should come packaged in a separate bundle, and charged extra. - Giorgos Keramidas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 7:25:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from stud.alakhawayn.ma (stud.alakhawayn.ma [193.194.63.94]) by hub.freebsd.org (Postfix) with ESMTP id 92AF137B629 for ; Mon, 13 Mar 2000 07:25:42 -0800 (PST) (envelope-from 992C396651@stud.alakhawayn.ma) Received: from localhost (992C396651@localhost) by stud.alakhawayn.ma (8.9.0/8.9.0) with SMTP id PAA13192 for ; Mon, 13 Mar 2000 15:25:20 GMT Date: Mon, 13 Mar 2000 15:25:15 +0000 (GMT) From: Mourad Lakhdar <992C396651@stud.alakhawayn.ma> To: freebsd-hackers@FreeBSD.org Subject: need help Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi everybody: i need help in compiling the kernel for the freebsd 3.3 ,because when doing that i got errors related to some headers, may be should i compile with other compiler options, if so what they are ,----- i compiled with cc ip_input.c -lnsl and i want to modify the ip layer code (inptr , ip_input.c , ip_output.c ,------) to make a load balancing of services (, and i need to To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 7:30:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from tabby.kudra.com (gw.kudra.com [199.6.32.20]) by hub.freebsd.org (Postfix) with ESMTP id 0408D37B585 for ; Mon, 13 Mar 2000 07:30:29 -0800 (PST) (envelope-from robert@kudra.com) Received: (from robert@localhost) by tabby.kudra.com (8.9.3/8.6.12) id KAA01854 for freebsd-hackers@FreeBSD.ORG; Mon, 13 Mar 2000 10:30:20 -0500 (EST) Date: Mon, 13 Mar 2000 10:30:20 -0500 From: Robert Sexton To: freebsd-hackers@FreeBSD.ORG Subject: Re: Detecting ECC errors Message-ID: <20000313103020.B1783@tabby.kudra.com> References: <200003121934.LAA08972@mass.cdrom.com> <38CC07F7.B55F708B@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <38CC07F7.B55F708B@gorean.org>; from Doug Barton on Sun, Mar 12, 2000 at 01:11:19PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 12, 2000 at 01:11:19PM -0800, Doug Barton wrote: > CC'ing -hackers in case we can scare up some interest . . . > > Mike Smith wrote: > > > > > Hi. I took a look over the archives and noticed this ancient > > > thread. (1998) However, I checked the handbook and LINT for options on > > > how FreeBSD logs ECC errors, but I could not find anything. Has this > > > finally been implemented? Or is there currently no way for the OS to > > > detect the # of corrections / detections of errors by DIMM slot? > > > > You're correct; there isn't. It's a relatively simple task that's been > > waiting for a junior hacker to come along and take it up. It's also > > devillishly difficult to _test_ such code... I bet a call for bad simms would dredge up a few. I have a machine on my desk that double bits about twice a week right now. Any takers? :-) -- Robert Sexton - robert@kudra.com, Cincinnati OH, USA Build a man a fire, and he's warm for the rest of the night. Set a man on fire, and he's warm for the rest of his life - Terry Pratchett, "Jingo" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 7:31:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ebene.inrialpes.fr (ebene.inrialpes.fr [194.199.18.70]) by hub.freebsd.org (Postfix) with ESMTP id 7449B37BC67 for ; Mon, 13 Mar 2000 07:31:05 -0800 (PST) (envelope-from claude.castelluccia@inrialpes.fr) Received: from iseran.inrialpes.fr (iseran.inrialpes.fr [194.199.24.100]) by ebene.inrialpes.fr (8.9.3/8.8.5) with ESMTP id QAA03242 for ; Mon, 13 Mar 2000 16:20:51 +0100 (MET) Received: from iseran (localhost [127.0.0.1]) by iseran.inrialpes.fr (8.8.7/8.8.5) with SMTP id QAA07416 for ; Mon, 13 Mar 2000 16:26:17 +0100 (MET) Message-ID: <38CD0899.3426@inrialpes.fr> Date: Mon, 13 Mar 2000 16:26:17 +0100 From: Claude Castelluccia X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: -npx problem- Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear all, I am running FreeBSD 3.3 release. I have modified the if_ethersubr.c function in order to add some bit errors on the incoming packets (for experimentation purposes). Since then, my system reboots periodically and and displays the following message: " npxintr: npxproc =0, curproc = 0, npx_exists = 1", "panic("npxintr from nowhere");" any idea how to solve the problem? thanks a lot! PS: In my code, I am using the random() function. I don't know if this is a hint... -- ---------------------------------------- Claude CASTELLUCCIA, INRIA Rhone-Alpes ph: +33 4.76.61.52.15 (fax: 52.52) http://www.inrialpes.fr/planete/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 10:32: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id C1E5037BEA9 for ; Mon, 13 Mar 2000 10:31:51 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id TAA52849; Mon, 13 Mar 2000 19:31:43 +0100 (CET) (envelope-from olli) Date: Mon, 13 Mar 2000 19:31:43 +0100 (CET) Message-Id: <200003131831.TAA52849@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG Reply-To: freebsd-hackers@FreeBSD.ORG Subject: Re: PXE X-Newsgroups: list.freebsd-hackers In-Reply-To: <8aiolv$2tlt$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeroen Ruigrok van der Werven wrote in list.freebsd-hackers: > -On [20000313 13:55], David Yeske (dyeske@yahoo.com) wrote: > >I just got an Intel PRO/100+ Management card for a project I am working on. I have done a little > >a little research and it looks like it is going to be a lot of work to netboot this thing. Anyone > >gotten this to work so far? I have tried using bootpd and dhcpd with no luck. > > Please save your troubles. > > I know of some committers whom are netbooting with 3Com's and Intels > already. I think that this will be committed ASAP. Over here, /usr/ports/net/etherboot works fine, after a bit of hacking. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 12:18:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1x.pvt.net (ns.pvt.net [194.149.105.18]) by hub.freebsd.org (Postfix) with ESMTP id 3FCED37BBF3; Mon, 13 Mar 2000 12:17:47 -0800 (PST) (envelope-from milon.papezik@oskarmobil.cz) Received: from oskarmobil.cz (nat.ceskymobil.cz [194.149.122.193]) by ns1x.pvt.net (8.9.3/8.9.3) with ESMTP id VAA02531; Mon, 13 Mar 2000 21:16:42 +0100 Message-ID: <38CD4BDF.760C85AE@oskarmobil.cz> Date: Mon, 13 Mar 2000 21:13:19 +0100 From: Milon Papezik X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-RELEASE i386) X-Accept-Language: cz, cs, en MIME-Version: 1.0 To: dg@root.com Cc: Jim Shankland , msmith@FreeBSD.ORG, hackers@FreeBSD.ORG, roger@cs.strath.ac.uk Subject: Re: Onboard Intel fxp network chip, unknown PHY 17 type 2 References: <200003101922.LAA25494@implode.root.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Greenman wrote: > > >Hmm. That reminds me: I've also got a box with an onboard > >8255X that isn't recognized. The relevant parts of "boot -v" > >output are: > > > >found-> vendor=0x8086, dev=0x1209, revid=0x09 > > class=02-00-00, hdrtype=0x00, mfdev=0 > > subordinatebus=0 secondarybus=0 > > intpin=a, irq=11 > > map[10]: type 1, range 32, base ffaff000, size 12 > > map[14]: type 1, range 32, base 0000ef00, size 6 > > map[18]: type 1, range 32, base ffac0000, size 17 > > > >[...] > > > >pci0: unknown card (vendor=0x8086, dev=0x1209) at 14.0 irq 11 > ^^^^^ > > Don't know what that is, but's not a part that is supported by the fxp > driver. It would help if you could find out the part number (8255X isn't > sufficient since it isn't really just one series - some of the parts are > similar, and others are completely different). I've run into similar problem with Compaq branded card under 3.4R. Chip number GD82559, series(?) L933SB2. The PCI chip ID was set to 82558, but I was able to distinguish between 8255[89] by reading PHY revision code directly from PHY's registers and the PHY revision code was the same as in Intel's docs for 82559. I can test the patch. Hope this helps. Milon Papezik -- milon.papezik@oskarmobil.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 12:24:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from voyager.fisicc-ufm.edu (ip-198-202.guate.net [209.198.197.202]) by hub.freebsd.org (Postfix) with ESMTP id B124237BD6F for ; Mon, 13 Mar 2000 12:24:35 -0800 (PST) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from obonilla@localhost) by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id OAA18418; Mon, 13 Mar 2000 14:24:10 -0600 (CST) (envelope-from obonilla) Date: Mon, 13 Mar 2000 14:24:09 -0600 From: Oscar Bonilla To: Marco van de Voort Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: inner workings of the C compiler Message-ID: <20000313142409.A18395@fisicc-ufm.edu> References: <20000311000014.920E62E802@hermes.tue.nl> <20000310184346.B94441@fisicc-ufm.edu> <20000311133221.B99A02E804@hermes.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre1i In-Reply-To: <20000311133221.B99A02E804@hermes.tue.nl> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 11, 2000 at 02:30:19PM +0100, Marco van de Voort wrote: > P.s. Could you sent me a minimal C program linking to libc, and the > commandline to compile it with -nostdlib ? > > I could throw all these experiences with non standard linking in a > little tex doc. ( --nostdlib with and without libc, pure assembler > instead of c (no gcc), some small chapter about syscall conventions > etc) Here's what I have for a test program: ----- #include #include #include int main () { struct passwd *password; while ( (password = getpwent()) != NULL ) { printf("login: %s\n", password->pw_name); } password = getpwnam("root"); printf("root has uid: %d\n", password->pw_uid); password = getpwuid(0); printf("uid 0 is %s\n", password->pw_name); return 0; } ----- I copied /usr/src/lib/libc and /usr/src/lib/csu to the parent dir of this test, and thus my makefile is: ----- all: get-test get-test.o: get-test.c cc -g -Wall -pedantic -ansi -c -I../libc/include get-test.c get-test: get-test.o cc -g -nostdlib -static -L../libc -o get-test \ ../csu/i386-elf/crt1.o \ ../csu/i386-elf/crti.o \ ../csu/i386-elf/crtbegin.o \ get-test.o \ ../csu/i386-elf/crtend.o \ ../csu/i386-elf/crtn.o \ -lc clean: rm -f nss-test get-test *.o *.core *.*~ ----- The ordering above was pointed to me by Chuck Robey who got it using the -v flag to cc (which shows you what the C compiler is doing to get good links). I'm not 100% sure that the -lc should be at the end... more likely it should be right after (before?) my object file (get-test.o), but it seems to work both ways. regards, -oscar -- pgp public key: finger obonilla@fisicc-ufm.edu pgp fingerprint: 6D 18 8C 90 4C DF F0 4B DF 35 1F 69 A1 33 C7 BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 13: 2:33 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.c-com.net.ve (mail.c-com.net.ve [209.127.94.2]) by hub.freebsd.org (Postfix) with ESMTP id 7E94937B64F for ; Mon, 13 Mar 2000 13:02:10 -0800 (PST) (envelope-from rgomez@c-com.net.ve) Received: from rgomez ([209.127.41.130]) by mail.c-com.net.ve (8.9.1/8.9.1) with SMTP id RAA15315 for ; Mon, 13 Mar 2000 17:01:55 -0400 (VET) From: "Rafael Gomez" To: Subject: Editing Kernel Date: Mon, 13 Mar 2000 17:02:44 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Disposition-Notification-To: "Rafael Gomez" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I´m trying to edit the kernel file but I don´t know where it is located. I´m editing a file that shows only @@@ characters. I assume that this is the binary file. That´s why I´m asking for help Could any of you help me wityh this? Rafael Gomez rgomez@c-com.net.ve Pager: 9106973@skytel.com.ve Charter Communications International Venezuela Tel: 58-2-576.60.80 Fax: 58-2-572.43.43 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 13:13:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id D7E5D37BB2E for ; Mon, 13 Mar 2000 13:13:15 -0800 (PST) (envelope-from kbyanc@posi.net) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id QAA62534; Mon, 13 Mar 2000 16:12:55 -0500 (EST) Date: Mon, 13 Mar 2000 16:12:55 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: Rafael Gomez Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Editing Kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 13 Mar 2000, Rafael Gomez wrote: > I=B4m trying to edit the kernel file but I don=B4t know where it is locat= ed. I=B4m > editing a file that shows only @@@ characters. I assume that this is the > binary file. That=B4s why I=B4m asking for help >=20 >=20 > Could any of you help me wityh this? >=20 You need to have the kernel source installed. In which case, the default= =20 kernel config files will be in /sys/i386/conf (for i386) or /sys/alpha/conf (for the alpha platform). In the director is the config file for the GENERIC kernel and LINT (which lists all of the available kernel config options). I recommend that you copy GENERIC to your own file (for example MYKERNEL). Edit that file. And then to rebuild your kernel, type 'config MYKERNEL' (replace "MYKERNEL" with whatever you named your kernel config file). It config exists successfully, then cd to =2E./../compile/MYKERNEL, and type:=20 =09make depend && make -j 4 && make install Finally, you'll need to reboot to load the new kernel. If you have any problems booting off your new kernel, you should still able to boot using /kernel.GENERIC (a copy of the default kernel). You should, however, read the FreeBSD handbook and the config(8) man page. Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Analyst / E-business Development, Bell Industries http://www.bellind.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 13:29:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 7E75C37BC67; Mon, 13 Mar 2000 13:29:47 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id HAA05901; Tue, 14 Mar 2000 07:59:24 +1030 (CST) Date: Tue, 14 Mar 2000 07:59:24 +1030 From: Greg Lehey To: Rafael Gomez Cc: FreeBSD Questions Subject: Re: Editing Kernel Message-ID: <20000314075924.C492@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0pre2i In-Reply-To: WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 13 March 2000 at 17:02:44 -0400, Rafael Gomez wrote: > I´m trying to edit the kernel file but I don´t know where it is located. I´m > editing a file that shows only @@@ characters. I assume that this is the > binary file. That´s why I´m asking for help > > Could any of you help me wityh this? Possibly. 1. Ask questions like this on FreeBSD-questions. 2. Specify exactly what you're trying to do. The kernel is, indeed, a binary file. "Edit the kernel file" doesn't sound like a useful thing to me. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key 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 Mon Mar 13 14:28:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from notrecords.com (228-121.ppp.ripco.net [209.100.228.121]) by hub.freebsd.org (Postfix) with ESMTP id 1B56837B5A8 for ; Mon, 13 Mar 2000 14:28:00 -0800 (PST) (envelope-from aphor@ripco.com) Received: from ripco.com (nell.notrecords.com [192.168.1.123]) by notrecords.com (8.9.3/8.9.3) with ESMTP id QAA03464 for ; Mon, 13 Mar 2000 16:31:02 -0600 (CST) (envelope-from aphor@ripco.com) Message-ID: <38CD6C05.69C086FE@ripco.com> Date: Mon, 13 Mar 2000 16:30:29 -0600 From: Jeremy McMillan Reply-To: aphor@ripco.com Organization: Loose.. X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Re: Detecting ECC errors References: <200003121934.LAA08972@mass.cdrom.com> <38CC07F7.B55F708B@gorean.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just how valuable *IS* it? I can come up with a test plan. 1. Get a pile of expendable ECC DIMMS. 2. Get your hacked kernel loaded. 3. Get an LKM to do malloc(); and free(); in kernelspace. 4. Open up your case, swap your DIMMS for expendable modules. Make sure ECC mode is on. 5. Boot, load your LKM and start having some non-corrected memory operations. 6. (this is where it gets fun) Fire up a propane (pen) torch with a low flame, and *gently* heat the dimm. 7. Keep the tip of the flame 2-3 inches away from the DIMM, and keep it moving! 8. Keep the flame well clear of anything else, and be mindful of the practically invisible stream of hot gases that will flow over, and past your DIMM, warming your motherboard, etc. if you aren't careful. You only want to fry a few of the weakest components on your DIMM. The emphasis is on SLOWLY heat the DIMM. 9. Shampoo, rinse, repeat. YMMV: continue until you get ECC errors or your machine crashes. 10. Replace the DIMM with known-good-DIMM and hack your kernel again if it didn't work. 11. If you manage to burn a DIMM that works except for a predictable ECC correction, KEEP IT! Doug Barton wrote: > > CC'ing -hackers in case we can scare up some interest . . . > > Mike Smith wrote: > > > > > Hi. I took a look over the archives and noticed this ancient > > > thread. (1998) However, I checked the handbook and LINT for options on > > > how FreeBSD logs ECC errors, but I could not find anything. Has this > > > finally been implemented? Or is there currently no way for the OS to > > > detect the # of corrections / detections of errors by DIMM slot? > > > > You're correct; there isn't. It's a relatively simple task that's been > > waiting for a junior hacker to come along and take it up. It's also > > devillishly difficult to _test_ such code... > > This would be a very valuable thing to have though (just to restate the > obvious). We had a sun machine go down at work with no symptoms at > all... other than the log which showed that ECC errors were being caught > and corrected (mostly) at a furious pace. If not for that log we would > have spent hours testing possible reasons for the crash. > -- --- -_______,,_ , , _ ,_ _ ,_ ,,_ _ _ _ _ . .______- -_____/||_>|_|/ \|_>/_\|_>||_>/ `/ \ / `/ \|\|\____- -__/-|| | |\_/| \\_ | \|| \_ \_/#\_ \_/| \ \__- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 14:41:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.2.7]) by hub.freebsd.org (Postfix) with ESMTP id 9F6D137B65E for ; Mon, 13 Mar 2000 14:41:51 -0800 (PST) (envelope-from marcov@toad.stack.nl) Received: from hermes.tue.nl [131.155.2.46] by kweetal.tue.nl (8.9.3) for id XAA25743 (ESMTP); Mon, 13 Mar 2000 23:41:39 +0100 (MET) Received: from deathstar (n162.dial.tue.nl [131.155.209.161]) by hermes.tue.nl (Postfix) with ESMTP id 2E91B2E803 for ; Mon, 13 Mar 2000 23:41:27 +0100 (CET) From: "Marco van de Voort" To: hackers@FreeBSD.ORG Date: Mon, 13 Mar 2000 23:39:19 +0100 Subject: Re: Is FreeBSD dead? Well, not in theory... References: <200003122012.PAA00812@etinc.com> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12b) Message-Id: <20000313224127.2E91B2E803@hermes.tue.nl> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > >http://home.wxs.nl/~asmodai/newbus-draft.txt comes to mind. And when > > >that is finished the manpages will follow. > > > > > >That's also why I am wasting my time slowly documenting the FreeBSD > > >internals in my spare time. > > > > "slowly" is the key word here. Real products are documented before they are > > in commercial use. Plus by the time you're done they will be > > outdated...another common problem. > > > > Why are you arguing this point? Is there anyone that believes that Linux > > and FreeBSD are well documented? Please. The books are out of date before > > they hit the stores. > > This is completly pointless. The user side of the FreeBSD is very > well documented. The kernel internals has more poor documentation. But if > someone want or need to contribute kernel side code, he is expected to be > clueful enough to understand kernel sources _and_ ideolgy. In fact, it is > doesn't require too much time. When you're jump in to truck, it is not too > hard to track related source code changes and keep your code synched up. Sorry, but that is nonsense. It just limits developpers that don't daily work on the kernel. I don't agree. Users might have to patch to get their own systems running, and moderate docs will help. Specially in find the right source, and eliminating possibilities of what to look into. Also developpers that go outside their normal territory, can use the docs. I managed to patch the linux kernel once without even knowing C, so knowledge of the kernel internals is not necesssary to make a patch which works. Since a patch always has to pass through experts hands before being committed, I also see no dangers to users working on the kernel, specially not for own use. (it was trivial though, the order of the ports for the soundblaster mixer is different on some clones) Marco van de Voort (MarcoV@Stack.nl) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 15:30:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id C5E1E37B554; Mon, 13 Mar 2000 15:30:06 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id SAA125102; Mon, 13 Mar 2000 18:29:33 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <16178.952891246@zippy.cdrom.com> References: <16178.952891246@zippy.cdrom.com> Date: Mon, 13 Mar 2000 18:30:08 -0500 To: "Jordan K. Hubbard" , Andrzej Bialecki From: Garance A Drosihn Subject: Re: Getting CPU usage in FreeBSD Cc: Kris Kennaway , freebsd-hackers@FreeBSD.ORG, jkh@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:00 PM -0800 3/12/00, Jordan K. Hubbard wrote: > > I'm definitely for it... If I can get permission from Jordan, > > perhaps the attached patches can make it into upcoming release. > >I think it's a fine idea, I'm just not sure one day before release >is the time to be talking about it. It should have been raised >before now. :( This should probably wait until we've had a little more time to think about it. The original requester mentioned: I am using FreeBSD-3.4-RELEASE/i386 for development, and would like to code to be portable for the widest range of FreeBSD versions possible. Even if we did get this in for 4.0-release, it would only solve the problem for 4.0-release. I realize that would be nice, but I have the feeling that it could wait until post-4.0-release. (I should note that I would personally like to see a per-CPU value, for those of us who have multiple-cpu systems...) --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 16:29:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.ct.home.com (ha1.rdc1.ct.home.com [24.2.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 69D9A37B56E for ; Mon, 13 Mar 2000 16:29:46 -0800 (PST) (envelope-from tsikora@home.com) Received: from home.com ([24.2.168.186]) by mail.rdc1.ct.home.com (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <20000314002945.XBDS24587.mail.rdc1.ct.home.com@home.com>; Mon, 13 Mar 2000 16:29:45 -0800 Message-ID: <38CD87C6.16AB6D3F@home.com> Date: Mon, 13 Mar 2000 19:28:54 -0500 From: root Reply-To: tsikora@powerusersbbs.com Organization: Jtl Development X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en-US,en-GB MIME-Version: 1.0 To: "Pedro F. Giffuni" Cc: "freebsd-hackers@FreeBSD.ORG" Subject: Re: 5.0 features? References: <38CD276F.3213C800@asme.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Pedro F. Giffuni" wrote: > > FWIW, > > I downloaded the BSDI 4.1 Release notes and I was surprised by the > quality of the document. It goes through the basics of installing and > configuring BSDI. It is nice. I use it in our webhosting servers. Hi-Performance in my book. > > I think the priority will be getting BSDI binaries running on FreeBSD, > so I would expect: > > -New tools to complement binutils (they also use egcs), no idea if the > use that nasty ldconfig. > -Many changes to libc. > -Native ports of their packaging tools. > -Ability to mount their disks? > > Any idea if BSDI has a unified VM? They carry ISODE and several > unsupported goodies like LFS, the OSI stack, X25... Their floppy driver > also supports 2.8 M floppies, which I recall don't work on FreeBSD. > > Towards the future I would expect: > -More SMP stuff (and more threading) > -New Platforms: SPARC, PowerPC, StrongARM. > -Clustering: probably MOSIX. > > I am not sure if BSDI has a Motif source license, but this is something > I would prefer to buy from them in a future. In fact, now that there is > a big company to deal with, I would expect many more commercial products > available. Same here. I still prefer Motif. How about Java support? Sun is releasing some nice tools to OpenSource like Forge, etc. At one point I found FreeBSD better suited than Linux for java development but that has changed with 1.2's release. Too bad we couldn't conjur up some more interest here. Sun uses it in some cool ways. No reason we couldn't. The new generation of Java apps are starting to look and run pretty good. > > I really don't see what can be negative in this merger (in fact that > discussion is finally dying in -chat so please redirect new arguments > there :). IMHO, BSDI will probably end up being a FreeBSD with POSIX and > C2 certifications, and excellent support...I'm sure big companies like > Yahoo wouldn't care to pay some bucks for the extra support. > Future looks bright indeed! I was so preoccupied listening to everyone bitching I forgot about all the nice things to come. > (And BTW. if people are really worried about drivers perhaps it's time > for them to really look at the UDI project.) > > cheers, > > Pedro. > -- Ted Sikora Jtl Development Group tsikora@powerusersbbs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 16:45:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.ct.home.com (ha1.rdc1.ct.home.com [24.2.0.66]) by hub.freebsd.org (Postfix) with ESMTP id D0E4237B655 for ; Mon, 13 Mar 2000 16:43:38 -0800 (PST) (envelope-from tsikora@home.com) Received: from home.com ([24.2.168.186]) by mail.rdc1.ct.home.com (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <20000314004332.XGKI24587.mail.rdc1.ct.home.com@home.com>; Mon, 13 Mar 2000 16:43:32 -0800 Message-ID: <38CD8B02.C2D293F5@home.com> Date: Mon, 13 Mar 2000 19:42:42 -0500 From: Ted Sikora Reply-To: tsikora@powerusersbbs.com Organization: Jtl Development X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en-US,en-GB MIME-Version: 1.0 To: "Pedro F. Giffuni" Cc: "freebsd-hackers@FreeBSD.ORG" Subject: Re: 5.0 features? References: <38CD276F.3213C800@asme.org> <38CD87C6.16AB6D3F@home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG root wrote: > > "Pedro F. Giffuni" wrote: > > > > FWIW, > > > > I downloaded the BSDI 4.1 Release notes and I was surprised by the > > quality of the document. It goes through the basics of installing and > > configuring BSDI. > It is nice. I use it in our webhosting servers. Hi-Performance in my > book. > > > > I think the priority will be getting BSDI binaries running on FreeBSD, > > so I would expect: > > > > -New tools to complement binutils (they also use egcs), no idea if the > > use that nasty ldconfig. > > -Many changes to libc. > > -Native ports of their packaging tools. > > -Ability to mount their disks? > > > > Any idea if BSDI has a unified VM? They carry ISODE and several > > unsupported goodies like LFS, the OSI stack, X25... Their floppy driver > > also supports 2.8 M floppies, which I recall don't work on FreeBSD. > > > > Towards the future I would expect: > > -More SMP stuff (and more threading) > > -New Platforms: SPARC, PowerPC, StrongARM. > > -Clustering: probably MOSIX. > > > > I am not sure if BSDI has a Motif source license, but this is something > > I would prefer to buy from them in a future. In fact, now that there is > > a big company to deal with, I would expect many more commercial products > > available. > Same here. I still prefer Motif. > > How about Java support? Sun is releasing some nice tools to OpenSource > like Forge, etc. At one point I found FreeBSD > better suited than Linux for java development but that has > changed with 1.2's release. Too bad we couldn't conjur up some more > interest here. Sun uses it in some cool ways. No reason we couldn't. The > new generation of Java apps are starting to look > and run pretty good. > > > > > I really don't see what can be negative in this merger (in fact that > > discussion is finally dying in -chat so please redirect new arguments > > there :). IMHO, BSDI will probably end up being a FreeBSD with POSIX and > > C2 certifications, and excellent support...I'm sure big companies like > > Yahoo wouldn't care to pay some bucks for the extra support. > > > Future looks bright indeed! I was so preoccupied listening to everyone > bitching I forgot about all the nice things to come. > > > (And BTW. if people are really worried about drivers perhaps it's time > > for them to really look at the UDI project.) > > If anyone's interested RealPlayer7 just came out today. It's works excellent under Linux Emulation. Includes most of the features of the Win/Mac versions and has a working plugin. I just installed it under (ahem!)5.0-current with Netscape-4.72. I know some of you will scoff(at linux emulation) but hey It's cool. All work and no play.... -- Ted Sikora Jtl Development Group tsikora@powerusersbbs.com http://powerusersbbs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 17:10:41 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from listsvr2.telepac.pt (mail8.telepac.pt [194.65.3.41]) by hub.freebsd.org (Postfix) with ESMTP id 98E8937B697 for ; Mon, 13 Mar 2000 17:10:28 -0800 (PST) (envelope-from jpedras@webvolution.net) Received: from manecao.tafkap.priv ([212.55.187.88]) by listsvr2.telepac.pt (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id pt for ; Tue, 14 Mar 2000 01:13:25 +0000 Content-Length: 854 Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 14 Mar 2000 01:09:49 -0000 (GMT) Reply-To: Joao Pedras From: Joao Pedras To: freebsd-hackers@freebsd.org Subject: yet another cvsup server Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all I setup a cvsup server on a machine that is always 'in the air' and besides that it has an excelent connection to a common interchange connecting the several isp's in my country. Since here there is no (at least official) cvsup server , I would like to know how could I submit this so the machine could have some alias like cvsup.country.freebsd.org and provide a real use to the freebsd community here. Tkx Joao ^\ /^ O O ----------------------------------------o00-(_)-00o-------------------------- Any fool can paint a picture, but it takes a wise person to be able to sell it. ----------------------------------------------------------------------------- PGP key available upon request or may be cut at http://pedras.webvolution.net/pgpkey.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 13 20:30: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from alpha2.albany.edu (alpha2.cnsvax.albany.edu [169.226.1.27]) by hub.freebsd.org (Postfix) with ESMTP id EC13E37B5D8 for ; Mon, 13 Mar 2000 20:30:00 -0800 (PST) (envelope-from ks7612@cnsvax.albany.edu) Disposition-notification-to: ks7612@cnsvax.albany.edu Received: from kevstev (h219-78.paine.albany.edu [169.226.219.78]) by cnsvax.albany.edu (PMDF V5.2-31 #35970) with SMTP id <01JN033VZBT68WW8ZY@cnsvax.albany.edu> for hackers@freeBSD.org; Mon, 13 Mar 2000 23:29:51 EST Date: Mon, 13 Mar 2000 23:51:42 -0500 From: Kevin Stevens Subject: Is FreeBSD dead? Well, not in theory... --> please take this thread somewhere else. In-reply-to: <20000313224127.2E91B2E803@hermes.tue.nl> To: hackers@freeBSD.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am sorry, but this discussion REALLY belongs elsewhere. Please take it to -chat or another forum where it belongs. Please? I was not able to get my mail all weekend and was inundated with a deluge of mail on this debate. There is a reason there are multiple lists. -Kevin Stevens Kevin Stevens Student State University of New York at Albany box #0926 colonial quad albany, ny 12222 518-442-0378 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 2:38:22 2000 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 9C15237B739 for ; Tue, 14 Mar 2000 02:38:12 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 14 Mar 2000 10:38:05 +0000 (GMT) To: freebsd-hackers@freebsd.org Subject: userconfig.c warnings. X-Request-Do: Date: Tue, 14 Mar 2000 10:38:04 +0000 From: David Malone Message-ID: <200003141038.aa88860@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just noticed these warnings in userconfig.c - I presume they've been there for ages, however I think they should probably be fixed. What is happening is that some devices have descriptions that are too long to fit into the 60 alotted characters, and resultingly are not nul terminated. strcpy seems to be used on these strings later, which could result in trouble, except for the fact that the string is followed by some flags which will usually contain a nul byte. An I confused, or should I send-pr? David. cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing -prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -no stdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/userconfig.c ../../i386/i386/userconfig.c:387: warning: initializer-string for array of chars is too long ../../i386/i386/userconfig.c:387: warning: (near initialization for `device_info [48].name') ../../i386/i386/userconfig.c:396: warning: initializer-string for array of chars is too long ../../i386/i386/userconfig.c:396: warning: (near initialization for `device_info [57].name') To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 7:57:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by hub.freebsd.org (Postfix) with ESMTP id 7B91237B729 for ; Tue, 14 Mar 2000 07:57:16 -0800 (PST) (envelope-from zab@zabbo.net) Received: (from zab@localhost) by devserv.devel.redhat.com (8.9.3/8.9.3) id KAA27235; Tue, 14 Mar 2000 10:57:08 -0500 X-Authentication-Warning: devserv.devel.redhat.com: zab set sender to zab@zabbo.net using -f Date: Tue, 14 Mar 2000 10:57:08 -0500 From: Zach Brown To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... Message-ID: <20000314105708.U6300@devserv.devel.redhat.com> References: <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003111841.NAA17534@etinc.com>; from dennis@etinc.com on Sat, Mar 11, 2000 at 01:36:31PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Another point is that Open Source is virtually synonomous with "Totally > undocumented". The linux community, years into it, are still totally > dependent on Alan Cox to fix drivers properly (mostly because the OS is > completely undocumented and changes are made on a whim regularly). D. This is, not surprisingly, incorrect. I'm mildly curious to know how you arrived at this opinion, but only mildly. I'm sure the list cares even less. Alan can be seen as a concentrator/reviewer for the 2.2.x line. He actually authors a small percentage of the code that passes through him to Linus. fwiw. > Becker continues to be the only one that can properly fix the ethernet > drivers because they are such a mess and poorly documented. And this is even more amusing, showing that you haven't really been paying much attention recently :) -- zach To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 8:24:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cabaret.meas-adm.nwu.edu (cabaret.meas-adm.nwu.edu [129.105.118.247]) by hub.freebsd.org (Postfix) with ESMTP id 48E5237B5C8 for ; Tue, 14 Mar 2000 08:24:17 -0800 (PST) (envelope-from dragon@cabaret.meas-adm.nwu.edu) Received: (from dragon@localhost) by cabaret.meas-adm.nwu.edu (8.9.3/8.9.3) id KAA00309 for hackers@freebsd.org; Tue, 14 Mar 2000 10:32:29 -0600 (CST) (envelope-from dragon) Date: Tue, 14 Mar 2000 10:32:29 -0600 From: Ian Mondragon To: hackers@freebsd.org Subject: Re: Is FreeBSD dead? Well, not in theory... Message-ID: <20000314103229.A283@cabaret.meas-adm.nwu.edu> References: <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000314105708.U6300@devserv.devel.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000314105708.U6300@devserv.devel.redhat.com>; from zab@zabbo.net on Tue, Mar 14, 2000 at 10:57:08AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG please move this thread elsewhere immediately- at this point i really don't care where to. several people have requested the same thing over the course of the past couple days, yet certain people insist that they get *one* more comment in on the "topic". this is a list for serious technical discussion of freebsd, not alan cox's exact position in the linux community, or anything else. if you choose to continue a thread in this manner, then perhaps #linux or slashdot trolling would be more suited for your inconsiderate behavior. i get enough mail in the first place, as i'm sure hundreds of other people on this list do. -- --- Ian (Bachtel) Mondragon --- Assistant Network Administrator copal@northwestern.edu MEAS/ECE, Northwestern University (847)491-3691 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 8:46:31 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by hub.freebsd.org (Postfix) with ESMTP id DE7CB37B5C8 for ; Tue, 14 Mar 2000 08:46:25 -0800 (PST) (envelope-from lloyd@brunel.uk1.vbc.net) Received: from localhost (lloyd@localhost) by brunel.uk1.vbc.net (8.9.3/8.9.3) with ESMTP id QAA69123; Tue, 14 Mar 2000 16:46:19 GMT Date: Tue, 14 Mar 2000 16:46:19 +0000 (GMT) From: Lloyd Rennie To: Ian Mondragon Cc: hackers@FreeBSD.ORG Subject: Re: Is FreeBSD dead? Well, not in theory... In-Reply-To: <20000314103229.A283@cabaret.meas-adm.nwu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 14 Mar 2000, Ian Mondragon wrote: > please move this thread elsewhere immediately- at this point i really don't > care where to. several people have requested the same thing over the course > of the past couple days, yet certain people insist that they get *one* more > comment in on the "topic". this is a list for serious technical discussion > of freebsd, not alan cox's exact position in the linux community, or anything > else. if you choose to continue a thread in this manner, then perhaps #linux > or slashdot trolling would be more suited for your inconsiderate behavior. > i get enough mail in the first place, as i'm sure hundreds of other people on > this list do. Seconded. Our mail server is waving a white flag, so that makes 3. Not to mention the people who've allready asked and been ignored... -- Lloyd Rennie VBCnet GB Ltd lloyd@vbc.net tel +44 (0) 117 929 1316 http://www.vbc.net fax +44 (0) 117 927 2015 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 9:13: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from tabby.kudra.com (gw.kudra.com [199.6.32.20]) by hub.freebsd.org (Postfix) with ESMTP id 7820E37B776 for ; Tue, 14 Mar 2000 09:12:58 -0800 (PST) (envelope-from robert@kudra.com) Received: (from robert@localhost) by tabby.kudra.com (8.9.3/8.6.12) id MAA06122 for freebsd-hackers@FreeBSD.ORG; Tue, 14 Mar 2000 12:12:42 -0500 (EST) Date: Tue, 14 Mar 2000 12:12:42 -0500 From: Robert Sexton To: freebsd-hackers@FreeBSD.ORG Subject: Re: Detecting ECC errors Message-ID: <20000314121241.A6090@tabby.kudra.com> References: <200003121934.LAA08972@mass.cdrom.com> <38CC07F7.B55F708B@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <38CC07F7.B55F708B@gorean.org>; from Doug Barton on Sun, Mar 12, 2000 at 01:11:19PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 12, 2000 at 01:11:19PM -0800, Doug Barton wrote: > CC'ing -hackers in case we can scare up some interest . . . > > Mike Smith wrote: > > > > > Hi. I took a look over the archives and noticed this ancient > > > thread. (1998) However, I checked the handbook and LINT for options on > > > how FreeBSD logs ECC errors, but I could not find anything. Has this > > > finally been implemented? Or is there currently no way for the OS to > > > detect the # of corrections / detections of errors by DIMM slot? > > > > You're correct; there isn't. It's a relatively simple task that's been > > waiting for a junior hacker to come along and take it up. It's also > > devillishly difficult to _test_ such code... I just spent some time reading the datasheets for the HX chipset (Intels Pentium) and 440BX chipsets, and playing with pciconf. These chipsets will report the ram configuration in terms banks and amounts, and are capable of telling you where the problem is. In the case of the BX, you can get a specific address, while the HX can only tell you which simm is causing the error. All of the hooks are there for true memory error reporting and scrubbing, at least for the two intel chipsets I've seen. -- Robert Sexton - robert@kudra.com, Cincinnati OH, USA "They believe in `peace, justice, morality, culture, sport, family life, and the obliteration of all other life forms" - Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 11:30:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id D64B637B5C7 for ; Tue, 14 Mar 2000 11:30:47 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys (dbsys.etinc.com [207.252.1.18]) by etinc.com (8.9.3/8.9.3) with SMTP id OAA07762; Tue, 14 Mar 2000 14:30:18 -0500 (EST) Message-Id: <200003141930.OAA07762@etinc.com> X-Sender: dennis@etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Tue, 14 Mar 2000 14:26:08 -0500 To: "Pedro F. Giffuni" , Zach Brown From: Dennis Subject: Re: Is FreeBSD dead? Well, not in theory... Cc: hackers@freebsd.org In-Reply-To: <38CE7192.1478667E@asme.org> References: <200003101840.NAA12885@etinc.com> <200003111841.NAA17534@etinc.com> <20000314105708.U6300@devserv.devel.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:06 PM 3/14/00 -0500, Pedro F. Giffuni wrote: >Please guys, > >Move this intrascendental thread to freebsd-chat ! > >Zach Brown wrote: >> >> > Another point is that Open Source is virtually synonomous with "Totally >> > undocumented". The linux community, years into it, are still totally >> > dependent on Alan Cox to fix drivers properly (mostly because the OS is >> > completely undocumented and changes are made on a whim regularly). D. >> >> This is, not surprisingly, incorrect. I'm mildly curious to know how >> you arrived at this opinion, but only mildly. I'm sure the list >> cares even less. >> >> Alan can be seen as a concentrator/reviewer for the 2.2.x line. >> He actually authors a small percentage of the code that passes through >> him to Linus. Most of the DDI (if you bear to call it that) is not documeneted properly and much of it is in fact wrong. The device driver book was wrong before it hit the stands. The only way I've been able to get answers is to ask him. The docs are ok as long as you are building a "to the spec" ethernet driver, but anything else (all of which use the same interface) its a bit of a crapshoot. Call him a "reviewer" if you will. but none of it works unless he conveys how it needs to be done. Hang out on the lists for awhile...hes the only one with answers to specific coding questions. db To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 13:38:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ra.nks.net (ra.nks.net [208.226.218.5]) by hub.freebsd.org (Postfix) with ESMTP id 0724637B87D for ; Tue, 14 Mar 2000 13:38:18 -0800 (PST) (envelope-from joeo@cracktown.com) Received: from localhost (joeo@localhost) by ra.nks.net (8.8.7/8.8.7) with ESMTP id QAA31463 for ; Tue, 14 Mar 2000 16:38:17 -0500 Date: Tue, 14 Mar 2000 16:38:17 -0500 (EST) From: X-Sender: joeo@ra.nks.net To: freebsd-hackers@freebsd.org Subject: Compaq Integrated Raid Array Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have some very short term access to a Compaq 8500. The integrated raid array is supported under linux via it's smart array driver. I have a feeling that it should just work with freesd's driver, but "scanpci" shows it using a a vendor id of 0x1000 and a device id of 0x0010. Where in a 4.0 kernel do I stick these so it know's to probe it as an ida device? Thanks, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 13:55:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id ADDBD37B81F for ; Tue, 14 Mar 2000 13:55:55 -0800 (PST) (envelope-from kbyanc@posi.net) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id QAA92318; Tue, 14 Mar 2000 16:55:52 -0500 (EST) Date: Tue, 14 Mar 2000 16:55:52 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: joeo@cracktown.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Compaq Integrated Raid Array In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 14 Mar 2000 joeo@cracktown.com wrote: > I have some very short term access to a Compaq 8500. The integrated raid > array is supported under linux via it's smart array driver. I have a > feeling that it should just work with freesd's driver, but "scanpci" shows > it using a a vendor id of 0x1000 and a device id of 0x0010. Where in a > 4.0 kernel do I stick these so it know's to probe it as an ida device? > Try /sys/dev/ida/ida_pci.c. The device ID and vendor id are stored in the IDA_DEVICEID_SMART #define and currently the ida driver has it hardwired to 0xAE100E11. For quick & dirty hack (i.e. if you just want to know if the driver will work with your hardware), try changing the IDA_DEVICEID_SMART #define to 0x10000010. Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Analyst / E-business Development, Bell Industries http://www.bellind.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 14:30:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 8AE0737B846 for ; Tue, 14 Mar 2000 14:30:40 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id RAA37570; Tue, 14 Mar 2000 17:30:37 -0500 (EST) Date: Tue, 14 Mar 2000 17:30:37 -0500 (EST) From: "Matthew N. Dodd" To: Kelly Yancey Cc: joeo@cracktown.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Compaq Integrated Raid Array In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 14 Mar 2000, Kelly Yancey wrote: > On Tue, 14 Mar 2000 joeo@cracktown.com wrote: > > I have some very short term access to a Compaq 8500. The integrated raid > > array is supported under linux via it's smart array driver. I have a > > feeling that it should just work with freesd's driver, but "scanpci" shows > > it using a a vendor id of 0x1000 and a device id of 0x0010. Where in a > > 4.0 kernel do I stick these so it know's to probe it as an ida device? > > > > Try /sys/dev/ida/ida_pci.c. The device ID and vendor id are stored > in the IDA_DEVICEID_SMART #define and currently the ida driver has it > hardwired to 0xAE100E11. For quick & dirty hack (i.e. if you just want > to know if the driver will work with your hardware), try changing the > IDA_DEVICEID_SMART #define to 0x10000010. Looking at the Linux driver I don't think its going to be that easy; they have handling for the integrated array that our driver doesn't. -- | 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 | This Space For Rent | 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 Tue Mar 14 16:14:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from galaga.cisco.com (galaga.cisco.com [171.71.161.89]) by hub.freebsd.org (Postfix) with ESMTP id DDD0D37B859; Tue, 14 Mar 2000 16:14:53 -0800 (PST) (envelope-from donwall@cisco.com) Received: from localhost (donwall@localhost) by galaga.cisco.com (8.8.5-Cisco.2-SunOS.5.5.1.sun4/8.6.5) with ESMTP id QAA06063; Tue, 14 Mar 2000 16:14:51 -0800 (PST) Message-Id: <200003150014.QAA06063@galaga.cisco.com> From: "Don Wallwork" To: freebsd-hackers@FreeBSD.org Cc: msmith@FreeBSD.org, imp@FreeBSD.org Subject: Porting linux drivers to FreeBSD Date: Tue, 14 Mar 2000 16:14:50 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi- I found a linux driver for my Xircom PCMCIA ethernet card at: http://pcmcia.sourceforge.org/ Are there any pointers available on porting linux drivers to FreeBSD? TIA- Don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 16:23:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from outgoing.redshift.com (outgoing.redshift.com [216.228.2.99]) by hub.freebsd.org (Postfix) with ESMTP id 3AD1F37B793 for ; Tue, 14 Mar 2000 16:23:34 -0800 (PST) (envelope-from nobody@redshift.com) Received: from RedShift.com (mail.redshift.com [216.228.2.86]) by outgoing.redshift.com (8.9.3/) with ESMTP id QAA28023 for ; Tue, 14 Mar 2000 16:23:33 -0800 Received: from www.redshift.com (www.redshift.com [216.228.2.89]) by RedShift.com (8.9.3/) with ESMTP id QAA06566 for ; Tue, 14 Mar 2000 16:23:31 -0800 Received: by www.redshift.com (8.8.5) id QAA09607; Tue, 14 Mar 2000 16:23:32 -0800 Date: Tue, 14 Mar 2000 16:23:32 -0800 Message-Id: <200003150023.QAA09607@www.redshift.com> To: "" From: "yramin" Reply-To: "yramin" Subject: LDAP NIS replacement X-Mail-Gateway: WebMail X-Real-Host-From: 131.120.8.59 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, New to the list, but I'm looking into developing a way to authenticate and grab user information from an LDAP server compared to /etc/passwd and company, or NIS. I was poking around the library code and noticed that FreeBSD does not have NSS (name service switch) support (otherwise I would use nss_ldap already out there - it doesn't compile under FreeBSD even with IRS use enabled, I've tried ). What would be the best way to write new getpwent(), etc. routines for FreeBSD? I could stick them into a library and have programs that want to use them link to it, but that is a pain (although quite portable :)). I'm working on a PAM system first (yes, pam_ldap is out there, but it sucks, lots of linuxisms), but would be interested getting some work done on this as well. Any thoughts, advice, pointers? Yann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 16:24:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8026437B876; Tue, 14 Mar 2000 16:24:55 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id RAA92549; Tue, 14 Mar 2000 17:24:53 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id RAA47715; Tue, 14 Mar 2000 17:24:47 -0700 (MST) Message-Id: <200003150024.RAA47715@harmony.village.org> To: "Don Wallwork" Subject: Re: Porting linux drivers to FreeBSD Cc: freebsd-hackers@FreeBSD.org, msmith@FreeBSD.org In-reply-to: Your message of "Tue, 14 Mar 2000 16:14:50 PST." <200003150014.QAA06063@galaga.cisco.com> References: <200003150014.QAA06063@galaga.cisco.com> Date: Tue, 14 Mar 2000 17:24:47 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200003150014.QAA06063@galaga.cisco.com> "Don Wallwork" writes: : Are there any pointers available on porting linux drivers : to FreeBSD? The xe driver is close to working with current as it is. There is a minor problem with the pccard layer that I've not had the time to commit. If it is for a cardbus driver, there are efforts underway for that as well. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 16:40:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from voyager.fisicc-ufm.edu (ip-198-202.guate.net [209.198.197.202]) by hub.freebsd.org (Postfix) with ESMTP id 4373A37B813 for ; Tue, 14 Mar 2000 16:40:02 -0800 (PST) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from obonilla@localhost) by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id SAA86465; Tue, 14 Mar 2000 18:39:07 -0600 (CST) (envelope-from obonilla) Date: Tue, 14 Mar 2000 18:39:06 -0600 From: Oscar Bonilla To: yramin Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: LDAP NIS replacement Message-ID: <20000314183906.A86436@fisicc-ufm.edu> References: <200003150023.QAA09607@www.redshift.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003150023.QAA09607@www.redshift.com>; from yramin@mail.redshift.com on Tue, Mar 14, 2000 at 04:23:32PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 14, 2000 at 04:23:32PM -0800, yramin wrote: > Hi, > > New to the list, but I'm looking into developing a way to > authenticate and grab user information from an LDAP server compared > to /etc/passwd and company, or NIS. I was poking around the library > code and noticed that FreeBSD does not have NSS (name service > switch) support (otherwise I would use nss_ldap already out there - > it doesn't compile under FreeBSD even with IRS use enabled, I've > tried ). What would be the best way to write new getpwent(), > etc. routines for FreeBSD? I could stick them into a library and > have programs that want to use them link to it, but that is a pain > (although quite portable :)). > I'm working on a PAM system first (yes, pam_ldap is out there, but > it sucks, lots of linuxisms), but would be interested getting some > work done on this as well. Any thoughts, advice, pointers? PLEASE use the enter key about every 80 characters... your email looks horrible ;) I'm working precisely on this. I've integrated the NSS functionality from NetBSD into the standard C library of FreeBSD. I'm in the process of rewriting the get* function to use the dispatcher. Once we have that, the way to go would be to have the C library dlopen the required modules as PAM does. Are you sure that nss_ldap doesn't compile on freebsd? I think I compiled it once (and of course it was unusable since FreeBSD lacks NSS). regards, -oscar -- pgp public key: finger obonilla@fisicc-ufm.edu pgp fingerprint: 6D 18 8C 90 4C DF F0 4B DF 35 1F 69 A1 33 C7 BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 16:42:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [207.154.226.10]) by hub.freebsd.org (Postfix) with ESMTP id 3C52C37B79A for ; Tue, 14 Mar 2000 16:42:24 -0800 (PST) (envelope-from dave@elvis.mu.org) Received: (from dave@localhost) by elvis.mu.org (8.9.1/8.9.1) id SAA24421 for freebsd-hackers@freebsd.org; Tue, 14 Mar 2000 18:43:55 -0600 (CST) (envelope-from dave) Date: Tue, 14 Mar 2000 18:43:55 -0600 From: Dave McKay To: freebsd-hackers@freebsd.org Subject: bsd search Message-ID: <20000314184355.A24395@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable http://www.google.com/bsd I finished it, hope its helpful. --=20 Dave McKay Network Engineer - Google Inc. dave@mu.org - dave@google.com I'm feeling lucky... --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia iQCVAwUBOM7cy3Y8vP7IQ1TlAQFaAAQAwXnyRjUb5v94TjQZ403swDMEUh75nt8o YErNOsi0q0Lr/r5UAO4F58vDsQ+BvoGILOtD3GOsTxbFsGhGYZ0Fd0meVt92W7hL 4tj4dappY2YECurro1sOsqwnaOg7cmZELmVWDXA2ekkZrhzpxxUQB1nE/f8DFjoU VCLtID/Qu2w= =bcT3 -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 17: 6:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from stud.alakhawayn.ma (stud.alakhawayn.ma [193.194.63.94]) by hub.freebsd.org (Postfix) with ESMTP id C495237B876 for ; Tue, 14 Mar 2000 17:06:08 -0800 (PST) (envelope-from 992C396651@stud.alakhawayn.ma) Received: from localhost (992C396651@localhost) by stud.alakhawayn.ma (8.9.0/8.9.0) with SMTP id BAA26328 for ; Wed, 15 Mar 2000 01:05:45 GMT Date: Wed, 15 Mar 2000 01:05:44 +0000 (GMT) From: Mourad Lakhdar <992C396651@stud.alakhawayn.ma> To: freebsd-hackers@FreeBSD.org Subject: need help Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi everybody i want to hack the ips in the freebsd for a study project,but when i do that , recompiled the kernel , install it ,( in fact what i did is :forrward all the incoming packets in attempt to do load balancing ) but after doing that i can no restart my host , the problem is that is remains forwarding packets , no stop there any suggestion in how can i restart the original kernell , or at least skip this step of keeping forwarding , without having to reinstall all the freebsd thanks ; best regards, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 17:35:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gizmo.internode.com.au (gizmo.internode.com.au [192.83.231.115]) by hub.freebsd.org (Postfix) with ESMTP id DA0DB37B8A5 for ; Tue, 14 Mar 2000 17:35:48 -0800 (PST) (envelope-from newton@gizmo.internode.com.au) Received: (from newton@localhost) by gizmo.internode.com.au (8.9.3/8.9.3) id MAA58213; Wed, 15 Mar 2000 12:03:45 +1030 (CST) (envelope-from newton) Date: Wed, 15 Mar 2000 12:03:45 +1030 From: Mark Newton To: Greg Lehey Cc: Warner Losh , Wes Peters , "K.J.Koster" , Edward Gold , freebsd-hackers@FreeBSD.ORG Subject: Re: Vinum encapsulating existing partitions (was: Sysinstall 'A'uto partitioning) Message-ID: <20000315120345.A58098@internode.com.au> References: <38C66E8E.67CD0475@softweyr.com> <59063B5B4D98D311BC0D0001FA7E452201313957@l04.research.kpn.com> <38C66E8E.67CD0475@softweyr.com> <200003090030.RAA04659@harmony.village.org> <20000309111221.B28232@internode.com.au> <20000314121217.D335@mojave.worldwide.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <20000314121217.D335@mojave.worldwide.lemis.com> X-PGP-Key: http://www.on.net/~newton/pgpkey.txt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 14, 2000 at 12:12:17PM -0800, Greg Lehey wrote: > On Thursday, 9 March 2000 at 11:12:21 +1030, Mark Newton wrote: > > > Another thing which would be useful is the ability to "vinum-ize" an > > existing filesystem without destroying it first. On Solaris and > > IRIX I can do that by creating a logical volume with a single plex > > which just happens to contain the same partition as the existing > > filesystem, thereby wrapping the filesystem in the logical volume. [ ... ] > It's still on my wishlist, though I don't know if I have it on the web > page (and since I'm on the road at the moment, I can't check). My > main concern here is that I want to maintain the device name/drive ID > independence (for those who may not know, you can take the disks of a > Vinum array out, shuffle the device IDs and reboot, and it will still > put the components together in the correct way). IRIX does accomplish this (Solaris ODS doesn't). There are certain features of the way it handles its disks which make that simpler, though: IRIX utilizes a reserved partition on every disk (partition 8) as a "volume header", which must start at sector 0 and can be arbitrarily sized. The volume header contains a disklabel (which starts at sector 0, so it overlays the disk's partition table) and zero or more additional files in a simple filesystem (not a filesystem as such; all files are contiguous, rammed together a-la a tar archive, simple enough for a first-stage bootloader to understand). The most common use for this filesystem is to contain the second-stage bootloader (aka /boot/loader on BSD), but there are other purposes for it as well. One of those purposes is to host XLV volume labels, which are replicated across all disks which participate in XLV volumes. Each XLV volume label contains a unique identifier for the spindle which contains it. That means that the "subdisk ID" equivalent, together with all the other info in the label, is held out-of-band, leaving the partition containing the XLV volume element as a repository for filesystem data and nothing else. The advantage of this approach is, of course, that an XLV volume can "wrap" a preexisting filesystem without destroying it. If I want to grow my /usr partition on dks0d1s6 by using a "spare" partition on dks1d2s0, I can do this: irix# xlv_make xlv_make> volume usr usr xlv_make> data usr.data xlv_make> plex usr.data.0 xlv_make> ve dks0d1s6 usr.data.0.0 xlv_make> end Object specification completed xlv_make> exit Save changes? [n] y irix# [ then modify fstab to mount /usr from /dev/xlv/usr instead of /dev/dsk/dks0d1s6 and reboot. Once I've done that, I'll never need to reboot to manage /usr again; I can perform operations like growing the filesystem onto additional volume elements without needing to unmount it (in fact, some operations will fail to work if the filesystem is unmounted) ] irix# xlv_make xlv_make> ve foo dks1d2s0 foo xlv_make> end Object specification completed xlv_make> exit Save changes? [n] y irix# xlv_mgr xlv_mgr> attach ve foo usr.data.0 VE foo attached to plex usr.data.0 xlv_mgr> show -verbose all [ you'll see that "foo" has been renamed to "usr.data.0.1" ] xlv_mgr> exit irix# xfs_growfs /usr [ /usr is "grown" online (i.e: you don't need to unmount it) ] > The obvious way to > do that is to say "there must be a Vinum partition on this physical > drive, but the subdisk doesn't have to be on it". That could be a > problem for existing disks. Thoughts? A variation might be, "There can be more than one Vinum partition on a physical drive, and Vinum metadata can be kept in a different one from Vinum data." Cheers, - mark -- Mark Newton Email: newton@internode.com.au (W) Network Engineer Email: newton@atdot.dotat.org (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 18:59:41 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from outgoing.redshift.com (outgoing.redshift.com [216.228.2.99]) by hub.freebsd.org (Postfix) with ESMTP id 5085937B83B for ; Tue, 14 Mar 2000 18:59:38 -0800 (PST) (envelope-from yramin@redshift.com) Received: from RedShift.com (mail.redshift.com [216.228.2.86]) by outgoing.redshift.com (8.9.3/) with ESMTP id SAA02550; Tue, 14 Mar 2000 18:59:33 -0800 Received: from atp.atpn.com (pm7-105.sj.redshift.com [216.200.49.105]) by RedShift.com (8.9.3/) with SMTP id SAA28221; Tue, 14 Mar 2000 18:59:29 -0800 From: Yann Ramin To: Oscar Bonilla Subject: Re: LDAP NIS replacement Date: Tue, 14 Mar 2000 18:51:44 -0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <200003150023.QAA09607@www.redshift.com> <20000314183906.A86436@fisicc-ufm.edu> In-Reply-To: <20000314183906.A86436@fisicc-ufm.edu> Cc: freebsd-hackers@freebsd.org MIME-Version: 1.0 Message-Id: <00031418592000.21024@atp.atpn.com> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Perfect ! Please let me know when you get NSS working in the C library, as I am very interested. I tried compiling the copy of nss_ldap from padl.com - in both GNU_NSS mo= de and IRS_NSS mode. Both crapped out in various places and it seemed such a bi= g chore to try to clean them up, so I stopped. I'm going to get ADP (some 486 in the corner) to 4.0-CURRENT sources, and= use that as a reference platform for pam. I'm rebuilding pam_ldap from scrat= ch, as the sources from padl once again passed through too many hands - I thi= nk it needs a fresh start. About the e-mail, sorry about that. I was typing away in my ISPs dated w= ebmail system. NPS (Naval Postgrad School, I work there over school breaks) rec= ently installed a new firewall, which blocks port 25, so I'm pretty stuck (thei= r mailserver doesn't do realying :(). Yann On Tue, 14 Mar 2000, you wrote: > On Tue, Mar 14, 2000 at 04:23:32PM -0800, yramin wrote: > > Hi, > >=20 > > New to the list, but I'm looking into developing a way to > > authenticate and grab user information from an LDAP server compared > > to /etc/passwd and company, or NIS. I was poking around the library > > code and noticed that FreeBSD does not have NSS (name service > > switch) support (otherwise I would use nss_ldap already out there - > > it doesn't compile under FreeBSD even with IRS use enabled, I've > > tried ). What would be the best way to write new getpwent(), > > etc. routines for FreeBSD? I could stick them into a library and > > have programs that want to use them link to it, but that is a pain > > (although quite portable :)). > > I'm working on a PAM system first (yes, pam_ldap is out there, but > > it sucks, lots of linuxisms), but would be interested getting some > > work done on this as well. Any thoughts, advice, pointers? >=20 > PLEASE use the enter key about every 80 characters... your email > looks horrible ;) >=20 > I'm working precisely on this. I've integrated the NSS functionality > from NetBSD into the standard C library of FreeBSD. I'm in the > process of rewriting the get* function to use the dispatcher. >=20 > Once we have that, the way to go would be to have the C library=20 > dlopen the required modules as PAM does. >=20 > Are you sure that nss_ldap doesn't compile on freebsd? I think I > compiled it once (and of course it was unusable since FreeBSD > lacks NSS). >=20 > regards, >=20 > -oscar >=20 > --=20 > pgp public key: finger obonilla@fisicc-ufm.edu > pgp fingerprint: 6D 18 8C 90 4C DF F0 4B DF 35 1F 69 A1 33 C7 BC >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message --=20 -------------------------------------------------------------------- Yann Ramin=09=09=09atrus@atrustrivalie.eu.org Atrus Trivalie Productions=09www.atrustrivalie.eu.org =09=09=09=09irm.it.montereyhigh.com Monterey High IT=09=09www.montereyhigh.com ICQ =09=09=09=0946805627 AIM=09=09=09=09oddatrus Marina, CA=09 "All cats die. Socrates is dead. Therefore Socrates is a cat." =09- The Logician =09 =09# fortune "To be responsive at this time, though I will simply say, and therefore this is a repeat of what I said previously, that which I am unable to offer in response is based on information available to make no such statement." -------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 21:47:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from stumpy.dannyland.org (stumpy.dannyland.org [209.157.133.194]) by hub.freebsd.org (Postfix) with ESMTP id 937B037B50C for ; Tue, 14 Mar 2000 21:47:47 -0800 (PST) (envelope-from dannyman@stumpy.dannyland.org) Received: by stumpy.dannyland.org (Postfix, from userid 1000) id 6CD5A3D9B; Tue, 14 Mar 2000 21:47:53 -0800 (PST) Date: Tue, 14 Mar 2000 21:47:53 -0800 From: dannyman To: freebsd-hackers@freebsd.org Subject: specifying probe order for scsi controllers Message-ID: <20000314214752.A38810@stumpy.dannyland.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i X-Loop: djhoward@uiuc.edu X-URL: http://www.dannyland.org/~dannyman/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG so, i have a production system with an ncr0 to which i would like to add an aha0 in addition to the existing controller. when i do this, though, the aha0 comes up before the ncr0, so the numbering on the system disk gets thrown off. i tried changing the fstab entries for the system disk, but the slices for da1s1 weren't MAKEDEV'ed and apparently you can not MAKEDEV the slices within the partition ... perhaps that is because my existing da1 is a dedicated disk? aaaanyways, can I specify the order in which these controllers come up in the system? i had guessed that you could based on the admonition about ISA ethernet probe orders ... but by default the ncr0 is listed first. or is there some way i can config things to keep da0 on the ncr and da1 on the aha? thanks, -danny -- come.to/dannyman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 22:57:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id 703F337B923 for ; Tue, 14 Mar 2000 22:57:35 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.3/frmug-2.5/nospam) with UUCP id HAA27928 for hackers@freebsd.org; Wed, 15 Mar 2000 07:57:31 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (Postfix, from userid 101) id 3394E8863; Wed, 15 Mar 2000 07:48:04 +0100 (CET) Date: Wed, 15 Mar 2000 07:48:04 +0100 From: Ollivier Robert To: hackers@freebsd.org Subject: Re: ijppp for isdn, ppp compression, and netgraph (also: load balancing) Message-ID: <20000315074804.A48080@keltia.freenix.fr> Mail-Followup-To: hackers@freebsd.org References: <200003071834.KAA41887@bubba.whistle.com> <200003072300.PAA90662@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200003072300.PAA90662@vashon.polstra.com>; from hackers@freebsd.org on Tue, Mar 07, 2000 at 03:00:09PM -0800 X-Operating-System: FreeBSD 4.0-CURRENT/ELF AMD-K6/200 & 2x PPro/200 SMP Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to John Polstra: > I have read in several places that only the name "RC4" is trademarked, > and that the algorithm itself is not patented. Is that not the case? That's right. RC4 (aka arcfour in SSH) was a trade secret (so it was not patentable) till someone posted code implementing it on USENET a few years ago... They didn't do that mistake again with RC5/RC6/... -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 4.0-CURRENT #78: Sun Feb 27 15:32:39 CET 2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 14 23:32:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id E8F5937B89D for ; Tue, 14 Mar 2000 23:32:13 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id AAA12406; Wed, 15 Mar 2000 00:32:07 -0700 (MST) (envelope-from ken) Date: Wed, 15 Mar 2000 00:32:07 -0700 From: "Kenneth D. Merry" To: dannyman Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: specifying probe order for scsi controllers Message-ID: <20000315003207.A12328@panzer.kdm.org> References: <20000314214752.A38810@stumpy.dannyland.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000314214752.A38810@stumpy.dannyland.org>; from dannyman@dannyland.org on Tue, Mar 14, 2000 at 09:47:53PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 14, 2000 at 21:47:53 -0800, dannyman wrote: > so, i have a production system with an ncr0 to which i would like to add an > aha0 in addition to the existing controller. > > when i do this, though, the aha0 comes up before the ncr0, so the numbering on > the system disk gets thrown off. > > i tried changing the fstab entries for the system disk, but the slices for > da1s1 weren't MAKEDEV'ed and apparently you can not MAKEDEV the slices within > the partition ... perhaps that is because my existing da1 is a dedicated disk? > > aaaanyways, can I specify the order in which these controllers come up in the > system? i had guessed that you could based on the admonition about ISA > ethernet probe orders ... but by default the ncr0 is listed first. > > or is there some way i can config things to keep da0 on the ncr and da1 on the > aha? Yes. See src/sys/i386/conf/LINT. The section on SCSI devices describes how to wire down disks. The scsi(4) man page also has information on wiring down devices. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 0:21:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.granite.net.au (mail.granite.net.au [203.109.189.6]) by hub.freebsd.org (Postfix) with ESMTP id C454E37B962 for ; Wed, 15 Mar 2000 00:21:18 -0800 (PST) (envelope-from ca@granite.net.au) Received: from ca (adam@adam.granite.net.au [203.38.211.32]) by mail.granite.net.au (8.9.3/8.8.7) with SMTP id SAA04686 for ; Wed, 15 Mar 2000 18:51:11 +1030 Message-ID: <001101bf8e57$46590000$0901a8c0@ca> From: "Adam Crawford" To: Subject: telsat satellite cards Date: Wed, 15 Mar 2000 18:50:01 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 'lo everyone I was wondering if there was drivers around for a telsat card, I know there is linux drivers, located on ftp.ihug.com.au/pub/satnet/linux (i think) also ment to be on ftp.ihug.co.nz but ive yet to be able to log on to that server :) Is there fbsd drivers? If not, will the linux drivers work or be able to port them across? Regards, Adam. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 1:30:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id D57DD37BB23 for ; Wed, 15 Mar 2000 01:30:41 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id KAA24227; Wed, 15 Mar 2000 10:05:56 +0100 (CET) Message-Id: <200003150905.KAA24227@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: "Adam Crawford" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: telsat satellite cards Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 15 Mar 2000 18:50:01 +1030." <001101bf8e57$46590000$0901a8c0@ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Mar 2000 10:05:55 +0100 From: Gary Jennejohn Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Adam Crawford" writes: >'lo everyone > >I was wondering if there was drivers around for a telsat card, >I know there is linux drivers, located on ftp.ihug.com.au/pub/satnet/linux >(i think) >also ment to be on ftp.ihug.co.nz but ive yet to be able to log on to that >server :) > >Is there fbsd drivers? I don't believe so. >If not, will the linux drivers work or be able to port them across? > no, yes - but you'll either have to do it yourself or find someone who's interested in doing the port. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 1:41:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.granite.net.au (mail.granite.net.au [203.109.189.6]) by hub.freebsd.org (Postfix) with ESMTP id B891B37B6FA for ; Wed, 15 Mar 2000 01:41:13 -0800 (PST) (envelope-from ca@granite.net.au) Received: from ca (adam@adam.granite.net.au [203.38.211.32]) by mail.granite.net.au (8.9.3/8.8.7) with SMTP id UAA05672; Wed, 15 Mar 2000 20:10:50 +1030 Message-ID: <002a01bf8e62$67bde2a0$0901a8c0@ca> From: "Adam Crawford" To: "Gary Jennejohn" Cc: References: <200003150905.KAA24227@peedub.muc.de> Subject: Re: telsat satellite cards Date: Wed, 15 Mar 2000 20:09:45 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >If not, will the linux drivers work or be able to port them across? > > > > no, yes - but you'll either have to do it yourself or find someone > who's interested in doing the port. Whats involved in doing it myself? *starts the 'wouldnt have a clue where to start' questions* Regards, Adam. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 1:45:56 2000 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 2BDC737B933 for ; Wed, 15 Mar 2000 01:45:52 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id UAA27390; Wed, 15 Mar 2000 20:15:36 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <002a01bf8e62$67bde2a0$0901a8c0@ca> Date: Wed, 15 Mar 2000 20:15:36 +1030 (CST) From: "Daniel O'Connor" To: Adam Crawford Subject: Re: telsat satellite cards Cc: freebsd-hackers@FreeBSD.ORG, Gary Jennejohn Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15-Mar-00 Adam Crawford wrote: > Whats involved in doing it myself? Read the Linux source and find out how it talks to the card Read the FreeBSD source for an equivalent device Write the FreeBSD device. Simple! :) --- 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 Wed Mar 15 1:57:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from europa.tellme.com (europa.tellme.com [209.157.156.23]) by hub.freebsd.org (Postfix) with SMTP id 8294337B8C2 for ; Wed, 15 Mar 2000 01:57:45 -0800 (PST) (envelope-from dannyman@europa.tellme.com) Received: (qmail 10472 invoked by uid 501); 14 Mar 2000 08:57:48 -0000 Date: Tue, 14 Mar 2000 00:57:48 -0800 From: Danny Howard To: freebsd-hackers@freebsd.org Subject: changing probe order for scsi controllers (ncr0/ahc0) Message-ID: <20000314005748.I1753@europa.tellme.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us X-Loop: djhoward@uiuc.edu Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi. i have a production system with an ncr0 SCSI controller that's pretty weak. I would like to add an adaptec, which comes in as ahc0. The problem is that when I add the ahc0 in to the system, it comes up ahead of the ncr0, and so the system disk is labeled da1, and .. well .. there are ways to deal with this .. i thought, based on the admonition about ISA NIC probes, that order in the kernel conf file might predicate probe order, but even in GENERIC, ncr0 comes ahead of ahc0 .. so .. no dice. 1) Can I modify the order in which these devices are detected so that the ncr0 comes out first, making my life simpler? How? 2) Failing that, how the freak do I MAKEDEV the disk slices so I can mount the system slices on da1s1 instead of da0s1? Or will the OS dtrt when it sees that I've MAKDEVed da1s1 and create the slices automagically? I've managed to boot single-user by modifying boot device at the kernel prompt ... 3) TIA. :) Thanks, -danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 2: 0: 3 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.granite.net.au (mail.granite.net.au [203.109.189.6]) by hub.freebsd.org (Postfix) with ESMTP id 531AA37B910 for ; Wed, 15 Mar 2000 01:59:55 -0800 (PST) (envelope-from ca@granite.net.au) Received: from ca (adam@adam.granite.net.au [203.38.211.32]) by mail.granite.net.au (8.9.3/8.8.7) with SMTP id UAA05900; Wed, 15 Mar 2000 20:29:32 +1030 Message-ID: <003401bf8e65$04a61ea0$0901a8c0@ca> From: "Adam Crawford" To: "Daniel O'Connor" Cc: , "Gary Jennejohn" References: Subject: Re: telsat satellite cards Date: Wed, 15 Mar 2000 20:28:27 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Read the Linux source and find out how it talks to the card > > Read the FreeBSD source for an equivalent device > > Write the FreeBSD device. > > Simple! :) If there was source for an equivalent device, why would i need to write another one? :) Cheers for the advice Gary & Daniel All i need to do now is wait for them to install the dish on my roof next week! Regards, Adam. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 2:18:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.theinternet.com.au (zeus.theinternet.com.au [203.34.176.2]) by hub.freebsd.org (Postfix) with ESMTP id A2C8637BA05 for ; Wed, 15 Mar 2000 02:18:35 -0800 (PST) (envelope-from akm@mail.theinternet.com.au) Received: (from akm@localhost) by mail.theinternet.com.au (8.9.3/8.9.3) id UAA96086; Wed, 15 Mar 2000 20:17:47 +1000 (EST) (envelope-from akm) From: Andrew Kenneth Milton Message-Id: <200003151017.UAA96086@mail.theinternet.com.au> Subject: Re: telsat satellite cards In-Reply-To: <001101bf8e57$46590000$0901a8c0@ca> from Adam Crawford at "Mar 15, 2000 06:50:01 pm" To: Adam Crawford Date: Wed, 15 Mar 2000 20:17:47 +1000 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG +----[ Adam Crawford ]--------------------------------------------- | | 'lo everyone | | I was wondering if there was drivers around for a telsat card, | I know there is linux drivers, located on ftp.ihug.com.au/pub/satnet/linux | (i think) | also ment to be on ftp.ihug.co.nz but ive yet to be able to log on to that | server :) | | Is there fbsd drivers? | If not, will the linux drivers work or be able to port them across? I offered to port/develop the drivers for them, but, they didn't seem interested, and the Linux drivers were binary only at that stage. They said they were developing FreeBSD drivers, but this was over 12 months ago. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 2:19: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id A7D1237B9A4 for ; Wed, 15 Mar 2000 02:18:48 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id LAA01339; Wed, 15 Mar 2000 11:14:48 +0100 (MET) Message-ID: <38CF6296.9F88DE05@we.lc.ehu.es> Date: Wed, 15 Mar 2000 11:14:46 +0100 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dpto. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Porting linux drivers to FreeBSD References: <200003150014.QAA06063@galaga.cisco.com> <200003150024.RAA47715@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > The xe driver is close to working with current as it is. There is a > minor problem with the pccard layer that I've not had the time to > commit. > I am waiting for the xe driver working with current for updating FreeBSD on my laptop, so... go Warner! :-) -- JMA ***** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ***** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 2:20:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 5C2C437B961 for ; Wed, 15 Mar 2000 02:20:46 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2FAgsb23817; Wed, 15 Mar 2000 02:42:54 -0800 (PST) Date: Wed, 15 Mar 2000 02:42:54 -0800 From: Alfred Perlstein To: Danny Howard Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: changing probe order for scsi controllers (ncr0/ahc0) Message-ID: <20000315024254.Y14789@fw.wintelcom.net> References: <20000314005748.I1753@europa.tellme.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000314005748.I1753@europa.tellme.com>; from dannyman@tellme.com on Tue, Mar 14, 2000 at 12:57:48AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Danny Howard [000315 02:21] wrote: > hi. i have a production system with an ncr0 SCSI controller that's pretty > weak. I would like to add an adaptec, which comes in as ahc0. The problem is > that when I add the ahc0 in to the system, it comes up ahead of the ncr0, and > so the system disk is labeled da1, and .. well .. there are ways to deal with > this .. > > i thought, based on the admonition about ISA NIC probes, that order in the > kernel conf file might predicate probe order, but even in GENERIC, ncr0 comes > ahead of ahc0 .. so .. no dice. Please read the section in LINT about "wired" scsi setups. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 4:58:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp7.xs4all.nl (smtp7.xs4all.nl [194.109.127.50]) by hub.freebsd.org (Postfix) with ESMTP id 2D8BD37B678; Wed, 15 Mar 2000 04:58:04 -0800 (PST) (envelope-from arnout@tomcat.xs4all.nl) Received: from tomcat.xs4all.nl (tomcat.xs4all.nl [194.109.15.187]) by smtp7.xs4all.nl (8.9.3/8.9.3) with ESMTP id NAA19091; Wed, 15 Mar 2000 13:58:02 +0100 (CET) Received: (from arnout@localhost) by tomcat.xs4all.nl (8.9.3/8.9.1) id NAA83173; Wed, 15 Mar 2000 13:42:12 +0100 (CET) Date: Wed, 15 Mar 2000 13:42:11 +0100 From: Arnout Boer To: hackers@freebsd.org Subject: Why not gzip iso images? Message-ID: <20000315134211.A47945@tomcat.xs4all.nl> References: <200003150629.WAA67193@zippy.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003150629.WAA67193@zippy.cdrom.com>; from jkh@zippy.cdrom.com on Tue, Mar 14, 2000 at 10:29:43PM -0800 X-Operating-System: FreeBSD 4.0-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After reading the announcement... Congratulations to the FreeBSD community another milestone! A great OS... But for the ISO images... IS it a problem to gzip them.... They take less space on the master site and the mirror sites and they take less bandwidth! Shouldn't be a problem I think! Less bandwidth and less time to download even economical a good thing! With regards, Arnout Boer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 5: 6:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id B1CE537B91D for ; Wed, 15 Mar 2000 05:06:33 -0800 (PST) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12VDVA-000Dl7-00; Wed, 15 Mar 2000 15:06:16 +0200 From: Sheldon Hearn To: Arnout Boer Cc: hackers@freebsd.org Subject: Re: Why not gzip iso images? In-reply-to: Your message of "Wed, 15 Mar 2000 13:42:11 +0100." <20000315134211.A47945@tomcat.xs4all.nl> Date: Wed, 15 Mar 2000 15:06:16 +0200 Message-ID: <52892.953125576@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000 13:42:11 +0100, Arnout Boer wrote: > But for the ISO images... IS it a problem to gzip > them.... Well, I can think of at least one problem. Think of the extra disk space folks would need for the gunzip step. :-) > They take less space on the master site and the mirror > sites and they take less bandwidth! I'm pretty sure that the folks most affected by this sort of thing benefit from PPP / hardware compression anyway. Ciao Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 5:10:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id C415F37B678 for ; Wed, 15 Mar 2000 05:10:13 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id OAA99478; Wed, 15 Mar 2000 14:08:25 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200003151308.OAA99478@info.iet.unipi.it> Subject: Re: Why not gzip iso images? In-Reply-To: <52892.953125576@axl.ops.uunet.co.za> from Sheldon Hearn at "Mar 15, 2000 03:06:16 pm" To: Sheldon Hearn Date: Wed, 15 Mar 2000 14:08:25 +0100 (CET) Cc: Arnout Boer , hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Wed, 15 Mar 2000 13:42:11 +0100, Arnout Boer wrote: > > > But for the ISO images... IS it a problem to gzip > > them.... > > Well, I can think of at least one problem. Think of the extra disk > space folks would need for the gunzip step. :-) and compression ratio would not be that much. The tarballs are already compressed, and so are the packages. The only image to benefit from compression would be the live file system. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 5:29: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id C5E1C37B9B6 for ; Wed, 15 Mar 2000 05:29:03 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2FDokq28322; Wed, 15 Mar 2000 05:50:46 -0800 (PST) Date: Wed, 15 Mar 2000 05:50:46 -0800 From: Alfred Perlstein To: Luigi Rizzo Cc: Sheldon Hearn , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? Message-ID: <20000315055046.C14789@fw.wintelcom.net> References: <52892.953125576@axl.ops.uunet.co.za> <200003151308.OAA99478@info.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003151308.OAA99478@info.iet.unipi.it>; from luigi@info.iet.unipi.it on Wed, Mar 15, 2000 at 02:08:25PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Luigi Rizzo [000315 05:34] wrote: > > On Wed, 15 Mar 2000 13:42:11 +0100, Arnout Boer wrote: > > > > > But for the ISO images... IS it a problem to gzip > > > them.... > > > > Well, I can think of at least one problem. Think of the extra disk > > space folks would need for the gunzip step. :-) > > and compression ratio would not be that much. The tarballs are > already compressed, and so are the packages. The only image to > benefit from compression would be the live file system. And not that much even with that: -rw-r--r-- 1 bright staff 647815168 Dec 28 19:23 3.4-install.iso -rw-r--r-- 1 bright staff 625839147 Dec 28 19:23 3.4-install.iso.gz that's not gzip -9, but I think I've done that in the past to the disks and it still didn't help all that much. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 5:52:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from elwood.akitanet.co.uk (elwood.akitanet.co.uk [212.1.130.149]) by hub.freebsd.org (Postfix) with ESMTP id 1D9C437B9E0 for ; Wed, 15 Mar 2000 05:52:10 -0800 (PST) (envelope-from wigstah@akitanet.co.uk) Received: from jake.akitanet.co.uk (jake.akitanet.co.uk [212.1.130.131]) by elwood.akitanet.co.uk (8.9.3/8.9.1) with ESMTP id OAA16253; Wed, 15 Mar 2000 14:00:41 GMT Date: Wed, 15 Mar 2000 14:43:27 +0000 (GMT) From: Paul Robinson To: Alfred Perlstein Cc: Luigi Rizzo , Sheldon Hearn , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-Reply-To: <20000315055046.C14789@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000, Alfred Perlstein wrote: > And not that much even with that: > > -rw-r--r-- 1 bright staff 647815168 Dec 28 19:23 3.4-install.iso > -rw-r--r-- 1 bright staff 625839147 Dec 28 19:23 3.4-install.iso.gz I never thought I'd see the day that when considering sizes of downloads people would look at a saving of 22Mb, and would say 'that's not much'... Fair enough, as a percentage it's marginal... but in countries where internet access is not cheap, in fact is prohibitively slow and expensive (the majority of the planet), I think this saving shows a little respect and concern for the less fortunate home user stuck with a 56K modem paying $x/hour where x can be anywhere between 0.5 and 5... > that's not gzip -9, but I think I've done that in the past to the > disks and it still didn't help all that much. If you save 20Mb, over a reliable 56Kb modem, you've saved them somewhere in the region of one and a half hours... I think you guys are too used to your broadband... :) Let's also assume that a mirrored FTP site is limited to XGb/mth... all it would take is for a 100 downloads to cause an extra 2Gb of that to be taken up.... Personally, I feel that everything that can be compressed for download, should be. It would speed up downloads, would be more economical in terms of bandwidth, cost and time, and I think would be generally considered respectful for those users with crappy links. -- Paul Robinson - Developer/Systems Administrator @ Akitanet Internet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 5:55:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 027E437BAD7 for ; Wed, 15 Mar 2000 05:55:50 -0800 (PST) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12VEGE-000Dzf-00; Wed, 15 Mar 2000 15:54:54 +0200 From: Sheldon Hearn To: Paul Robinson Cc: Alfred Perlstein , Luigi Rizzo , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-reply-to: Your message of "Wed, 15 Mar 2000 14:43:27 GMT." Date: Wed, 15 Mar 2000 15:54:54 +0200 Message-ID: <53794.953128494@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000 14:43:27 GMT, Paul Robinson wrote: > If you save 20Mb, over a reliable 56Kb modem, you've saved them somewhere > in the region of one and a half hours... I think you guys are too used to > your broadband... :) And you're forgetting that, as I said in my original reply, people with 56K modems usually benefit from hardware compression over their link anyway. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 6: 3:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from elwood.akitanet.co.uk (elwood.akitanet.co.uk [212.1.130.149]) by hub.freebsd.org (Postfix) with ESMTP id E205437B9E4 for ; Wed, 15 Mar 2000 06:03:55 -0800 (PST) (envelope-from wigstah@akitanet.co.uk) Received: from jake.akitanet.co.uk (jake.akitanet.co.uk [212.1.130.131]) by elwood.akitanet.co.uk (8.9.3/8.9.1) with ESMTP id OAA16629; Wed, 15 Mar 2000 14:12:27 GMT Date: Wed, 15 Mar 2000 14:55:14 +0000 (GMT) From: Paul Robinson To: Sheldon Hearn Cc: Alfred Perlstein , Luigi Rizzo , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-Reply-To: <53794.953128494@axl.ops.uunet.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000, Sheldon Hearn wrote: > And you're forgetting that, as I said in my original reply, people with > 56K modems usually benefit from hardware compression over their link > anyway. But you're defeated by your own argument, as according to you the image doesn't compress very well, and I suspect (in fact I know) that hardware compression at the modem is not as efficient as gzip -9 ... at best you might be able to get that 22Mb we're talking about saving, down to a 10Mb saving... you're still leaving the guy with the modem sat there for around 45 minutes... -- Paul Robinson - Developer/Systems Administrator @ Akitanet Internet ------------------------------------------------------------------- E-m: paul@akitanet.co.uk | FreeBSD-4.0 Monopoly :- Tel: +44 (0) 161 228 6388 | Go directly to jail() ---------------------------| Do not pass /var/go http://www.akitanet.co.uk/ | Do not bind to 200.*.*.* IP addresses To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 6:14:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 6FE7E37B92C for ; Wed, 15 Mar 2000 06:14:09 -0800 (PST) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12VEY8-000E4b-00; Wed, 15 Mar 2000 16:13:24 +0200 From: Sheldon Hearn To: Paul Robinson Cc: Alfred Perlstein , Luigi Rizzo , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-reply-to: Your message of "Wed, 15 Mar 2000 14:55:14 GMT." Date: Wed, 15 Mar 2000 16:13:24 +0200 Message-ID: <54100.953129604@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000 14:55:14 GMT, Paul Robinson wrote: > But you're defeated by your own argument, as according to you the image > doesn't compress very well No, you're not reading the thread properly. Someone else (who doesn't have the same bandwidth limitations that you and I do) said it doesn't compress well. If you're just replying to be involved in an argument, I have a few newsgroups for you to try. :-) Otherwise, this is pretty much asked and answered. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 6:15:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6185137BA8F for ; Wed, 15 Mar 2000 06:15:34 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2FEb4v29577; Wed, 15 Mar 2000 06:37:04 -0800 (PST) Date: Wed, 15 Mar 2000 06:37:03 -0800 From: Alfred Perlstein To: Paul Robinson Cc: Luigi Rizzo , Sheldon Hearn , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? Message-ID: <20000315063703.H14789@fw.wintelcom.net> References: <20000315055046.C14789@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from wigstah@akitanet.co.uk on Wed, Mar 15, 2000 at 02:43:27PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Paul Robinson [000315 06:14] wrote: > On Wed, 15 Mar 2000, Alfred Perlstein wrote: > > > And not that much even with that: > > > > -rw-r--r-- 1 bright staff 647815168 Dec 28 19:23 3.4-install.iso > > -rw-r--r-- 1 bright staff 625839147 Dec 28 19:23 3.4-install.iso.gz > > I never thought I'd see the day that when considering sizes of downloads > people would look at a saving of 22Mb, and would say 'that's not much'... > > Fair enough, as a percentage it's marginal... but in countries where > internet access is not cheap, in fact is prohibitively slow and expensive > (the majority of the planet), I think this saving shows a little respect > and concern for the less fortunate home user stuck with a 56K modem paying > $x/hour where x can be anywhere between 0.5 and 5... > > > that's not gzip -9, but I think I've done that in the past to the > > disks and it still didn't help all that much. > > If you save 20Mb, over a reliable 56Kb modem, you've saved them somewhere > in the region of one and a half hours... I think you guys are too used to > your broadband... :) > > Let's also assume that a mirrored FTP site is limited to XGb/mth... all it > would take is for a 100 downloads to cause an extra 2Gb of that to be > taken up.... > > Personally, I feel that everything that can be compressed for download, > should be. It would speed up downloads, would be more economical in terms > of bandwidth, cost and time, and I think would be generally considered > respectful for those users with crappy links. You're not going to get much sympathy from me... ~ % ftp ftp://ftp.freebsd.org/pub/FreeBSD/release/i386/ISO-IMAGES/ Connected to wizard.freesoftware.com. ... ftp> get 3.4-install.iso local: 3.4-install.iso remote: 3.4-install.iso 227 Entering Passive Mode (209,155,82,20,112,101) 150 Opening BINARY mode data connection for '3.4-install.iso' (647815168 bytes). 100% |**************************************************| 617 MB 00:00 ETA 226 Transfer complete. 647815168 bytes received in 147.34 seconds (4.19 MB/s) :) Seriously though, there's no reason not to have the ISOs up in compressed format though. I guess given a choice between _only_ compressed or _only_ uncompressed I think uncompressed is better, but if the space is available it would be nice to see compressed images available. Before anyone tries it here's bzipped (worse than gzip) results: -rw-r--r-- 1 bright staff 647815168 Dec 28 19:23 3.4-install.iso -rw-r--r-- 1 bright staff 629685893 Dec 28 19:23 3.4-install.iso.bz2 -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 6:18:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from post.ruh-bath.swest.nhs.uk (hide14.nhs.uk [194.6.81.14]) by hub.freebsd.org (Postfix) with ESMTP id C5BB537B581 for ; Wed, 15 Mar 2000 06:18:28 -0800 (PST) (envelope-from rich@ruh-bath.swest.nhs.uk) Received: by post.ruh-bath.swest.nhs.uk with Internet Mail Service (5.5.2650.10) id ; Wed, 15 Mar 2000 14:18:15 -0000 Message-ID: <930BFA16390CD3119E010000F6E660C94F87F9@fear.ruh-bath.swest.nhs.uk> From: "Wood, Richard" To: hackers@FreeBSD.ORG Subject: RE: Why not gzip iso images? Date: Wed, 15 Mar 2000 14:18:07 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.10) Content-Type: text/plain; charset="windows-1252" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Paul Robinson [mailto:wigstah@akitanet.co.uk] > Sent: 15 March 2000 14:55 > you're still leaving the guy with the modem sat > there for around 45 minutes... But given that he has probably been sat there for 2.5 days already, is that a major problem? Rich -- Rich Wood, Systems Manager, Royal United Hospital, Bath rich@ruh-bath.swest.nhs.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 6:28:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gizmo.internode.com.au (gizmo.internode.com.au [192.83.231.115]) by hub.freebsd.org (Postfix) with ESMTP id A975B37BB75 for ; Wed, 15 Mar 2000 06:28:23 -0800 (PST) (envelope-from newton@gizmo.internode.com.au) Received: (from newton@localhost) by gizmo.internode.com.au (8.9.3/8.9.3) id AAA60639 for freebsd-hackers@freebsd.org; Thu, 16 Mar 2000 00:59:14 +1030 (CST) (envelope-from newton) Date: Thu, 16 Mar 2000 00:59:13 +1030 From: Mark Newton To: freebsd-hackers@freebsd.org Subject: WaveLAN/IEEE Turbo (Silver) Message-ID: <20000316005913.A60583@internode.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i X-PGP-Key: http://www.on.net/~newton/pgpkey.txt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to get a WaveLAN/IEEE Turbo (Silver) card working on a two month old -current system using the ISA bus card which comes with the PCMCIA WaveLAN unit. "pccardc dumpcis" says it wants IRQ 6, so I've made sure that that was included in the list of IRQs in pccard.conf. It's still unable to allocate I/O space, though: card insertion yields: pccard: card inserted, slot 0 wi0: No I/O space?! ... which is slightly demoralizing :-) The relevent bits of pccard.conf: io 0x240-0x3ff irq 3 5 6 10 11 13 15 memory 0xd4000 96k # Lucent WaveLAN/IEEE card "Lucent Technologies" "WaveLAN/IEEE" config 0x1 "wi0" ? insert echo WaveLAN/IEEE inserted insert /etc/pccard_ether $device remove echo WaveLAN/IEEE removed remove /sbin/ifconfig $device delete I'll attach the output of pccardc dumpcis. I saw something about this on -hackers or -current about two weeks ago, but I didn't have a WaveLAN card then, so it didn't occur to me to save it. I can't find any reference to it in the archives either, but I'm sure *someone* here knows an answer. I know the WaveLAN stuff is crap, and I'd rather be using Aironet at the moment (at least that works!), but we've thought it prudent to give the Lucent stuff a try (even if only to make sure our suppliers understand that we can change vendors easily, so they'd better give us a good price Cheers, - mark -- Mark Newton Email: newton@internode.com.au (W) Network Engineer Email: newton@atdot.dotat.org (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 6:29:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from beebite.ugh.net.au (beebite.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id E3CD537BB3C for ; Wed, 15 Mar 2000 06:29:36 -0800 (PST) (envelope-from andrew@ugh.net.au) Received: by beebite.ugh.net.au (Postfix, from userid 1000) id 71EE42C3; Thu, 16 Mar 2000 01:29:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by beebite.ugh.net.au (Postfix) with ESMTP id 65C8B2AD; Thu, 16 Mar 2000 00:29:35 +1000 (EST) Date: Thu, 16 Mar 2000 00:29:35 +1000 (EST) From: andrew@ugh.net.au To: Alfred Perlstein Cc: hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-Reply-To: <20000315063703.H14789@fw.wintelcom.net> Message-ID: X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000, Alfred Perlstein wrote: > Seriously though, there's no reason not to have the ISOs up in > compressed format though. I guess given a choice between _only_ > compressed or _only_ uncompressed I think uncompressed is better, > but if the space is available it would be nice to see compressed > images available. How many FTP servers support on the fly gzipping and ungzipping? mirror.aarnet.edu.au does...perhaps a little note could be placed in .message to remind people to try it... Andrew (who is on 33.6 and dosnt even contemplate downloading ISO images) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 6:37: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lucifer.bart.nl (lucifer.bart.nl [194.158.168.74]) by hub.freebsd.org (Postfix) with ESMTP id 228A937BAA7 for ; Wed, 15 Mar 2000 06:36:53 -0800 (PST) (envelope-from asmodai@lucifer.bart.nl) Received: (from asmodai@localhost) by lucifer.bart.nl (8.9.3/8.9.3) id PAA78858; Wed, 15 Mar 2000 15:36:33 +0100 (CET) (envelope-from asmodai) Date: Wed, 15 Mar 2000 15:36:33 +0100 From: Jeroen Ruigrok van der Werven To: andrew@ugh.net.au Cc: Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? Message-ID: <20000315153633.F94423@lucifer.bart.nl> References: <20000315063703.H14789@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from andrew@ugh.net.au on Thu, Mar 16, 2000 at 12:29:35AM +1000 Organisation: bART Internet Services B.V. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [20000315 15:35], andrew@ugh.net.au (andrew@ugh.net.au) wrote: >On Wed, 15 Mar 2000, Alfred Perlstein wrote: > >> Seriously though, there's no reason not to have the ISOs up in >> compressed format though. I guess given a choice between _only_ >> compressed or _only_ uncompressed I think uncompressed is better, >> but if the space is available it would be nice to see compressed >> images available. > >How many FTP servers support on the fly gzipping and >ungzipping? mirror.aarnet.edu.au does...perhaps a little note could be >placed in .message to remind people to try it... In all honesty, that's not a very intelligent option when discussing compressing ISO's. Compressing ISO's brings along a lot of cpu burn cycles as well as a large memory footprint. -- Jeroen Ruigrok van der Werven Network- and systemadministrator VIA NET.WORKS The Netherlands BSD: Technical excellence at its best http://www.bart.nl I may know many things, I may be ignorant... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 6:45:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from Mail.Openet-Telecom.COM (opentisdn.isdn.dublin.esat.net [193.120.50.79]) by hub.freebsd.org (Postfix) with ESMTP id E75EB37BAA8 for ; Wed, 15 Mar 2000 06:45:43 -0800 (PST) (envelope-from peter.edwards@openet-telecom.com) Received: from openet-telecom.com (rocklobster.openet-telecom.lan [10.0.0.40]) by Mail.Openet-Telecom.COM (8.9.3/8.9.3) with ESMTP id OAA22286; Wed, 15 Mar 2000 14:51:23 GMT (envelope-from peter.edwards@openet-telecom.com) Message-ID: <38CFA208.A89FA1C3@openet-telecom.com> Date: Wed, 15 Mar 2000 14:45:28 +0000 From: Peter Edwards Organization: Openet Telecom X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Paul Robinson Cc: hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul Robinson wrote: > I think this saving shows a little respect > and concern for the less fortunate home user stuck with a 56K modem paying > $x/hour where x can be anywhere between 0.5 and 5... Sorry, can't resist. Given (my) local call rates, if I started downloading the 3.4 ISO image and did a mail-order purchase of the CD at the same time, the CD would cost a lot less, and drop on my doormat before the download finished. 20MB doesnt make a difference for this 56K owner, cause I'm sensible enough not to use it to download ~640MB images! I'd rather give the money to FreeBSD than my Telco, anyway. Same goes for release candidates: there'll be a release before my download is done. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 7: 1:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gizmo.internode.com.au (gizmo.internode.com.au [192.83.231.115]) by hub.freebsd.org (Postfix) with ESMTP id DE4F337BAAA for ; Wed, 15 Mar 2000 07:01:28 -0800 (PST) (envelope-from newton@gizmo.internode.com.au) Received: (from newton@localhost) by gizmo.internode.com.au (8.9.3/8.9.3) id BAA60875 for freebsd-hackers@FreeBSD.ORG; Thu, 16 Mar 2000 01:32:21 +1030 (CST) (envelope-from newton) Date: Thu, 16 Mar 2000 01:32:21 +1030 From: Mark Newton To: freebsd-hackers@FreeBSD.ORG Subject: Re: WaveLAN/IEEE Turbo (Silver) Message-ID: <20000316013221.E60652@internode.com.au> References: <20000316005913.A60583@internode.com.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nFreZHaLTZJo0R7j" X-Mailer: Mutt 1.0pre3i In-Reply-To: <20000316005913.A60583@internode.com.au> X-PGP-Key: http://www.on.net/~newton/pgpkey.txt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii On Thu, Mar 16, 2000 at 12:59:13AM +1030, Mark Newton wrote: > I'll attach the output of pccardc dumpcis. Blurgh. Maybe I'll attach it this time. - mark -- Mark Newton Email: newton@internode.com.au (W) Network Engineer Email: newton@atdot.dotat.org (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Description: Output from "pccardc dumpcis" with WaveLAN/IEEE inserted Content-Disposition: attachment; filename=cis Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 4 000: 67 5a 08 ff Attribute memory device information: Device number 1, type SRAM, WPS = OFF Speed = 5.0 x 100 ns, Memory block size = 512b, 2 units Tuple #3, code = 0x1d (Other conditions for attribute memory), length = 5 000: 01 67 5a 08 ff (MWAIT) Tuple #4, code = 0x15 (Version 1 info), length = 80 000: 05 00 4c 75 63 65 6e 74 20 54 65 63 68 6e 6f 6c 010: 6f 67 69 65 73 00 57 61 76 65 4c 41 4e 2f 49 45 020: 45 45 00 56 65 72 73 69 6f 6e 20 30 31 2e 30 31 030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff Version = 5.0, Manuf = [Lucent Technologies],card vers = [WaveLAN/IEEE] Addit. info = [Version 01.01],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[] Tuple #5, code = 0x20 (Manufacturer ID), length = 4 000: 56 01 02 00 PCMCIA ID = 0x156, OEM ID = 0x2 Tuple #6, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #7, code = 0x22 (Functional EXT), length = 2 000: 01 07 Modem interface capabilities: Tuple #8, code = 0x22 (Functional EXT), length = 5 000: 02 40 42 0f 00 Data modem services available: Tuple #9, code = 0x22 (Functional EXT), length = 5 000: 02 80 84 1e 00 Data modem services available: Tuple #10, code = 0x22 (Functional EXT), length = 5 000: 02 60 ec 53 00 Data modem services available: Tuple #11, code = 0x22 (Functional EXT), length = 5 000: 02 c0 d8 a7 00 Data modem services available: Tuple #12, code = 0x22 (Functional EXT), length = 2 000: 03 07 Tuple #13, code = 0x22 (Functional EXT), length = 8 000: 04 06 00 60 1d 1e ac 5c Voice services available: Tuple #14, code = 0x22 (Functional EXT), length = 2 000: 05 01 Modem interface capabilities: Tuple #15, code = 0x1a (Configuration map), length = 7 000: 03 01 e0 03 00 00 01 Reg len = 4, config register addr = 0x3e0, last config = 0x1 Registers: X------- Tuple #16, code = 0x1b (Configuration entry), length = 15 000: c1 01 19 76 c5 4b d5 19 36 36 05 46 7f ff ff Config index = 0x1(default) Interface byte = 0x1 (I/O) Vcc pwr: Minimum operating supply voltage: 4 x 1V, ext = 0x4b Maximum operating supply voltage: 5 x 1V, ext = 0x19 Max current average over 1 second: 3 x 100mA Max current average over 10 ms: 3 x 100mA Power down supply current: 1 x 10mA Card decodes 6 address lines, limited 8/16 Bit I/O IRQ modes: Pulse IRQ level = 6 Tuple #17, code = 0xff (Terminator), length = 0 2 slots found --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 7:30:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id CD5FE37BC59 for ; Wed, 15 Mar 2000 07:30:11 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id QAA24622; Wed, 15 Mar 2000 16:18:08 +0100 (CET) Message-Id: <200003151518.QAA24622@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: "Adam Crawford" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: telsat satellite cards Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 15 Mar 2000 11:00:14 +0100." <003401bf8e65$04a61ea0$0901a8c0@ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Mar 2000 16:18:08 +0100 From: Gary Jennejohn Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Adam Crawford" writes: >> Read the Linux source and find out how it talks to the card >> >> Read the FreeBSD source for an equivalent device >> >> Write the FreeBSD device. >> >> Simple! :) > > >If there was source for an equivalent device, why would i need to write >another one? :) > I assume Daniel meant "similar". The card probably looks like an ethernet card. There are tons of drivers in the tree. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 7:40: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id 3011D37BB63 for ; Wed, 15 Mar 2000 07:39:42 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id RAA52758; Wed, 15 Mar 2000 17:38:26 +0200 (EET) (envelope-from ru) Date: Wed, 15 Mar 2000 17:38:26 +0200 From: Ruslan Ermilov To: Sheldon Hearn Cc: hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? Message-ID: <20000315173826.B40984@relay.ucb.crimea.ua> Mail-Followup-To: Sheldon Hearn , hackers@FreeBSD.ORG References: <53794.953128494@axl.ops.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <53794.953128494@axl.ops.uunet.co.za>; from Sheldon Hearn on Wed, Mar 15, 2000 at 03:54:54PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 15, 2000 at 03:54:54PM +0200, Sheldon Hearn wrote: > > > On Wed, 15 Mar 2000 14:43:27 GMT, Paul Robinson wrote: > > > If you save 20Mb, over a reliable 56Kb modem, you've saved them somewhere > > in the region of one and a half hours... I think you guys are too used to > > your broadband... :) > > And you're forgetting that, as I said in my original reply, people with > 56K modems usually benefit from hardware compression over their link > anyway. > Depends. If you have a dial-up connection, and pay for the connection time, then hardware (or link-level software) compression saves both download time and your money. But if you pay for bytes (like me), modem compression only saves download time, but not money. 22MB would cost my company $7.70. But considering how much 650MB costs... I don't really think this is a big saving :-) -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 7:49:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ab-bg.net (ab-bg.net [212.56.11.129]) by hub.freebsd.org (Postfix) with SMTP id D71B437B9E1 for ; Wed, 15 Mar 2000 07:49:27 -0800 (PST) (envelope-from v0rbiz@ab-bg.net) Received: (qmail 23751 invoked by uid 1000); 15 Mar 2000 15:52:01 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 15 Mar 2000 15:52:01 -0000 Date: Wed, 15 Mar 2000 17:52:01 +0200 (EET) From: Victor Ivanov To: hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-Reply-To: <53794.953128494@axl.ops.uunet.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > On Wed, 15 Mar 2000 14:43:27 GMT, Paul Robinson wrote: > > > If you save 20Mb, over a reliable 56Kb modem, you've saved them somewhere > > in the region of one and a half hours... I think you guys are too used to > > your broadband... :) > > And you're forgetting that, as I said in my original reply, people with > 56K modems usually benefit from hardware compression over their link > anyway. > Har har. I have 33.6... compression? Har har. Better than gzip? :) But I *don't* need downloading 600Mb (jeee!)... Usualy there are ISPs who download such things and then sell some CDs (just the media:)). And they don't give a shXt about 20MB more or less... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 7:55:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ab-bg.net (ab-bg.net [212.56.11.129]) by hub.freebsd.org (Postfix) with SMTP id 581F137BD28 for ; Wed, 15 Mar 2000 07:55:50 -0800 (PST) (envelope-from v0rbiz@ab-bg.net) Received: (qmail 23765 invoked by uid 1000); 15 Mar 2000 15:58:32 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 15 Mar 2000 15:58:32 -0000 Date: Wed, 15 Mar 2000 17:58:32 +0200 (EET) From: Victor Ivanov To: hackers@FreeBSD.ORG Subject: That's why [Re: Why not gzip iso images?] In-Reply-To: <20000315063703.H14789@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > * Paul Robinson [000315 06:14] wrote: [snip snip] > ~ % ftp ftp://ftp.freebsd.org/pub/FreeBSD/release/i386/ISO-IMAGES/ > Connected to wizard.freesoftware.com. > ... > ftp> get 3.4-install.iso > local: 3.4-install.iso remote: 3.4-install.iso > 227 Entering Passive Mode (209,155,82,20,112,101) > 150 Opening BINARY mode data connection for '3.4-install.iso' (647815168 bytes). > 100% |**************************************************| 617 MB 00:00 ETA > 226 Transfer complete. > 647815168 bytes received in 147.34 seconds (4.19 MB/s) > > :) 200 PORT command successful. 150 Opening BINARY mode data connection for '3.4-install.iso' (647815168 bytes). 0% | | 29200 73:54:02 ETA ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 9:50:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.cvzoom.net (ns.cvzoom.net [208.226.154.2]) by hub.freebsd.org (Postfix) with SMTP id C00C337C2B3 for ; Wed, 15 Mar 2000 09:47:13 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: (qmail 307 invoked from network); 15 Mar 2000 17:46:58 -0000 Received: from acs-63-85-133-249.cvzoom.net (HELO cvzoom.net) (63.85.133.249) by ns.cvzoom.net with SMTP; 15 Mar 2000 17:46:58 -0000 Message-ID: <38CFCC78.2EBD0459@cvzoom.net> Date: Wed, 15 Mar 2000 12:46:32 -0500 From: Donn Miller X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Arnout Boer Cc: hackers@freebsd.org Subject: Re: Why not gzip iso images? References: <200003150629.WAA67193@zippy.cdrom.com> <20000315134211.A47945@tomcat.xs4all.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arnout Boer wrote: > But for the ISO images... IS it a problem to gzip > them.... > They take less space on the master site and the mirror > sites and they take less bandwidth! But, how much would the ISO be able to be compressed? The source is already a split, compressed tarball, for example... > Less bandwidth and less time to download > even economical a good thing! I think we should use bzip2 to compress the images. Someone should try to compress the images using gzip, and then bzip2, and compare the file sizes. Bzip2 is an awesome compression program, but I understand that gzip is better at compressing certain things for a small number of cases. Use the -v option to both, and see what it reports for the compression %'age. - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 10:29:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B385137C2F1 for ; Wed, 15 Mar 2000 10:22:41 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA95934; Wed, 15 Mar 2000 11:22:37 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA88111; Wed, 15 Mar 2000 11:22:28 -0700 (MST) Message-Id: <200003151822.LAA88111@harmony.village.org> To: dannyman Subject: Re: specifying probe order for scsi controllers Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 14 Mar 2000 21:47:53 PST." <20000314214752.A38810@stumpy.dannyland.org> References: <20000314214752.A38810@stumpy.dannyland.org> Date: Wed, 15 Mar 2000 11:22:28 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000314214752.A38810@stumpy.dannyland.org> dannyman writes: : or is there some way i can config things to keep da0 on the ncr and da1 on the : aha? You can look at the LINT kernel for ways to hardwire these devices. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 10:32:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 9A00E37C084 for ; Wed, 15 Mar 2000 10:29:54 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA95942; Wed, 15 Mar 2000 11:29:52 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA88138; Wed, 15 Mar 2000 11:29:43 -0700 (MST) Message-Id: <200003151829.LAA88138@harmony.village.org> To: Mark Newton Subject: Re: WaveLAN/IEEE Turbo (Silver) Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 16 Mar 2000 00:59:13 +1030." <20000316005913.A60583@internode.com.au> References: <20000316005913.A60583@internode.com.au> Date: Wed, 15 Mar 2000 11:29:43 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000316005913.A60583@internode.com.au> Mark Newton writes: : "pccardc dumpcis" says it wants IRQ 6, so I've made sure that that : was included in the list of IRQs in pccard.conf. It's still unable : to allocate I/O space, though: card insertion yields: : : pccard: card inserted, slot 0 : wi0: No I/O space?! : : ... which is slightly demoralizing :-) Two items. First, boot -v (or break into the debugger before inserting the card and do 'w bootverbose 1'). Second add the following line to your pccard.conf file before the reboot: debuglevel 4 and pccardd will give you more information about what it is trying to do. Send me the results. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 10:45:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 821F037BE78 for ; Wed, 15 Mar 2000 10:44:10 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from zippy.cdrom.com (jkh@localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id KAA69151; Wed, 15 Mar 2000 10:44:12 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) To: Jeroen Ruigrok van der Werven Cc: andrew@ugh.net.au, Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-reply-to: Your message of "Wed, 15 Mar 2000 15:36:33 +0100." <20000315153633.F94423@lucifer.bart.nl> Date: Wed, 15 Mar 2000 10:44:12 -0800 Message-ID: <69148.953145852@zippy.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can I step in here for a moment? I'm not going to gzip the ISO images. Please just live with it. End of discussion. :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 11:32:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bdr-xcon.is.matchlogic.com (bdr-xcon.is.matchlogic.com [206.132.16.20]) by hub.freebsd.org (Postfix) with ESMTP id BB78F37BD90 for ; Wed, 15 Mar 2000 11:32:18 -0800 (PST) (envelope-from crandall@matchlogic.com) Received: by bdr-xcon.is.matchlogic.com with Internet Mail Service (5.5.2650.21) id ; Wed, 15 Mar 2000 12:32:00 -0700 Message-ID: <5FE9B713CCCDD311A03400508B8B30137DA545@bdr-xcln.is.matchlogic.com> From: Charles Randall To: Howard Leadmon Cc: freebsd-hackers@FreeBSD.ORG Subject: RE: Buffer Problems and hangs in 4.0-CURRENT.. Date: Wed, 15 Mar 2000 12:28:04 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That's not spurprising. When I tried it, Solaris 2.6 x86 didn't support full-duplex 100Base-TX on very many devices. The DEC tulip cards were one of the few that had drivers that supported full-duplex. Charles -----Original Message----- From: Howard Leadmon [mailto:howardl@account.abs.net] Sent: Sunday, March 12, 2000 4:24 PM To: Alfred Perlstein Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. ... I used the DEC based cards as I had seen so many people raving about them, and at least under Solaris they claim the DEC tulip based boards are the hot ticket. ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 11:54:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from account.abs.net (account.abs.net [207.114.5.70]) by hub.freebsd.org (Postfix) with ESMTP id E6E6637BA0A for ; Wed, 15 Mar 2000 11:54:47 -0800 (PST) (envelope-from howardl@account.abs.net) Received: (from howardl@localhost) by account.abs.net (8.9.3/8.9.3+RBL+DUL+RSS+ORBS) id OAA56817; Wed, 15 Mar 2000 14:54:39 -0500 (EST) (envelope-from howardl) From: Howard Leadmon Message-Id: <200003151954.OAA56817@account.abs.net> Subject: Best NIC for FBSD (was: Buffer Problems and hangs in 4.0-CURRENT..) In-Reply-To: <5FE9B713CCCDD311A03400508B8B30137DA545@bdr-xcln.is.matchlogic.com> from Charles Randall at "Mar 15, 2000 12:28:04 pm" To: Charles Randall Date: Wed, 15 Mar 2000 14:54:39 -0500 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL72 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I will attest to that, as I have several Solaris-x86 machines, some on 2.6. and some on 2.7, all running the DEC cards in 100T-FDX mode like a champ. As some are news servers, they run 20-30mpbs constantly almost 24/7 without a hitch, so they work well under Solaris. Guess it was dumb to assume they would work as well on FBSD, but I had hoped. I have piles of the DEC cards around. I wonder what really has the best driver under FBSD, as far as reliability and performance, and yes I also want 100T-FDX as my entire network is interconnected with Cisco Catalyst Switches. I got the inside scoop on the DEC cards for Solaris from some Sun engineers. Has anyone actually ever rated/tested the various NIC's for FBSD?? -Howard > That's not spurprising. When I tried it, Solaris 2.6 x86 didn't support > full-duplex 100Base-TX on very many devices. The DEC tulip cards were one of > the few that had drivers that supported full-duplex. > > Charles > > -----Original Message----- > From: Howard Leadmon [mailto:howardl@account.abs.net] > Sent: Sunday, March 12, 2000 4:24 PM > To: Alfred Perlstein > Cc: freebsd-hackers@FreeBSD.ORG > Subject: Re: Buffer Problems and hangs in 4.0-CURRENT.. > > ... > > I used the DEC based cards as I had seen so many people raving > about them, and at least under Solaris they claim the DEC tulip based > boards are the hot ticket. > > ... > --- Howard Leadmon - howardl@abs.net - http://www.abs.net ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 11:58:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.nyct.net (bsd4.nyct.net [204.141.86.6]) by hub.freebsd.org (Postfix) with ESMTP id DC75037C010 for ; Wed, 15 Mar 2000 11:58:21 -0800 (PST) (envelope-from efutch@nyct.net) Received: from bsd1.nyct.net (efutch@bsd1.nyct.net [204.141.86.3]) by mail.nyct.net (8.8.8/8.8.7) with ESMTP id OAA20373 for ; Wed, 15 Mar 2000 14:58:20 -0500 (EST) (envelope-from efutch@nyct.net) Date: Wed, 15 Mar 2000 14:58:19 -0500 (EST) From: "Eric D. Futch" To: freebsd-hackers@freebsd.org Subject: Re: Why not gzip iso images? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I think people are forgetting that you do not necessarily need to download the entire ISO image in order to make a fresh install of FreeBSD. Back when I started using FreeBSD somewhere around version 2.1, I remember donwloading the boot floppies, then installing the whole deal over FTP, all on a 28.8 modem. When you install via FTP you only have to download what you need and nothing more. Sure this is a pain for installing/upgrading a bunch of machines, since you would be downloading the same things over and over again for each machine. If you have only one machine you're worried about, say a test machine, then install over FTP and if you like it... just buy the CD's :) -- Eric Futch New York Connect.Net, Ltd. efutch@nyct.net Technical Support Staff http://www.nyct.net (212) 293-2620 "Bringing New York The Internet Access It Deserves" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 12: 9:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from snake.supranet.net (snake.supranet.net [205.164.160.19]) by hub.freebsd.org (Postfix) with ESMTP id 155E437BA60; Wed, 15 Mar 2000 12:09:26 -0800 (PST) (envelope-from john@arnie.jfive.com) Received: from snake.supranet.net (john@snake.supranet.net [205.164.160.19]) by snake.supranet.net (8.9.3/8.9.3) with ESMTP id OAA23562; Wed, 15 Mar 2000 14:08:55 -0600 (CST) (envelope-from john@arnie.jfive.com) Date: Wed, 15 Mar 2000 14:08:55 -0600 (CST) From: John Heyer X-Sender: john@snake.supranet.net To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Digital HiNote 433 and 3.X Installation Problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to (finally) upgrade my DEC HiNote Laptop from 2.2.8 to 3.4 by doing just a clean install. I can do all the hard disk stuff and select the installation method, but as soon as it starts unpacking "bin" it hangs. I thought it might be a networking problem and even tried installing from floppies...same thing. Any advice how do dance around possible hardware issues, or anything else? It's a i486/33, 8 MB, 250 MB. I also tried installing 3.0 and that couldn't get past the "probing hardware", and OpenBSD installs but hangs when making the devices. I can install FreeBSD 2.2.8, NetBSD 1.4.1, and DOS without any problems. -- Johh Heyer - john@arnie.jfive.com - http://www.jfive.com "Me fail English? That's unpossible!" -- Ralph Wiggam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 12:52:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail2.svr.pol.co.uk (mail2.svr.pol.co.uk [195.92.193.210]) by hub.freebsd.org (Postfix) with ESMTP id B3FE637BB92 for ; Wed, 15 Mar 2000 12:52:28 -0800 (PST) (envelope-from s.mitchell@computer.org) Received: from modem-94.vermont.dialup.pol.co.uk ([62.137.96.94] helo=lungfish.freeserve.co.uk) by mail2.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 12VKmD-0005CY-00; Wed, 15 Mar 2000 20:52:21 +0000 Received: (from scott@localhost) by lungfish.freeserve.co.uk (8.8.8/8.8.8) id UAA00451; Wed, 15 Mar 2000 20:01:54 GMT (envelope-from scott) Message-ID: <20000315200154.31877@lungfish.freeserve.co.uk> Date: Wed, 15 Mar 2000 20:01:54 +0000 From: Scott Mitchell To: Don Wallwork , freebsd-hackers@FreeBSD.org Subject: Re: Porting linux drivers to FreeBSD References: <200003150014.QAA06063@galaga.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <200003150014.QAA06063@galaga.cisco.com>; from Don Wallwork on Tue, Mar 14, 2000 at 04:14:50PM -0800 X-Operating-System: FreeBSD 2.2.6-RELEASE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 14, 2000 at 04:14:50PM -0800, Don Wallwork wrote: > Hi- > > I found a linux driver for my Xircom PCMCIA ethernet card at: > http://pcmcia.sourceforge.org/ Which card was that? All of the recent Xircom PCMCIA cards are supported by the xe driver in 3.x > Are there any pointers available on porting linux drivers > to FreeBSD? I'm not aware of any, but for network drivers at least it's pretty easy regardless. To a certain level, a driver is a driver is a driver; they all have to do pretty much the same things in the same order, BSD and Linux just express that a little differently. I've typically found that figuring out how to make the d*mn badly documented hardware behave is way harder than glueing it into your OS of choice :-) Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" s.mitchell@computer.org | 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 Mar 15 13:33:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 8FBAA37BE70 for ; Wed, 15 Mar 2000 13:33:44 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.9.2/8.9.3) with UUCP id WAA67753; Wed, 15 Mar 2000 22:33:10 +0100 (CET) (envelope-from leifn@neland.dk) Received: from gina (gina.neland.dk [192.168.0.14]) by arnold.neland.dk (8.9.3/8.9.3) with SMTP id WAA88235; Wed, 15 Mar 2000 22:32:37 +0100 (CET) (envelope-from leifn@neland.dk) Message-ID: <00cf01bf8ec6$027d5420$0e00a8c0@neland.dk> Reply-To: "Leif Neland" From: "Leif Neland" To: "Eric D. Futch" , References: Subject: Re: Why not gzip iso images? Date: Wed, 15 Mar 2000 22:20:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message -----=20 From: "Eric D. Futch" To: Sent: Wednesday, March 15, 2000 8:58 PM Subject: Re: Why not gzip iso images? > I think people are forgetting that you do not necessarily need to = download > the entire ISO image in order to make a fresh install of FreeBSD. = Back > when I started using FreeBSD somewhere around version 2.1, I remember > donwloading the boot floppies, then installing the whole deal over = FTP, > all on a 28.8 modem. When you install via FTP you only have to = download > what you need and nothing more. Sure this is a pain for > installing/upgrading a bunch of machines, since you would be = downloading > the same things over and over again for each machine. =20 Then download the individual parts (eg bin.aa to bin.bf) and then = install from a local ftp-server. Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 13:36: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from galaga.cisco.com (galaga.cisco.com [171.71.161.89]) by hub.freebsd.org (Postfix) with ESMTP id 9017B37BC06 for ; Wed, 15 Mar 2000 13:35:29 -0800 (PST) (envelope-from donwall@cisco.com) Received: from localhost (donwall@localhost) by galaga.cisco.com (8.8.5-Cisco.2-SunOS.5.5.1.sun4/8.6.5) with ESMTP id NAA17431; Wed, 15 Mar 2000 13:35:11 -0800 (PST) Message-Id: <200003152135.NAA17431@galaga.cisco.com> From: "Don Wallwork" To: Scott Mitchell Cc: freebsd-hackers@FreeBSD.org Subject: Re: Porting linux drivers to FreeBSD In-reply-to: Your message of "Wed, 15 Mar 2000 20:01:54 GMT." <20000315200154.31877@lungfish.freeserve.co.uk> Date: Wed, 15 Mar 2000 13:35:11 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Scott Mitchell wrote: >On Tue, Mar 14, 2000 at 04:14:50PM -0800, Don Wallwork wrote: >> Hi- >> >> I found a linux driver for my Xircom PCMCIA ethernet card at: >> http://pcmcia.sourceforge.org/ > >Which card was that? All of the recent Xircom PCMCIA cards are supported >by the xe driver in 3.x RealPort CardBus Ethernet 10/100 (RBE-100). I'll give the xe driver a try. > >> Are there any pointers available on porting linux drivers >> to FreeBSD? > >I'm not aware of any, but for network drivers at least it's pretty easy >regardless. To a certain level, a driver is a driver is a driver; they all >have to do pretty much the same things in the same order, BSD and Linux >just express that a little differently. I've typically found that figuring >out how to make the d*mn badly documented hardware behave is way harder >than glueing it into your OS of choice :-) Agreed. Thanks for the info. -Don > > Scott > >-- >=========================================================================== >Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels >Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" >s.mitchell@computer.org | 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 Mar 15 13:52:55 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hyperhost.net (hyperhost.net [207.159.132.249]) by hub.freebsd.org (Postfix) with ESMTP id 1B69437BA92 for ; Wed, 15 Mar 2000 13:52:53 -0800 (PST) (envelope-from patseal@hyperhost.net) Received: from foobar.foobar.eyep.net (postfix@p12.a4.du.radix.net [207.192.130.140]) by hyperhost.net (8.9.3/8.9.3) with ESMTP id QAA09683; Wed, 15 Mar 2000 16:52:38 -0500 (EST) Received: by foobar.foobar.eyep.net (Postfix, from userid 1000) id 0C4B6137F68; Wed, 15 Mar 2000 16:51:02 -0500 (EST) Date: Wed, 15 Mar 2000 16:51:02 -0500 From: Patrick Seal To: Don Wallwork Cc: Scott Mitchell , freebsd-hackers@FreeBSD.ORG Subject: Re: Porting linux drivers to FreeBSD Message-ID: <20000315165101.A31970@hyperhost.net> References: <20000315200154.31877@lungfish.freeserve.co.uk> <200003152135.NAA17431@galaga.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003152135.NAA17431@galaga.cisco.com>; from donwall@cisco.com on Wed, Mar 15, 2000 at 01:35:11PM -0800 X-Operating-System: FreeBSD foobar.foobar.eyep.net 3.4-STABLE FreeBSD 3.4-STABLE Organization: Hyperhost Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 15, 2000 at 01:35:11PM -0800i, Don Wallwork wrote: > RealPort CardBus Ethernet 10/100 (RBE-100). > > I'll give the xe driver a try. Dont even try, Cardbus (32-bit) isn't supported by FreeBSD yet. I made the mistake of buying that exact card :P -- ------------------------------------ _____________________________________ Patrick Seal |"Microsoft isn't evil, they just make | really crappy operating systems." Hyperhost - http://www.hyperhost.net| -Linus Torvalds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 15:46:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 0AE1437BF9C for ; Wed, 15 Mar 2000 15:46:14 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA97552 for ; Wed, 15 Mar 2000 16:46:12 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA90746 for ; Wed, 15 Mar 2000 16:46:02 -0700 (MST) Message-Id: <200003152346.QAA90746@harmony.village.org> To: hackers@freebsd.org Subject: Odd crash Date: Wed, 15 Mar 2000 16:46:02 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just got an odd crash: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01d16ac stack pointer = 0x10:0xc031e704 frame pointer = 0x10:0xc031e70c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = kernel: type 12 trap, code=0 Stopped at arpintr+0x9c: movl 0x8(%ebx),%ecx db> trace arpintr(c02a997b,0,10,10,c5d20010) at arpintr+0x9c swi_net_next() at swi_net_next db> I'm using the realtek driver with a RealTek 8139 built into the SBC that I have sitting on my desk. rl0: port 0x6000-0x60ff mem 0xf9000000-0xf90000ff irq 11 at device 6.0 on pci0 rl0: Ethernet address: 00:60:e0:00:7f:c8 Looking at the disassembled output of ddb, I think that I'm crashing at the following place. if (m->m_len < sizeof(struct arphdr) && (m = m_pullup(m, sizeof(struct arphdr)) == NULL)) { log(LOG_ERR, "arp: runt packet -- m_pullup failed."); continue; } ar = mtod(m, struct arphdr *); ==> if (ntohs(ar->ar_hrd) != ARPHRD_ETHER && ntohs(ar->ar_hrd) != ARPHRD_IEEE802) { log(LOG_ERR, "arp: unknown hardware address format (%2D)", (unsigned char *)&ar->ar_hrd, ""); m_freem(m); continue; } since ar is NULL for some reason. I have no clue at all why this would happen. This means that m->m_data has to be NULL. But that doesn't make sense because of the m_pullup just before this. If it doesn't return NULL, then I thought that m->m_data was guaranteed to be valid. I think that there might be a bug in the code generation, but I don't know for sure. If we look at the disassembled output: arpintr+0x79: testl %eax,%eax arpintr+0x7b: setz %al arpintr+0x7e: movzbl %al,%ebx arpintr+0x81: testl %ebx,%ebx arpintr+0x83: jz arpintr+0x9c arpintr+0x85: pushl $0xc02f5c60 arpintr+0x8a: pushl $0x3 arpintr+0x8c: call log arpintr+0x91: addl $0x8,%esp arpintr+0x94: jmp arpintr+0x5 arpintr+0x99: leal 0(%esi),%esi arpintr+0x9c: movl 0x8(%ebx),%ecx arpintr+0x9f: movzwl 0(%ecx),%eax arpintr+0xa2: xchgb %ah,%al arpintr+0xa4: cmpw $0x1,%ax arpintr+0xa8: jz arpintr+0xd8 arpintr+0xaa: movzwl 0(%ecx),%eax arpintr+0xad: xchgb %ah,%al arpintr+0xaf: cmpw $0x6,%ax arpintr+0xb3: jz arpintr+0xd8 arpintr+0xb5: pushl $0xc02f5c0e arpintr+0xba: pushl %ecx arpintr+0xbb: pushl $0xc02f5ca0 arpintr+0xc0: pushl $0x3 arpintr+0xc2: call log So we're between the two log calls, which is good. Notice that we effectively zero %ebx at 7e. We then jump to 9c if it isss zero, and then dereference 3bx. Bang, we're dead. I think that the jz should be a jnz, no? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 15:53:31 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mycenae.ilion.eu.org (mycenae.ilion.eu.org [203.35.206.129]) by hub.freebsd.org (Postfix) with ESMTP id 827F437BA73 for ; Wed, 15 Mar 2000 15:53:25 -0800 (PST) (envelope-from patrykz@ilion.eu.org) Received: from mycenae.ilion.eu.org (localhost [127.0.0.1]) by mycenae.ilion.eu.org (8.9.3/8.9.3) with ESMTP id KAA11010; Thu, 16 Mar 2000 10:52:26 +1100 (EST) (envelope-from patrykz@mycenae.ilion.eu.org) Message-Id: <200003152352.KAA11010@mycenae.ilion.eu.org> To: Paul Robinson Cc: Sheldon Hearn , Alfred Perlstein , Luigi Rizzo , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-reply-to: Your message of "Wed, 15 Mar 2000 14:55:14 -0000." Date: Thu, 16 Mar 2000 10:52:25 +1100 From: Patryk Zadarnowski Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Wed, 15 Mar 2000, Sheldon Hearn wrote: > > > And you're forgetting that, as I said in my original reply, people with > > 56K modems usually benefit from hardware compression over their link > > anyway. > > But you're defeated by your own argument, as according to you the image > doesn't compress very well, and I suspect (in fact I know) that hardware > compression at the modem is not as efficient as gzip -9 ... at best you > might be able to get that 22Mb we're talking about saving, down to a 10Mb > saving... you're still leaving the guy with the modem sat there for around > 45 minutes... Remember that our modem guy has spent the last 48 hours sitting there waiting for the download to complete. I'm sure that by now he's fallen asleep and the 45 minutes will not make a difference anyway. ;) In most places that are ``affected'' by that 20MB you're trying to save, bandwidth is so expensive that you'll never going to download the ISO image anyway. I've just calculated that it would cost me AUD 120 or so, compared to $20 for downloading just the distribution I need. If I was to download the ISO image over my modem, I'd order a CD today instead (or enroll at Uni ;) So I'm supporting uncompressed iso images. 99.99% of those who'd benefit from the compression would never consider downloading them anyway, and 99.99% of those who are going to use these images will find .gz a pain. Pat. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk Zadarnowski University of New South Wales School of Computer Science and Engineering -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 15:53:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from xena.cs.waikato.ac.nz (xena.cs.waikato.ac.nz [130.217.241.20]) by hub.freebsd.org (Postfix) with ESMTP id BFE8937BAE1 for ; Wed, 15 Mar 2000 15:53:49 -0800 (PST) (envelope-from joerg@lucy.cs.waikato.ac.nz) Received: from lucy.cs.waikato.ac.nz (joerg@lucy.cs.waikato.ac.nz [130.217.241.12]) by xena.cs.waikato.ac.nz (8.9.3/8.9.3) with ESMTP id MAA11690; Thu, 16 Mar 2000 12:53:46 +1300 (NZDT) Received: (from joerg@localhost) by lucy.cs.waikato.ac.nz (8.9.3/8.9.0) id MAA06589; Thu, 16 Mar 2000 12:53:44 +1300 (NZDT) Date: Thu, 16 Mar 2000 12:53:44 +1300 From: Joerg Micheel To: Warner Losh Cc: hackers@freebsd.org Subject: Re: Odd crash Message-ID: <20000316125344.G16183@cs.waikato.ac.nz> References: <200003152346.QAA90746@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <200003152346.QAA90746@harmony.village.org>; from Warner Losh on Wed, Mar 15, 2000 at 04:46:02PM -0700 Organization: SCMS, The University of Waikato, Hamilton, New Zealand Project: WAND - Waikato Applied Network Dynamics, DAG Operating-System: ... drained by Solaris 7 SPARC Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 15, 2000 at 04:46:02PM -0700, Warner Losh wrote: > > I just got an odd crash: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x8 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc01d16ac > stack pointer = 0x10:0xc031e704 > frame pointer = 0x10:0xc031e70c > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = Idle > interrupt mask = > kernel: type 12 trap, code=0 > Stopped at arpintr+0x9c: movl 0x8(%ebx),%ecx > db> trace > arpintr(c02a997b,0,10,10,c5d20010) at arpintr+0x9c > swi_net_next() at swi_net_next > db> I'm chasing a similiar bug since 2 weeks. The kernel crashed with a double page fault and access to a very low address (something like 0x00000098). I eliminated the RealTek card (replaced by a 3Com) and things got better. But it kept crashing. Now I have disabled SMP and things happen even more rarely (once every 2 days instead of once every 3-4 hours). This is a very fast machine (733) potentially with chipsets not supported too well. I have a few crash dumps I could people have a look at, at least send the output of kdgb. If anyone is interested, I may be able to provide access to the machine and the crash dumps (you can't ftp them, they are 1GB+ in size, it would cost me NZ$250). Joerg -- Joerg B. Micheel Email: Waikato Applied Network Dynamics Phone: +64 7 8384794 The University of Waikato, CompScience Fax: +64 7 8384155 Private Bag 3105 Pager: +64 868 38222 Hamilton, New Zealand Plan: TINE and the DAG's To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 16:46:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ind.alcatel.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id C82B637BA35 for ; Wed, 15 Mar 2000 16:46:16 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com (mailhub [198.206.181.70]) by ind.alcatel.com (8.9.3+Sun/8.9.1 (ind.alcatel.com 3.0 [OUT])) with SMTP id QAA04142; Wed, 15 Mar 2000 16:45:35 -0800 (PST) X-Origination-Site: Received: from utah.XYLAN.COM by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id QAA28346; Wed, 15 Mar 2000 16:45:34 -0800 Received: from softweyr.com by utah.XYLAN.COM (SMI-8.6/SMI-SVR4 (xylan utah [SPOOL])) id RAA02028; Wed, 15 Mar 2000 17:45:24 -0700 Message-ID: <38D02ED3.28CBA5EE@softweyr.com> Date: Wed, 15 Mar 2000 17:46:11 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Seal Cc: Don Wallwork , Scott Mitchell , freebsd-hackers@FreeBSD.ORG Subject: Re: Porting linux drivers to FreeBSD References: <20000315200154.31877@lungfish.freeserve.co.uk> <200003152135.NAA17431@galaga.cisco.com> <20000315165101.A31970@hyperhost.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Patrick Seal wrote: > > On Wed, Mar 15, 2000 at 01:35:11PM -0800i, Don Wallwork wrote: > > RealPort CardBus Ethernet 10/100 (RBE-100). > > > > I'll give the xe driver a try. > > Dont even try, Cardbus (32-bit) isn't supported by FreeBSD yet. You haven't been looking into 4.0, have you? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 16:57:55 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hyperhost.net (hyperhost.net [207.159.132.249]) by hub.freebsd.org (Postfix) with ESMTP id B334437BC06 for ; Wed, 15 Mar 2000 16:57:52 -0800 (PST) (envelope-from patseal@hyperhost.net) Received: from foobar.foobar.eyep.net (postfix@p12.a4.du.radix.net [207.192.130.140]) by hyperhost.net (8.9.3/8.9.3) with ESMTP id TAA07161; Wed, 15 Mar 2000 19:57:15 -0500 (EST) Received: by foobar.foobar.eyep.net (Postfix, from userid 1000) id 9AB25137F68; Wed, 15 Mar 2000 19:55:44 -0500 (EST) Date: Wed, 15 Mar 2000 19:55:44 -0500 From: Patrick Seal To: Wes Peters Cc: Don Wallwork , Scott Mitchell , freebsd-hackers@FreeBSD.ORG Subject: Re: Porting linux drivers to FreeBSD Message-ID: <20000315195544.A42873@hyperhost.net> References: <20000315200154.31877@lungfish.freeserve.co.uk> <200003152135.NAA17431@galaga.cisco.com> <20000315165101.A31970@hyperhost.net> <38D02ED3.28CBA5EE@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <38D02ED3.28CBA5EE@softweyr.com>; from wes@softweyr.com on Wed, Mar 15, 2000 at 05:46:11PM -0700 X-Operating-System: FreeBSD foobar.foobar.eyep.net 3.4-STABLE FreeBSD 3.4-STABLE Organization: Hyperhost Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 15, 2000 at 05:46:11PM -0700i, Wes Peters wrote: > Patrick Seal wrote: > > > > On Wed, Mar 15, 2000 at 01:35:11PM -0800i, Don Wallwork wrote: > > > RealPort CardBus Ethernet 10/100 (RBE-100). > > > > > > I'll give the xe driver a try. > > > > Dont even try, Cardbus (32-bit) isn't supported by FreeBSD yet. > > You haven't been looking into 4.0, have you? I *run* 4.0 on my laptop, have for months. Date: Sat, 29 Jan 2000 12:23:00 -0500 From: Peter Radcliffe Patrick Seal probably said: > Has anyone had success with the Xircom CardBus Ethernet 10/100 on either CardBus is not yet supported. --------- -- ------------------------------------ _____________________________________ Patrick Seal |"Microsoft isn't evil, they just make | really crappy operating systems." Hyperhost - http://www.hyperhost.net| -Linus Torvalds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 15 22:51:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mw2.texas.net (mw2.texas.net [206.127.30.12]) by hub.freebsd.org (Postfix) with ESMTP id BC30037BD53 for ; Wed, 15 Mar 2000 22:51:15 -0800 (PST) (envelope-from doug@texas.net) Received: from staff3.texas.net (staff3.texas.net [207.207.0.40]) by mw2.texas.net (2.4/2.4) with ESMTP id AAA17575; Thu, 16 Mar 2000 00:51:09 -0600 (CST) Received: (from doug@localhost) by staff3.texas.net (8.9.3/8.9.2) id AAA02918; Thu, 16 Mar 2000 00:51:08 -0600 (CST) (envelope-from doug@texas.net) Date: Thu, 16 Mar 2000 00:51:08 -0600 From: Douglas Swarin To: freebsd-hackers@freebsd.org Subject: NFS Panic Problem Message-ID: <20000316005107.A2883@staff.texas.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Recently one of the FreeBSD machines where I work has been crashing on a semi-regular basis, once or twice a day. The dmesg for the machine is at the bottom of this post. These crashes started very recently, less than a week ago. Before that, the machine had been very reliable (several 100 day uptimes). The machine used to be running FreeBSD 3.1-STABLE as of mid-April 1999. Since I know many NFS bugs have been fixed since then, the box was on Tuesday upgraded to 3.4-STABLE (a completely fresh installation). This, however, did not fix the panics. I believe the problem to be related to one of these two PRs: [1998/06/23] kern/7028 http://www.freebsd.org/cgi/query-pr.cgi?pr=7028 panic in vinvalbuf when appending/looking at tail of NFS file [2000/03/08] misc/17272 http://www.freebsd.org/cgi/query-pr.cgi?pr=17272 deleting a file that a program has open causes vinvalbuf: flush failed Basically, it's: panic: vinvalbuf: flush failed And appears to be triggered by a 'tail -f' on a growing, very large log file over NFS. The NFS host on the other end is running Solaris 2.6 on a sparc. The actual mount is kind of weird; it is indirected through a different NFS mount off a NetApp through a symlink (the NetApp-mounted FS is basically a symlink farm with a few real directories). Basically: netapp:/home on /home sun:/logs on /sun/logs /home/logs@ -> /sun/logs and we are doing 'tail -f /home/logs/largelogfile' (there are good historical reasons for this setup) We have made no significant changes to the other machines in this setup, although the logfile in question has been growing in size over time. We rotate the logfile on the Sun daily as well. No executable files for the BSD machine are stored on the Sun. I have compiled a debug kernel and will provide a traceback and/or dump to anyone who is interested once it happens again. If I find a way to reliably reproduce it, I will post that too. For the meantime, are there any quick patches or other solutions I could use? Thanks in advance for your time and advice, Doug Below is dmesg: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.4-STABLE #2: Tue Mar 14 23:21:39 CST 2000 doug@xxx:/usr/src/sys/compile/XXX Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 347664663 Hz CPU: Pentium II/Xeon/Celeron (347.66-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183fbff real memory = 536870912 (524288K bytes) avail memory = 519360512 (507188K bytes) Preloaded elf kernel "kernel" at 0xc0309000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc030909c. Pentium Pro MTRR support enabled Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x03 on pci0.2.0 chip3: rev 0x02 on pci0.7.0 chip4: rev 0x02 on pci0.7.3 fxp0: rev 0x05 int a irq 14 on pci0.8.0 fxp0: Ethernet address 00:90:27:45:ee:ae Probing for devices on PCI bus 1: vga0: rev 0x5c on pci1.0.0 Probing for devices on PCI bus 2: ahc0: rev 0x00 int a irq 11 on pci2.4.0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: rev 0x03 int a irq 11 on pci2.6.0 ahc1: aic7860 Single Channel A, SCSI Id=7, 3/255 SCBs Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 not found sio0 at 0x3f8-0x3ff irq 4 flags 0x30 on isa sio0: type 16550A, console sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in ppc0 at 0x378 irq 7 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 lppps0: on ppbus 0 plip0: on ppbus 0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Waiting 8 seconds for SCSI devices to settle chcd0 at ahc1 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C) changing root device to da0s1a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 0: 2: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 2E46437B6CE for ; Thu, 16 Mar 2000 00:02:02 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id BAA98922; Thu, 16 Mar 2000 01:01:59 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id BAA92941; Thu, 16 Mar 2000 01:01:47 -0700 (MST) Message-Id: <200003160801.BAA92941@harmony.village.org> To: Wes Peters Subject: Re: Porting linux drivers to FreeBSD Cc: Patrick Seal , Don Wallwork , Scott Mitchell , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 15 Mar 2000 17:46:11 MST." <38D02ED3.28CBA5EE@softweyr.com> References: <38D02ED3.28CBA5EE@softweyr.com> <20000315200154.31877@lungfish.freeserve.co.uk> <200003152135.NAA17431@galaga.cisco.com> <20000315165101.A31970@hyperhost.net> Date: Thu, 16 Mar 2000 01:01:47 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <38D02ED3.28CBA5EE@softweyr.com> Wes Peters writes: : Patrick Seal wrote: : > : > On Wed, Mar 15, 2000 at 01:35:11PM -0800i, Don Wallwork wrote: : > > RealPort CardBus Ethernet 10/100 (RBE-100). : > > : > > I'll give the xe driver a try. : > : > Dont even try, Cardbus (32-bit) isn't supported by FreeBSD yet. : : You haven't been looking into 4.0, have you? Hmmm. Did someone commit cardbus while I wasn't looking? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 1:28:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.surf1.de (mail.Surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id 7408037BF40; Thu, 16 Mar 2000 01:28:08 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.com (postfix@pC19F5449.dip0.t-ipconnect.de [193.159.84.73]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id KAA27120; Thu, 16 Mar 2000 10:28:29 +0100 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 5414FAC26; Thu, 16 Mar 2000 10:29:00 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id KAA04220; Thu, 16 Mar 2000 10:28:06 +0100 (CET) (envelope-from alex) Date: Thu, 16 Mar 2000 10:28:05 +0100 From: Alexander Langer To: Brian Fundakowski Feldman Cc: Jason Allum , freebsd-hackers@FreeBSD.org Subject: Re: Big ATA problems Message-ID: <20000316102805.A4166@cichlids.cichlids.com> References: <20000219182701.A18510@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from green@FreeBSD.org on Thu, Feb 24, 2000 at 09:22:18PM -0500 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Brian Fundakowski Feldman (green@FreeBSD.org): > You don't have any modules preloaded in /boot/loader.conf, do you? That's That's right. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 2:37:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 7ED5F37B870; Thu, 16 Mar 2000 02:37:12 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id LAA98771; Thu, 16 Mar 2000 11:36:22 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200003161036.LAA98771@freebsd.dk> Subject: Re: Big ATA problems In-Reply-To: <20000316102805.A4166@cichlids.cichlids.com> from Alexander Langer at "Mar 16, 2000 10:28:05 am" To: alex@big.endian.de (Alexander Langer) Date: Thu, 16 Mar 2000 11:36:21 +0100 (CET) Cc: green@FreeBSD.ORG (Brian Fundakowski Feldman), jja@nxos.com (Jason Allum), freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Alexander Langer wrote: > Thus spake Brian Fundakowski Feldman (green@FreeBSD.org): > > > You don't have any modules preloaded in /boot/loader.conf, do you? That's > > That's right. I think I lost track here, do you still have problems with the latest ata in 4.0 or -current ??? -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 2:41:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.surf1.de (mail.Surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id 5BFCB37BCD4; Thu, 16 Mar 2000 02:41:16 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.com (postfix@pC19F5449.dip0.t-ipconnect.de [193.159.84.73]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id KAA08595; Thu, 16 Mar 2000 10:41:46 +0100 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 3E5C3AC26; Thu, 16 Mar 2000 11:42:03 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id LAA17366; Thu, 16 Mar 2000 11:41:08 +0100 (CET) (envelope-from alex) Date: Thu, 16 Mar 2000 11:41:08 +0100 From: Alexander Langer To: Soren Schmidt Cc: Brian Fundakowski Feldman , Jason Allum , freebsd-hackers@FreeBSD.ORG Subject: Re: Big ATA problems Message-ID: <20000316114108.A17355@cichlids.cichlids.com> References: <20000316102805.A4166@cichlids.cichlids.com> <200003161036.LAA98771@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003161036.LAA98771@freebsd.dk>; from sos@freebsd.dk on Thu, Mar 16, 2000 at 11:36:21AM +0100 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Soren Schmidt (sos@freebsd.dk): > > > You don't have any modules preloaded in /boot/loader.conf, do you? That's > > That's right. > I think I lost track here, do you still have problems with the latest > ata in 4.0 or -current ??? Not me, but I don't preload any modules in /boot/loader.conf Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 2:42:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 415D037C025; Thu, 16 Mar 2000 02:42:30 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id LAA00323; Thu, 16 Mar 2000 11:42:23 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200003161042.LAA00323@freebsd.dk> Subject: Re: Big ATA problems In-Reply-To: <20000316114108.A17355@cichlids.cichlids.com> from Alexander Langer at "Mar 16, 2000 11:41:08 am" To: alex@big.endian.de (Alexander Langer) Date: Thu, 16 Mar 2000 11:42:23 +0100 (CET) Cc: green@FreeBSD.ORG (Brian Fundakowski Feldman), jja@nxos.com (Jason Allum), freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Alexander Langer wrote: > Thus spake Soren Schmidt (sos@freebsd.dk): > > > > > You don't have any modules preloaded in /boot/loader.conf, do you? That's > > > That's right. > > I think I lost track here, do you still have problems with the latest > > ata in 4.0 or -current ??? > > Not me, but I don't preload any modules in /boot/loader.conf Ahh, but that problem has been solved long ago.... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 3:22:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from swebase.com (mail.swebase.com [212.75.75.45]) by hub.freebsd.org (Postfix) with ESMTP id D965A37B909 for ; Thu, 16 Mar 2000 03:22:29 -0800 (PST) (envelope-from kasper@swebase.com) Received: from ns1 [212.75.75.43] by swebase.com (SMTPD32-5.05) id A4161270108; Thu, 16 Mar 2000 12:23:02 +0100 From: "Kasper" To: Subject: SSH Telnet Date: Thu, 16 Mar 2000 12:24:52 +0100 Message-ID: <001001bf8f3a$3fa1b2a0$2b4b4bd4@swebase.com> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello i wonder if it's possible to restrict users who log on whith SSH or telnet to their own homedir only. Or how do i do so they cant read any other files than their own. And the last question is how do i do so a user only can do a ps a and not a ps ax ?? ./Kasper Sweden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 4:41:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from elwood.akitanet.co.uk (elwood.akitanet.co.uk [212.1.130.149]) by hub.freebsd.org (Postfix) with ESMTP id 95E5F37C19B for ; Thu, 16 Mar 2000 04:41:07 -0800 (PST) (envelope-from wigstah@akitanet.co.uk) Received: from jake.akitanet.co.uk (jake.akitanet.co.uk [212.1.130.131]) by elwood.akitanet.co.uk (8.9.3/8.9.1) with ESMTP id MAA58615; Thu, 16 Mar 2000 12:49:33 GMT Date: Thu, 16 Mar 2000 13:32:13 +0000 (GMT) From: Paul Robinson To: Sheldon Hearn Cc: Alfred Perlstein , Luigi Rizzo , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? In-Reply-To: <54100.953129604@axl.ops.uunet.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Mar 2000, Sheldon Hearn wrote: > No, you're not reading the thread properly. Someone else (who doesn't > have the same bandwidth limitations that you and I do) said it doesn't > compress well. Ok, fair enough. My stance was that some compression was better than no compression, but I'll bow out now... :) > If you're just replying to be involved in an argument, I have a few > newsgroups for you to try. :-) I know, I've seen you on them. :) > Otherwise, this is pretty much asked and answered. Fair enough, like I said, I'll bow out. Cheers, -- Paul Robinson - Developer/Systems Administrator @ Akitanet Internet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 8:42:58 2000 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 6ABB537BBE9 for ; Thu, 16 Mar 2000 08:42:33 -0800 (PST) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id LAA94926; Thu, 16 Mar 2000 11:42:30 -0500 (EST) (envelope-from mwlucas) From: Michael Lucas Message-Id: <200003161642.LAA94926@blackhelicopters.org> Subject: Re: SSH Telnet In-Reply-To: <001001bf8f3a$3fa1b2a0$2b4b4bd4@swebase.com> from Kasper at "Mar 16, 2000 12:24:52 pm" To: kasper@swebase.com (Kasper) Date: Thu, 16 Mar 2000 11:42:30 -0500 (EST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Check out jail(8). Takes more disk space, but well worth it. ==ml >[Charset Windows-1252 unsupported, skipping...] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 10:42:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.c-com.net.ve (mail.c-com.net.ve [209.127.94.2]) by hub.freebsd.org (Postfix) with ESMTP id 55CD437BCCA for ; Thu, 16 Mar 2000 10:42:07 -0800 (PST) (envelope-from rgomez@c-com.net.ve) Received: from rgomez ([209.127.41.130]) by mail.c-com.net.ve (8.9.1/8.9.1) with SMTP id OAA20107 for ; Thu, 16 Mar 2000 14:41:54 -0400 (VET) From: "Rafael Gomez" To: "FreeBSD Hackers" Subject: SendMail Date: Thu, 16 Mar 2000 14:42:38 -0400 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.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Disposition-Notification-To: "Rafael Gomez" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Everytime i try to send an email out of my server the answer is "Relaying Denied". Can any of yuo help me in order to fix this error or let me know where I can find out the solution? Thanks in advance Rafael Gomez rgomez@c-com.net.ve Pager: 9106973@skytel.com.ve Charter Communications International Venezuela Tel: 58-2-576.60.80 Fax: 58-2-572.43.43 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 11: 2:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id EF8E637C0D1 for ; Thu, 16 Mar 2000 11:02:52 -0800 (PST) (envelope-from kbyanc@posi.net) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id OAA44078; Thu, 16 Mar 2000 14:02:36 -0500 (EST) Date: Thu, 16 Mar 2000 14:02:36 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: Rafael Gomez Cc: FreeBSD Hackers Subject: Re: SendMail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 16 Mar 2000, Rafael Gomez wrote: > Everytime i try to send an email out of my server the answer is "Relaying > Denied". > > Can any of yuo help me in order to fix this error or let me know where I can > find out the solution? > This is really more -questions material. Nonetheless, read /etc/mail/README. Looks like your mail server is in a different domain than your MUA. In which case you need to allow relaying for the domain in /etc/mail/access and rebuild the access.db database. However, more information would really be useful for a more accurate answer to your specific problem. Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Analyst / E-business Development, Bell Industries http://www.bellind.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 11:44:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mojave.worldwide.lemis.com (dhcp152.cdrom.com [204.216.28.152]) by hub.freebsd.org (Postfix) with ESMTP id ABA0937C204 for ; Thu, 16 Mar 2000 11:43:55 -0800 (PST) (envelope-from grog@mojave.worldwide.lemis.com) Received: (from grog@localhost) by mojave.worldwide.lemis.com (8.9.3/8.9.3) id MAA00423; Tue, 14 Mar 2000 12:08:00 -0800 (PST) (envelope-from grog) Date: Tue, 14 Mar 2000 12:08:00 -0800 From: Greg Lehey To: Wes Peters Cc: "K.J.Koster" , Edward Gold , freebsd-hackers@FreeBSD.ORG Subject: Re: Sysinstall 'A'uto partitioning Message-ID: <20000314120800.C335@mojave.worldwide.lemis.com> Reply-To: Greg Lehey References: <59063B5B4D98D311BC0D0001FA7E452201313957@l04.research.kpn.com> <38C66E8E.67CD0475@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38C66E8E.67CD0475@softweyr.com>; from wes@softweyr.com on Wed, Mar 08, 2000 at 08:15:26AM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 8 March 2000 at 8:15:26 -0700, Wes Peters wrote: > "Koster, K.J." wrote: >> >> Also, I'd really love to be able to configure ccd stripe sets from >> sysinstall, but I would not be surprised if that was too much to ask. :) > > Being able to configure vinum slices would be nice, too. Especially > once Greg commits support for booting from vinum volumes. Think about > booting from mirrored volumes for reliability. The reliability issue is a different one. But for now it's even difficult to set up a vinum /usr. That's definitely a place where sysinstall could be improved. It shouldn't be too difficult, either. Greg -- Finger grog@lemis.com for PGP public key 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 Thu Mar 16 11:44:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mojave.worldwide.lemis.com (dhcp152.cdrom.com [204.216.28.152]) by hub.freebsd.org (Postfix) with ESMTP id 2065D37C244 for ; Thu, 16 Mar 2000 11:43:56 -0800 (PST) (envelope-from grog@mojave.worldwide.lemis.com) Received: (from grog@localhost) by mojave.worldwide.lemis.com (8.9.3/8.9.3) id MAA00437; Tue, 14 Mar 2000 12:12:18 -0800 (PST) (envelope-from grog) Date: Tue, 14 Mar 2000 12:12:17 -0800 From: Greg Lehey To: Mark Newton Cc: Warner Losh , Wes Peters , "K.J.Koster" , Edward Gold , freebsd-hackers@FreeBSD.ORG Subject: Vinum encapsulating existing partitions (was: Sysinstall 'A'uto partitioning) Message-ID: <20000314121217.D335@mojave.worldwide.lemis.com> Reply-To: Greg Lehey References: <38C66E8E.67CD0475@softweyr.com> <59063B5B4D98D311BC0D0001FA7E452201313957@l04.research.kpn.com> <38C66E8E.67CD0475@softweyr.com> <200003090030.RAA04659@harmony.village.org> <20000309111221.B28232@internode.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000309111221.B28232@internode.com.au>; from newton@internode.com.au on Thu, Mar 09, 2000 at 11:12:21AM +1030 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 9 March 2000 at 11:12:21 +1030, Mark Newton wrote: > > Another thing which would be useful is the ability to "vinum-ize" an > existing filesystem without destroying it first. On Solaris and > IRIX I can do that by creating a logical volume with a single plex > which just happens to contain the same partition as the existing > filesystem, thereby wrapping the filesystem in the logical volume. > I can then mount that logical volume; the entire process takes about > two minutes. Adding additional plexes to it to grow it or add > redundancy is then done in the same way that'd be done for any other > logical volume. > > I'm not sure that you can do that with vinum, though. Greg and I > talked about it about six months ago as a nice thing to have, but > there are, of course, other priorities... It's still on my wishlist, though I don't know if I have it on the web page (and since I'm on the road at the moment, I can't check). My main concern here is that I want to maintain the device name/drive ID independence (for those who may not know, you can take the disks of a Vinum array out, shuffle the device IDs and reboot, and it will still put the components together in the correct way). The obvious way to do that is to say "there must be a Vinum partition on this physical drive, but the subdisk doesn't have to be on it". That could be a problem for existing disks. Thoughts? Greg -- Finger grog@lemis.com for PGP public key 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 Thu Mar 16 13:31:17 2000 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 2638237BC8C for ; Thu, 16 Mar 2000 13:31:10 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 16 Mar 2000 21:31:06 +0000 (GMT) To: hackers@freebsd.org Subject: T/TCP friendly inetd change? X-Request-Do: Date: Thu, 16 Mar 2000 21:31:06 +0000 From: David Malone Message-ID: <200003162131.aa50415@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was reading a little about T/TCP in Steven's book, and it occured to me that some of inetd's small services would be ideal candidates for T/TCP. (auth, time and daytime in particular). According to Stevens, the main thing you need to do to make a server T/TCP firendly is use the MSG_EOF flag when you send the last block of data to that socket. For each of these services, which only write a single block of data, this involves just changing: write(s, buf, len); to: send(s, buf, len, MSG_EOF); I've tried this over my slip link and it does seem to reduce the number of packets sent by 2 for telnetting to the daytime port. I also had a look at fetch (the only thing in the tree which uses MSG_EOF at the moment), which has an option for turning off the MSG_EOF stuff 'cos some buggy http servers don't like half closed connections. I don't think this applies in this case 'cos we're on the server side - not the client side, and the client expects an EOF anyway. Would this be an acceptable patch to inetd? It would be nice to encourage the use of T/TCP within FreeBSD, as we seem to be the only people who have it ;-) David. --- builtins.c 2000/03/11 11:28:07 1.19 +++ builtins.c 2000/03/16 21:20:02 @@ -219,7 +219,7 @@ clock = time((time_t *) 0); (void) sprintf(buffer, "%.24s\r\n", ctime(&clock)); - (void) write(s, buffer, strlen(buffer)); + (void) send(s, buffer, strlen(buffer), MSG_EOF); } /* @@ -320,7 +320,7 @@ syslog(LOG_ERR, "asprintf: %m"); exit(EX_OSERR); } - write(s, p, strlen(p)); + send(s, p, strlen(p), MSG_EOF); free(p); exit(0); @@ -602,7 +602,7 @@ syslog(LOG_ERR, "asprintf: %m"); exit(EX_OSERR); } - write(s, p, strlen(p)); + send(s, p, strlen(p), MSG_EOF); free(p); exit(0); @@ -664,7 +664,7 @@ unsigned long result; result = machtime(); - (void) write(s, (char *) &result, sizeof(result)); + (void) send(s, (char *) &result, sizeof(result), MSG_EOF); } /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 16:14:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from spoon.beta.com (h00a0242f177e.ne.mediaone.net [24.147.249.166]) by hub.freebsd.org (Postfix) with ESMTP id 7F4B337BD24; Thu, 16 Mar 2000 16:14:23 -0800 (PST) (envelope-from mcgovern@spoon.beta.com) Received: from spoon.beta.com (mcgovern@localhost.beta.com [127.0.0.1]) by spoon.beta.com (8.9.3/8.9.3) with ESMTP id TAA33374; Thu, 16 Mar 2000 19:11:38 -0500 (EST) (envelope-from mcgovern@spoon.beta.com) Message-Id: <200003170011.TAA33374@spoon.beta.com> To: brent@kearneys.ca Cc: questions@freebsd.org, hackers@freebsd.org, jfn@enteract.com Subject: RE: AMD Athlon and booting Date: Thu, 16 Mar 2000 19:11:38 -0500 From: "Brian J. McGovern" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey, guys. I went a slightly different route than playing with the numlock key to get FreeBSD running. The problem seems to really be the -P (probe the keyboard) boot option, and it setting -D and -h when it doesn't find it. My "workaround" was to make boot floppies, and edit boot.conf to remove the -P (or delete the file if there are no other options). Once done, it just happily boots up and installs. Looks like keyboard probing may need some work for Athlon processors, so i'm cc'ing this to the hackers list, so hopefully, some console guru can take a look at it. Also, if no one has done it so far, let me know, and I'll submit a pr. -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 16:50:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from spoon.beta.com (h00a0242f177e.ne.mediaone.net [24.147.249.166]) by hub.freebsd.org (Postfix) with ESMTP id 0F27437C238; Thu, 16 Mar 2000 16:50:43 -0800 (PST) (envelope-from mcgovern@spoon.beta.com) Received: from spoon.beta.com (mcgovern@localhost.beta.com [127.0.0.1]) by spoon.beta.com (8.9.3/8.9.3) with ESMTP id TAA34090; Thu, 16 Mar 2000 19:50:42 -0500 (EST) (envelope-from mcgovern@spoon.beta.com) Message-Id: <200003170050.TAA34090@spoon.beta.com> To: Mike Smith Cc: brent@kearneys.ca, questions@freebsd.org, hackers@freebsd.org, jfn@enteract.com Subject: Re: AMD Athlon and booting In-reply-to: Your message of "Thu, 16 Mar 2000 16:50:24 PST." <200003170050.QAA00506@mass.cdrom.com> Date: Thu, 16 Mar 2000 19:50:42 -0500 From: "Brian J. McGovern" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Personally, I'm keen with the fact that the problem is known, its understood there isn't an easy fix, and I have a work around. -Brian > > This has nothing to do with Athlon processors and everything to do with > buggy BIOS code that doesn't set the "extended keyboard present" bit. > Feel free to check the (very simple) code in boot2 that performs keyboard > detection, and if you've got any better ideas on how to make this work > properly, we're all ears. 8) > > > Hey, guys. I went a slightly different route than playing with the numlock key > > to get FreeBSD running. The problem seems to really be the -P (probe the > > keyboard) boot option, and it setting -D and -h when it doesn't find it. M y > > "workaround" was to make boot floppies, and edit boot.conf to remove the - P > > (or delete the file if there are no other options). > > > > Once done, it just happily boots up and installs. Looks like keyboard prob ing > > may need some work for Athlon processors, so i'm cc'ing this to the hacker s > > list, so hopefully, some console guru can take a look at it. > > > > Also, if no one has done it so far, let me know, and I'll submit a pr. > > > > -Brian > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > -- > \\ Give a man a fish, and you feed him for a day. \\ Mike Smith > \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org > \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 16:51:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id 85B8F37BE13; Thu, 16 Mar 2000 16:51:40 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id QAA00506; Thu, 16 Mar 2000 16:50:24 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <200003170050.QAA00506@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Brian J. McGovern" Cc: brent@kearneys.ca, questions@freebsd.org, hackers@freebsd.org, jfn@enteract.com Subject: Re: AMD Athlon and booting In-reply-to: Your message of "Thu, 16 Mar 2000 19:11:38 EST." <200003170011.TAA33374@spoon.beta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 16 Mar 2000 16:50:24 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This has nothing to do with Athlon processors and everything to do with buggy BIOS code that doesn't set the "extended keyboard present" bit. Feel free to check the (very simple) code in boot2 that performs keyboard detection, and if you've got any better ideas on how to make this work properly, we're all ears. 8) > Hey, guys. I went a slightly different route than playing with the numlock key > to get FreeBSD running. The problem seems to really be the -P (probe the > keyboard) boot option, and it setting -D and -h when it doesn't find it. My > "workaround" was to make boot floppies, and edit boot.conf to remove the -P > (or delete the file if there are no other options). > > Once done, it just happily boots up and installs. Looks like keyboard probing > may need some work for Athlon processors, so i'm cc'ing this to the hackers > list, so hopefully, some console guru can take a look at it. > > Also, if no one has done it so far, let me know, and I'll submit a pr. > > -Brian > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 17:16:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 3DB7837C220 for ; Thu, 16 Mar 2000 17:16:33 -0800 (PST) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-135-28.bellatlantic.net [151.198.135.28]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id UAA17793 for ; Thu, 16 Mar 2000 20:16:26 -0500 (EST) Message-ID: <38D18963.151086DC@bellatlantic.net> Date: Thu, 16 Mar 2000 20:24:51 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Why StarOffice continuously restarted setup - the answer Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, A while ago I tried to install StarOffice and had a problem that every time I tried to start it it went into setup again and again. I've asked about this in -hackers and found that some people had the same problem but nobody has a solution. Well, I've found that solution today and in case anyone else hits that problem, here it is: I'm using the July '99 4.0-SNAPSHOT and in that snapshot reading /proc/NNN/cmdline returns a line with '\n' on the end. StarOffice tried to open a file with that name (its own code) and, of course, failed. Removing that '\n' in procfs fixed the things. One more catch is that the StarOffice bin directory must be in the path, otherwise the same problem follows. Both of these problems seem to be already fixed in -current. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 17:41:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id 99CE737BCE7 for ; Thu, 16 Mar 2000 17:41:55 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (user-2ivetus.dialup.mindspring.com [165.247.119.220]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id UAA25452; Thu, 16 Mar 2000 20:41:48 -0500 (EST) Message-Id: <200003170141.UAA25452@tisch.mail.mindspring.net> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200003152346.QAA90746@harmony.village.org> Date: Thu, 16 Mar 2000 20:41:13 -0500 (EST) From: John Baldwin To: Warner Losh Subject: RE: Odd crash Cc: hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15-Mar-00 Warner Losh wrote: > > I just got an odd crash: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x8 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc01d16ac > stack pointer = 0x10:0xc031e704 > frame pointer = 0x10:0xc031e70c > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = Idle > interrupt mask = > kernel: type 12 trap, code=0 > Stopped at arpintr+0x9c: movl 0x8(%ebx),%ecx > db> trace > arpintr(c02a997b,0,10,10,c5d20010) at arpintr+0x9c > swi_net_next() at swi_net_next > db> > > I'm using the realtek driver with a RealTek 8139 built into the SBC > that I have sitting on my desk. > > rl0: port 0x6000-0x60ff mem 0xf9000000-0xf90000ff irq 11 at device 6.0 on > pci0 > rl0: Ethernet address: 00:60:e0:00:7f:c8 > > Looking at the disassembled output of ddb, I think that I'm crashing > at the following place. > if (m->m_len < sizeof(struct arphdr) && > (m = m_pullup(m, sizeof(struct arphdr)) == NULL)) { > log(LOG_ERR, "arp: runt packet -- m_pullup failed."); > continue; > } > ar = mtod(m, struct arphdr *); > > ==> if (ntohs(ar->ar_hrd) != ARPHRD_ETHER > && ntohs(ar->ar_hrd) != ARPHRD_IEEE802) { > log(LOG_ERR, > "arp: unknown hardware address format (%2D)", > (unsigned char *)&ar->ar_hrd, ""); > m_freem(m); > continue; > } > > since ar is NULL for some reason. I have no clue at all why this > would happen. This means that m->m_data has to be NULL. But that > doesn't make sense because of the m_pullup just before this. If it > doesn't return NULL, then I thought that m->m_data was guaranteed to > be valid. > > I think that there might be a bug in the code generation, but I don't > know for sure. If we look at the disassembled output: > > arpintr+0x79: testl %eax,%eax > arpintr+0x7b: setz %al > arpintr+0x7e: movzbl %al,%ebx > arpintr+0x81: testl %ebx,%ebx > arpintr+0x83: jz arpintr+0x9c Functionally, apart from spamming %ebx, these 5 instructions are equivalent to: testl %eax, %eax jnz arpintr+0x9c > arpintr+0x85: pushl $0xc02f5c60 > arpintr+0x8a: pushl $0x3 > arpintr+0x8c: call log > arpintr+0x91: addl $0x8,%esp > arpintr+0x94: jmp arpintr+0x5 > arpintr+0x99: leal 0(%esi),%esi This instruction does nothing, so I assume this isn't optimized code? > arpintr+0x9c: movl 0x8(%ebx),%ecx > arpintr+0x9f: movzwl 0(%ecx),%eax > arpintr+0xa2: xchgb %ah,%al > arpintr+0xa4: cmpw $0x1,%ax > arpintr+0xa8: jz arpintr+0xd8 > arpintr+0xaa: movzwl 0(%ecx),%eax > arpintr+0xad: xchgb %ah,%al > arpintr+0xaf: cmpw $0x6,%ax > arpintr+0xb3: jz arpintr+0xd8 > arpintr+0xb5: pushl $0xc02f5c0e > arpintr+0xba: pushl %ecx > arpintr+0xbb: pushl $0xc02f5ca0 > arpintr+0xc0: pushl $0x3 > arpintr+0xc2: call log > > So we're between the two log calls, which is good. Notice that we > effectively zero %ebx at 7e. We then jump to 9c if it isss zero, and > then dereference 3bx. Bang, we're dead. I think that the jz should > be a jnz, no? It looks like the compiler is making bad assumptions and/or trashing %ebx. testl %eax,%eax ; if %eax == 0, ZF = 1, else ZF = 0 setz %al ; if ZF, %al = 1, else %al = 0, so ; %al = !%eax movzbl %al, %ebx ; %ebx = zero sign extend of %al ; so %ebx == 0 iff %eax != 0 So, %ebx is 0 (zero) if %eax != 0. If %eax = m, then %ebx is zero, and the jump is taken if %eax != NULL, i.e. m != NULL, so that code generation is correct wrt to the if() statement at least. However, the stuff below that bothers me: lea (%esi),%esi ; basically does %esi = %esi This probably is the 'ar = mtod(m, struct arphdr *);' In which case, if this is accurate, then %esi = ar, and it should be: mov $8(%esi), %ecx ; note %esi instead of %ebx Also, if that is the case, then the jz in question should jump to the lea instruction instead of the mov instruction it faulted at. It seems that the compiler is assuming that %ebx = m, when in fact %ebx != m, but is the boolean result of m != NULL. I also don't like how it plays around with setz and %ebx when it doesn't need to. Also, it seems that %eax == m, so perhaps if it were: mov $8(%eax),%ecx it might work as well. I'd have to see some of the instructions beforehand to see what register m is in to really know for sure, but %ebx is definitely not valid when it is being looked at in that mov instruction. > Warner -- John Baldwin -- http://www.cslab.vt.edu/~jobaldwi/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 18:50:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from orion.ac.hmc.edu (Orion.AC.HMC.Edu [134.173.32.20]) by hub.freebsd.org (Postfix) with ESMTP id A836C37BBBE; Thu, 16 Mar 2000 18:50:40 -0800 (PST) (envelope-from brdavis@orion.ac.hmc.edu) Received: (from brdavis@localhost) by orion.ac.hmc.edu (8.8.8/8.8.8) id SAA14480; Thu, 16 Mar 2000 18:50:38 -0800 (PST) Date: Thu, 16 Mar 2000 18:50:38 -0800 From: Brooks Davis To: Sergey Babkin Cc: freebsd-questions@FreeBSD.org Subject: Re: Why StarOffice continuously restarted setup - the answer Message-ID: <20000316185038.B7551@orion.ac.hmc.edu> References: <38D18963.151086DC@bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <38D18963.151086DC@bellatlantic.net>; from babkin@bellatlantic.net on Thu, Mar 16, 2000 at 08:24:51PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [This is -questions material, not -hackers, redirecting] On Thu, Mar 16, 2000 at 08:24:51PM -0500, Sergey Babkin wrote: > A while ago I tried to install StarOffice and had > a problem that every time I tried to start it it went > into setup again and again. I've asked about this > in -hackers and found that some people had the same > problem but nobody has a solution. Well, I've found that > solution today and in case anyone else hits that problem, > here it is: I'm using the July '99 4.0-SNAPSHOT and > in that snapshot reading /proc/NNN/cmdline returns > a line with '\n' on the end. StarOffice tried to open > a file with that name (its own code) and, of course, failed. > Removing that '\n' in procfs fixed the things. One > more catch is that the StarOffice bin directory must be in > the path, otherwise the same problem follows. > > Both of these problems seem to be already fixed in -current. See http://www.br.freebsd.org/staroffice.html This page describes the problems causing setup to run again and again. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 16 19:56:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id D603537BC00; Thu, 16 Mar 2000 19:56:17 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id UAA03052; Thu, 16 Mar 2000 20:56:15 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA99425; Thu, 16 Mar 2000 20:56:02 -0700 (MST) Message-Id: <200003170356.UAA99425@harmony.village.org> To: John Baldwin Subject: Re: Odd crash Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 16 Mar 2000 20:41:13 EST." <200003170141.UAA25452@tisch.mail.mindspring.net> References: <200003170141.UAA25452@tisch.mail.mindspring.net> Date: Thu, 16 Mar 2000 20:56:02 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200003170141.UAA25452@tisch.mail.mindspring.net> John Baldwin writes: : > arpintr+0x85: pushl $0xc02f5c60 : > arpintr+0x8a: pushl $0x3 : > arpintr+0x8c: call log : > arpintr+0x91: addl $0x8,%esp : > arpintr+0x94: jmp arpintr+0x5 : > arpintr+0x99: leal 0(%esi),%esi : : This instruction does nothing, so I assume this isn't : optimized code? This is just padding to make the branch targets come out to a given alignment. I'm still at a loss for how it even works at all... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 5: 9:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.c-com.net.ve (mail.c-com.net.ve [209.127.94.2]) by hub.freebsd.org (Postfix) with ESMTP id 295F837BB0A for ; Fri, 17 Mar 2000 05:09:10 -0800 (PST) (envelope-from rgomez@c-com.net.ve) Received: from rgomez ([209.127.41.130]) by mail.c-com.net.ve (8.9.1/8.9.1) with SMTP id JAA00340 for ; Fri, 17 Mar 2000 09:08:59 -0400 (VET) From: "Rafael Gomez" To: "FreeBSD Hackers" Subject: kERNEL Date: Fri, 17 Mar 2000 09:09:41 -0400 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.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Disposition-Notification-To: "Rafael Gomez" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can any of you send me a copy of a text kernel file? Rafael Gomez rgomez@c-com.net.ve Pager: 9106973@skytel.com.ve Charter Communications International Venezuela Tel: 58-2-576.60.80 Fax: 58-2-572.43.43 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 5:35:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lesbains.informatik.uni-tuebingen.de (lesbains.Informatik.Uni-Tuebingen.De [134.2.12.5]) by hub.freebsd.org (Postfix) with ESMTP id A810D37BE0A; Fri, 17 Mar 2000 05:35:55 -0800 (PST) (envelope-from sperber@informatik.uni-tuebingen.de) Received: from informatik.uni-tuebingen.de (brabantio [134.2.12.25]) by lesbains.informatik.uni-tuebingen.de (Postfix) with ESMTP id EC2C94AB; Fri, 17 Mar 2000 14:35:53 +0100 (NFT) Received: (from sperber@localhost) by informatik.uni-tuebingen.de (AIX4.3/UCB 8.8.8/8.8.8) id OAA25312; Fri, 17 Mar 2000 14:35:49 +0100 To: Mike Smith Cc: "Brian J. McGovern" , brent@kearneys.ca, questions@freebsd.org, hackers@freebsd.org, jfn@enteract.com Subject: Re: AMD Athlon and booting References: <200003170050.QAA00506@mass.cdrom.com> From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) Date: 17 Mar 2000 14:35:49 +0100 In-Reply-To: Mike Smith's message of "Thu, 16 Mar 2000 16:50:24 -0800" Message-ID: Lines: 15 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.2 (Iris) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "Mike" == Mike Smith writes: Mike> This has nothing to do with Athlon processors and everything to do with Mike> buggy BIOS code that doesn't set the "extended keyboard present" bit. Mike> Feel free to check the (very simple) code in boot2 that performs keyboard Mike> detection, and if you've got any better ideas on how to make this work Mike> properly, we're all ears. 8) This is untrue, at least in general. It is a timing problem at least on some Athlon boards. On the MSI 6195, if you increase the timing parameters in probe_keyboard.c, the keyboard will get detected just fine. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 6:42:55 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id 5E39C37BD9A for ; Fri, 17 Mar 2000 06:42:53 -0800 (PST) (envelope-from kbyanc@posi.net) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id JAA64315; Fri, 17 Mar 2000 09:42:40 -0500 (EST) Date: Fri, 17 Mar 2000 09:42:40 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: Rafael Gomez Cc: FreeBSD Hackers Subject: Re: kERNEL In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 17 Mar 2000, Rafael Gomez wrote: > Can any of you send me a copy of a text kernel file? > I can't quite parse what exactly you are looking for. The kernel itself is binary executable code. However, kernel config files are text files that indicate the config(8) what bits to compile into the kernel. If you have the FreeBSD kernel sources installed, you should have kernel config files in /sys/i386/conf. If you don't have the kernel sources installed, then having a kernel config file is quite useless. Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Analyst / E-business Development, Bell Industries http://www.bellind.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 9:49:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.thebiz.net (mx1.thebiz.net [216.238.0.20]) by hub.freebsd.org (Postfix) with SMTP id 53D6D37BC7A for ; Fri, 17 Mar 2000 09:49:10 -0800 (PST) (envelope-from matt@thebiz.net) Received: (qmail 10080 invoked from network); 17 Mar 2000 12:49:09 -0500 Received: from mail2.thebiz.net (172.16.0.129) by mx1.thebiz.net with SMTP; 17 Mar 2000 12:49:09 -0500 Received: (qmail 26568 invoked by uid 0); 17 Mar 2000 12:49:09 -0500 Received: from unknown (HELO mahatma) (216.238.1.20) by mail.thebiz.net with SMTP; 17 Mar 2000 12:49:09 -0500 Message-ID: <012801bf9039$029db9d0$1401eed8@mahatma> From: "Matthew Zahorik" To: Subject: Netbooting FreeBSD 4.0/Intel? Date: Fri, 17 Mar 2000 12:48:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This was originally posted to freebsd-questions, but I didn't get a response. I'm hoping that someone in here has successfully netbooted a FreeBSD 4.0-RELEASE box on Intel EtherExpress Pro 100+ cards and can share their story. Since I wrote this message, I have tried etherboot 4.4.5. Still no go. - Matt -- Matthew Zahorik Director of Systems and Networking - BiznessOnline.com matt@thebiz.net President of AlbanyNet Inc. - a BiznessOnline subsidiary maz@albany.net Voice: (518) 292-1001 Fax: (518) 626-0793 ----- Original Message ----- From: "Matthew Zahorik" To: Sent: Thursday, March 16, 2000 1:40 PM Subject: Netbooting FreeBSD 4.0/Intel? : Does anyone have a howto on netbooting FreeBSD 4.0/Intel with Etherboot? : : I've easily managed to netboot my FreeBSD 4.0/Alpha boxes with the included : Alpha SRM netboot utility. I really like the bootp/NFS solution used by : netboot. It's quite clean, especially since I'm mounting root from this : same box. : : My Intel boxes are proving to be more difficult. : : Netboot is depreciated on Intel, and doesn't even seem to compile on FreeBSD : 4.0. Either way, it doesn't support the Intel Pro/100+ cards (82559 based) : I have in my Intel boxes. No bootp/NFS for the Intel boxes. :-( : : So I turned to Etherboot as suggested in many Usenet postings and the list : archives. : : I hand compiled the latest, etherboot 4.4.4. That didn't work. (see below) : : I used ports to install etherboot 4.2.13. (Had to change the Makefile since : it specifies 4.2.11, which isn't available anymore) This too didn't work. : : In both cases, I wrote floppyload.bin and eepro100.lzrun to a floppy. : Etherboot starts, gets its IP address from bootp, TFTP's the kernel, quickly : says "Loading Segment 1", "Loading Segment 2", "Loading Segment 3", and then : promptly reboots the machine. : : The kernel is compiled with all the option BOOTP.* bits - it should work. I've even : tried the generic kernel that I used to boot the server, knowing it would crash when trying : to mount root, but at least I'd see *something*. No go. : : So, if anyone has any pointers or a list of things you did to get this work, : I'd appreciate it. : : Thanks! : : - Matt : : -- : Matthew Zahorik Director of Systems and Networking - BiznessOnline.com : matt@thebiz.net President of AlbanyNet Inc. - a BiznessOnline subsidiary : maz@albany.net Voice: (518) 292-1001 Fax: (518) 626-0793 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 10: 4:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from stronghold.guild.ab.ca (kerberos.guild.ab.ca [209.91.118.68]) by hub.freebsd.org (Postfix) with ESMTP id 4C77537BF7A for ; Fri, 17 Mar 2000 10:04:03 -0800 (PST) (envelope-from davidc@stronghold.guild.ab.ca) Received: from localhost (davidc@localhost) by stronghold.guild.ab.ca (8.9.3/8.9.3) with ESMTP id KAA77654 for ; Fri, 17 Mar 2000 10:33:25 -0700 (MST) (envelope-from davidc@stronghold.guild.ab.ca) Date: Fri, 17 Mar 2000 10:33:25 -0700 (MST) From: Chad David To: freebsd-hackers@freebsd.org Subject: Bootable CD Question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a custom kernel that I need to have boot from a cd across as many machines as possible. I currently build the cd using scripts adapted from what is in src/release, (I now owe Poul-Henning more than one beer), and it boots every time in the lab, but people testing are reporting that it will not boot on even newer machines. I realize that having a cd boot in the PC world is an ify proposition, but does anybody have any tips on how how to burn a more "reliable" bootable cd. I am using mkisofs 1.12 with the following flags: mkisofs -b floppies/boot.flp -c floppies/boot.catalog -d -N -D -R -T -l -V '"Test"' -P '"Copyright"' -o ${BASE}/../../isoimages/image.iso ${BASE} and cdrecord 1.8 with the following flags: cdrecord speed=4 -v -data -multi dev=0,4,0 image.iso I realize this might be more apropriate on questions, but if I don't solve or at least have a better story about this problem very soon there may be one less application available for FreeBSD, and I am working very hard trying to prevent that :). Thanks. Chad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 11:19:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gatewaya.anheuser-busch.com (gatewaya.anheuser-busch.com [151.145.250.252]) by hub.freebsd.org (Postfix) with SMTP id 7861437B7F6 for ; Fri, 17 Mar 2000 11:19:49 -0800 (PST) (envelope-from Matthew.Alton@anheuser-busch.com) Received: by gatewaya.anheuser-busch.com; id NAA16969; Fri, 17 Mar 2000 13:23:45 -0600 Received: from stlexggtw002-pozzoli.fw-users.busch.com(151.145.101.130) by gatewaya.anheuser-busch.com via smap (V5.0) id xma016758; Fri, 17 Mar 00 13:23:12 -0600 Received: from stlabcexg006.anheuser-busch.com ([151.145.101.161]) by 151.145.101.130 (Norton AntiVirus for Internet Email Gateways 1.0) ; Fri, 17 Mar 2000 19:19:09 0000 (GMT) Received: by stlabcexg006.anheuser-busch.com with Internet Mail Service (5.5.2650.21) id ; Fri, 17 Mar 2000 13:19:07 -0600 Message-ID: <299BF5F5EF5ED31196760008C7D9AE5D4E2268@STLABCEXG022> From: "Alton, Matthew" To: "'Rafael Gomez'" , FreeBSD Hackers Subject: RE: kERNEL Date: Fri, 17 Mar 2000 13:17:41 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What on Earth are you talking about? > -----Original Message----- > From: Rafael Gomez [SMTP:rgomez@c-com.net.ve] > Sent: Friday, March 17, 2000 07:10 > To: FreeBSD Hackers > Subject: kERNEL > > Can any of you send me a copy of a text kernel file? > > Rafael Gomez > rgomez@c-com.net.ve > Pager: 9106973@skytel.com.ve > Charter Communications International Venezuela > > Tel: 58-2-576.60.80 > Fax: 58-2-572.43.43 > > > > 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 17 14:51:27 2000 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 2C74B37B632 for ; Fri, 17 Mar 2000 14:51:22 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 17 Mar 2000 22:51:21 +0000 (GMT) To: James FitzGibbon Cc: hackers@freebsd.org Subject: Re: T/TCP friendly inetd change? In-reply-to: Your message of "Fri, 17 Mar 2000 09:46:35 EST." <20000317094635.B41950@targetnet.com> X-Request-Do: Date: Fri, 17 Mar 2000 22:51:20 +0000 From: David Malone Message-ID: <200003172251.aa89166@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I like T/TCP (I use it on some of my networked apps for the same reasons you > describe), but I don't think that it should be added to a program like inetd > which has two default settings that would need to be changed before the > T/TCP extensions would ever provide any benefit. The changes I've suggested don't actually require T/TCP to be useful, they just make inetd friendlier to T/TCP connections if they come in. When T/TCP isn't used they just put the FIN for the TCP connection on the last data packet, instead of on a seperate packet, so saving one packet. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 14:57:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 5798637B718 for ; Fri, 17 Mar 2000 14:57:02 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.9.2/8.9.3) with UUCP id XAA10961; Fri, 17 Mar 2000 23:55:57 +0100 (CET) (envelope-from leifn@neland.dk) Received: from gina (gina.neland.dk [192.168.0.14]) by arnold.neland.dk (8.9.3/8.9.3) with SMTP id XAA04338; Fri, 17 Mar 2000 23:18:47 +0100 (CET) (envelope-from leifn@neland.dk) Message-ID: <000601bf905e$cdc616a0$0e00a8c0@neland.dk> Reply-To: "Leif Neland" From: "Leif Neland" To: "Rafael Gomez" , "FreeBSD Hackers" References: Subject: Re: SendMail Date: Thu, 16 Mar 2000 23:29:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Which server do you get that message from? Your own? Your isp? A complete stranger, you are trying to use as smarthost? ----- Original Message -----=20 From: "Rafael Gomez" To: "FreeBSD Hackers" Sent: Thursday, March 16, 2000 7:42 PM Subject: SendMail > Everytime i try to send an email out of my server the answer is = "Relaying > Denied". >=20 > Can any of yuo help me in order to fix this error or let me know where = I can > find out the solution? >=20 > Thanks in advance >=20 > Rafael Gomez > rgomez@c-com.net.ve > Pager: 9106973@skytel.com.ve > Charter Communications International Venezuela >=20 > Tel: 58-2-576.60.80 > Fax: 58-2-572.43.43 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 15: 8:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from canonware.com (canonware.com [199.181.107.39]) by hub.freebsd.org (Postfix) with SMTP id 88D0437B6F5 for ; Fri, 17 Mar 2000 15:08:31 -0800 (PST) (envelope-from jasone@canonware.com) Received: (qmail 76837 invoked by uid 1001); 17 Mar 2000 23:05:35 -0000 Date: Fri, 17 Mar 2000 15:05:34 -0800 From: Jason Evans To: hackers@freebsd.org Subject: procmap - Where does it belong? Message-ID: <20000317150534.N333@sturm.canonware.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="/Uq4LBwYP4y1W6pO" X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --/Uq4LBwYP4y1W6pO Content-Type: text/plain; charset=us-ascii A couple of months ago I was doing some work on guard pages in libc_r and discovered that using 'cat' to view the VM map for a process is unreliable. This fact is documented in the proc code, and there is even an explanation of how to reliably read the map files. However, I could find no program that actually does this, so I wrote one. The program is attached (yes, it needs a man page if it is to be imported), but my question is whether it belongs in the source tree, and if so, where? Thanks, Jason --/Uq4LBwYP4y1W6pO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="procmap.c" /* * Copyright (C) 2000 Jason Evans . * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice(s), this list of conditions and the following disclaimer as * the first lines of this file unmodified other than the possible * addition of one or more copyright notices. * 2. Redistributions in binary form must reproduce the above copyright * notice(s), this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * $FreeBSD$ */ #include #include #include #define MAXPATH 18 #define MINBUF 4096 int main(int argc, char ** argv) { char * buf; char path[MAXPATH] = "/proc/"; /* Big enough for "/proc/curproc/map". */ int mfd, bytes, size = MINBUF; if (argc != 2) { fprintf(stderr, "usage: procmap { | curproc}\n"); exit(1); } else if (strlen(argv[1]) > 7) { fprintf(stderr, "procmap: too long.\n"); fprintf(stderr, "usage: procmap { | curproc}\n"); exit(1); } /* Open the map file. */ snprintf(path, MAXPATH, "/proc/%s/map", argv[1]); mfd = open(path, O_RDONLY); if (mfd < 0) { fprintf(stderr, "Unable to open() %s: %s\n", path, strerror(errno)); exit(1); } /* * Start out with a MINBUF byte buffer, and double the buffer size until * it's big enough to read the whole map at once. */ buf = (char *) malloc(size); if (buf == NULL) { fprintf(stderr, "malloc() error\n"); exit(1); } bzero(buf, size); while (1) { if (lseek(mfd, 0, SEEK_SET) < 0) { fprintf(stderr, "lseek() error: %s\n", strerror(errno)); exit(1); } /* Leave space for a NULL terminator at the end of buf. */ if (bytes = read(mfd, buf, size - 1) < 0) { if (errno == EFBIG) { /* Buffer to small; try again. */ size <<= 1; buf = (char *) realloc(buf, size); if (buf == NULL) { fprintf(stderr, "realloc() error\n"); exit(1); } bzero(buf, size); } else { fprintf(stderr, "read() error: %s\n", strerror(errno)); exit(1); } } else { /* Success. The results are in buf. */ break; } } /* * Write out a header. * * format: start, end, resident, private resident, cow, access, type. */ printf("start end resident priv_res cow access type\n"); printf("%s", buf); return 0; } --/Uq4LBwYP4y1W6pO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 15:23:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id A005437B6EF; Fri, 17 Mar 2000 15:23:13 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id PAA00910; Fri, 17 Mar 2000 15:25:30 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <200003172325.PAA00910@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) Cc: Mike Smith , "Brian J. McGovern" , brent@kearneys.ca, questions@freebsd.org, hackers@freebsd.org, jfn@enteract.com Subject: Re: AMD Athlon and booting In-reply-to: Your message of "17 Mar 2000 14:35:49 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Date: Fri, 17 Mar 2000 15:25:30 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >>>>> "Mike" =3D=3D Mike Smith writes: > = > Mike> This has nothing to do with Athlon processors and everything to d= o with = > Mike> buggy BIOS code that doesn't set the "extended keyboard present" = bit. = > Mike> Feel free to check the (very simple) code in boot2 that performs = keyboard = > Mike> detection, and if you've got any better ideas on how to make this= work = > Mike> properly, we're all ears. 8) > = > This is untrue, at least in general. It is a timing problem at least > on some Athlon boards. On the MSI 6195, if you increase the timing > parameters in probe_keyboard.c, the keyboard will get detected just fin= e. I don't know what you're smoking, but there is no "probe_keyboard.c" = involved in this. The keyboard probe code is in boot2.c, and it looks = like this: 313 if (opts & 1 << RBX_PROBEKBD) { 314 i =3D *(uint8_t *)PTOV(0x496) & 0x10; 315 printf("Keyboard: %s\n", i ? "yes" : "no"); 316 if (!i) 317 opts |=3D 1 << RBX_DUAL | 1 << RBX_SERIAL; 318 opts &=3D ~(1 << RBX_PROBEKBD); 319 } There aren't any timing parameters there either. Either bit 4 in the = byte at 0x400:96 is set, or it's not. -- = \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.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 17 16: 1:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 2331737B557 for ; Fri, 17 Mar 2000 16:01:25 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (dcs@p39-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.104]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id JAA09646; Sat, 18 Mar 2000 09:00:53 +0900 (JST) Message-ID: <38D2C6DF.4186231B@newsguy.com> Date: Sat, 18 Mar 2000 08:59:27 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Paul Robinson Cc: Alfred Perlstein , Luigi Rizzo , Sheldon Hearn , Arnout Boer , hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To ALL PEOPLE complaining about the size: Paul Robinson wrote: > > If you save 20Mb, over a reliable 56Kb modem, you've saved them somewhere > in the region of one and a half hours... I think you guys are too used to > your broadband... :) If you don't want to download 650 Mb, DON'T DOWNLOAD THE ISO IMAGE!!! Download the two 1.44 Mb floppy disk images, and INSTALL FROM FTP. You'll get to select what bits you want, and thus save A LOT of time. Why ISO images, then? Because some people download these images from work/university, where they have broadband access, to install them at home. For these people, the darned 20 Mb out of 650 won't matter. This is a classic case of much ado about nothing. Go take reality check pills, everyone. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 17:44:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from h006097780c24.ne.mediaone.net (h006097780c24.ne.mediaone.net [24.218.250.124]) by hub.freebsd.org (Postfix) with ESMTP id 0D6DA37B87E for ; Fri, 17 Mar 2000 17:44:19 -0800 (PST) (envelope-from andy@lewman.com) Received: from lewman.com (localhost [127.0.0.1]) by h006097780c24.ne.mediaone.net (8.9.3/8.9.3) with ESMTP id UAA00496 for ; Fri, 17 Mar 2000 20:44:03 -0500 (EST) (envelope-from andy@lewman.com) Message-ID: <38D2DF63.5C26CCCF@lewman.com> Date: Fri, 17 Mar 2000 20:44:03 -0500 From: Andy Organization: Lewman Industries X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 Cc: hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? References: <38D2C6DF.4186231B@newsguy.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msB83FFFE856A70D885E902960" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a cryptographically signed message in MIME format. --------------msB83FFFE856A70D885E902960 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Daniel C. Sobral" wrote: At this point, I'd just like to see the iso available, I don't care if it is compressed or not. :P > To ALL PEOPLE complaining about the size: -- | Andy | e-mail | web | | | andy@lewman.com | www.lewman.com | You will remember, Watson, how the dreadful business of the Abernetty family was first brought to my notice by the depth which the parsley had sunk into the butter upon a hot day. -- Sherlock Holmes --------------msB83FFFE856A70D885E902960 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIJkAYJKoZIhvcNAQcCoIIJgTCCCX0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC B10wggQnMIIDkKADAgECAhAXN8ogLRsvAwDJMiA8WgnMMA0GCSqGSIb3DQEBBAUAMIHMMRcw FQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29y azFGMEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9yZXBvc2l0b3J5L1JQQSBJbmNvcnAuIEJ5 IFJlZi4sTElBQi5MVEQoYyk5ODFIMEYGA1UEAxM/VmVyaVNpZ24gQ2xhc3MgMSBDQSBJbmRp dmlkdWFsIFN1YnNjcmliZXItUGVyc29uYSBOb3QgVmFsaWRhdGVkMB4XDTk5MDUxMDAwMDAw MFoXDTAwMDUwOTIzNTk1OVowggEPMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UE CxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazFGMEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9y ZXBvc2l0b3J5L1JQQSBJbmNvcnAuIGJ5IFJlZi4sTElBQi5MVEQoYyk5ODEeMBwGA1UECxMV UGVyc29uYSBOb3QgVmFsaWRhdGVkMTMwMQYDVQQLEypEaWdpdGFsIElEIENsYXNzIDEgLSBO ZXRzY2FwZSBGdWxsIFNlcnZpY2UxFjAUBgNVBAMUDUFuZHJldyBMZXdtYW4xHjAcBgkqhkiG 9w0BCQEWD2FuZHlAbGV3bWFuLmNvbTBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQC/EaQmMjUQ gdB4D3aH5as3M8CQY0I1RmgYevC7MoGkHezh80n+0XeGNEYE6LpMtwnAmv4NYPbwktR2EAz1 RaTPAgMBAAGjggEGMIIBAjAJBgNVHRMEAjAAMIGsBgNVHSAEgaQwgaEwgZ4GC2CGSAGG+EUB BwEBMIGOMCgGCCsGAQUFBwIBFhxodHRwczovL3d3dy52ZXJpc2lnbi5jb20vQ1BTMGIGCCsG AQUFBwICMFYwFRYOVmVyaVNpZ24sIEluYy4wAwIBARo9VmVyaVNpZ24ncyBDUFMgaW5jb3Jw LiBieSByZWZlcmVuY2UgbGlhYi4gbHRkLiAoYyk5NyBWZXJpU2lnbjARBglghkgBhvhCAQEE BAMCB4AwMwYDVR0fBCwwKjAooCagJIYiaHR0cDovL2NybC52ZXJpc2lnbi5jb20vY2xhc3Mx LmNybDANBgkqhkiG9w0BAQQFAAOBgQBLxOO6fPb6g7wDdf3nyY05xisVS88KGnl3MXhU4Y7N /rdCNVgoDy4Yj7qrdieJUMLAKZq91PkshncU4Ezzj94H8jmsbwSLOod9biAJ3s58fL6MREdD vH0Xp0cw9k3JMpi4ipM5DkYfbeiCCczfvgYyY7Jly4cl/Iw08l4yQK239TCCAy4wggKXoAMC AQICEQDSdi6NFAw9fbKoJV2v7g11MA0GCSqGSIb3DQEBAgUAMF8xCzAJBgNVBAYTAlVTMRcw FQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMgUHJpbWFy eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw05ODA1MTIwMDAwMDBaFw0wODA1MTIyMzU5 NTlaMIHMMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1 c3QgTmV0d29yazFGMEQGA1UECxM9d3d3LnZlcmlzaWduLmNvbS9yZXBvc2l0b3J5L1JQQSBJ bmNvcnAuIEJ5IFJlZi4sTElBQi5MVEQoYyk5ODFIMEYGA1UEAxM/VmVyaVNpZ24gQ2xhc3Mg MSBDQSBJbmRpdmlkdWFsIFN1YnNjcmliZXItUGVyc29uYSBOb3QgVmFsaWRhdGVkMIGfMA0G CSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7WkSKBBa7Vf0DeootlE8VeDa4DUqyb5xUv7zodyqd ufBou5XZMUFweoFLuUgTVi3HCOGEQqvAopKrRFyqQvCCDgLpL/vCO7u+yScKXbawNkIztW5U iE+HSr8Z2vkV6A+HthzjzMaajn9qJJLj/OBluqexfu/J2zdqyErICQbkmQIDAQABo3wwejAR BglghkgBhvhCAQEEBAMCAQYwRwYDVR0gBEAwPjA8BgtghkgBhvhFAQcBATAtMCsGCCsGAQUF BwIBFh93d3cudmVyaXNpZ24uY29tL3JlcG9zaXRvcnkvUlBBMA8GA1UdEwQIMAYBAf8CAQAw CwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBAgUAA4GBAIi4Nzvd2pQ3AK2qn+GBAXEekmptL/bx ndPKZDjcG5gMB4ZbhRVqD7lJhaSV8Rd9Z7R/LSzdmkKewz60jqrlCwbe8lYq+jPHvhnXU0zD vcjjF7WkSUJj7MKmFw9dWBpJPJBcVaNlIAD9GCDlX4KmsaiSxVhqwY0DPOvDzQWikK5uMYIB +zCCAfcCAQEwgeEwgcwxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJp U2lnbiBUcnVzdCBOZXR3b3JrMUYwRAYDVQQLEz13d3cudmVyaXNpZ24uY29tL3JlcG9zaXRv cnkvUlBBIEluY29ycC4gQnkgUmVmLixMSUFCLkxURChjKTk4MUgwRgYDVQQDEz9WZXJpU2ln biBDbGFzcyAxIENBIEluZGl2aWR1YWwgU3Vic2NyaWJlci1QZXJzb25hIE5vdCBWYWxpZGF0 ZWQCEBc3yiAtGy8DAMkyIDxaCcwwCQYFKw4DAhoFAKCBsTAYBgkqhkiG9w0BCQMxCwYJKoZI hvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wMDAzMTgwMTQ0MDNaMCMGCSqGSIb3DQEJBDEWBBSd igWbdZBvRiHLrwn7JAOE3ZGH0DBSBgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqG SIb3DQMCAgIAgDAHBgUrDgMCBzANBggqhkiG9w0DAgIBQDANBggqhkiG9w0DAgIBKDANBgkq hkiG9w0BAQEFAARAAU9dtdnQ9dzsQrPwxWc8LFcs38BRuhx/Qm2SjszEHevjOJQQkMfYiBgk w5k9ZCiZZb9xs2KpzMMC4bjT6MWz/Q== --------------msB83FFFE856A70D885E902960-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 19:53: 1 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.nj.home.com (ha1.rdc1.nj.home.com [24.3.128.66]) by hub.freebsd.org (Postfix) with ESMTP id 4FC1237B605 for ; Fri, 17 Mar 2000 19:52:59 -0800 (PST) (envelope-from garycor@home.com) Received: from home.com ([24.3.185.85]) by mail.rdc1.nj.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000318035254.YHSD11747.mail.rdc1.nj.home.com@home.com> for ; Fri, 17 Mar 2000 19:52:54 -0800 Message-ID: <38D2FF48.CE3E396B@home.com> Date: Fri, 17 Mar 2000 23:00:08 -0500 From: "Gary T. Corcoran" X-Mailer: Mozilla 4.6 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: How to read a file from a device driver? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can someone please tell me how I can read a file from a device driver in FreeBSD? I need to download 2 or 3 relatively-large code files to my device, choosing from amongst several different files depending on which mode I'm operating in. Therefore compiling-in the code is not a reasonable choice. If you can either tell me how to be able to read a file from my driver, or point me to an example driver which does this, I would appreciate it. I'm running FreeBSD 3.4. (not subscribed to this list, please always CC: me on replies) Thanks, Gary Corcoran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 19:57:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id BCEBF37B620 for ; Fri, 17 Mar 2000 19:57:43 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2I4KJR01393; Fri, 17 Mar 2000 20:20:19 -0800 (PST) Date: Fri, 17 Mar 2000 20:20:19 -0800 From: Alfred Perlstein To: "Gary T. Corcoran" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? Message-ID: <20000317202018.C14789@fw.wintelcom.net> References: <38D2FF48.CE3E396B@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <38D2FF48.CE3E396B@home.com>; from garycor@home.com on Fri, Mar 17, 2000 at 11:00:08PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Gary T. Corcoran [000317 20:16] wrote: > > Can someone please tell me how I can read a file from a device driver > in FreeBSD? I need to download 2 or 3 relatively-large code files to > my device, choosing from amongst several different files depending on > which mode I'm operating in. Therefore compiling-in the code is not > a reasonable choice. > > If you can either tell me how to be able to read a file from my driver, > or point me to an example driver which does this, I would appreciate it. > > I'm running FreeBSD 3.4. > > (not subscribed to this list, please always CC: me on replies) I hope i'm not advocating abusing an interface here, but here's what comes to mind... Use an ioctl in your driver to pass in a pointer to your user address space which depending on the ioctl request the size of the file be written to the pointer, or that the pointer is where the device should copyout() or use one of the functions from STORE(9) to dump into the user address space. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.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 17 20:31:42 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.nj.home.com (ha1.rdc1.nj.home.com [24.3.128.66]) by hub.freebsd.org (Postfix) with ESMTP id A1C0337B557 for ; Fri, 17 Mar 2000 20:31:39 -0800 (PST) (envelope-from garycor@home.com) Received: from home.com ([24.3.185.85]) by mail.rdc1.nj.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000318043138.YXPC11747.mail.rdc1.nj.home.com@home.com>; Fri, 17 Mar 2000 20:31:38 -0800 Message-ID: <38D3085D.37F31443@home.com> Date: Fri, 17 Mar 2000 23:38:53 -0500 From: "Gary T. Corcoran" X-Mailer: Mozilla 4.6 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? References: <38D2FF48.CE3E396B@home.com> <20000317202018.C14789@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred, > > Can someone please tell me how I can read a file from a device driver > > in FreeBSD? I need to download 2 or 3 relatively-large code files to > > my device, choosing from amongst several different files depending on > > which mode I'm operating in. Therefore compiling-in the code is not > > a reasonable choice. > > > > If you can either tell me how to be able to read a file from my driver, > > or point me to an example driver which does this, I would appreciate it. > > > > I'm running FreeBSD 3.4. > > > > (not subscribed to this list, please always CC: me on replies) > > I hope i'm not advocating abusing an interface here, but here's what > comes to mind... > > Use an ioctl in your driver to pass in a pointer to your user > address space which depending on the ioctl request the size of the > file be written to the pointer, or that the pointer is where the > device should copyout() or use one of the functions from STORE(9) > to dump into the user address space. Sorry, but either I'm not understanding what you're suggesting, or I didn't explain my need clearly... ;-) I'm trying to initialize a network device, and I'm trying to download code *into* my device from some binary system files. There is no "user space" or user process, for that matter, to deal with at this point. I just want to (at this step) open a file(s) directly from my device driver, read the file(s), and download the relevant parts to my device. Does that change your answer? :-) Thanks, Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 20:44: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 00AFC37B7A1 for ; Fri, 17 Mar 2000 20:44:04 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2I56fK02485; Fri, 17 Mar 2000 21:06:41 -0800 (PST) Date: Fri, 17 Mar 2000 21:06:41 -0800 From: Alfred Perlstein To: "Gary T. Corcoran" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? Message-ID: <20000317210640.D14789@fw.wintelcom.net> References: <38D2FF48.CE3E396B@home.com> <20000317202018.C14789@fw.wintelcom.net> <38D3085D.37F31443@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <38D3085D.37F31443@home.com>; from garycor@home.com on Fri, Mar 17, 2000 at 11:38:53PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Gary T. Corcoran [000317 20:54] wrote: > > Alfred, > > > > Can someone please tell me how I can read a file from a device driver > > > in FreeBSD? I need to download 2 or 3 relatively-large code files to > > > my device, choosing from amongst several different files depending on > > > which mode I'm operating in. Therefore compiling-in the code is not > > > a reasonable choice. > > > > > > If you can either tell me how to be able to read a file from my driver, > > > or point me to an example driver which does this, I would appreciate it. > > > > > > I'm running FreeBSD 3.4. > > > > > > (not subscribed to this list, please always CC: me on replies) > > > > I hope i'm not advocating abusing an interface here, but here's what > > comes to mind... > > > > Use an ioctl in your driver to pass in a pointer to your user > > address space which depending on the ioctl request the size of the > > file be written to the pointer, or that the pointer is where the > > device should copyout() or use one of the functions from STORE(9) > > to dump into the user address space. > > Sorry, but either I'm not understanding what you're suggesting, or > I didn't explain my need clearly... ;-) I had an inverted sense of what you wanted to accomplish, i thought you had several different chunks of data that needed to be downloaded from the driver. > > I'm trying to initialize a network device, and I'm trying to download > code *into* my device from some binary system files. There is no > "user space" or user process, for that matter, to deal with at this point. > I just want to (at this step) open a file(s) directly from my device > driver, read the file(s), and download the relevant parts to my device. > > Does that change your answer? :-) Yes, in a couple of ways: a) you can use a userland program to copy the data in like I suggested above, but you'll obviously be using 'fubyte' or 'copyin' instead of subyte or copyout (easiest) b) you can make the datafiles into some sort of kernel loadable module (so so) you can load your module via the loader or once the system is up. c) you can look at NAMEI and the fs code to figure out how this is done, one subsystem that manipulates files from kernel space is the quota system. d) ? :) good luck, -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.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 17 20:59:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 4733637B6DA for ; Fri, 17 Mar 2000 20:59:35 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id XAA89133; Fri, 17 Mar 2000 23:59:28 -0500 (EST) Date: Fri, 17 Mar 2000 23:59:28 -0500 (EST) From: "Matthew N. Dodd" To: "Gary T. Corcoran" Cc: Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? In-Reply-To: <38D3085D.37F31443@home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 17 Mar 2000, Gary T. Corcoran wrote: > I'm trying to initialize a network device, and I'm trying to download > code *into* my device from some binary system files. There is no > "user space" or user process, for that matter, to deal with at this > point. I just want to (at this step) open a file(s) directly from my > device driver, read the file(s), and download the relevant parts to my > device. There isn't really any clean way of doing this so most drivers that need to load firmware usually compile them in. :/ -- | 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 | This Space For Rent | 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 Fri Mar 17 21: 0:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 7047237B61F; Fri, 17 Mar 2000 21:00:26 -0800 (PST) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id UAA51847; Fri, 17 Mar 2000 20:46:39 -0800 (PST) Date: Fri, 17 Mar 2000 20:46:39 -0800 (PST) From: Annelise Anderson To: Mike Smith Cc: "Michael Sperber [Mr. Preprocessor]" , "Brian J. McGovern" , brent@kearneys.ca, questions@FreeBSD.ORG, hackers@FreeBSD.ORG, jfn@enteract.com Subject: Re: AMD Athlon and booting In-Reply-To: <200003172325.PAA00910@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just FYI, my Athlon K7-700 with the ASUS motherboard won't boot with an old IBM keyboard unless the reset button is pressed; the screen remains blank. The ASUS web page says this happens in certain combinations of keyboards and ATX power supplies. With another keyboard it's fine. Annelise On Fri, 17 Mar 2000, Mike Smith wrote: > > >>>>> "Mike" == Mike Smith writes: > > > > Mike> This has nothing to do with Athlon processors and everything to do with > > Mike> buggy BIOS code that doesn't set the "extended keyboard present" bit. > > Mike> Feel free to check the (very simple) code in boot2 that performs keyboard > > Mike> detection, and if you've got any better ideas on how to make this work > > Mike> properly, we're all ears. 8) > > > > This is untrue, at least in general. It is a timing problem at least > > on some Athlon boards. On the MSI 6195, if you increase the timing > > parameters in probe_keyboard.c, the keyboard will get detected just fine. > > I don't know what you're smoking, but there is no "probe_keyboard.c" > involved in this. The keyboard probe code is in boot2.c, and it looks > like this: > > 313 if (opts & 1 << RBX_PROBEKBD) { > 314 i = *(uint8_t *)PTOV(0x496) & 0x10; > 315 printf("Keyboard: %s\n", i ? "yes" : "no"); > 316 if (!i) > 317 opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL; > 318 opts &= ~(1 << RBX_PROBEKBD); > 319 } > > There aren't any timing parameters there either. Either bit 4 in the > byte at 0x400:96 is set, or it's not. > > -- > \\ Give a man a fish, and you feed him for a day. \\ Mike Smith > \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org > \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" 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 17 21: 4:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 140EA37B9FD for ; Fri, 17 Mar 2000 21:04:50 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id WAA05623; Fri, 17 Mar 2000 22:04:18 -0700 (MST) (envelope-from ken) Date: Fri, 17 Mar 2000 22:04:18 -0700 From: "Kenneth D. Merry" To: "Matthew N. Dodd" Cc: "Gary T. Corcoran" , Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? Message-ID: <20000317220418.A5552@panzer.kdm.org> References: <38D3085D.37F31443@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from winter@jurai.net on Fri, Mar 17, 2000 at 11:59:28PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 17, 2000 at 23:59:28 -0500, Matthew N. Dodd wrote: > On Fri, 17 Mar 2000, Gary T. Corcoran wrote: > > I'm trying to initialize a network device, and I'm trying to download > > code *into* my device from some binary system files. There is no > > "user space" or user process, for that matter, to deal with at this > > point. I just want to (at this step) open a file(s) directly from my > > device driver, read the file(s), and download the relevant parts to my > > device. > > There isn't really any clean way of doing this so most drivers that need > to load firmware usually compile them in. :/ True enough. The Alteon Tigon driver (sys/pci/if_ti.c) decides which one of its firmware images (sys/pci/{ti_fw,ti_fw2}.h) based on the chip revision. So that's one possible example to look at. Ken -- Kenneth Merry ken@kdm.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 17 21: 5:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 65F5E37B9FD for ; Fri, 17 Mar 2000 21:05:16 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2I5RpW03113; Fri, 17 Mar 2000 21:27:51 -0800 (PST) Date: Fri, 17 Mar 2000 21:27:51 -0800 From: Alfred Perlstein To: "Matthew N. Dodd" Cc: "Gary T. Corcoran" , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? Message-ID: <20000317212751.F14789@fw.wintelcom.net> References: <38D3085D.37F31443@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from winter@jurai.net on Fri, Mar 17, 2000 at 11:59:28PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matthew N. Dodd [000317 21:22] wrote: > On Fri, 17 Mar 2000, Gary T. Corcoran wrote: > > I'm trying to initialize a network device, and I'm trying to download > > code *into* my device from some binary system files. There is no > > "user space" or user process, for that matter, to deal with at this > > point. I just want to (at this step) open a file(s) directly from my > > device driver, read the file(s), and download the relevant parts to my > > device. > > There isn't really any clean way of doing this so most drivers that need > to load firmware usually compile them in. :/ Now that I think about it, with FreeBSD's ability to dynamically load and unload modules it would seem like using anything else would be pretty annoying unless there's something else we don't understand here. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.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 17 21:13: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 4263D37B620 for ; Fri, 17 Mar 2000 21:13:00 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id WAA08380; Fri, 17 Mar 2000 22:12:53 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <38D3108F.2CDEF5BF@softweyr.com> Date: Fri, 17 Mar 2000 22:13:51 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Gary T. Corcoran" Cc: Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? References: <38D2FF48.CE3E396B@home.com> <20000317202018.C14789@fw.wintelcom.net> <38D3085D.37F31443@home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Gary T. Corcoran" wrote: > > I'm trying to initialize a network device, and I'm trying to download > code *into* my device from some binary system files. There is no > "user space" or user process, for that matter, to deal with at this point. > I just want to (at this step) open a file(s) directly from my device > driver, read the file(s), and download the relevant parts to my device. Can you repackage the binary as a data-only kld, with a couple of public symbols wrapping the beginning and end of the binary, or a couple of symbols with start and length? You could then have the loader pre- load the .ko at boot time. The only other way is to wait until the system is up and load the code into your driver through an ioctl. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.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 17 21:24:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.nj.home.com (ha1.rdc1.nj.home.com [24.3.128.66]) by hub.freebsd.org (Postfix) with ESMTP id A7FD537B620 for ; Fri, 17 Mar 2000 21:24:21 -0800 (PST) (envelope-from garycor@home.com) Received: from home.com ([24.3.185.85]) by mail.rdc1.nj.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000318052417.ZRFW11747.mail.rdc1.nj.home.com@home.com>; Fri, 17 Mar 2000 21:24:17 -0800 Message-ID: <38D314B6.CEFED2E0@home.com> Date: Sat, 18 Mar 2000 00:31:34 -0500 From: "Gary T. Corcoran" X-Mailer: Mozilla 4.6 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: "Matthew N. Dodd" Cc: Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Matthew N. Dodd" wrote: > > On Fri, 17 Mar 2000, Gary T. Corcoran wrote: > > I'm trying to initialize a network device, and I'm trying to download > > code *into* my device from some binary system files. There is no > > "user space" or user process, for that matter, to deal with at this > > point. I just want to (at this step) open a file(s) directly from my > > device driver, read the file(s), and download the relevant parts to my > > device. > > There isn't really any clean way of doing this so most drivers that need > to load firmware usually compile them in. :/ Ugh. This isn't the answer I was looking for... :-( ;-) I can do this in Windows (the original driver), I can do this in Linux (our new port) via a slight kluge which temporarily fiddles with the segment pointers (via standard system routines) to make it seem as if our driver's buffer is in user space so that the standard system read() can be called. You mean I really can't do a relatively simple thing like read a file (which the _kernel_ really does, if you think about it) in my favorite operating system?? There's gotta be a way for a driver to do a read(), isn't there? :) BTW, I did a search on the email archives, and Mike Smith implied that there *is* a way to read a file from a driver, but he only made a vague reference to a driver that did same, and I wasn't able to find any example code to give me a clue... Thanks, Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 17 21:31:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 7E75D37B56E for ; Fri, 17 Mar 2000 21:31:14 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2I5rne03946; Fri, 17 Mar 2000 21:53:49 -0800 (PST) Date: Fri, 17 Mar 2000 21:53:49 -0800 From: Alfred Perlstein To: "Gary T. Corcoran" Cc: "Matthew N. Dodd" , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? Message-ID: <20000317215349.G14789@fw.wintelcom.net> References: <38D314B6.CEFED2E0@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <38D314B6.CEFED2E0@home.com>; from garycor@home.com on Sat, Mar 18, 2000 at 12:31:34AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Gary T. Corcoran [000317 21:46] wrote: > > "Matthew N. Dodd" wrote: > > > > On Fri, 17 Mar 2000, Gary T. Corcoran wrote: > > > I'm trying to initialize a network device, and I'm trying to download > > > code *into* my device from some binary system files. There is no > > > "user space" or user process, for that matter, to deal with at this > > > point. I just want to (at this step) open a file(s) directly from my > > > device driver, read the file(s), and download the relevant parts to my > > > device. > > > > There isn't really any clean way of doing this so most drivers that need > > to load firmware usually compile them in. :/ > > Ugh. This isn't the answer I was looking for... :-( ;-) > I can do this in Windows (the original driver), I can do this in Linux > (our new port) via a slight kluge which temporarily fiddles with the segment > pointers (via standard system routines) to make it seem as if our driver's > buffer is in user space so that the standard system read() can be called. > > You mean I really can't do a relatively simple thing like read a file > (which the _kernel_ really does, if you think about it) in my favorite > operating system?? There's gotta be a way for a driver to do a read(), > isn't there? :) BTW, I did a search on the email archives, and Mike Smith > implied that there *is* a way to read a file from a driver, but he only > made a vague reference to a driver that did same, and I wasn't able to > find any example code to give me a clue... You're just going to have to grovel through the code somewhat, sendfile is sort of useful but you must have an already open file handle. There's other code you can get to do that, like the quota system (i'm pretty sure). -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.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 17 21:44:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id C980B37B598 for ; Fri, 17 Mar 2000 21:44:33 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id AAA89655; Sat, 18 Mar 2000 00:44:29 -0500 (EST) Date: Sat, 18 Mar 2000 00:44:28 -0500 (EST) From: "Matthew N. Dodd" To: "Gary T. Corcoran" Cc: Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? In-Reply-To: <38D314B6.CEFED2E0@home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 18 Mar 2000, Gary T. Corcoran wrote: > Ugh. This isn't the answer I was looking for... :-( ;-) I can do > this in Windows (the original driver), I can do this in Linux (our new > port) via a slight kluge which temporarily fiddles with the segment > pointers (via standard system routines) to make it seem as if our > driver's buffer is in user space so that the standard system read() > can be called. Again, your best bet is to look at how the QUOTA stuff works; it reads and writes to the quota files. Heres the problem though; If you compile your kernel in, the root filesystem isn't mounted until after your drivers probe/attach routines have been called. It would be better if you made your firmware a KLD so that it can be loaded by the loader or demand loaded by the kernel linker when your driver is loaded. -- | 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 | This Space For Rent | 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 Fri Mar 17 23:49:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gizmo.internode.com.au (gizmo.internode.com.au [192.83.231.115]) by hub.freebsd.org (Postfix) with ESMTP id 11C9037B5FD for ; Fri, 17 Mar 2000 23:49:30 -0800 (PST) (envelope-from newton@gizmo.internode.com.au) Received: (from newton@localhost) by gizmo.internode.com.au (8.9.3/8.9.3) id SAA74957; Sat, 18 Mar 2000 18:20:11 +1030 (CST) (envelope-from newton) Date: Sat, 18 Mar 2000 18:20:11 +1030 From: Mark Newton To: "Gary T. Corcoran" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? Message-ID: <20000318182011.B74104@internode.com.au> References: <38D2FF48.CE3E396B@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <38D2FF48.CE3E396B@home.com> X-PGP-Key: http://www.on.net/~newton/pgpkey.txt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 17, 2000 at 11:00:08PM -0500, Gary T. Corcoran wrote: > Can someone please tell me how I can read a file from a device driver > in FreeBSD? I need to download 2 or 3 relatively-large code files to > my device, choosing from amongst several different files depending on > which mode I'm operating in. Therefore compiling-in the code is not > a reasonable choice. Defer the initialization of the device until a user-mode process opens it and performs an ioctl() on it. The ioctl should take a (void *) to a buffer containing a structure which says how long the code is, followed by the code itself. That avoids the whole problem of reading a file from your driver, you can do it with a user-mode helper process. > If you can either tell me how to be able to read a file from my driver, > or point me to an example driver which does this, I would appreciate it. I think the Stallion serial port drivers do something kinda similar. - mark -- Mark Newton Email: newton@internode.com.au (W) Network Engineer Email: newton@atdot.dotat.org (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 0:34: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lesbains.informatik.uni-tuebingen.de (lesbains.Informatik.Uni-Tuebingen.De [134.2.12.5]) by hub.freebsd.org (Postfix) with ESMTP id A550637B789; Sat, 18 Mar 2000 00:34:04 -0800 (PST) (envelope-from sperber@informatik.uni-tuebingen.de) Received: from informatik.uni-tuebingen.de (brabantio [134.2.12.25]) by lesbains.informatik.uni-tuebingen.de (Postfix) with ESMTP id 333D04AC; Sat, 18 Mar 2000 09:34:01 +0100 (NFT) Received: (from sperber@localhost) by informatik.uni-tuebingen.de (AIX4.3/UCB 8.8.8/8.8.8) id JAA16134; Sat, 18 Mar 2000 09:33:59 +0100 To: Mike Smith Cc: "Brian J. McGovern" , brent@kearneys.ca, questions@freebsd.org, hackers@freebsd.org, jfn@enteract.com Subject: Re: AMD Athlon and booting References: <200003172325.PAA00910@mass.cdrom.com> From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) Date: 18 Mar 2000 09:33:59 +0100 In-Reply-To: Mike Smith's message of "Fri, 17 Mar 2000 15:25:30 -0800" Message-ID: Lines: 39 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.2 (Iris) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "Mike" == Mike Smith writes: >> >>>>> "Mike" == Mike Smith writes: >> Mike> This has nothing to do with Athlon processors and everything to do with Mike> buggy BIOS code that doesn't set the "extended keyboard present" bit. Mike> Feel free to check the (very simple) code in boot2 that performs keyboard Mike> detection, and if you've got any better ideas on how to make this work Mike> properly, we're all ears. 8) >> >> This is untrue, at least in general. It is a timing problem at least >> on some Athlon boards. On the MSI 6195, if you increase the timing >> parameters in probe_keyboard.c, the keyboard will get detected just fine. Mike> I don't know what you're smoking, but there is no "probe_keyboard.c" Mike> involved in this. The keyboard probe code is in boot2.c, and it looks Mike> like this: Mike> 313 if (opts & 1 << RBX_PROBEKBD) { Mike> 314 i = *(uint8_t *)PTOV(0x496) & 0x10; Mike> 315 printf("Keyboard: %s\n", i ? "yes" : "no"); Mike> 316 if (!i) Mike> 317 opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL; Mike> 318 opts &= ~(1 << RBX_PROBEKBD); Mike> 319 } Mike> There aren't any timing parameters there either. Either bit 4 in the Mike> byte at 0x400:96 is set, or it's not. I apologize for being unclear: I was using rawboot which uses the keyboard probe in probe_keyboard.c in i386/boot/biosboot. That probe fails by default, and it goes on to work if the timing parameters are increased. Why are you being so abrasive? -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 1:30: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id D5DD437B5D4 for ; Sat, 18 Mar 2000 01:29:42 -0800 (PST) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12WFYC-00009L-00 for freebsd-hackers@FreeBSD.org; Sat, 18 Mar 2000 11:29:40 +0200 From: Sheldon Hearn To: freebsd-hackers@FreeBSD.org Subject: openssh + krb5 Date: Sat, 18 Mar 2000 11:29:40 +0200 Message-ID: <578.953371780@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, I'm trying to get openssh and krb5 in the base system to work on 5.0-CURRENT. I have a patch (included below) which get krb5 working and cause openssh to be linked against krb5. However, I now have two problems with openssh. First, sshd doesn't recognize the KerberosAuthentication, KerberosOrLocalPasswd nor KerberosTgtPassing options in sshd_config. Second, when using ssh to connect to a Datafellows sshd1 which _is_ krb5-enabled, ssh doesn't print the "debug: Trying Kerberos V5 authentication." message at all. This message _is_ printed when I try to connect to my own sshd (which exhibits the problem described above), but ssh fails over to RSA authentication immediately afterwards. Any ideas? Ciao, Sheldon. Index: kerberos5/Makefile.inc =================================================================== RCS file: /home/ncvs/src/kerberos5/Makefile.inc,v retrieving revision 1.5 diff -u -d -r1.5 Makefile.inc --- kerberos5/Makefile.inc 2000/03/01 13:50:27 1.5 +++ kerberos5/Makefile.inc 2000/03/16 14:36:53 @@ -14,7 +14,7 @@ CFLAGS+=-Wall -I${INCLUDEDIR} -I${INCLUDEOBJDIR} -DHAVE_CONFIG_H .if defined(MAKE_KERBEROS4) && \ - (${MAKE_KERBEROS4} == "yes" || ${MAKE_KERBEROS4} == "yes") + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") CFLAGS+=-DKRB5_KRB4_COMPAT -DKRB4 .endif Index: kerberos5/lib/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/lib/Makefile,v retrieving revision 1.2 diff -u -d -r1.2 Makefile --- kerberos5/lib/Makefile 2000/03/01 13:50:30 1.2 +++ kerberos5/lib/Makefile 2000/03/16 14:37:34 @@ -1,7 +1,8 @@ # $FreeBSD: src/kerberos5/lib/Makefile,v 1.2 2000/03/01 13:50:30 markm Exp $ SUBDIR= libroken libasn1 libhdb libkrb5 libkadm5clnt libkadm5srv libsl -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") SUBDIR+=libkafs5 .endif .include Index: kerberos5/lib/libkrb5/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/lib/libkrb5/Makefile,v retrieving revision 1.3 diff -u -d -r1.3 Makefile --- kerberos5/lib/libkrb5/Makefile 2000/02/28 19:15:07 1.3 +++ kerberos5/lib/libkrb5/Makefile 2000/03/17 15:00:49 @@ -8,6 +8,10 @@ -I${KRB5DIR}/include \ -I${KRB5OBJDIR} \ -I${ASN1OBJDIR} +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") +CFLAGS+=-I${KRB4DIR}/include +.endif SRCS= add_et_list.c addr_families.c address.c aname_to_localname.c \ asn1_glue.c auth_context.c build_ap_req.c build_auth.c \ cache.c changepw.c codec.c config_file.c config_file_netinfo.c \ @@ -19,7 +23,7 @@ get_in_tkt.c get_in_tkt_pw.c get_in_tkt_with_keytab.c \ get_in_tkt_with_skey.c get_port.c init_creds.c init_creds_pw.c \ keyblock.c keytab.c keytab_file.c keytab_memory.c \ - keytab_krb4.c keytab_keyfile.c krbhst.c kuserok.c log.c \ + keytab_keyfile.c krbhst.c kuserok.c log.c \ mcache.c misc.c mk_error.c mk_priv.c mk_rep.c mk_req.c \ mk_req_ext.c mk_safe.c net_read.c net_write.c n-fold.c \ padata.c principal.c prog_setup.c prompter_posix.c \ @@ -30,9 +34,17 @@ verify_init.c verify_user.c version.c warn.c write_message.c \ krb5_err.c krb5_err.h heim_err.c heim_err.h \ rc4_enc.c rc4_skey.c +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") +SRCS+= keytab_krb4.c +.endif INCLUDES=${KRB5DIR}/lib/krb5/krb5.h ${.CURDIR}/../../include/krb5-types.h \ ${KRB5DIR}/lib/krb5/krb5-protos.h heim_err.h krb5_err.h +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") +INCLUDES+= ${KRB4DIR}/lib/krb/krb.h +.endif .include Index: kerberos5/libexec/hprop/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/libexec/hprop/Makefile,v retrieving revision 1.3 diff -u -d -r1.3 Makefile --- kerberos5/libexec/hprop/Makefile 2000/03/01 13:50:31 1.3 +++ kerberos5/libexec/hprop/Makefile 2000/03/16 15:38:12 @@ -12,7 +12,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs -lkdb _krb4deps= ${LIBKRB} ${LIBKAFS} ${LIBKDB} .endif Index: kerberos5/libexec/hpropd/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/libexec/hpropd/Makefile,v retrieving revision 1.3 diff -u -d -r1.3 Makefile --- kerberos5/libexec/hpropd/Makefile 2000/03/01 13:50:32 1.3 +++ kerberos5/libexec/hpropd/Makefile 2000/03/16 15:40:40 @@ -12,7 +12,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs -lkdb _krb4deps= ${LIBKRB} ${LIBKAFS} ${LIBKDB} .endif Index: kerberos5/libexec/ipropd-master/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/libexec/ipropd-master/Makefile,v retrieving revision 1.3 diff -u -d -r1.3 Makefile --- kerberos5/libexec/ipropd-master/Makefile 2000/03/01 13:50:33 1.3 +++ kerberos5/libexec/ipropd-master/Makefile 2000/03/16 15:41:55 @@ -12,7 +12,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/libexec/ipropd-slave/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/libexec/ipropd-slave/Makefile,v retrieving revision 1.3 diff -u -d -r1.3 Makefile --- kerberos5/libexec/ipropd-slave/Makefile 2000/03/01 13:50:34 1.3 +++ kerberos5/libexec/ipropd-slave/Makefile 2000/03/16 15:40:46 @@ -12,7 +12,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/libexec/k5admind/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/libexec/k5admind/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- kerberos5/libexec/k5admind/Makefile 2000/03/01 13:50:35 1.4 +++ kerberos5/libexec/k5admind/Makefile 2000/03/16 15:40:25 @@ -13,7 +13,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") SRCS+= version4.c _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} Index: kerberos5/libexec/k5passwdd/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/libexec/k5passwdd/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- kerberos5/libexec/k5passwdd/Makefile 2000/03/01 13:50:36 1.4 +++ kerberos5/libexec/k5passwdd/Makefile 2000/03/16 15:38:26 @@ -11,7 +11,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/libexec/kdc/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/libexec/kdc/Makefile,v retrieving revision 1.3 diff -u -d -r1.3 Makefile --- kerberos5/libexec/kdc/Makefile 2000/03/01 13:50:37 1.3 +++ kerberos5/libexec/kdc/Makefile 2000/03/16 15:40:31 @@ -13,7 +13,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/usr.bin/k5admin/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/usr.bin/k5admin/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- kerberos5/usr.bin/k5admin/Makefile 2000/03/01 13:50:39 1.4 +++ kerberos5/usr.bin/k5admin/Makefile 2000/03/16 15:37:56 @@ -15,7 +15,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/usr.bin/k5destroy/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/usr.bin/k5destroy/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- kerberos5/usr.bin/k5destroy/Makefile 2000/03/01 13:50:43 1.4 +++ kerberos5/usr.bin/k5destroy/Makefile 2000/03/17 09:15:12 @@ -4,12 +4,14 @@ SRCS= kdestroy.c krb5_err.h heim_err.h CFLAGS+= -I${KRB5DIR}/include \ -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/lib/kafs \ -I${KRB5DIR}/lib/krb5 \ -I${KRB5DIR}/lib/asn1 \ -I${KRB5DIR}/kuser \ -I${ASN1OBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/usr.bin/k5init/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/usr.bin/k5init/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- kerberos5/usr.bin/k5init/Makefile 2000/03/01 13:50:43 1.4 +++ kerberos5/usr.bin/k5init/Makefile 2000/03/17 11:47:26 @@ -4,12 +4,14 @@ SRCS= kinit.c kinit_options.c asn1_err.h krb5_err.h heim_err.h CFLAGS+= -I${KRB5DIR}/include \ -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/lib/kafs \ -I${KRB5DIR}/lib/krb5 \ -I${KRB5DIR}/lib/asn1 \ -I${KRB5DIR}/kuser \ -I${ASN1OBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -L${KAFS5OBJDIR} -lkafs5 -lkrb -lkafs _krb4deps= ${LIBKAFS5} ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/usr.bin/k5list/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/usr.bin/k5list/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- kerberos5/usr.bin/k5list/Makefile 2000/03/01 13:50:45 1.4 +++ kerberos5/usr.bin/k5list/Makefile 2000/03/17 11:49:52 @@ -4,12 +4,14 @@ SRCS= klist.c krb5_err.h heim_err.h CFLAGS+= -I${KRB5DIR}/include \ -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/lib/kafs \ -I${KRB5DIR}/lib/krb5 \ -I${KRB5DIR}/lib/asn1 \ -I${KRB5DIR}/kuser \ -I${ASN1OBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/usr.bin/k5passwd/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/usr.bin/k5passwd/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- kerberos5/usr.bin/k5passwd/Makefile 2000/03/01 13:50:46 1.4 +++ kerberos5/usr.bin/k5passwd/Makefile 2000/03/16 15:37:36 @@ -9,7 +9,8 @@ -I${KRB5DIR}/kpasswd \ -I${ASN1OBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/usr.sbin/k5stash/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/usr.sbin/k5stash/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- kerberos5/usr.sbin/k5stash/Makefile 2000/03/01 13:50:47 1.4 +++ kerberos5/usr.sbin/k5stash/Makefile 2000/03/16 15:37:06 @@ -11,7 +11,8 @@ -I${ASN1OBJDIR} \ -I${HDBOBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif Index: kerberos5/usr.sbin/ktutil/Makefile =================================================================== RCS file: /home/ncvs/src/kerberos5/usr.sbin/ktutil/Makefile,v retrieving revision 1.3 diff -u -d -r1.3 Makefile --- kerberos5/usr.sbin/ktutil/Makefile 2000/03/01 13:50:48 1.3 +++ kerberos5/usr.sbin/ktutil/Makefile 2000/03/16 15:36:56 @@ -13,7 +13,8 @@ -I${KRB5DIR}/admin \ -I${ASN1OBJDIR} \ -I${.OBJDIR} -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && \ + (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") _krb4libs= -lkrb -lkafs _krb4deps= ${LIBKRB} ${LIBKAFS} .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 2:47:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from admcnrs.cnrs-mop.fr (admcnrs.cnrs-mop.fr [193.49.132.10]) by hub.freebsd.org (Postfix) with ESMTP id 279EB37B588 for ; Sat, 18 Mar 2000 02:47:28 -0800 (PST) (envelope-from plinares@lovelace.infobiogen.fr) Received: from pcmult (pcmult.cnrs-mop.fr [193.49.191.35]) by admcnrs.cnrs-mop.fr (8.9.1a/jtpda-5.3.1) with SMTP id LAA11884 for ; Sat, 18 Mar 2000 11:53:06 +0100 (MET) Message-Id: <200003181053.LAA11884@admcnrs.cnrs-mop.fr> Identite-Message: <4.0.2.20000318114538.00db4930@lovelace.infobiogen.fr> X-Sender: plinares@lovelace.infobiogen.fr(Non vérifié) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 Date: Sat, 18 Mar 2000 11:47:02 +0100 To: freebsd-hackers@FreeBSD.org From: pl Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: 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 18 3: 1:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id CBD3937B57C for ; Sat, 18 Mar 2000 03:01:12 -0800 (PST) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12WGyj-0000Tb-00 for freebsd-hackers@FreeBSD.org; Sat, 18 Mar 2000 13:01:09 +0200 From: Sheldon Hearn To: freebsd-hackers@FreeBSD.org Subject: Re: openssh + krb5 In-reply-to: Your message of "Sat, 18 Mar 2000 11:29:40 +0200." <578.953371780@axl.ops.uunet.co.za> Date: Sat, 18 Mar 2000 13:01:09 +0200 Message-ID: <1834.953377269@axl.ops.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 18 Mar 2000 11:29:40 +0200, Sheldon Hearn wrote: > First, sshd doesn't recognize the KerberosAuthentication, > KerberosOrLocalPasswd nor KerberosTgtPassing options in sshd_config. Please ignore this. I was being a complete dufus. If you only compile with MAKE_KERBEROS5=YES, then KerberosAuthentication is _obviously_ not valid -- it should be Kerberos5Authentication! :-) So now the problem is this: $ ssh -v -l root axl.ops [...] debug: Trying Kerberos V5 authentication. ssh in free(): warning: chunk is already free. [...] Pretty weird. We get an error back from krb5_get_credentials() in try_krb5_authentication(), but I'll see what I can come up with. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 5:35:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 25FFF37B588 for ; Sat, 18 Mar 2000 05:35:50 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id OAA26928; Sat, 18 Mar 2000 14:35:49 +0100 (CET) (envelope-from olli) Date: Sat, 18 Mar 2000 14:35:49 +0100 (CET) Message-Id: <200003181335.OAA26928@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG Reply-To: freebsd-hackers@FreeBSD.ORG Subject: Re: Why not gzip iso images? X-Newsgroups: list.freebsd-hackers In-Reply-To: <8aunb7$2rgj$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andy wrote in list.freebsd-hackers: > At this point, I'd just like to see the iso available, I don't care if > it is compressed or not. :P If you can't wait for the "official" one, you can download the ISO that I've built for the local university. It's available from ftp7.de.freebsd.org. And no, it's not compressed. :-) (However, note that the server is in Germany. Depending on your connectivity, it might be a bit slow.) Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 5:41:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id F3A4A37B5FB for ; Sat, 18 Mar 2000 05:41:30 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id OAA28261; Sat, 18 Mar 2000 14:41:30 +0100 (CET) (envelope-from olli) Date: Sat, 18 Mar 2000 14:41:30 +0100 (CET) Message-Id: <200003181341.OAA28261@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG Reply-To: freebsd-hackers@FreeBSD.ORG Subject: Re: Netbooting FreeBSD 4.0/Intel? X-Newsgroups: list.freebsd-hackers In-Reply-To: <8atsqe$2baf$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Zahorik wrote in list.freebsd-hackers: > This was originally posted to freebsd-questions, but I didn't get a > response. I'm hoping that someone in here has successfully netbooted a > FreeBSD 4.0-RELEASE box on Intel EtherExpress Pro 100+ cards and can share > their story. > > Since I wrote this message, I have tried etherboot 4.4.5. Still no go. I'm using etherboot 4.2.11. Works fine. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 9: 5:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id F213637B60B for ; Sat, 18 Mar 2000 09:05:47 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys (dbsys.etinc.com [207.252.1.18]) by etinc.com (8.9.3/8.9.3) with SMTP id MAA23691 for ; Sat, 18 Mar 2000 12:06:25 -0500 (EST) Message-Id: <200003181706.MAA23691@etinc.com> X-Sender: dennis@etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Sat, 18 Mar 2000 12:01:55 -0500 To: hackers@freebsd.org From: Dennis Subject: if_fxp driver Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there a version of the fxp driver that works with intels latest boards without giving the "unsupported PHY" message? All the boards we get lately have this problem, and it seems that the 3.4 stuff is been virtually wiped from the ftp site. Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 10:48:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 5FB0737B552 for ; Sat, 18 Mar 2000 10:48:19 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id LAA11087; Sat, 18 Mar 2000 11:48:15 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <38D3CFAD.BBAB3C6D@softweyr.com> Date: Sat, 18 Mar 2000 11:49:17 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: if_fxp driver References: <200003181706.MAA23691@etinc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dennis wrote: > > Is there a version of the fxp driver that works with intels latest boards > without giving the "unsupported PHY" message? All the boards we get lately > have this problem, and it seems that the 3.4 stuff is been virtually wiped > from the ftp site. Yeah, right: ftp> pwd 257 "/.0/FreeBSD/releases/i386/3.4-RELEASE" is current directory. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for 'file list'. total 144 -rw-r--r-- 1 root 207 9818 Dec 19 23:57 ABOUT.TXT -rw-r--r-- 1 root 207 2490 Jan 25 20:38 ERRATA.TXT -rw-r--r-- 1 root 207 26513 Dec 19 23:57 HARDWARE.TXT -rw-r--r-- 1 root 207 24538 Dec 19 23:57 INSTALL.TXT -rw-r--r-- 1 root 207 4736 Dec 19 23:57 LAYOUT.TXT -rw-r--r-- 1 root 207 3713 Dec 19 23:57 README.TXT -rw-r--r-- 1 root 207 22209 Dec 19 23:57 RELNOTES.TXT -rw-r--r-- 1 root 207 16811 Dec 19 23:57 TROUBLE.TXT -rw-r--r-- 1 root 207 8367 Dec 19 23:57 UPGRADE.TXT drwxr-xr-x 4 2035 207 1024 Sep 10 1999 XF86335 drwxr-xr-x 2 2035 207 2048 Dec 20 11:39 bin drwxr-xr-x 2 2035 207 512 Dec 20 11:39 catpages -rw-r--r-- 1 root 207 25 Dec 19 23:57 cdrom.inf drwxr-xr-x 2 2035 207 512 Dec 20 11:38 compat1x drwxr-xr-x 2 2035 207 512 Dec 20 11:38 compat20 drwxr-xr-x 2 2035 207 512 Dec 20 11:39 compat21 drwxr-xr-x 2 2035 207 512 Dec 20 11:39 compat22 drwxr-xr-x 2 2035 207 512 Dec 20 11:39 des drwxr-xr-x 2 2035 207 512 Dec 20 11:39 dict drwxr-xr-x 2 2035 207 1024 Dec 23 05:57 doc drwxr-xr-x 4 2035 207 512 Dec 22 02:21 floppies drwxr-xr-x 2 2035 207 512 Dec 20 11:38 games drwxr-xr-x 2 2035 207 512 Dec 20 11:39 info drwxr-xr-x 2 2035 207 1024 Dec 20 11:39 manpages lrwxrwxrwx 1 root 207 40 Feb 27 00:35 packages -> ../../../ports/i386/packages-3.4-release drwxr-xr-x 2 2035 207 512 Dec 20 11:38 ports drwxr-xr-x 2 2035 207 512 Dec 20 11:38 proflibs drwxr-xr-x 2 2035 207 4608 Dec 23 02:47 src 226 Transfer complete. Nope, no 3.4 stuff there on ftp.freebsd.org, not at all. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 11:22: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 795F937B525 for ; Sat, 18 Mar 2000 11:21:59 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p12-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.141]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id EAA29228; Sun, 19 Mar 2000 04:21:48 +0900 (JST) Message-ID: <38D3D245.F40CE729@newsguy.com> Date: Sun, 19 Mar 2000 04:00:21 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Wes Peters Cc: "Gary T. Corcoran" , Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? References: <38D2FF48.CE3E396B@home.com> <20000317202018.C14789@fw.wintelcom.net> <38D3085D.37F31443@home.com> <38D3108F.2CDEF5BF@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wes Peters wrote: > > Can you repackage the binary as a data-only kld, with a couple of public > symbols wrapping the beginning and end of the binary, or a couple of > symbols with start and length? You could then have the loader pre- > load the .ko at boot time. As a matter of fact, there is no need to repackage it. Loader can load the file with a specific -t type, in which case the file is loaded as is. See, for instance, the splash screen code. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 12:31:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id F0BAE37B866 for ; Sat, 18 Mar 2000 12:31:32 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA10789 for ; Sat, 18 Mar 2000 13:31:31 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA97975 for ; Sat, 18 Mar 2000 13:31:28 -0700 (MST) Message-Id: <200003182031.NAA97975@harmony.village.org> To: hackers@freebsd.org Subject: splFoo() question Date: Sat, 18 Mar 2000 13:31:28 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd like to be able to do some simple spl locking in a driver that I'm writing. While I could go the splhigh() route, I'm concerned that spending lots of time at splhigh could cause problems, and some of my critical sections look to be very expensive. They only need protection against the card itself, not against the entire system. It just seems to be an overly large hammer. In addition to the driver I'm working on now, I've watned to do this in the pccard system so that we block interrupts for the cards when we're mucking around with the pccard bridge chipset on eject events. Right now, I'm using splhigh() for that, but that strikes me as excessive. I've wanted to do something like this for a long time, so I thought I'd spend some time diving down into the spl code and digging around. Always a dangerous thing to do, I know. My first thought was to use splx, but that's for lowering the spl (eg clearing bits) rather than raising it. So instead, I'd like to have a code that looks like: s = splirq(n); ... splx(s); in my code. A nieve implementation would be static __inline int splirq(int n) { int oldcpl; oldcpl = cpl; cpl |= (1 << n); return oldcpl; } This strikes me rather dangerous, machine dependent, and making unwise assumptions. It wouldn't work on MP. I'm sure that there are lots of other reasons that this won't work which aren't immediately obvious... Except for shift vs mask differences, this looks identical to the splq code in the UP case. I also notice that splq doesn't appear in the spl(9) man page and thus might disappear in the future. I further notice that it appears to be a i386 only routine, appearing only in: i386/include/lock.h i386/isa/intr_machdep.c i386/isa/intr_machdep.h i386/isa/ipl_funcs.c There's got to be a simple, MI way to do things like this, but I'm not sure that I'm seeing any. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 13:12:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 33E0C37B7D6 for ; Sat, 18 Mar 2000 13:12:48 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id NAA23399; Sat, 18 Mar 2000 13:12:39 -0800 Date: Sat, 18 Mar 2000 13:12:39 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Warner Losh Cc: hackers@FreeBSD.ORG Subject: Re: splFoo() question In-Reply-To: <200003182031.NAA97975@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Shouldn't all of this should be properties of the newbus code? There should be some value that is associated with any device that says "I need to disable receiving interrupts from this device". This could then fold into an MP spinlock case that honors device interrupts. What you're describing below *is* machine dependent, but very similar to the ddi_iblock_cookie_t for Solaris, which also then had the related ddi_idevice_cookie_t (which would have the bits appropriate for programming 'programmable' interrupt levels)- but considering it 'newbus' dependent is certainly better sounding than "machine dependent". I'm eager to hear if there's a way already to do this in FreeBSD. On Sat, 18 Mar 2000, Warner Losh wrote: > > I'd like to be able to do some simple spl locking in a driver that I'm > writing. While I could go the splhigh() route, I'm concerned that > spending lots of time at splhigh could cause problems, and some of my > critical sections look to be very expensive. They only need > protection against the card itself, not against the entire system. It > just seems to be an overly large hammer. > > In addition to the driver I'm working on now, I've watned to do this > in the pccard system so that we block interrupts for the cards when > we're mucking around with the pccard bridge chipset on eject events. > Right now, I'm using splhigh() for that, but that strikes me as > excessive. > > I've wanted to do something like this for a long time, so I thought > I'd spend some time diving down into the spl code and digging around. > Always a dangerous thing to do, I know. > > My first thought was to use splx, but that's for lowering the spl (eg > clearing bits) rather than raising it. > > So instead, I'd like to have a code that looks like: > s = splirq(n); > ... > splx(s); > in my code. > > A nieve implementation would be > > static __inline int splirq(int n) > { > int oldcpl; > > oldcpl = cpl; > cpl |= (1 << n); > return oldcpl; > } > > This strikes me rather dangerous, machine dependent, and making unwise > assumptions. It wouldn't work on MP. I'm sure that there are lots of > other reasons that this won't work which aren't immediately obvious... > > Except for shift vs mask differences, this looks identical to the splq > code in the UP case. I also notice that splq doesn't appear in the > spl(9) man page and thus might disappear in the future. I further > notice that it appears to be a i386 only routine, appearing only in: > i386/include/lock.h > i386/isa/intr_machdep.c > i386/isa/intr_machdep.h > i386/isa/ipl_funcs.c > > There's got to be a simple, MI way to do things like this, but I'm not > sure that I'm seeing any. > > Warner > > > > 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 18 13:58:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lince.tdnet.com.br (lince.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id 30F9437B615 for ; Sat, 18 Mar 2000 13:58:05 -0800 (PST) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br [200.236.148.106] by lince.tdnet.com.br with ESMTP (SMTPD32-5.00) id A0AB3CFC009E; Sun, 19 Mar 2000 18:03:39 -0300 Message-ID: <38D3D096.462AD030@tdnet.com.br> Date: Sat, 18 Mar 2000 18:53:10 +0000 From: Gustavo V G C Rios X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: limiting buffer cache Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does anybody here knows how to limit the size of my FS buffer cache ? I have already looked over LINT config file, but it seems not to have any option! I have ever send this message to questions, but nobody there seems to care/know. I would really appreciate your help. Thanks a lot for your time and cooperation. regards. -- Pascal, n.: A programming language named after a man who would turn over in his grave if he knew about 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 18 14:16:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 29A1337B62F for ; Sat, 18 Mar 2000 14:16:16 -0800 (PST) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id OAA18235; Sat, 18 Mar 2000 14:10:10 -0800 (PST) Message-Id: <200003182210.OAA18235@implode.root.com> To: Gustavo V G C Rios Cc: hackers@FreeBSD.ORG Subject: Re: limiting buffer cache In-reply-to: Your message of "Sat, 18 Mar 2000 18:53:10 GMT." <38D3D096.462AD030@tdnet.com.br> From: David Greenman Reply-To: dg@root.com Date: Sat, 18 Mar 2000 14:10:10 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Does anybody here knows how to limit the size of my FS buffer cache ? >I have already looked over LINT config file, but it seems not to have >any option! >I have ever send this message to questions, but nobody there seems to >care/know. > >I would really appreciate your help. There really isn't a 'buffer cache' in FreeBSD. About 5 years ago FreeBSD was changed so that buffers weren't used to cache filesystem data - instead they are used as a mechanism to map cached pages from the VM system into the kernel address space. All file caching now occurs in the VM system and is completely dynamic in size, and varies with other activity in the system. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 14:24:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from swebase.com (mail.swebase.com [212.75.75.45]) by hub.freebsd.org (Postfix) with ESMTP id 220C237BC28 for ; Sat, 18 Mar 2000 14:24:16 -0800 (PST) (envelope-from kasper@swebase.com) Date: Sat, 18 Mar 2000 23:24:45 +0100 Message-Id: <200003182324.AA2333933860@swebase.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Kasper Kristiansson" Reply-To: To: Subject: Loginproblem X-Mailer: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When i login this message comes, ** Who are you? (Unable to look up login name)** and when i do a whoami it answers whit my uid, why has my server lost the loginnames??? $ whoami 1000 $ who kasper ttyp0 Mar 18 23:17 (212.242.97.48) $ please help me. ./kasper To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 16: 3:14 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cicero1.cybercity.dk (cicero1.cybercity.dk [212.242.40.4]) by hub.freebsd.org (Postfix) with ESMTP id 9727837B506 for ; Sat, 18 Mar 2000 16:03:11 -0800 (PST) (envelope-from micke@swebase.com) Received: from usr01.netlink.se (usr01.netlink.se [212.242.42.10]) by cicero1.cybercity.dk (8.9.3/8.9.3) with ESMTP id AAA10456 for ; Sun, 19 Mar 2000 00:57:53 +0100 (CET) Received: from micke (cvx-mal-1-48.ppp.netlink.se [212.242.97.48]) by usr01.netlink.se (8.8.8/8.8.8) with SMTP id AAA13748 for ; Sun, 19 Mar 2000 00:57:51 +0100 (CET) (envelope-from micke@swebase.com) Message-ID: <000701bf9136$252e0e20$0201a0c0@micke> From: "Micke" To: Subject: swap Date: Sun, 19 Mar 2000 01:00:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How do i check the status of my new swap it isn't showing in top or in = pstat -s I have done the following =20 cd /dev=20 sh ./MAKEDEV vn0=20 =20 create a swapfile (/usr/swap0)=20 dd if=3D/dev/zero of=3D/usr/swap0 bs=3D1024k count=3D64=20 =20 set proper permissions on (/usr/swap0)=20 chmod 0600 /usr/swap0=20 =20 enable the swap file in /etc/rc.conf=20 swapfile=3D"/usr/swap0" # Set to name of swapfile if aux = swapfile desired.=20 =20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 16:35:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 787CA37B619; Sat, 18 Mar 2000 16:35:56 -0800 (PST) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id QAA05904; Sat, 18 Mar 2000 16:35:56 -0800 (PST) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Sat, 18 Mar 2000 16:35:56 -0800 (PST) From: Kris Kennaway To: Micke Cc: hackers@freebsd.org Subject: Re: swap In-Reply-To: <000701bf9136$252e0e20$0201a0c0@micke> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 19 Mar 2000, Micke wrote: > enable the swap file in /etc/rc.conf > > swapfile="/usr/swap0" # Set to name of swapfile if aux swapfile desired. Did you reboot? Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 18:24:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id B8F0D37BC51 for ; Sat, 18 Mar 2000 18:24:43 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id TAA11872; Sat, 18 Mar 2000 19:24:25 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <38D43A96.DD54B20B@softweyr.com> Date: Sat, 18 Mar 2000 19:25:26 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Daniel C. Sobral" Cc: "Gary T. Corcoran" , Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: How to read a file from a device driver? References: <38D2FF48.CE3E396B@home.com> <20000317202018.C14789@fw.wintelcom.net> <38D3085D.37F31443@home.com> <38D3108F.2CDEF5BF@softweyr.com> <38D3D245.F40CE729@newsguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: > > Wes Peters wrote: > > > > Can you repackage the binary as a data-only kld, with a couple of public > > symbols wrapping the beginning and end of the binary, or a couple of > > symbols with start and length? You could then have the loader pre- > > load the .ko at boot time. > > As a matter of fact, there is no need to repackage it. Loader can load > the file with a specific -t type, in which case the file is loaded as > is. See, for instance, the splash screen code. Coolness. You know, I think this FreeBSD thing is really going to take off one of these days. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 19:10:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from stud.alakhawayn.ma (stud.alakhawayn.ma [193.194.63.94]) by hub.freebsd.org (Postfix) with ESMTP id 0895437B6DF for ; Sat, 18 Mar 2000 19:10:24 -0800 (PST) (envelope-from 992C396651@stud.alakhawayn.ma) Received: from localhost (992C396651@localhost) by stud.alakhawayn.ma (8.9.0/8.9.0) with SMTP id DAA12509 for ; Sun, 19 Mar 2000 03:09:53 GMT Date: Sun, 19 Mar 2000 03:09:48 +0000 (GMT) From: Mourad Lakhdar <992C396651@stud.alakhawayn.ma> To: freebsd-hackers@FreeBSD.org Subject: need help Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi everybody: i need to insert a new ip address in the ip stucture , but i don't know how to do ; there is the problem : i have for exemple an ip address of : 10.10.11.240 i'm seekinf if there is a function such that i can insert this ip address in the field : ip->ip_dst.s_addr where ip is : struct ip* ip; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 19:24:36 2000 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 2D31F37B68D for ; Sat, 18 Mar 2000 19:24:33 -0800 (PST) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id WAA04197; Sat, 18 Mar 2000 22:23:56 -0500 (EST) (envelope-from robert@cyrus.watson.org) Date: Sat, 18 Mar 2000 22:23:56 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Mourad Lakhdar <992C396651@stud.alakhawayn.ma> Cc: freebsd-hackers@FreeBSD.org Subject: Re: need help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try ip.ip_dst.s_addr = inet_addr("10.10.11.240"); inet_addr() returns addresses in network byte order so no further work is required. There's also ascii2addr -- with the advent of IPv6, I'm not sure what the approved mechanism is. But for IPv4, which is what you seem to be interested in, inet_addr() is the easiest path. On Sun, 19 Mar 2000, Mourad Lakhdar wrote: > > hi everybody: > > i need to insert a new ip address in the ip stucture , but i don't know > how to do ; there is the problem : > > i have for exemple an ip address of : 10.10.11.240 > > i'm seekinf if there is a function such that i can insert this ip > address in the field : > ip->ip_dst.s_addr > > where ip is : struct ip* ip; > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 19:33: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from stud.alakhawayn.ma (stud.alakhawayn.ma [193.194.63.94]) by hub.freebsd.org (Postfix) with ESMTP id 98CC037B5D5 for ; Sat, 18 Mar 2000 19:32:57 -0800 (PST) (envelope-from 992C396651@stud.alakhawayn.ma) Received: from localhost (992C396651@localhost) by stud.alakhawayn.ma (8.9.0/8.9.0) with SMTP id DAA12577; Sun, 19 Mar 2000 03:32:14 GMT Date: Sun, 19 Mar 2000 03:32:14 +0000 (GMT) From: Mourad Lakhdar <992C396651@stud.alakhawayn.ma> To: Robert Watson Cc: freebsd-hackers@FreeBSD.org Subject: Re: need help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG thank you: but when i did that , i got a n "undefined inet_addr reference " error , i guess that i have to include another header , but which one? best regards, On Sat, 18 Mar 2000, Robert Watson wrote: > > Try > > ip.ip_dst.s_addr = inet_addr("10.10.11.240"); > > inet_addr() returns addresses in network byte order so no further work is > required. There's also ascii2addr -- with the advent of IPv6, I'm not > sure what the approved mechanism is. But for IPv4, which is what you > seem to be interested in, inet_addr() is the easiest path. > > On Sun, 19 Mar 2000, Mourad Lakhdar wrote: > > > > > hi everybody: > > > > i need to insert a new ip address in the ip stucture , but i don't know > > how to do ; there is the problem : > > > > i have for exemple an ip address of : 10.10.11.240 > > > > i'm seekinf if there is a function such that i can insert this ip > > address in the field : > > ip->ip_dst.s_addr > > > > where ip is : struct ip* ip; > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > Robert N M Watson > > robert@fledge.watson.org http://www.watson.org/~robert/ > PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 > TIS Labs at Network Associates, Safeport Network Services > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 19:34:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from stud.alakhawayn.ma (stud.alakhawayn.ma [193.194.63.94]) by hub.freebsd.org (Postfix) with ESMTP id 49F4037B6FC for ; Sat, 18 Mar 2000 19:34:29 -0800 (PST) (envelope-from 992C396651@stud.alakhawayn.ma) Received: from localhost (992C396651@localhost) by stud.alakhawayn.ma (8.9.0/8.9.0) with SMTP id DAA12587; Sun, 19 Mar 2000 03:33:49 GMT Date: Sun, 19 Mar 2000 03:33:48 +0000 (GMT) From: Mourad Lakhdar <992C396651@stud.alakhawayn.ma> To: Robert Watson Cc: freebsd-hackers@FreeBSD.org Subject: Re: need help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG IPv4? what that means? more details please------ On Sat, 18 Mar 2000, Robert Watson wrote: > > Try > > ip.ip_dst.s_addr = inet_addr("10.10.11.240"); > > inet_addr() returns addresses in network byte order so no further work is > required. There's also ascii2addr -- with the advent of IPv6, I'm not > sure what the approved mechanism is. But for IPv4, which is what you > seem to be interested in, inet_addr() is the easiest path. > > On Sun, 19 Mar 2000, Mourad Lakhdar wrote: > > > > > hi everybody: > > > > i need to insert a new ip address in the ip stucture , but i don't know > > how to do ; there is the problem : > > > > i have for exemple an ip address of : 10.10.11.240 > > > > i'm seekinf if there is a function such that i can insert this ip > > address in the field : > > ip->ip_dst.s_addr > > > > where ip is : struct ip* ip; > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > Robert N M Watson > > robert@fledge.watson.org http://www.watson.org/~robert/ > PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 > TIS Labs at Network Associates, Safeport Network Services > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 20: 9:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lince.tdnet.com.br (lince.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id CBEB337B6EC for ; Sat, 18 Mar 2000 20:09:01 -0800 (PST) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br [200.236.148.106] by lince.tdnet.com.br with ESMTP (SMTPD32-5.00) id A7C41BA300A2; Mon, 20 Mar 2000 00:15:16 -0300 Message-ID: <38D427B0.113B2C5E@tdnet.com.br> Date: Sun, 19 Mar 2000 01:04:48 +0000 From: Gustavo V G C Rios X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: dg@root.com Cc: hackers@FreeBSD.ORG Subject: Re: limiting buffer cache References: <200003182210.OAA18235@implode.root.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Greenman wrote: > > >Does anybody here knows how to limit the size of my FS buffer cache ? > >I have already looked over LINT config file, but it seems not to have > >any option! > >I have ever send this message to questions, but nobody there seems to > >care/know. > > > >I would really appreciate your help. > > There really isn't a 'buffer cache' in FreeBSD. About 5 years ago FreeBSD > was changed so that buffers weren't used to cache filesystem data - instead > they are used as a mechanism to map cached pages from the VM system into > the kernel address space. All file caching now occurs in the VM system and > is completely dynamic in size, and varies with other activity in the system. > > -DG > > David Greenman > Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org > Creator of high-performance Internet servers - http://www.terasolutions.com > Pave the road of life with opportunities. So, that is it! When my users try to copy very big directories the system simply prevent anyone else from spawwing any other process, return the followind: swapper: out of memory! Are you telling me that there is no way to prevent my users from eating all my memory ? PS: I am already controlling system resource, using /etc/login.conf. -- If you're happy, you're successful. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 21: 1: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from c017.sfo.cp.net (c017-h014.c017.sfo.cp.net [209.228.12.228]) by hub.freebsd.org (Postfix) with SMTP id B2C1837B6A0 for ; Sat, 18 Mar 2000 21:00:57 -0800 (PST) (envelope-from billy@tweakers.com) Received: (cpmta 23492 invoked from network); 18 Mar 2000 19:45:34 -0800 Received: from unknown (HELO tweakers.com) (63.88.237.8) by smtp.tweakers.com with SMTP; 18 Mar 2000 19:45:34 -0800 X-Sent: 19 Mar 2000 03:45:34 GMT From: billy@tweakers.com Reply-To: billy@tweakers.com To: billy@tweakers.com Subject: worth a look? Message-Id: <20000319050057.B2C1837B6A0@hub.freebsd.org> Date: Sat, 18 Mar 2000 21:00:57 -0800 (PST) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG http://www.radiofreecash.com/home.asp?ref=drpaul This is a one time mailing there is no need to remove yourself To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 21: 1:53 2000 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 10C4B37B6FB for ; Sat, 18 Mar 2000 21:01:49 -0800 (PST) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id AAA04485; Sun, 19 Mar 2000 00:01:34 -0500 (EST) (envelope-from robert@cyrus.watson.org) Date: Sun, 19 Mar 2000 00:01:34 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Mourad Lakhdar <992C396651@stud.alakhawayn.ma> Cc: freebsd-hackers@FreeBSD.org Subject: Re: need help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You would probably benefit from using the online programmers' documentation available via the man pages. % man inet_addr Should tell you everything you need to know. You may want to address further questions to freebsd-questions@freebsd.org. For reference, it suggests: SYNOPSIS #include #include #include #include On Sun, 19 Mar 2000, Mourad Lakhdar wrote: > thank you: > > > but when i did that , i got a n "undefined inet_addr reference " error , i > guess that i have to include another header , but which one? > > best regards, > > On Sat, 18 Mar 2000, Robert Watson wrote: > > > > > Try > > > > ip.ip_dst.s_addr = inet_addr("10.10.11.240"); > > > > inet_addr() returns addresses in network byte order so no further work is > > required. There's also ascii2addr -- with the advent of IPv6, I'm not > > sure what the approved mechanism is. But for IPv4, which is what you > > seem to be interested in, inet_addr() is the easiest path. > > > > On Sun, 19 Mar 2000, Mourad Lakhdar wrote: > > > > > > > > hi everybody: > > > > > > i need to insert a new ip address in the ip stucture , but i don't know > > > how to do ; there is the problem : > > > > > > i have for exemple an ip address of : 10.10.11.240 > > > > > > i'm seekinf if there is a function such that i can insert this ip > > > address in the field : > > > ip->ip_dst.s_addr > > > > > > where ip is : struct ip* ip; > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > > > > > Robert N M Watson > > > > robert@fledge.watson.org http://www.watson.org/~robert/ > > PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 > > TIS Labs at Network Associates, Safeport Network Services > > > > > > Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 21: 4:41 2000 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 1D9FE37BBDC for ; Sat, 18 Mar 2000 21:04:36 -0800 (PST) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id AAA04491; Sun, 19 Mar 2000 00:04:24 -0500 (EST) (envelope-from robert@cyrus.watson.org) Date: Sun, 19 Mar 2000 00:04:23 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Mourad Lakhdar <992C396651@stud.alakhawayn.ma> Cc: freebsd-hackers@FreeBSD.org Subject: Re: need help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Another question for freebsd-questions. Try: % man 4 inet % man 4 inet6 Chances are, if you don't know what IPv4 is, you don't care about IPv6. On Sun, 19 Mar 2000, Mourad Lakhdar wrote: > IPv4? > > > what that means? > > more details please------ > > On Sat, 18 Mar 2000, Robert Watson wrote: > > > > > Try > > > > ip.ip_dst.s_addr = inet_addr("10.10.11.240"); > > > > inet_addr() returns addresses in network byte order so no further work is > > required. There's also ascii2addr -- with the advent of IPv6, I'm not > > sure what the approved mechanism is. But for IPv4, which is what you > > seem to be interested in, inet_addr() is the easiest path. > > > > On Sun, 19 Mar 2000, Mourad Lakhdar wrote: > > > > > > > > hi everybody: > > > > > > i need to insert a new ip address in the ip stucture , but i don't know > > > how to do ; there is the problem : > > > > > > i have for exemple an ip address of : 10.10.11.240 > > > > > > i'm seekinf if there is a function such that i can insert this ip > > > address in the field : > > > ip->ip_dst.s_addr > > > > > > where ip is : struct ip* ip; > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > > > > > Robert N M Watson > > > > robert@fledge.watson.org http://www.watson.org/~robert/ > > PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 > > TIS Labs at Network Associates, Safeport Network Services > > > > > > Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 18 22:37:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id DA9DC37B66D for ; Sat, 18 Mar 2000 22:37:46 -0800 (PST) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id WAA19139; Sat, 18 Mar 2000 22:32:37 -0800 (PST) Message-Id: <200003190632.WAA19139@implode.root.com> To: Gustavo V G C Rios Cc: hackers@FreeBSD.ORG Subject: Re: limiting buffer cache In-reply-to: Your message of "Sun, 19 Mar 2000 01:04:48 GMT." <38D427B0.113B2C5E@tdnet.com.br> From: David Greenman Reply-To: dg@root.com Date: Sat, 18 Mar 2000 22:32:37 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >So, that is it! >When my users try to copy very big directories the system simply prevent >anyone else from spawwing any other process, return the followind: >swapper: out of memory! > >Are you telling me that there is no way to prevent my users from eating >all my memory ? Uh, I'm not sure what is generating that error, but it has nothing to do with file caching. Sounds like you don't have enough swap space configured. What version of FreeBSD are you using? -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message