From owner-freebsd-hackers Sun Oct 31 0:47: 2 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 201A214C23 for ; Sun, 31 Oct 1999 00:46:59 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id IAA15561; Sun, 31 Oct 1999 08:46:58 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id IAA64611; Sun, 31 Oct 1999 08:46:58 +0100 (MET) Date: Sun, 31 Oct 1999 08:46:57 +0100 From: Eivind Eklund To: Rene de Vries Cc: FreeBSD hackers Subject: Re: Natd+PKT_ALIAS_PUNCH_FW missing something? Message-ID: <19991031084657.E62515@bitbox.follo.net> References: <199910301513.RAA01051@canyon.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199910301513.RAA01051@canyon.demon.nl>; from rene@canyon.demon.nl on Sat, Oct 30, 1999 at 05:13:09PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Oct 30, 1999 at 05:13:09PM +0200, Rene de Vries wrote: > Hello, > > Am I missing something? I modified natd.c so an extra option was available to > turn on punch firewall (see diff below). When I activated this option it did > not seem to work (ftp-data is still blocked by my firewall). When I add a > general allow line for any traffic from 20 to 1023- it (of course) works. But > the whole idea was to get rid of this line... The only obvious place for this to go wrong is in your specification of the firewall base ID. You have to make sure this is somewhere in your ruleset where allowing TCP connections for a specific sourceaddress/port and destinationaddress/port will allow the traffic through - if there is a deny rule prior to the point where you are adding rules, things won't work. Your patches looked correct enough; however, I do not know if the firewall punching code works as of today. I know it worked at the point where I committed it to FreeBSD, and it works in my sourcetree for the product it was originally written for, but I don't use it in FreeBSD proper - it was committed there to make the code available for others to use. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 10:21:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from catarina.usc.edu (catarina.usc.edu [128.125.51.47]) by hub.freebsd.org (Postfix) with SMTP id E673214C48; Sun, 31 Oct 1999 10:21:47 -0800 (PST) (envelope-from xuanchen@catarina.usc.edu) Received: from ipanema.usc.edu (ipanema.usc.edu [128.125.52.3]) by catarina.usc.edu (8.6.10/8.6.9) with ESMTP id KAA03465; Sun, 31 Oct 1999 10:21:46 -0800 Received: from localhost (xuanchen@localhost) by ipanema.usc.edu (8.9.3/8.6.9) with ESMTP id KAA01492; Sun, 31 Oct 1999 10:21:48 -0800 (PST) X-Authentication-Warning: ipanema.usc.edu: xuanchen owned process doing -bs Date: Sun, 31 Oct 1999 10:21:48 -0800 (PST) From: Xuan Chen To: freebsd-hackers@FreeBSD.org Cc: freebsd-hardware@FreeBSD.org Subject: Problem with Compaq Presario 5724. 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, We got a Compaq Presario 5724, when boot from the floppy disk. The machine will just hang there, no indication of what happened. Has anyone had similar problem before? Any suggestions will be greatly appreciated. BTW, it seems to me that freeBSD can not recognize the hard drive in Compaq presario 5441. Any hints.... Thanks so much for your help! -chen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 10:42:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta3.rcsntx.swbell.net (mta3.rcsntx.swbell.net [151.164.30.27]) by hub.freebsd.org (Postfix) with ESMTP id 0E46D14CDF; Sun, 31 Oct 1999 10:42:46 -0800 (PST) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org ([216.62.157.60]) by mta3.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FKH000MQDB7J1@mta3.rcsntx.swbell.net>; Sun, 31 Oct 1999 12:42:44 -0600 (CST) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id MAA03632; Sun, 31 Oct 1999 12:43:41 -0600 (CST envelope-from chris) X-URL: http://www.FreeBSD.org/~chris/ Date: Sun, 31 Oct 1999 12:43:37 -0600 From: Chris Costello Subject: Implementing ioctl to set MAC address -- question. To: freebsd-net@FreeBSD.org Cc: freebsd-hackers@FreeBSD.org Reply-To: chris@calldei.com Message-id: <19991031124337.I472@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i X-Operating-System: FreeBSD 4.0-CURRENT (i386) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to implement Bill Paul's "setmac" code in the actual source code as a project (and will have it reviewed before it's committed -- if I ever get that far!). However, I'm getting stuck in that ether_ioctl is never getting the ioctl request. I've added the case statement for "SIOCSIFMAC" (probably to be renamed) to net/if.c and dev/ed/if_ed.c (which is the card I'm using) as well as net/if_ethersubr.c. Are there any other files that need to know about the ioctl or am I going about this the wrong way entirely? -- |Chris Costello |This BBS is ancient. Some say from the echocene. `------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 10:53:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id DE6E114E87 for ; Sun, 31 Oct 1999 10:53:53 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id TAA19432 for ; Sun, 31 Oct 1999 19:53:52 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id TAA12622 for ; Sun, 31 Oct 1999 19:53:52 +0100 (MET) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id TAA11541 for ; Sun, 31 Oct 1999 19:53:52 +0100 (CET) Date: Sun, 31 Oct 1999 19:53:51 +0100 From: Andre Albsmeier To: Doug White Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Message-ID: <19991031195351.A22791@internal> References: <199910290341.XAA38860@cc158233-a.catv1.md.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from dwhite@resnet.uoregon.edu on Fri, Oct 29, 1999 at 08:56:01AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 29-Oct-1999 at 08:56:01 -0700, Doug White wrote: > On Thu, 28 Oct 1999, Stephen J. Roznowski wrote: > > > I'm looking at the tutorial on building CCDs at > > > > http://www.freebsd.org/tutorials/formatting-media/x205.html > > I am the author of said document ;) > > > It seems that this page needs to be updated to include the FAQ > > entry between the ccdconfig and newfs. [I don't remember the > > error I had before I did the disklabel...] > > > > # ccdconfig ccd0 32 0 /dev/sd0c /dev/sd1c /dev/sd2c > > > > >> # disklabel ccd0 > /tmp/ccd.label > > >> # disklabel -Rr ccd0 /tmp/ccd.label > > > > # newfs /dev/rccd0c > > > > Is this really the case? [If so, I'll send-pr a correction] > > ccdconfig manufactures a disklabel when you create the stripe, so you > don't need to adjust the disklabel. The subdisks must have disklabels, > and you can't use the C partition since ccd only uses partitions of type > 4.2BSD. Does that mean I should not use partition c as a 4.2BSD type? This is what I am currently doing on all disks (ccd'ed or single) if the whole disk is used as one big filesystem, e.g.: andre@server:~>disklabel da1 # /dev/rda1c: type: SCSI disk: SEAGATE label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 256 sectors/cylinder: 16128 cylinders: 2810 sectors/unit: 45322644 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 3 partitions: # size offset fstype [fsize bsize bps/cpg] c: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) I didn't have any problems for the last 3 years but if someone tells me that this is bad, danegerous or simply ugly, I will change that :-) Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 11:36:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from falla.videotron.net (falla.videotron.net [205.151.222.106]) by hub.freebsd.org (Postfix) with ESMTP id 99FC514A1B for ; Sun, 31 Oct 1999 11:36:40 -0800 (PST) (envelope-from spotvin@videotron.ca) Received: from videotron.ca ([207.253.100.220]) by falla.videotron.net (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with ESMTP id <0FKH00LDQFS14W@falla.videotron.net> for freebsd-hackers@freebsd.org; Sun, 31 Oct 1999 14:36:02 -0500 (EST) Date: Sun, 31 Oct 1999 19:36:06 +0000 From: "Stephane E. Potvin" Subject: gas pseudo-ops To: freebsd-hackers@freebsd.org Message-id: <381C9A26.E01B254B@videotron.ca> Organization: IML MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does anyone have any idea where I could find some documentation about the following gas pseudo-ops? .type ,@object .previous Both are used in setdef0.c used to generate linker sets but does not seems to be documented in the gas info file, the man page or the faq. Thanks in advance! -- Stephane E. Potvin InnoMediaLogic - http://www.multichassis.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 14:39:14 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bomber.avantgo.com (ws1.avantgo.com [207.214.200.194]) by hub.freebsd.org (Postfix) with ESMTP id 77F3914C1A for ; Sun, 31 Oct 1999 14:38:55 -0800 (PST) (envelope-from scott@avantgo.com) Received: from river ([10.0.128.30]) by bomber.avantgo.com (Netscape Messaging Server 3.5) with SMTP id 397; Sun, 31 Oct 1999 14:34:07 -0800 Message-ID: <199801bf23f0$9e4af920$1e80000a@avantgo.com> From: "Scott Hess" To: "Michael Beckmann" Cc: References: <19991029011348.B2757@apfel.de> <199910282253.PAA02302@dingo.cdrom.com> <19991029020253.A3005@apfel.de> <15f901bf219e$20df55c0$1e80000a@avantgo.com> <19991029024742.B3005@apfel.de> Subject: Re: Limitations in FreeBSD Date: Sun, 31 Oct 1999 14:38:14 -0800 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.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Michael Beckmann wrote: > On Thu, Oct 28, 1999 at 04:42:42PM -0700, Scott Hess wrote: > > Urk! I don't mean to be insulting, but the notion that you would roll > > _any_ solution out for a problem of this size based on word of mouth freaks > > the crap out of me. > > Hey ! You guys seem to have pretty strict opinions about how to solve problems. > Right now I am just investigating the options and asking for the properties of > this FreeBSD OS (where news is not the only reason for finding out about them). Well, I didn't mean that to come off as a "Don't bother me until you've done your homework" response. Let's put my point another way. There are certainly sites out there running full newsfeeds on Intel-based hardware. I have zero concerns about FreeBSD being in any way a limiting factor at that point. [Likewise, I have zero concerns about Linux being the limiting factor.] INN isn't being developed for ultra-high-end systems, after all. You might easily be able to configure up a system where you can use more file descriptors than FreeBSD can handle well, or more mbufs, or more of some other resource, but after inspection it will turn out that there are other configurations which give the same performance without tickling the same problems (you can read that as a general thing, on the order of "Just because 100 file descriptors is better than 25 doesn't mean that 10,000 is better than 100"). Besides, there have got to be hundreds of people out there running big newsfeeds on FreeBSD. Unfortunately, you'll probably get more responses with specific questions about a problem you're having than you will with general questions about problems you might or might not have. > > and enough users that mmap'ed I/O in nntp is needed and the number of file > > descriptors is going to be a problem, and you're willing to change > > I would like to know if that number of file descriptors is going to be a > problem, could someone tell me please ? It appears that 2^17 are settable > through sysctl, but will I actually be able to use that many ? (Yes, I could > write a tool to find it out, but I am willing to rely on word of mouth here). I, personally, would never configure a system that required 100k file descriptors, regardless of whether that many filedescriptors appeared to work or not. On the other hand, 10k file descriptors doesn't scare me (though I'd be uncomfortable with the notion of that being an _average_ rather than a maximum), and I would be quite surprised if you had problems with periodic forays out to 100k. Unfortunately, I'm well into arm-waving at that point, because I don't actually _know_, because as I mentioned, I wouldn't feel comfortable out there... Good luck, scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 15:44:40 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mission.mvnc.edu (mission.mvnc.edu [149.143.2.3]) by hub.freebsd.org (Postfix) with ESMTP id 35BDA14F5E; Sun, 31 Oct 1999 15:44:13 -0800 (PST) (envelope-from iflemmin@mission.mvnc.edu) Received: from localhost (iflemmin@localhost) by mission.mvnc.edu (8.9.0/8.9.0) with SMTP id SAA16390; Sun, 31 Oct 1999 18:41:51 -0500 (EST) Date: Sun, 31 Oct 1999 18:41:51 -0500 (EST) From: Isaac Flemming To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: NASM programs for 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 Hello all, I am currently enrolled in college course that requires us to use the Netwide Assembler (NASM). This creates a small problem for me, because I do not have a DOS box in my room, and do not know how to get NASM to work the way I expect it to under FreeBSD. I noticed that NASM is located in the ports collection so I compiled it and have used it to assemble the .asm assembly code I used for DOS in class. The assembler does not give me any errors, but I cannot seem to get the programs to execute. In my most recent attempt I compiled the .asm into aoutb format and tried to link it into a .c program which calls it. The gcc c compiler gave me errors at this point, and I am now at a compleat loss. I have looked around FreeBSD-questions, and hackers archives for several hours but cannot seem to find anything that helps me. Is there any one out there that knows how to get NASM to make a file I can execute, or link into a c program!? Even a simple "hello world" example may help. Thanks a bunch in advance Isaac D. Flemming ------------------------------------------------------------------------------- Isaac D. Flemming Senior Computer Science Major Mount Vernon Nazarene College Email: iflemmin@mvnc.edu Phone: (740) 397-6862 x7604 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 18:19:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from green.myip.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id A0A9A14CC5; Sun, 31 Oct 1999 18:19:45 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from localhost ([127.0.0.1] ident=green) by green.myip.org with esmtp (Exim 3.02 #1) id 11i74F-0007AT-00; Sun, 31 Oct 1999 21:19:31 -0500 Date: Sun, 31 Oct 1999 21:19:29 -0500 (EST) From: Brian Fundakowski Feldman X-Sender: green@green.myip.org To: Isaac Flemming Cc: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: NASM programs for freebsd 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 Since FreeBSD 3.0-RELEASE, we do not use a.out as the system executable format. You have two choices: (1) If you have to have it a.out for some reason, put OBJFORMAT=aout in your environment. (2) You should probably be just using "elf" as the -f argument for nasm instead. -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@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 Oct 31 19:27: 3 1999 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 35F0D152FE; Sun, 31 Oct 1999 19:26:51 -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 WAA04554; Sun, 31 Oct 1999 22:25:55 -0500 (EST) (envelope-from chuckr@picnic.mat.net) Date: Sun, 31 Oct 1999 22:25:55 -0500 (EST) From: Chuck Robey To: Isaac Flemming Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: NASM programs for freebsd 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 Sun, 31 Oct 1999, Isaac Flemming wrote: > > Hello all, > > I am currently enrolled in college course that requires us to use the > Netwide Assembler (NASM). This creates a small problem for me, because I > do not have a DOS box in my room, and do not know how to get NASM to work > the way I expect it to under FreeBSD. > > I noticed that NASM is located in the ports collection so I compiled it > and have used it to assemble the .asm assembly code I used for DOS in > class. The assembler does not give me any errors, but I cannot seem to get > the programs to execute. In my most recent attempt I compiled the .asm > into aoutb format and tried to link it into a .c program which calls it. > The gcc c compiler gave me errors at this point, and I am now at a > compleat loss. I have looked around FreeBSD-questions, and hackers > archives for several hours but cannot seem to find anything that helps me. > Is there any one out there that knows how to get NASM to make a file I can > execute, or link into a c program!? Even a simple "hello world" example > may help. You don't state what FreeBSD version you're running, but there was a switch to ELF loading format, so it's entirely possible you could get it to work because of incorrect format. Regardless, you committed the cardinal sin of giving us no data, not your failed program, not your error messages, not the FreeBSD version. You could have only hit about 3,000 possible ways to do things wrong, but you're asking us to guess. OK, I'll use the one piece of data you *did* give; you said you wrote your program for DOS. Are you aware that FreeBSD accesses system services in an entirely different way than you do under DOS? No BIOS interrupts, no DOS interrupts, things don't work that way. Of, course, maybe you did know that, but we can't tell, you didn't supply the data ... ---------------------------------------------------------------------------- Chuck Robey | Interests include C programming, Electronics, 213 Lakeside Dr. Apt. T-1 | communications, and signal processing. Greenbelt, MD 20770 | I run picnic.mat.net: FreeBSD-current(i386) and (301) 220-2114 | jaunt.mat.net : FreeBSD-current(Alpha) ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 22:31:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from not.demophon.com (ns.demophon.com [193.65.70.13]) by hub.freebsd.org (Postfix) with ESMTP id 6915314A25 for ; Sun, 31 Oct 1999 22:31:14 -0800 (PST) (envelope-from will@not.demophon.com) Received: (from will@localhost) by not.demophon.com (8.9.3/8.8.7) id IAA00394; Mon, 1 Nov 1999 08:30:00 +0200 (EET) (envelope-from will) To: don@calis.blacksun.org (Don) Cc: hackers@freebsd.org Subject: Re: journaling UFS and LFS References: From: Ville-Pertti Keinonen Date: 01 Nov 1999 08:29:59 +0200 In-Reply-To: don@calis.blacksun.org's message of "30 Oct 1999 19:18:08 +0300" Message-ID: <86hfj63es8.fsf@not.demophon.com> Lines: 21 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG don@calis.blacksun.org (Don) writes: > > and the next question: now that LFS starts to get usable in NetBSD > > - has anybody started to look at getting it working again in > > FreeBSD too (maybe matt ?) or has it on the TODO list > LFS is being considered as a starting point for this project. The goal is > to build an extensible file system with features such as the ability to > grow and shrink partitions, acl's journaling etc. There is a difference between a log-structured filesystem and a journaling filesystem... > XFS is also being considered as a feature reference. *Very* different from LFS. (What are features? "Has files and directories"? Time-complexity? Implementation details? Buzzwords?) This seems a bit hard to believe (must check freebsd-fs to see if people are actually *seriously* considering LFS as a starting point...). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 23:20:41 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id B5B0E14F9A for ; Sun, 31 Oct 1999 23:20:33 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id IAA23547 for freebsd-hackers@freebsd.org; Mon, 1 Nov 1999 08:20:32 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.9.3/8.9.1) id IAA05130; Mon, 1 Nov 1999 08:09:59 +0100 (MET) (envelope-from j) Date: Mon, 1 Nov 1999 08:09:59 +0100 (MET) Message-Id: <199911010709.IAA05130@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: journaling UFS and LFS X-Original-Newsgroups: local.freebsd.hackers To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Don wrote: > Softupdates is definitely a viable solution however it does not > address several issues and the license is not a BSD license so it > makes me uncomfortable. Well, Kirk's idea is to put them under a BSD-style license as soon as possible, so in the long run, you might waste engergy... What `several issues' are you referring to? Kirk mentioned us in a comparision between various methods that there are exactly two problems he's seeing on the downside for softupdates: code complexity, and a large memory footprint. So unless you're working for machines with little memory, what else do you have in mind? (For those interested, for transaction logging, the downside is that it won't help for occasional filesystem operations, since it doubles the disk IO for this. It only helps the case `massive filesystem operations' like "rm -rf" etc.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 31 23:20:42 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id CE452151D6 for ; Sun, 31 Oct 1999 23:20:33 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id IAA23548 for freebsd-hackers@freebsd.org; Mon, 1 Nov 1999 08:20:33 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.9.3/8.9.1) id IAA05173; Mon, 1 Nov 1999 08:15:22 +0100 (MET) (envelope-from j) Date: Mon, 1 Nov 1999 08:15:22 +0100 (MET) Message-Id: <199911010715.IAA05173@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: semaphores/semget problem X-Original-Newsgroups: local.freebsd.hackers To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kent Boortz wrote: > semget(IPC_PRIVATE, SEMMSL, IPC_EXCL | IPC_CREAT | 0600)) > > fails with the error "No space left on device". I tried to > use a smaller value for SEMMSL but it did not help. The tunable kernel paramater "SEMMNS" defaults to 60, that's the maximal number of semaphores allowed in the system (accumulated over all calls to semget() that are active by the same time). Also, due to the crocky^H^H^H^H^H^Hfunny concept of SysV IPC, you might as well run out of semaphore IDs instead (== #calls to semget()), which is the tunable parameter SEMMNI, defaulting to 10. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 1:32:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sonet.crimea.ua (OTC-sl3-FLY.CRIS.NET [212.110.136.71]) by hub.freebsd.org (Postfix) with ESMTP id 474F814D75; Mon, 1 Nov 1999 01:31:23 -0800 (PST) (envelope-from phantom@scorpion.crimea.ua) Received: (from uucp@localhost) by sonet.crimea.ua (8.8.8/8.8.8) with UUCP id LAA02721; Mon, 1 Nov 1999 11:35:39 +0300 (MSK) (envelope-from phantom@scorpion.crimea.ua) Received: (from phantom@localhost) by scorpion.crimea.ua (8.8.8/8.8.5+ssl+keepalive) id MAA24369; Mon, 1 Nov 1999 12:24:51 +0300 (MSK) Date: Mon, 1 Nov 1999 12:24:50 +0300 From: Alexey Zelkin To: hackers@FreeBSD.org, committers@FreeBSD.org Subject: rune questions Message-ID: <19991101122450.A24299@scorpion.crimea.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i X-Operating-System: FreeBSD 2.2.7-RELEASE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, I am working on additional documentation for locale part of the libc and have some questions. FreeBSD locale is based on rune-type files. By mklocle(1) descriptions all characters are dividing into few categories: . ALPHA - letters . CONTROL - control symbos . DIGIT - digits et cetera. But I don't see anywhere descirptions on PHONOGRAM and IDEOGRAM. Manpages shown that these categories were used by Japan locale only (again without any descriptions :-( ) Anybody can give me answer about that these categories means ? Or url/reference at least. -- /* Alexey Zelkin && phantom@cris.net */ /* Tavric National University && phantom@crimea.edu */ /* http://www.ccssu.crimea.ua/~phantom && phantom@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 Nov 1 1:36:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from imr1.srv.uk.deuba.com (imr1.srv.uk.deuba.com [194.196.205.49]) by hub.freebsd.org (Postfix) with ESMTP id A453B14D75 for ; Mon, 1 Nov 1999 01:36:15 -0800 (PST) (envelope-from Steve.Gailey@db.com) Received: by imr1.srv.uk.deuba.com id JAA19749; Mon, 1 Nov 1999 09:36:13 GMT Received: from bmr1-e1.srv.uk.deuba.com(10.141.44.112) by imr1.srv.uk.deuba.com via mail (V2.1/2.1) id xma019738; Mon, 1 Nov 99 09:36:05 GMT Received: from pow.srv.uk.deuba.com by bmr1-e1.srv.uk.deuba.com id JAA22067; Mon, 1 Nov 1999 09:36:04 GMT Received: from accounts by pow.srv.uk.deuba.com id JAA09273; Mon, 1 Nov 1999 09:35:53 GMT Message-Id: <199911010935.JAA09273@pow.srv.uk.deuba.com> From: "Steve Gailey" Organization: Metronome Solutions Ltd To: chris@calldei.com Date: Mon, 1 Nov 1999 09:39:08 GMT0B MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Implementing ioctl to set MAC address -- question. Reply-To: steve.gailey@db.com Cc: freebsd-hackers@FreeBSD.org In-reply-to: <19991031124337.I472@holly.calldei.com> X-mailer: Pegasus Mail for Win32 (v3.12a) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I don't have the answer to this question, but I would be most interested in hearing how this project goes as I was thinking of doing the same thing. Steve > I'm trying to implement Bill Paul's "setmac" code in the > actual source code as a project (and will have it reviewed > before it's committed -- if I ever get that far!). However, I'm > getting stuck in that ether_ioctl is never getting the ioctl > request. I've added the case statement for "SIOCSIFMAC" > (probably to be renamed) to net/if.c and dev/ed/if_ed.c > (which is the card I'm using) as well as net/if_ethersubr.c. Are > there any other files that need to know about the ioctl or am I > going about this the wrong way entirely? > > -- > |Chris Costello > |This BBS is ancient. Some say from the echocene. > `------------------------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 4:28:10 1999 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 C29F6150D2; Mon, 1 Nov 1999 04:28:03 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p26-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.155]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id VAA29888; Mon, 1 Nov 1999 21:28:01 +0900 (JST) Message-ID: <381D8507.29295709@newsguy.com> Date: Mon, 01 Nov 1999 21:18:15 +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: Alexey Zelkin Cc: hackers@FreeBSD.org Subject: Re: rune questions References: <19991101122450.A24299@scorpion.crimea.ua> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexey Zelkin wrote: > > But I don't see anywhere descirptions on PHONOGRAM and IDEOGRAM. Manpages > shown that these categories were used by Japan locale only (again without any > descriptions :-( ) On a guess, it might distinguish between hiragana/katakana and kanji. The former are a syllabic "alphabets", while the later have "meaning" attached. Written japanese use all three. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "People call him Neutron Star, 'cuz he's so dense lights bends around him." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 4:37: 9 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from calis.blacksun.org (Calis.blacksun.org [168.100.186.40]) by hub.freebsd.org (Postfix) with ESMTP id 06EFC150A8 for ; Mon, 1 Nov 1999 04:37:05 -0800 (PST) (envelope-from don@calis.blacksun.org) Received: from localhost (don@localhost) by calis.blacksun.org (8.9.3/8.9.2) with ESMTP id HAA46412; Mon, 1 Nov 1999 07:38:42 -0500 (EST) (envelope-from don@calis.blacksun.org) Date: Mon, 1 Nov 1999 07:38:42 -0500 (EST) From: Don To: Ville-Pertti Keinonen Cc: hackers@freebsd.org Subject: Re: journaling UFS and LFS In-Reply-To: <86hfj63es8.fsf@not.demophon.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 > There is a difference between a log-structured filesystem and a > journaling filesystem... And? > *Very* different from LFS. (What are features? "Has files and > directories"? Time-complexity? Implementation details? Buzzwords?) You know. Features. As in those things that people would like to see in such a file system. The features we would like to see have already been listed. Please see the archives if you want to know what was considered a "feature". Besides, VxFS has a closer feature set to what I would like to see. > This seems a bit hard to believe (must check freebsd-fs to see if > people are actually *seriously* considering LFS as a starting > point...). Some people would prefer to start from scratch. Others have suggested LFS as a starting point. Still others no longer care. -don <--- no longer cares Please stop copying me on these messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 7:13:15 1999 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 7192C15152; Mon, 1 Nov 1999 07:12:59 -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 IAA60988; Mon, 1 Nov 1999 08:12:54 -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 IAA06794; Mon, 1 Nov 1999 08:15:02 -0700 (MST) Message-Id: <199911011515.IAA06794@harmony.village.org> To: Alexey Zelkin Subject: Re: rune questions Cc: hackers@FreeBSD.org, committers@FreeBSD.org In-reply-to: Your message of "Mon, 01 Nov 1999 12:24:50 +0300." <19991101122450.A24299@scorpion.crimea.ua> References: <19991101122450.A24299@scorpion.crimea.ua> Date: Mon, 01 Nov 1999 08:15:02 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991101122450.A24299@scorpion.crimea.ua> Alexey Zelkin writes: : But I don't see anywhere descirptions on PHONOGRAM and IDEOGRAM. Manpages : shown that these categories were used by Japan locale only (again without any : descriptions :-( ) A PHONOGRAM is a symbol that stands for more than one sound without meaning. In Japanese the phonograms are the hiragana and katakana, which are used to spell out some words and endings phonetically. An IDEOGRAM conveys both the sound and the meaning of the word, or word fragment, which is called kanji. The Japanese language is nihongo (this is a romanization of the word, and variants may exist). Spelled out in hiragana, it looks like $B$K$[(B $B$s$4(B, but you are more likely to see its kanji of $B!VF|K\8l!W(B. I said word fragments above because the English language is eigo or $B!V1Q8l!W(B. Notice the common suffix -go, represented in hiragana as $B!V$4!W(B and as kanji$B!V8l!W(B. I'm sorry that I don't have a URL to support the above. It is a simplification of what is going on. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 8:36:41 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id F373A14F56 for ; Mon, 1 Nov 1999 08:36:38 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id IAA30596; Mon, 1 Nov 1999 08:36:36 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 1 Nov 1999 08:36:35 -0800 (PST) From: Doug White To: Andre Albsmeier Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions In-Reply-To: <19991031195351.A22791@internal> 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, 31 Oct 1999, Andre Albsmeier wrote: > > ccdconfig manufactures a disklabel when you create the stripe, so you > > don't need to adjust the disklabel. The subdisks must have disklabels, > > and you can't use the C partition since ccd only uses partitions of type > > 4.2BSD. > > Does that mean I should not use partition c as a 4.2BSD type? This is what > I am currently doing on all disks (ccd'ed or single) if the whole disk is > used as one big filesystem, e.g.: > # size offset fstype [fsize bsize bps/cpg] > c: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) I've been admonished for using the c partition as a filesystem since it's somewhat magic. For regular disks the running recommendation is to make another partition (a or g or whatever) that is identical to the c partition information, and to newfs/mount that. I personally haven't run into problems but I've been warned that the c partition interface is subject to change. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | 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 Mon Nov 1 8:48:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 0174814F94 for ; Mon, 1 Nov 1999 08:48:06 -0800 (PST) (envelope-from grog@lemis.com) Received: from mojave.sitaranetworks.com ([199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id DAA29760; Tue, 2 Nov 1999 03:18:00 +1030 (CST) (envelope-from grog@lemis.com) Message-ID: <19991101104221.34455@mojave.sitaranetworks.com> Date: Mon, 1 Nov 1999 10:42:21 -0500 From: Greg Lehey To: Andre Albsmeier , Doug White Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Reply-To: Greg Lehey References: <199910290341.XAA38860@cc158233-a.catv1.md.home.com> <19991031195351.A22791@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991031195351.A22791@internal>; from Andre Albsmeier on Sun, Oct 31, 1999 at 07:53:51PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 31 October 1999 at 19:53:51 +0100, Andre Albsmeier wrote: > On Fri, 29-Oct-1999 at 08:56:01 -0700, Doug White wrote: >> On Thu, 28 Oct 1999, Stephen J. Roznowski wrote: >> >>> I'm looking at the tutorial on building CCDs at >>> >>> http://www.freebsd.org/tutorials/formatting-media/x205.html >> >> I am the author of said document ;) >> >>> It seems that this page needs to be updated to include the FAQ >>> entry between the ccdconfig and newfs. [I don't remember the >>> error I had before I did the disklabel...] >>> >>> # ccdconfig ccd0 32 0 /dev/sd0c /dev/sd1c /dev/sd2c >>> >>>>> # disklabel ccd0 > /tmp/ccd.label >>>>> # disklabel -Rr ccd0 /tmp/ccd.label >>> >>> # newfs /dev/rccd0c >>> >>> Is this really the case? [If so, I'll send-pr a correction] >> >> ccdconfig manufactures a disklabel when you create the stripe, so you >> don't need to adjust the disklabel. The subdisks must have disklabels, >> and you can't use the C partition since ccd only uses partitions of type >> 4.2BSD. > > Does that mean I should not use partition c as a 4.2BSD type? Yes. > This is what I am currently doing on all disks (ccd'ed or single) if > the whole disk is used as one big filesystem, e.g.: > 3 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) > > > I didn't have any problems for the last 3 years but if someone tells me that this > is bad, danegerous or simply ugly, I will change that :-) It's bad, dangerous and ugly :-) Seriously, you can normally get by this way, but it's confusing things, and there's no guarantee that you won't run into trouble in the future. 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 Mon Nov 1 8:48:32 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 2BB65152C6 for ; Mon, 1 Nov 1999 08:48:23 -0800 (PST) (envelope-from grog@lemis.com) Received: from mojave.sitaranetworks.com ([199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id DAA29763; Tue, 2 Nov 1999 03:18:07 +1030 (CST) (envelope-from grog@lemis.com) Message-ID: <19991101104100.56909@mojave.sitaranetworks.com> Date: Mon, 1 Nov 1999 10:41:00 -0500 From: Greg Lehey To: Tor.Egge@fast.no, wes@softweyr.com Cc: sjr@home.net, freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Reply-To: Greg Lehey References: <3819E1EA.83DD04B7@softweyr.com> <199910300414.GAA22428@midten.fast.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199910300414.GAA22428@midten.fast.no>; from Tor.Egge@fast.no on Sat, Oct 30, 1999 at 06:14:32AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 30 October 1999 at 6:14:32 +0200, Tor.Egge@fast.no wrote: >> Because Vinum is being maintained, and because Vinum will allow you to >> stripe your disks instead of simple concatenate them, which will probably >> result in better I/O rates. > > Some simple measurements shows ccd to be slightly faster when striping > 11 disks, then running 130 threads reading 1MB blocks from random > sector-aligned positions in a 10 GB file. > > with Vinum: 70 MB/s (2 of the 11 subdisks shown in iostat output) > > > tty da5 da6 cpu > tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id > 0 94 171.82 36 5.96 174.53 38 6.48 0 0 16 3 80 > 0 35 173.90 36 6.13 174.79 36 6.10 0 0 9 3 88 > 1 47 175.33 35 6.01 173.96 38 6.44 0 0 9 3 88 > 1 378 175.69 38 6.53 170.85 38 6.28 0 0 9 3 88 > 1 37 176.47 37 6.42 173.21 35 5.87 0 0 9 3 88 > 0 36 176.05 39 6.72 172.27 35 5.87 0 0 9 3 87 > 0 36 168.95 40 6.60 172.89 36 6.14 0 0 9 4 87 > 0 36 169.44 39 6.42 171.73 38 6.30 0 0 8 4 88 > 0 36 172.64 37 6.24 174.79 38 6.44 0 0 9 3 88 > > With ccd: 80 MB/s > > tty ccd1 cpu > tin tout KB/t tps MB/s us ni sy in id > 0 39 204.46 408 81.56 0 0 5 1 94 > 0 39 205.28 413 82.75 0 0 5 1 94 > 0 39 204.91 438 87.72 0 0 7 1 92 > 0 39 204.96 429 85.96 0 0 6 1 93 > 0 39 205.13 439 87.85 0 0 6 1 93 > 0 39 204.80 448 89.61 0 0 5 1 94 > 0 39 204.77 428 85.66 0 0 5 1 94 > 0 39 204.66 440 87.95 0 0 6 1 93 > 0 39 205.58 421 84.61 0 0 5 1 94 What program did you use to get this information? I'm surprised by the size of the transfers, which is larger than MAXPHYS (128 kB, the largest physical transfer allowed). There's also a discrepancy between the transfer size for Vinum and ccd which almost exactly corresponds to the measured performance. It would be interesting to see the output of rawio (in the Ports Collection) on these two volumes. > ccd is also capable of striping disks with different sizes. Correct. That's one aspect I didn't consider worth doing in Vinum. 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 Mon Nov 1 8:49:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from thoth.mch.sni.de (thoth.mch.sni.de [192.35.17.2]) by hub.freebsd.org (Postfix) with ESMTP id C27C114F94 for ; Mon, 1 Nov 1999 08:49:31 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer thoth.mch.sni.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.mch.sni.de (8.9.3/8.9.3) with ESMTP id RAA05336 for ; Mon, 1 Nov 1999 17:49:30 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.9.3/8.9.3) with ESMTP id RAA18641 for ; Mon, 1 Nov 1999 17:49:29 +0100 (MET) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id RAA18166 for ; Mon, 1 Nov 1999 17:49:29 +0100 (CET) Date: Mon, 1 Nov 1999 17:49:29 +0100 From: Andre Albsmeier To: Doug White Cc: Andre Albsmeier , freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Message-ID: <19991101174929.A36991@internal> References: <19991031195351.A22791@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from dwhite@resnet.uoregon.edu on Mon, Nov 01, 1999 at 08:36:35AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 01-Nov-1999 at 08:36:35 -0800, Doug White wrote: > On Sun, 31 Oct 1999, Andre Albsmeier wrote: > > > > ccdconfig manufactures a disklabel when you create the stripe, so you > > > don't need to adjust the disklabel. The subdisks must have disklabels, > > > and you can't use the C partition since ccd only uses partitions of type > > > 4.2BSD. > > > > Does that mean I should not use partition c as a 4.2BSD type? This is what > > I am currently doing on all disks (ccd'ed or single) if the whole disk is > > used as one big filesystem, e.g.: > > > # size offset fstype [fsize bsize bps/cpg] > > c: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) > > I've been admonished for using the c partition as a filesystem since it's > somewhat magic. For regular disks the running recommendation is to make > another partition (a or g or whatever) that is identical to the c > partition information, and to newfs/mount that. I personally haven't run > into problems but I've been warned that the c partition interface is > subject to change. OK, I see. So I am going to use the a partition in future and leave c unused. Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 8:52:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from thoth.mch.sni.de (thoth.mch.sni.de [192.35.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 21A90152E6 for ; Mon, 1 Nov 1999 08:52:34 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer thoth.mch.sni.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.mch.sni.de (8.9.3/8.9.3) with ESMTP id RAA05559 for ; Mon, 1 Nov 1999 17:52:31 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id RAA15344 for ; Mon, 1 Nov 1999 17:52:30 +0100 (MET) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id RAA18206 for ; Mon, 1 Nov 1999 17:52:30 +0100 (CET) Date: Mon, 1 Nov 1999 17:52:27 +0100 From: Andre Albsmeier To: Greg Lehey Cc: Andre Albsmeier , Doug White , freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Message-ID: <19991101175227.B36991@internal> References: <199910290341.XAA38860@cc158233-a.catv1.md.home.com> <19991031195351.A22791@internal> <19991101104221.34455@mojave.sitaranetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991101104221.34455@mojave.sitaranetworks.com>; from grog@lemis.com on Mon, Nov 01, 1999 at 10:42:21AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 01-Nov-1999 at 10:42:21 -0500, Greg Lehey wrote: > On Sunday, 31 October 1999 at 19:53:51 +0100, Andre Albsmeier wrote: > > On Fri, 29-Oct-1999 at 08:56:01 -0700, Doug White wrote: > >> On Thu, 28 Oct 1999, Stephen J. Roznowski wrote: > >> > >>> I'm looking at the tutorial on building CCDs at > >>> > >>> http://www.freebsd.org/tutorials/formatting-media/x205.html > >> > >> I am the author of said document ;) > >> > >>> It seems that this page needs to be updated to include the FAQ > >>> entry between the ccdconfig and newfs. [I don't remember the > >>> error I had before I did the disklabel...] > >>> > >>> # ccdconfig ccd0 32 0 /dev/sd0c /dev/sd1c /dev/sd2c > >>> > >>>>> # disklabel ccd0 > /tmp/ccd.label > >>>>> # disklabel -Rr ccd0 /tmp/ccd.label > >>> > >>> # newfs /dev/rccd0c > >>> > >>> Is this really the case? [If so, I'll send-pr a correction] > >> > >> ccdconfig manufactures a disklabel when you create the stripe, so you > >> don't need to adjust the disklabel. The subdisks must have disklabels, > >> and you can't use the C partition since ccd only uses partitions of type > >> 4.2BSD. > > > > Does that mean I should not use partition c as a 4.2BSD type? > > Yes. > > > This is what I am currently doing on all disks (ccd'ed or single) if > > the whole disk is used as one big filesystem, e.g.: > > > 3 partitions: > > # size offset fstype [fsize bsize bps/cpg] > > c: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) > > > > > > I didn't have any problems for the last 3 years but if someone tells me that this > > is bad, danegerous or simply ugly, I will change that :-) > > It's bad, dangerous and ugly :-) OK, the author of vinum will know that :-) As I just said in another mail, I will use the a partition in future and leave c untouched... > > Seriously, you can normally get by this way, but it's confusing > things, and there's no guarantee that you won't run into trouble in > the future. Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 8:59: 1 1999 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 E125D1526B for ; Mon, 1 Nov 1999 08:58:52 -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 JAA61602; Mon, 1 Nov 1999 09:58:42 -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 KAA07548; Mon, 1 Nov 1999 10:00:50 -0700 (MST) Message-Id: <199911011700.KAA07548@harmony.village.org> To: Jacques Vidrine Subject: Re: Search a symbol in the source tree Cc: Tetsuro Teddy FURUYA (=?iso-2022-jp?B?GyRCOEVDKxsoQiAbJEJFL086GyhC?=) , zzhang@cs.binghamton.edu, freebsd-hackers@FreeBSD.ORG, nectar@nectar.com In-reply-to: Your message of "Sun, 17 Oct 1999 11:37:11 CDT." <19991017163712.3911B1D95@bone.nectar.com> References: <19991017163712.3911B1D95@bone.nectar.com> <19991018003944T.tfuruya@galois.tf.or.jp> Date: Mon, 01 Nov 1999 10:00:50 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991017163712.3911B1D95@bone.nectar.com> Jacques Vidrine writes: : > $find . -name "*.c" -print -exec "egrep" "-i" "idt" {} \; | less : > Here , "idt" is a search string. : : That's because no one wants a separate invocation of egrep for : every file! find . -name \*.c | xargs egrep -i idt | less is shorter to type and will generally fork only a couple of times for the entire source tree. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 9: 1:24 1999 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 30C3815269 for ; Mon, 1 Nov 1999 09:01:17 -0800 (PST) (envelope-from Matthew.Alton@anheuser-busch.com) Received: by gatewaya.anheuser-busch.com; id LAA08370; Mon, 1 Nov 1999 11:02:58 -0600 Received: from stlexggtw002-pozzoli.fw-users.busch.com(151.145.101.130) by gatewaya.anheuser-busch.com via smap (V5.0) id xma008003; Mon, 1 Nov 99 11:02:16 -0600 Received: from stlabcexg006.anheuser-busch.com ([151.145.101.161]) by 151.145.101.130 (Norton AntiVirus for Internet Email Gateways 1.0) ; Mon, 01 Nov 1999 17:00:28 0000 (GMT) Received: by stlabcexg006.anheuser-busch.com with Internet Mail Service (5.5.2650.21) id ; Mon, 1 Nov 1999 11:00:20 -0600 Message-ID: From: "Alton, Matthew" To: "'Andrzej Bialecki'" Cc: "'Hackers@FreeBSD.ORG'" Subject: RE: BSD XFS Port & BSD VFS Rewrite Date: Mon, 1 Nov 1999 11:00:25 -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 I spent an hour on the phone with SGI's lead FS scientist Dan Koren discussing the XFS situation, Margot Seltzer's LFS work, ships, sails, sealing wax... The code is not yet open. It is being "disencumbered" and retrofitted to the Linux kernel interfaces by a team of contractors and university people all under NDA. So we're on hold for the time being. Unless you want to sign an NDA and move to Iowa for a year or so. We BSDies really are going to have to come up with something in the way of a modern storage subsystem. > -----Original Message----- > From: Andrzej Bialecki [SMTP:abial@webgiro.com] > Sent: Saturday, October 30, 1999 10:56 AM > To: Alton, Matthew > Subject: Re: BSD XFS Port & BSD VFS Rewrite > > On Thu, 5 Aug 1999, Alton, Matthew wrote: > > > I am currently conducting a thorough study of the VFS subsystem > > in preparation for an all-out effort to port SGI's XFS filesystem to > > FreeBSD 4.x at such time as SGI gives up the code. Matt Dillon > > Is there anything that you might say on the progress status of this > project? Thanks! > > 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 Mon Nov 1 9: 2: 7 1999 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 7E25C14F94; Mon, 1 Nov 1999 09:01:57 -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 KAA61631; Mon, 1 Nov 1999 10:01:55 -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 KAA07582; Mon, 1 Nov 1999 10:04:03 -0700 (MST) Message-Id: <199911011704.KAA07582@harmony.village.org> To: Chris Shenton Subject: Re: Problem: 3.3-STABLE floppies: ep0/zp0, laptop falls off net Cc: hosokawa@FreeBSD.ORG, hackers@FreeBSD.ORG In-reply-to: Your message of "17 Oct 1999 14:14:24 EDT." <87r9it7t33.fsf@Thanatos.Shenton.Org> References: <87r9it7t33.fsf@Thanatos.Shenton.Org> Date: Mon, 01 Nov 1999 10:04:03 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <87r9it7t33.fsf@Thanatos.Shenton.Org> Chris Shenton writes: : Unfortunately, it thinks my 3com 3c589 PCMCIA card is an ep0 -- it : has no driver for the correct zp0 device. It is correct. That is the right device to use. zp0 is a kludge that will die in 4.0 if I have my way. : It is able to get its DHCP address and was briefly able to start : FTP retrieval from ftp.freebsd.org, but speed was about 1KB/second : on a 1.5Mbps DSL line. Subsequent attempts caused it to fail even : resolving other ftp*.freebsd.org names despite the fact that its : nameserver is on the same LAN. This is the classic "I didn't assign the right IRQ to the pccard" problem. : I'd imagine the 3c589 is a fairly popular card and if ep0 can't : drive it, then zp0 should certainly be included in the pccard : floppy distro. No. pccard floppy is doing the right thing. It is well known that the ep driver can drive the 3c589, since 10000 of people are using it to do just that as well as myself :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 9:23:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ckmso1.proxy.att.com (ckmso1.att.com [12.20.58.69]) by hub.freebsd.org (Postfix) with ESMTP id 4931B14F94 for ; Mon, 1 Nov 1999 09:23:49 -0800 (PST) (envelope-from myevmenkin@att.com) Received: from flf960r1.ems.att.com ([135.71.244.37]) by ckmso1.proxy.att.com (AT&T IPNS/MSO-2.2) with ESMTP id MAA04363 for ; Mon, 1 Nov 1999 12:23:39 -0500 (EST) Received: from njb140bh3.ems.att.com by flf960r1.ems.att.com (8.8.8+Sun/ATTEMS-1.4.1 sol2) id MAA16625; Mon, 1 Nov 1999 12:19:44 -0500 (EST) Received: by njb140bh3.ems.att.com with Internet Mail Service (5.5.2448.0) id ; Mon, 1 Nov 1999 12:23:33 -0500 Message-ID: From: "Yevmenkin, Maksim N, CSCIO" To: freebsd-hackers@FreeBSD.ORG Subject: Ethernet TAP device driver released Date: Mon, 1 Nov 1999 12:23:31 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="koi8-r" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello All, It is time for new release :) The beta version of Ethernet TAP device driver for FreeBSD is released. I've written this device driver for VTUN (http://vtun.netpedia.net) software package. It is possible the coolest software to make tunnels over TCP/IP networks. For more details please see author's page. The TAP device driver is like TUN device driver, but it works with Ethernet packets. It allows to capture Ethernet packets and feed them to user space and vice versa. The driver can be found at http://vtun.netpedia.net/tun/tap-0.1-freebsd.tar.gz. I've tested it with VTUN on my FreeBSD 3.2-RELEASE. It seems to me it works just fine. I'd like to ask to help me in testing and give some feed back. Thank you very much, Best regards, eMax. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 10: 2:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (castles503.castles.com [208.214.165.67]) by hub.freebsd.org (Postfix) with ESMTP id 5C4CB15329 for ; Mon, 1 Nov 1999 10:02:36 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id JAA19499; Mon, 1 Nov 1999 09:53:54 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911011753.JAA19499@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Yevmenkin, Maksim N, CSCIO" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Ethernet TAP device driver released In-reply-to: Your message of "Mon, 01 Nov 1999 12:23:31 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 01 Nov 1999 09:53:54 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The beta version of Ethernet TAP device driver for FreeBSD is released. This looks like BPF, only much less smart. Why reinvent the wheel? -- \\ 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 Mon Nov 1 10: 6:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id F128615009 for ; Mon, 1 Nov 1999 10:06:15 -0800 (PST) (envelope-from grog@lemis.com) Received: from mojave.sitaranetworks.com ([199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id EAA29837; Tue, 2 Nov 1999 04:36:09 +1030 (CST) (envelope-from grog@lemis.com) Message-ID: <19991101115934.04368@mojave.sitaranetworks.com> Date: Mon, 1 Nov 1999 11:59:34 -0500 From: Greg Lehey To: Andre Albsmeier , Doug White Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Reply-To: Greg Lehey References: <19991031195351.A22791@internal> <19991101174929.A36991@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991101174929.A36991@internal>; from Andre Albsmeier on Mon, Nov 01, 1999 at 05:49:29PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 1 November 1999 at 17:49:29 +0100, Andre Albsmeier wrote: > On Mon, 01-Nov-1999 at 08:36:35 -0800, Doug White wrote: >> On Sun, 31 Oct 1999, Andre Albsmeier wrote: >> >>>> ccdconfig manufactures a disklabel when you create the stripe, so you >>>> don't need to adjust the disklabel. The subdisks must have disklabels, >>>> and you can't use the C partition since ccd only uses partitions of type >>>> 4.2BSD. >>> >>> Does that mean I should not use partition c as a 4.2BSD type? This is what >>> I am currently doing on all disks (ccd'ed or single) if the whole disk is >>> used as one big filesystem, e.g.: >> >>> # size offset fstype [fsize bsize bps/cpg] >>> c: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) >> >> I've been admonished for using the c partition as a filesystem since it's >> somewhat magic. For regular disks the running recommendation is to make >> another partition (a or g or whatever) that is identical to the c >> partition information, and to newfs/mount that. I personally haven't run >> into problems but I've been warned that the c partition interface is >> subject to change. > > OK, I see. So I am going to use the a partition in future and leave > c unused. BTW, it's pretty trivial to change things. Run 'disklabel -e da0' (or whatever your drive is), duplicate the line and change to, say: c: 45322644 0 unused 1024 8192 16 # (Cyl. 0 - 2810*) e: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) 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 Mon Nov 1 10:15:32 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 30FE2152CC for ; Mon, 1 Nov 1999 10:15:24 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id KAA44676; Mon, 1 Nov 1999 10:15:01 -0800 (PST) (envelope-from dillon) Date: Mon, 1 Nov 1999 10:15:01 -0800 (PST) From: Matthew Dillon Message-Id: <199911011815.KAA44676@apollo.backplane.com> To: Greg Lehey Cc: Andre Albsmeier , Doug White , freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions References: <19991031195351.A22791@internal> <19991101174929.A36991@internal> <19991101115934.04368@mojave.sitaranetworks.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :BTW, it's pretty trivial to change things. Run 'disklabel -e da0' (or :whatever your drive is), duplicate the line and change to, say: : : c: 45322644 0 unused 1024 8192 16 # (Cyl. 0 - 2810*) : e: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) : :Greg :-- CCD doesn't protect its own label area. It is safest to make your 'e' partition start at sector 16 and be 16 sectors smaller. e: 45322628 16 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 10:18: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id B9CBB15035 for ; Mon, 1 Nov 1999 10:17:58 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id TAA28824 for ; Mon, 1 Nov 1999 19:17:56 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id TAA29629 for ; Mon, 1 Nov 1999 19:17:56 +0100 (MET) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id TAA18834 for ; Mon, 1 Nov 1999 19:17:56 +0100 (CET) Date: Mon, 1 Nov 1999 19:17:55 +0100 From: Andre Albsmeier To: Matthew Dillon Cc: Greg Lehey , Andre Albsmeier , Doug White , freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Message-ID: <19991101191755.B37522@internal> References: <19991031195351.A22791@internal> <19991101174929.A36991@internal> <19991101115934.04368@mojave.sitaranetworks.com> <199911011815.KAA44676@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199911011815.KAA44676@apollo.backplane.com>; from dillon@apollo.backplane.com on Mon, Nov 01, 1999 at 10:15:01AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 01-Nov-1999 at 10:15:01 -0800, Matthew Dillon wrote: > > :BTW, it's pretty trivial to change things. Run 'disklabel -e da0' (or > :whatever your drive is), duplicate the line and change to, say: > : > : c: 45322644 0 unused 1024 8192 16 # (Cyl. 0 - 2810*) > : e: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) > : > :Greg > :-- > > CCD doesn't protect its own label area. It is safest to make your 'e' > partition start at sector 16 and be 16 sectors smaller. > > e: 45322628 16 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) Ah, that's new to me. Thanks for the info. But anyway, I will switch to vinum as soon as I get a free saturday to copy all the GB's around :-) Thanks, -Andre > > > -Matt > Matthew Dillon > -- "Amateurs like Linux, but professionals prefer FreeBSD." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 10:26:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ckmso1.proxy.att.com (ckmso1.att.com [12.20.58.69]) by hub.freebsd.org (Postfix) with ESMTP id 273B015035 for ; Mon, 1 Nov 1999 10:26:45 -0800 (PST) (envelope-from myevmenkin@att.com) Received: from njb140r1.ems.att.com ([135.65.202.58]) by ckmso1.proxy.att.com (AT&T IPNS/MSO-2.2) with ESMTP id NAA24574; Mon, 1 Nov 1999 13:26:13 -0500 (EST) Received: from njb140bh3.ems.att.com by njb140r1.ems.att.com (8.8.8+Sun/ATTEMS-1.4.1 sol2) id NAA16322; Mon, 1 Nov 1999 13:25:41 -0500 (EST) Received: by njb140bh3.ems.att.com with Internet Mail Service (5.5.2448.0) id ; Mon, 1 Nov 1999 13:26:07 -0500 Message-ID: From: "Yevmenkin, Maksim N, CSCIO" To: "'Mike Smith'" Cc: "'hackers@FreeBSD.ORG'" Subject: RE: Ethernet TAP device driver released Date: Mon, 1 Nov 1999 13:26:05 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Mike, It seems to me bfp can bind to EXISTING interface. I.e. you have to have phisical interface. (if I wrong, correct me :) This driver will create a VIRTUAL Ethernet interface "tapX" with random MAC address etc. You can attach bpf to this interface. In other words you can connect computer to Ethernet network without having Ethernet card. All you need is just ANY type of connection. I was using ppp to connect to remote server with VTUN and DID HAVE ETHERNET network. BTW, what the difference between TUN and BPF :-) Regards, eMax. > -----Original Message----- > From: Mike Smith [mailto:mike@smith.net.au] > Sent: Monday, November 01, 1999 12:54 PM > To: Yevmenkin, Maksim N, CSCIO > Cc: freebsd-hackers@FreeBSD.ORG > Subject: Re: Ethernet TAP device driver released > > > > The beta version of Ethernet TAP device driver for FreeBSD > is released. > > This looks like BPF, only much less smart. Why reinvent the wheel? > > -- > \\ 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 10:37:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sinai.dhs.org (adsl-216-103-54-61.dsl.lsan03.pacbell.net [216.103.54.61]) by hub.freebsd.org (Postfix) with ESMTP id 0F2FE14BFE; Mon, 1 Nov 1999 10:37:19 -0800 (PST) (envelope-from sab@sinai.dhs.org) Received: from localhost (sab@localhost) by sinai.dhs.org (8.9.3/8.9.2) with ESMTP id KAA39506; Mon, 1 Nov 1999 10:29:34 -0800 (PST) (envelope-from sab@sinai.dhs.org) Date: Mon, 1 Nov 1999 10:29:34 -0800 (PST) From: Scott Benjamin To: hackers@freebsd.org, stable@freebsd.org Subject: IDA driver issues upon installation. Probing devices hangs 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 am trying to install the stable snapshot from 10301999 on a compaq proliant 4500 with a smart array controller. I recompile the installation kernel and dropped it on the disk. The newly compile kernel has the ida driver included (as the drives are on that controller). It finds the controller and the logical drives, but when the installation program starts, it hangs at Probing for devices. The ida driver also reports "irq with no handler" when the kernel finds the device (prior to the probing screen). I've tried moving irq's around and removing some other cards but nothing. If I boot without the ida driver, it works ifne except that I don't have any drives to install on. If you need any more information please let me know. Thanks! Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 11:14:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 897B614DAF for ; Mon, 1 Nov 1999 11:14:30 -0800 (PST) (envelope-from nik@nothing-going-on.demon.co.uk) Received: from kilt.nothing-going-on.org (kilt.nothing-going-on.org [192.168.1.18]) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) with ESMTP id SAA91431 for ; Mon, 1 Nov 1999 18:45:26 GMT (envelope-from nik@catkin.nothing-going-on.org) Received: (from nik@localhost) by kilt.nothing-going-on.org (8.9.3/8.9.3) id RAA27793 for hackers@freebsd.org; Mon, 1 Nov 1999 17:32:23 GMT (envelope-from nik@catkin.nothing-going-on.org) Date: Mon, 1 Nov 1999 17:32:22 +0000 From: Nik Clayton To: hackers@freebsd.org Subject: docs/14112: replacement for diediedie() in docs Message-ID: <19991101173221.A27569@kilt.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Organization: FreeBSD Project Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -hackers, Could someone take a look at docs/14112 please. The online kernel debugging section in the Handbook mentions calling diediedie() or boot() to reboot the system. According to the PR, these don't exist in 3.3-R, and I don't know what calls / actions should replace the existing text. Any help appreciated. Thanks, N -- A different "distribution" of Linux is really a different operating system. They just refuse to call it that because it's bad press. But that's what the shoe fits. -- Tom Christiansen, <199910211639.KAA18701@jhereg.perl.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 11:14:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from front4.grolier.fr (front4.grolier.fr [194.158.96.54]) by hub.freebsd.org (Postfix) with ESMTP id 74A0E14F16 for ; Mon, 1 Nov 1999 11:14:42 -0800 (PST) (envelope-from groudier@club-internet.fr) Received: from localhost (ppp-105-132.villette.club-internet.fr [194.158.105.132]) by front4.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with SMTP id UAA05011; Mon, 1 Nov 1999 20:14:24 +0100 (MET) Date: Mon, 1 Nov 1999 21:37:32 +0100 (MET) From: Gerard Roudier X-Sender: groudier@localhost To: Mike Smith Cc: "Yevmenkin, Maksim N, CSCIO" , freebsd-hackers@FreeBSD.ORG Subject: Re: Ethernet TAP device driver released In-Reply-To: <199911011753.JAA19499@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 1 Nov 1999, Mike Smith wrote: > > The beta version of Ethernet TAP device driver for FreeBSD is released.= =20 >=20 > This looks like BPF, only much less smart. Why reinvent the wheel? May-be for the same reason the horse-power has been invented. ;-) G=E9rard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 11:56:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from massive.geek.edu (massive.geek.edu [216.73.11.10]) by hub.freebsd.org (Postfix) with ESMTP id 976A91501A for ; Mon, 1 Nov 1999 11:55:40 -0800 (PST) (envelope-from jontow@massive.geek.edu) Received: (from jontow@localhost) by massive.geek.edu (8.9.3/8.9.2) id OAA59468; Mon, 1 Nov 1999 14:54:27 -0500 (EST) (envelope-from jontow) Date: Mon, 1 Nov 1999 14:54:27 -0500 From: Jonathan Towne To: Isaac Flemming Cc: freebsd-hackers@freebsd.org Subject: Re: NASM programs for freebsd Message-ID: <19991101145426.B59390@massve.geek.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Isaac Flemming on Sun, Oct 31, 1999 at 06:41:51PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, if i happen to remember correctly, assembly isn't so easy under freebsd or linux as it is under dos, mainly because we aren't in real time anymore..and the kernel prevents you from accessing the hardware so easily via assembly. You might wish to try using system calls.. example below.. section .text bits 32 extern printf global main msg db 'Hello, World!',10,0 main: push dword msg call printf add esp,4 retn Hope this helps in any way possible.. :) -- Jonathan Towne jontow@massive.geek.edu/wrongway@slic.com Systems Administrator http://massive.geek.edu/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GU d- s: a--- C+++ UB++++ P L- E--- W--- N++ o K w--- O-- M V- PS PE Y-- PGP- t+ 5 X+ R+ tv- b+ DI+ D++ G e- h-- r-- y ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 12: 7:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from almso1.proxy.att.com (almso1.att.com [192.128.167.69]) by hub.freebsd.org (Postfix) with ESMTP id CA5911503C for ; Mon, 1 Nov 1999 12:07:18 -0800 (PST) (envelope-from myevmenkin@att.com) Received: from mo3980r1.ems.att.com ([135.38.12.14]) by almso1.proxy.att.com (AT&T IPNS/MSO-2.2) with ESMTP id PAA15360; Mon, 1 Nov 1999 15:07:15 -0500 (EST) Received: from njb140bh1.ems.att.com by mo3980r1.ems.att.com (8.8.8+Sun/ATTEMS-1.4.1 sol2) id PAA14990; Mon, 1 Nov 1999 15:04:41 -0500 (EST) Received: by njb140bh1.ems.att.com with Internet Mail Service (5.5.2448.0) id ; Mon, 1 Nov 1999 15:07:15 -0500 Message-ID: From: "Yevmenkin, Maksim N, CSCIO" To: "'Warren Welch'" Cc: "'hackers@FreeBSD.org'" Subject: RE: VTun... Date: Mon, 1 Nov 1999 15:07:10 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, [...] > I notice that you support traffic shaping. I was wondering > if you plan to > offer support for slower than 8KBytes / sec (64Kbits/s). Everything should be there ;) > What I'd like to be able to do, is create some tunnels to my > end points, > and then using the firewall / routing software, do policy > routing. (ie: > telnet goes over this tunnel, and is traffic shaped to > 1KByte/s, while web > traffic goes over another tunnel, and is allocated the > remainder of the > available bandwidth.) In this way, I'd be able to guarantee > a certain > amount of BW to core services such as telnet, without letting > things like > SMTP or web impact on services... Yes, you can do it. I think Max is going to release new version of VTUN very soon. Best regards, eMax. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 12:31:14 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.sitaranetworks.com (apollo.sitaranetworks.com [199.103.141.105]) by hub.freebsd.org (Postfix) with ESMTP id 817E51531E for ; Mon, 1 Nov 1999 12:30:57 -0800 (PST) (envelope-from grog@lemis.com) Message-ID: <19991029150541.17186@mojave.worldwide.lemis.com> Date: Fri, 29 Oct 1999 15:05:41 -0400 From: Greg Lehey To: Wes Peters , "Stephen J. Roznowski" Cc: freebsd-hackers@FreeBSD.ORG Subject: Vinum or CCD? (was: CCD questions) References: <199910291212.IAA40158@cc158233-a.catv1.md.home.com> <3819E1EA.83DD04B7@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <3819E1EA.83DD04B7@softweyr.com>; from Wes Peters on Fri, Oct 29, 1999 at 12:05:30PM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 29 October 1999 at 12:05:30 -0600, Wes Peters wrote: > "Stephen J. Roznowski" wrote: >> >> On 28 Oct, Wes Peters wrote: >>> "Stephen J. Roznowski" wrote: >>>> >>>> I'm looking at the tutorial on building CCDs at >>> >>> Why? Do you have a compelling reason not to use Vinum volume manager? >> >> No, but why should I use Vinum over CCD? (All I want to do is create >> some larger disks). > > Because Vinum is being maintained, and because Vinum will allow you to > stripe your disks instead of simple concatenate them, which will probably > result in better I/O rates. In fact, CCD will stripe for you as well. In such configurations, there isn't much difference between CCD and Vinum performance. That changes a lot when you get to mirroring. 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 Mon Nov 1 12:31:51 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.sitaranetworks.com (apollo.sitaranetworks.com [199.103.141.105]) by hub.freebsd.org (Postfix) with ESMTP id BAFA315305; Mon, 1 Nov 1999 12:30:57 -0800 (PST) (envelope-from grog@lemis.com) Message-ID: <19991029142543.26735@mojave.worldwide.lemis.com> Date: Fri, 29 Oct 1999 14:25:43 -0400 From: Greg Lehey To: Robert Watson , FreeBSD Hackers , committers@mojave.worldwide.lemis.com Subject: Re: gdb and kld symbols -- how to (and handbook is outdated) References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Robert Watson on Fri, Oct 29, 1999 at 09:05:15AM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 29 October 1999 at 9:05:15 -0400, Robert Watson wrote: > > I've mostly debugged kernel modules running as lkm's, but decided to start > up my debugger on code in a kld a couple of days, and needless to say the > procedure is different :-). And unfortunately, also not documented in the > handbook online, which still talks about lkms. Any suggestions? It is > presumably still add-symbol-file, but with a different offset? > > Also, it might be desirable to either extend the handbook to also talk > about klds, or to replace it with a kld page. This questions qualifies as "in-depth technical", so I'm moving it to -hackers. If you're not signed up there, you should be. I'm also copying -committers because it's probably of interest there. The object you need is in /modules. For example, to debug the Linux kld, you need to load the symbols from /modules/linux.ko. That's the easy part. The difficult part is to find the base address. I have this in /usr/src/sys/modules/vinum/.gdbinit.vinum.paths: define asf set $file = linker_files.tqh_first set $found = 0 while ($found == 0) if (*$file->filename == 'v') set $found = 1 else set $file = $file->link.tqe_next end end shell /usr/bin/objdump --section-headers /modules/vinum.ko | grep ' .text' | awk '{print "add-symbol-file /modules/vinum.ko \$file->address+0x" $4}' > .asf source .asf end This goes through an internal kernel list and looks for a module name which begins with 'v'; you'll need to change the first "if" statement to something which uniquely matches your kld. The rest (modulo file names, which I have omitted here) should stay the same. There's also more information in vinum(4). 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 Nov 1 12:32:12 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.sitaranetworks.com (apollo.sitaranetworks.com [199.103.141.105]) by hub.freebsd.org (Postfix) with ESMTP id B70CF15391; Mon, 1 Nov 1999 12:30:57 -0800 (PST) (envelope-from grog@lemis.com) Message-ID: <19991029141001.20435@mojave.worldwide.lemis.com> Date: Fri, 29 Oct 1999 14:10:01 -0400 From: Greg Lehey To: "Shaun Amy, CSIRO TIP/ATNF" , "Stephen J. Roznowski" , Doug White Cc: hackers@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Vinum (was: CCD questions) References: <199910291212.IAA40158@cc158233-a.catv1.md.home.com> <199910291228.WAA47341@explorer.tip.CSIRO.AU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199910291228.WAA47341@explorer.tip.CSIRO.AU>; from Shaun Amy, CSIRO TIP/ATNF on Fri, Oct 29, 1999 at 10:28:00PM +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 29 October 1999 at 8:56:01 -0700, Doug White wrote: > On Thu, 28 Oct 1999, Stephen J. Roznowski wrote: > >> I'm looking at the tutorial on building CCDs at >> >> http://www.freebsd.org/tutorials/formatting-media/x205.html > > I am the author of said document ;) > >> It seems that this page needs to be updated to include the FAQ >> entry between the ccdconfig and newfs. [I don't remember the >> error I had before I did the disklabel...] >> >> # ccdconfig ccd0 32 0 /dev/sd0c /dev/sd1c /dev/sd2c >> >>>> # disklabel ccd0 > /tmp/ccd.label >>>> # disklabel -Rr ccd0 /tmp/ccd.label >> >> # newfs /dev/rccd0c >> >> Is this really the case? [If so, I'll send-pr a correction] > > ccdconfig manufactures a disklabel when you create the stripe, so you > don't need to adjust the disklabel. The subdisks must have disklabels, > and you can't use the C partition since ccd only uses partitions of type > 4.2BSD. > >> Also, "newfs -v /dev/ccd0c" yields >> >> newfs: /dev/rccd0c: `c' partition is unavailable >> >> but "newfs /dev/ccd0c" works. Why is this? > > ccds are goofy. They're not real devices. If the tutorial says to newfs > rccd then that is a problem. I think you've missed a different point here. /dev/rccd0c *should* be correct; in 4.0-RELEASE there will be no block devices, so if it doesn't we need to do something quickly. The point here is that Stepen used the -v option for newfs, which tells newfs to ignore partition information. This is needed for Vinum, and hasn't been used for anything else. Stephen, what does 'newfs /dev/rccd0c' do? >> Finally, the CCD homepage at http://stampede.cs.berkeley.edu/ccd/ >> seems unavailable. Is this temporary or permanent? > > CCD is deprecated by vinum. I think that, as long as ccd is still available (and I don't see it going away soon), the docco should be available too. On Friday, 29 October 1999 at 22:28:00 +1000, Shaun Amy, CSIRO TIP/ATNF wrote: > In message <199910291212.IAA40158@cc158233-a.catv1.md.home.com> you write: >> On 28 Oct, Wes Peters wrote: >>> "Stephen J. Roznowski" wrote: >>>> >>>> I'm looking at the tutorial on building CCDs at >>> >>> Why? Do you have a compelling reason not to use Vinum volume manager? >> >> No, but why should I use Vinum over CCD? (All I want to do is create >> some larger disks). >> >> I just did a search on www.freebsd.org, and all I could find about Vinum >> seems to imply that the software isn't ready for prime time. Also, a >> quick scan of the vinum(4) man page doesn't lead to a lot of confidence >> since a large portion of the page is devoted to "DEBUGGING PROBLEMS WITH >> VINUM" including kernel panics.... You can get panics with ccd as well. Since Vinum is still being actively developed, there are parts which are not as stable as others. The CCD functionality has been stable for over 12 months. The known bugs files and DEBUGGING PROBLEMS section of vinum(4) are there to ensure that you don't have more problems than necessary. You shouldn't take them as an indication that you're going to have trouble. >> Is Vinum ready for prime time? > > Vinum is included in the 3.3-RELEASE which suggests there must be a very high > level of confidence in its stability and functionality. I would guess that > while Vinum is being actively maintained by Greg et al., ccd is showing its > age and is probably not being as actively maintained. Vinum has been around > for q good amount of time - I heard Greg talk about is in September 1998 at a > conference. > > For some fun, I recently (four weeks ago) decided to stripe and concatenate > a couple of filesystems across two 4GB SCSI disks. I was so confident I > moved my home directory off my older 2.2.8-STABLE box onto one of these vinum > devices and whilst one user probably doesn't hit things hard I have seen no > problems. > > Having had considerable experience with Sun's DiskSuite on Solaris boxes I > didn't have much of a problem in getting things going (it was even easier > than I thought). There is some excellent info on Greg's WWW site: > > http://www.lemis.com/vinum.html > > which may help you get going. Note that the RAID-5 functionality is now also > present. Note that RAID-5 functionality is one of the areas that I wouldn't recommend for prime time yet. 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 Mon Nov 1 12:32:12 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.sitaranetworks.com (apollo.sitaranetworks.com [199.103.141.105]) by hub.freebsd.org (Postfix) with ESMTP id B70CF15391; Mon, 1 Nov 1999 12:30:57 -0800 (PST) (envelope-from grog@lemis.com) Message-ID: <19991029141001.20435@mojave.worldwide.lemis.com> Date: Fri, 29 Oct 1999 14:10:01 -0400 From: Greg Lehey To: "Shaun Amy, CSIRO TIP/ATNF" , "Stephen J. Roznowski" , Doug White Cc: hackers@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Vinum (was: CCD questions) References: <199910291212.IAA40158@cc158233-a.catv1.md.home.com> <199910291228.WAA47341@explorer.tip.CSIRO.AU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199910291228.WAA47341@explorer.tip.CSIRO.AU>; from Shaun Amy, CSIRO TIP/ATNF on Fri, Oct 29, 1999 at 10:28:00PM +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 29 October 1999 at 8:56:01 -0700, Doug White wrote: > On Thu, 28 Oct 1999, Stephen J. Roznowski wrote: > >> I'm looking at the tutorial on building CCDs at >> >> http://www.freebsd.org/tutorials/formatting-media/x205.html > > I am the author of said document ;) > >> It seems that this page needs to be updated to include the FAQ >> entry between the ccdconfig and newfs. [I don't remember the >> error I had before I did the disklabel...] >> >> # ccdconfig ccd0 32 0 /dev/sd0c /dev/sd1c /dev/sd2c >> >>>> # disklabel ccd0 > /tmp/ccd.label >>>> # disklabel -Rr ccd0 /tmp/ccd.label >> >> # newfs /dev/rccd0c >> >> Is this really the case? [If so, I'll send-pr a correction] > > ccdconfig manufactures a disklabel when you create the stripe, so you > don't need to adjust the disklabel. The subdisks must have disklabels, > and you can't use the C partition since ccd only uses partitions of type > 4.2BSD. > >> Also, "newfs -v /dev/ccd0c" yields >> >> newfs: /dev/rccd0c: `c' partition is unavailable >> >> but "newfs /dev/ccd0c" works. Why is this? > > ccds are goofy. They're not real devices. If the tutorial says to newfs > rccd then that is a problem. I think you've missed a different point here. /dev/rccd0c *should* be correct; in 4.0-RELEASE there will be no block devices, so if it doesn't we need to do something quickly. The point here is that Stepen used the -v option for newfs, which tells newfs to ignore partition information. This is needed for Vinum, and hasn't been used for anything else. Stephen, what does 'newfs /dev/rccd0c' do? >> Finally, the CCD homepage at http://stampede.cs.berkeley.edu/ccd/ >> seems unavailable. Is this temporary or permanent? > > CCD is deprecated by vinum. I think that, as long as ccd is still available (and I don't see it going away soon), the docco should be available too. On Friday, 29 October 1999 at 22:28:00 +1000, Shaun Amy, CSIRO TIP/ATNF wrote: > In message <199910291212.IAA40158@cc158233-a.catv1.md.home.com> you write: >> On 28 Oct, Wes Peters wrote: >>> "Stephen J. Roznowski" wrote: >>>> >>>> I'm looking at the tutorial on building CCDs at >>> >>> Why? Do you have a compelling reason not to use Vinum volume manager? >> >> No, but why should I use Vinum over CCD? (All I want to do is create >> some larger disks). >> >> I just did a search on www.freebsd.org, and all I could find about Vinum >> seems to imply that the software isn't ready for prime time. Also, a >> quick scan of the vinum(4) man page doesn't lead to a lot of confidence >> since a large portion of the page is devoted to "DEBUGGING PROBLEMS WITH >> VINUM" including kernel panics.... You can get panics with ccd as well. Since Vinum is still being actively developed, there are parts which are not as stable as others. The CCD functionality has been stable for over 12 months. The known bugs files and DEBUGGING PROBLEMS section of vinum(4) are there to ensure that you don't have more problems than necessary. You shouldn't take them as an indication that you're going to have trouble. >> Is Vinum ready for prime time? > > Vinum is included in the 3.3-RELEASE which suggests there must be a very high > level of confidence in its stability and functionality. I would guess that > while Vinum is being actively maintained by Greg et al., ccd is showing its > age and is probably not being as actively maintained. Vinum has been around > for q good amount of time - I heard Greg talk about is in September 1998 at a > conference. > > For some fun, I recently (four weeks ago) decided to stripe and concatenate > a couple of filesystems across two 4GB SCSI disks. I was so confident I > moved my home directory off my older 2.2.8-STABLE box onto one of these vinum > devices and whilst one user probably doesn't hit things hard I have seen no > problems. > > Having had considerable experience with Sun's DiskSuite on Solaris boxes I > didn't have much of a problem in getting things going (it was even easier > than I thought). There is some excellent info on Greg's WWW site: > > http://www.lemis.com/vinum.html > > which may help you get going. Note that the RAID-5 functionality is now also > present. Note that RAID-5 functionality is one of the areas that I wouldn't recommend for prime time yet. 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 Mon Nov 1 16:16:22 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (Postfix) with ESMTP id 4ABB214DB4 for ; Mon, 1 Nov 1999 16:16:03 -0800 (PST) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id AAA37358 for hackers@freebsd.org; Tue, 2 Nov 1999 00:16:02 GMT (envelope-from joe) Date: Tue, 2 Nov 1999 00:16:02 +0000 From: Josef Karthauser To: hackers@freebsd.org Subject: Ping - sized tests with 0% and 100% packet loss! Any ideas? Message-ID: <19991102001602.B25673@florence.pavilion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i X-Mailer: Mutt 1.0pre2i X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey guys, A wierd one. I'm trying to track down a packets size (I believe) problem on my network. During ping testing I've come across the following strange which I don't understand. Using various sized packets ($n) with: ping -f -c 300 -s $n localhost I'm getting results that I wouldn't expect: Size PacketLoss 1 14% 2-10 0% 11 100% 12 0% 13 100% 14 0% 15 100% etc. Anyone any idea what's going on? I've tcpdump/tcpshow'd the traffic and the packets are definitely going out, but no replies are coming back. For the size of 1 we only get 256 packets back and no more. I've scanned though the ping code, and everything's fine up to and including the return from 'sendto'. Does anyone know this part of the kernel? Joe -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 16:33: 2 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id BF9291516F; Mon, 1 Nov 1999 16:32:58 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id QAA00513; Mon, 1 Nov 1999 16:23:50 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911020023.QAA00513@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Scott Benjamin Cc: hackers@freebsd.org, stable@freebsd.org Subject: Re: IDA driver issues upon installation. Probing devices hangs In-reply-to: Your message of "Mon, 01 Nov 1999 10:29:34 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 01 Nov 1999 16:23:50 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG None of the interested developers have access to one of these machines anymore; it's quite possible that things have been changed or broken to some degree of late. > I am trying to install the stable snapshot from 10301999 on a compaq > proliant 4500 with a smart array controller. I recompile the installation -- \\ 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 Mon Nov 1 16:33:54 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 7995D15349; Mon, 1 Nov 1999 16:33:51 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id QAA00527; Mon, 1 Nov 1999 16:24:46 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911020024.QAA00527@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Scott Benjamin Cc: hackers@freebsd.org, stable@freebsd.org Subject: Re: IDA driver issues upon installation. Probing devices hangs In-reply-to: Your message of "Mon, 01 Nov 1999 10:29:34 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 01 Nov 1999 16:24:46 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've tried moving irq's around and removing some other cards but nothing. > If I boot without the ida driver, it works ifne except that I don't have > any drives to install on. Oops, I forgot to mention; you can't install onto an 'ida' drive; you need a system drive. You will want one anyway; swapping onto a RAID5 array is a pretty lame idea. 8) -- \\ 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 Mon Nov 1 16:39:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id A387D15329 for ; Mon, 1 Nov 1999 16:39:23 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40336>; Tue, 2 Nov 1999 11:33:56 +1100 Content-return: prohibited Date: Tue, 2 Nov 1999 11:39:14 +1100 From: Peter Jeremy Subject: Re: semaphores/semget problem In-reply-to: To: freebsd-hackers@FreeBSD.ORG Cc: kent@erix.ericsson.se Reply-To: peter.jeremy@alcatel.com.au Message-Id: <99Nov2.113356est.40336@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0pre3i Content-type: text/plain; charset=us-ascii References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kent Boortz wrote: > semget(IPC_PRIVATE, SEMMSL, IPC_EXCL | IPC_CREAT | 0600)) > > fails with the error "No space left on device". Since SEMMSL defaults to SEMMNS, this is guaranteed to fail if anything else is using semaphores. > I tried to > use a smaller value for SEMMSL but it did not help. I'm not sure what you mean by this. Did you re-define SEMMSL before your semget, or build a new kernel with a smaller SEMMSL? If you intend to make heavy use of semaphores, you might like to study PR kern/12014 as well. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 16:42:59 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sinai.dhs.org (adsl-216-103-54-61.dsl.lsan03.pacbell.net [216.103.54.61]) by hub.freebsd.org (Postfix) with ESMTP id 07ED215362; Mon, 1 Nov 1999 16:42:54 -0800 (PST) (envelope-from sab@sinai.dhs.org) Received: from localhost (sab@localhost) by sinai.dhs.org (8.9.3/8.9.2) with ESMTP id QAA47394; Mon, 1 Nov 1999 16:34:54 -0800 (PST) (envelope-from sab@sinai.dhs.org) Date: Mon, 1 Nov 1999 16:34:54 -0800 (PST) From: Scott Benjamin To: Mike Smith Cc: hackers@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: IDA driver issues upon installation. Probing devices hangs In-Reply-To: <199911020024.QAA00527@dingo.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 The array only contains two drives. Hmm.. the only other way is to use a drive on the embedded controller, which is a ncr (chipset 53C825) which isn't found by probing when the kernel loads. It's and embedded EISA compaq 32-bit Fast-Wide Scsi2-/e .. On Mon, 1 Nov 1999, Mike Smith wrote: > > I've tried moving irq's around and removing some other cards but nothing. > > If I boot without the ida driver, it works ifne except that I don't have > > any drives to install on. > > Oops, I forgot to mention; you can't install onto an 'ida' drive; you > need a system drive. You will want one anyway; swapping onto a RAID5 > array is a pretty lame idea. 8) > > -- > \\ 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-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 17:49:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id B4F3814E30 for ; Mon, 1 Nov 1999 17:49:13 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40369>; Tue, 2 Nov 1999 12:43:42 +1100 Content-return: prohibited Date: Tue, 2 Nov 1999 12:48:47 +1100 From: Peter Jeremy Subject: Re: Ping - sized tests with 0% and 100% packet loss! Any ideas? To: hackers@FreeBSD.ORG Cc: joe@pavilion.net Reply-To: peter.jeremy@Alcatel.com.au Message-Id: <99Nov2.124342est.40369@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0pre3i Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At Tue, 2 Nov 1999 00:16:02 +0000, Josef Karthauser wrote: >Anyone any idea what's going on? The problem doesn't exist in 2.2.5-RELEASE. I can't readily test anything other than that and -current at present. As far as I can determine, the problem with 1-byte packets is that the transmitted checksum is incorrect when the ICMP sequence number exceeds 255 - this suggests that the checksum missing the last byte of the sequence number. The problem is also on the transmit side. Studying the code in src/sys/netinet/ip_icmp.c:icmp_input() [which is reporting checksum errors] and icmp_send() [which inserts the checksum], it looks to me like the problem is: cvs diff: Diffing . Index: ip_icmp.c =================================================================== RCS file: /home/CVSROOT/src/sys/netinet/ip_icmp.c,v retrieving revision 1.37 diff -u -r1.37 ip_icmp.c --- ip_icmp.c 1999/09/14 16:40:28 1.37 +++ ip_icmp.c 1999/11/02 01:45:34 @@ -685,7 +685,7 @@ m->m_len -= hlen; icp = mtod(m, struct icmp *); icp->icmp_cksum = 0; - icp->icmp_cksum = in_cksum(m, ip->ip_len - hlen); + icp->icmp_cksum = in_cksum(m, ip->ip_len); m->m_data -= hlen; m->m_len += hlen; m->m_pkthdr.rcvif = (struct ifnet *)0; though I can't confirm this immediately. (And I can't see why this would have worked at all). Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 17:50:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from vitoria.ddsecurity.com.br (vitoria.ddsecurity.com.br [200.18.130.93]) by hub.freebsd.org (Postfix) with SMTP id 2F81C14F47 for ; Mon, 1 Nov 1999 17:50:21 -0800 (PST) (envelope-from grios@ddsecurity.com.br) Received: (qmail 44676 invoked from network); 2 Nov 1999 01:48:44 -0000 Received: from unknown (HELO ddsecurity.com.br) (200.236.148.122) by vitoria.ddsecurity.com.br with SMTP; 2 Nov 1999 01:48:44 -0000 Message-ID: <381E3974.1E5C721B@ddsecurity.com.br> Date: Mon, 01 Nov 1999 23:08:04 -0200 From: Gustavo V G C Rios X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Secondary IDE cannot be detected Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am really sorry to post here a problem that's not related to hacking, but i have already sent many posts to questions@freebsd.org without a solution to my problem. I am trying to get my Secondary IDE detected, but FreeBSD DOES NOT detect it! This device is working well under another OS like Linux and Win98 (i have 3 OSes in my machine), so i believe there is no hardware problems. Any way here goes some important information about my system (only relevant part) Dmesg output: wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): < 34X CD-ROM/VER 1.D1>, removable, accel, dma, iordy acd0: drive speed 687 - 3781KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA, packet track acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked wdc1 not found at 0x170 ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus 0 lpt0: Interrupt-driven port Comment: It was no funny to see this on my screen, freebsd cannot even detect it, altough it's compiled into kernel, (wdc1 not found at 0x170). My kernel config file: (again, only relevant part) options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 #disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM device wfd0 #IDE Floppy (e.g. LS-120) -- Message of the day: The trouble with doing something right the first time is that nobody appreciates how difficult it was. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 17:54:47 1999 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 2CC8A14E30 for ; Mon, 1 Nov 1999 17:54:41 -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 MAA06119; Tue, 2 Nov 1999 12:24:13 +1030 (CST) (envelope-from doconnor@gsoft.com.au) 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 In-Reply-To: <381E3974.1E5C721B@ddsecurity.com.br> Date: Tue, 02 Nov 1999 12:24:13 +0930 (CST) From: "Daniel O'Connor" To: Gustavo V G C Rios Subject: RE: Secondary IDE cannot be detected Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 02-Nov-99 Gustavo V G C Rios wrote: > I am trying to get my Secondary IDE detected, but FreeBSD DOES NOT > detect it! > This device is working well under another OS like Linux and Win98 (i > have 3 OSes in my machine), so i believe there is no hardware problems. Does it have a device on it? If not it won't show up. If it only has a slave on it, it won't be detected either - its supposed to have a master as well - or just a master (this might have changed recently though) --- 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 Mon Nov 1 18: 5:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from massive.geek.edu (massive.geek.edu [216.73.11.10]) by hub.freebsd.org (Postfix) with ESMTP id 900F615100 for ; Mon, 1 Nov 1999 18:05:22 -0800 (PST) (envelope-from jontow@massive.geek.edu) Received: (from jontow@localhost) by massive.geek.edu (8.9.3/8.9.2) id VAA60741; Mon, 1 Nov 1999 21:05:24 -0500 (EST) (envelope-from jontow) Date: Mon, 1 Nov 1999 21:05:24 -0500 From: Jonathan Towne To: "Daniel O'Connor" Cc: freebsd-hackers@freebsd.org Subject: Re: Secondary IDE cannot be detected Message-ID: <19991101210524.A60724@massve.geek.edu> References: <381E3974.1E5C721B@ddsecurity.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Daniel O'Connor on Tue, Nov 02, 1999 at 12:24:13PM +0930 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 02-Nov-99 Gustavo V G C Rios wrote: > I am trying to get my Secondary IDE detected, but FreeBSD DOES NOT > detect it! > This device is working well under another OS like Linux and Win98 (i > have 3 OSes in my machine), so i believe there is no hardware problems. My fix to this, was to use the newer, experimental ATA drivers in -CURRENT by Soren Schmidt(spelling? sorry if i got it wrong), and the problem was solved on its own..though i should have read UPDATING, it'd have made my life a bit easier :P -- Jonathan Towne jontow@massive.geek.edu/wrongway@slic.com Systems Administrator http://massive.geek.edu/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GU d- s: a--- C+++ UB++++ P L- E--- W--- N++ o K w--- O-- M V- PS PE Y-- PGP- t+ 5 X+ R+ tv- b+ DI+ D++ G e- h-- r-- y ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 18:18:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id A830A14BD4 for ; Mon, 1 Nov 1999 18:18:41 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id SAA09156; Mon, 1 Nov 1999 18:18:07 -0800 (PST) From: Archie Cobbs Message-Id: <199911020218.SAA09156@bubba.whistle.com> Subject: Re: Ping - sized tests with 0% and 100% packet loss! Any ideas? In-Reply-To: <19991102001602.B25673@florence.pavilion.net> from Josef Karthauser at "Nov 2, 1999 00:16:02 am" To: joe@pavilion.net (Josef Karthauser) Date: Mon, 1 Nov 1999 18:18:07 -0800 (PST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Josef Karthauser writes: > A wierd one. I'm trying to track down a packets size (I believe) problem > on my network. During ping testing I've come across the following strange > which I don't understand. > > Using various sized packets ($n) with: > ping -f -c 300 -s $n localhost > > I'm getting results that I wouldn't expect: > > Size PacketLoss > > 1 14% > 2-10 0% > 11 100% > 12 0% > 13 100% > 14 0% > 15 100% > etc. Happens to me to on -current, but not -stable. With -current's ping on stable it doesn't happen, and with -stable's ping on -current it still happens. Therefore it must be a kernel bug. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 18:28:17 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from southpass.baynetworks.com (ns2.BayNetworks.COM [134.177.3.16]) by hub.freebsd.org (Postfix) with ESMTP id 35F4614BD4 for ; Mon, 1 Nov 1999 18:27:58 -0800 (PST) (envelope-from thomma@BayNetworks.COM) Received: from mailhost.BayNetworks.COM (h016b.s86b1.BayNetworks.COM [134.177.1.107]) by southpass.baynetworks.com (8.9.1/8.9.1) with ESMTP id SAA24781; Mon, 1 Nov 1999 18:22:26 -0800 (PST) Received: from fedex.engwest.baynetworks.com (fedex.engwest.baynetworks.com [134.177.110.46]) by mailhost.BayNetworks.COM (8.9.1/8.8.8) with SMTP id SAA09446; Mon, 1 Nov 1999 18:26:36 -0800 (PST) Received: from carrera.engwest (carrera.engwest.baynetworks.com) by fedex.engwest.baynetworks.com (4.1/SMI-4.1) Received: from localhost by carrera.engwest (SMI-8.6/SMI-SVR4) id SAA10868; Mon, 1 Nov 1999 18:24:19 -0800 To: archie@whistle.com Cc: joe@pavilion.net, hackers@FreeBSD.ORG Subject: Re: Ping - sized tests with 0% and 100% packet loss! Any ideas? In-Reply-To: Your message of "Mon, 1 Nov 1999 18:18:07 -0800 (PST)" <199911020218.SAA09156@bubba.whistle.com> References: <199911020218.SAA09156@bubba.whistle.com> X-Mailer: Mew version 1.92 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19991101182418N.thomma@baynetworks.com> Date: Mon, 01 Nov 1999 18:24:18 -0800 From: Tamiji Homma X-Dispatcher: imput version 971024 Lines: 7 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Happens to me to on -current, but not -stable. With -current's > ping on stable it doesn't happen, and with -stable's ping on > -current it still happens. Therefore it must be a kernel bug. Can you recompile ping without -O (or -O0)? Tammy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 18:31:40 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-out1.apple.com (mail-out1.apple.com [17.254.0.52]) by hub.freebsd.org (Postfix) with ESMTP id A314D14BD4 for ; Mon, 1 Nov 1999 18:31:24 -0800 (PST) (envelope-from justin@rhapture.apple.com) Received: from mailgate2.apple.com ([17.129.100.225]) by mail-out1.apple.com (8.9.3/8.9.3) with ESMTP id SAA15418 for ; Mon, 1 Nov 1999 18:31:21 -0800 (PST) Received: from scv1.apple.com (scv1.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 2.0.15) with ESMTP id ; Mon, 01 Nov 1999 18:31:13 -0800 Received: from rhapture.apple.com (rhapture.apple.com [17.202.40.59]) by scv1.apple.com (8.9.3/8.9.3) with ESMTP id SAA25166; Mon, 1 Nov 1999 18:31:12 -0800 (PST) Received: (from justin@localhost) by rhapture.apple.com (8.9.1/8.9.1) id SAA01118; Mon, 1 Nov 1999 18:31:12 -0800 (PST) Message-Id: <199911020231.SAA01118@rhapture.apple.com> To: hackers@freebsd.org Subject: Re: Ping - sized tests with 0% and 100% packet loss! Any ideas? Cc: joe@pavilion.net Date: Mon, 1 Nov 1999 18:31:11 -0800 From: "Justin C. Walker" Reply-To: justin@apple.com X-Mailer: by Apple MailViewer (2.105.dev) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: Peter Jeremy > Date: 1999-11-01 17:49:29 -0800 > To: hackers@FreeBSD.ORG > Subject: Re: Ping - sized tests with 0% and 100% packet loss! Any ideas? > Cc: joe@pavilion.net > X-Mailer: Mutt 1.0pre3i > Content-return: prohibited > Delivered-to: freebsd-hackers@freebsd.org > X-Loop: FreeBSD.ORG > > At Tue, 2 Nov 1999 00:16:02 +0000, Josef Karthauser wrote: > >Anyone any idea what's going on? > > The problem doesn't exist in 2.2.5-RELEASE. I can't readily test > anything other than that and -current at present. FWIW, our kernel, based roughly on FreeBSD 3.2, has the same line as marked with "-", and I don't see the problem: # for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 > do > echo === $i === > ping -f -c 300 -s $i localhost > done| grep loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss 300 packets transmitted, 300 packets received, 0% packet loss Regards, Justin > As far as I can determine, the problem with 1-byte packets is that > the transmitted checksum is incorrect when the ICMP sequence number > exceeds 255 - this suggests that the checksum missing the last byte > of the sequence number. The problem is also on the transmit side. > > Studying the code in src/sys/netinet/ip_icmp.c:icmp_input() [which > is reporting checksum errors] and icmp_send() [which inserts the > checksum], it looks to me like the problem is: > > cvs diff: Diffing . > Index: ip_icmp.c > =================================================================== > RCS file: /home/CVSROOT/src/sys/netinet/ip_icmp.c,v > retrieving revision 1.37 > diff -u -r1.37 ip_icmp.c > --- ip_icmp.c 1999/09/14 16:40:28 1.37 > +++ ip_icmp.c 1999/11/02 01:45:34 > @@ -685,7 +685,7 @@ > m->m_len -= hlen; > icp = mtod(m, struct icmp *); > icp->icmp_cksum = 0; > - icp->icmp_cksum = in_cksum(m, ip->ip_len - hlen); > + icp->icmp_cksum = in_cksum(m, ip->ip_len); > m->m_data -= hlen; > m->m_len += hlen; > m->m_pkthdr.rcvif = (struct ifnet *)0; > > though I can't confirm this immediately. (And I can't see why > this would have worked at all). > > Peter > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > > -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Manager, CoreOS Networking | Men are from Earth. Apple Computer, Inc. | Women are from Earth. 2 Infinite Loop | Deal with it. Cupertino, CA 95014 | *-------------------------------------*-------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 18:33:38 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 7381514BD4 for ; Mon, 1 Nov 1999 18:33:23 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id VAA21553; Mon, 1 Nov 1999 21:32:55 -0500 (EST) (envelope-from jobaldwi@vt.edu) Message-Id: <199911020232.VAA21553@server.baldwin.cx> 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 In-Reply-To: <381E3974.1E5C721B@ddsecurity.com.br> Date: Mon, 01 Nov 1999 21:32:54 -0500 (EST) From: John Baldwin To: Gustavo V G C Rios Subject: RE: Secondary IDE cannot be detected Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 02-Nov-99 Gustavo V G C Rios wrote: > I am really sorry to post here a problem that's not related to > hacking, > but i have already sent many posts to questions@freebsd.org without a > solution to my problem. > > I am trying to get my Secondary IDE detected, but FreeBSD DOES NOT > detect it! > This device is working well under another OS like Linux and Win98 (i > have 3 OSes in my machine), so i believe there is no hardware > problems. It doesn't detect it if you don't have anything plugged into it. Relax. Do you have a hard drive or CD-ROM plugged into the controller? --- 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 Mon Nov 1 18:47:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from vitoria.ddsecurity.com.br (vitoria.ddsecurity.com.br [200.18.130.93]) by hub.freebsd.org (Postfix) with SMTP id 2E8EF14D26 for ; Mon, 1 Nov 1999 18:47:21 -0800 (PST) (envelope-from grios@ddsecurity.com.br) Received: (qmail 45319 invoked from network); 2 Nov 1999 02:45:41 -0000 Received: from unknown (HELO ddsecurity.com.br) (200.236.148.108) by vitoria.ddsecurity.com.br with SMTP; 2 Nov 1999 02:45:41 -0000 Message-ID: <381E5021.7C0A9C80@ddsecurity.com.br> Date: Tue, 02 Nov 1999 00:44:49 -0200 From: Gustavo V G C Rios X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Daniel O'Connor Cc: hackers@freebsd.org Subject: Re: Secondary IDE cannot be detected References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel O'Connor wrote: > > On 02-Nov-99 Gustavo V G C Rios wrote: > > I am trying to get my Secondary IDE detected, but FreeBSD DOES NOT > > detect it! > > This device is working well under another OS like Linux and Win98 (i > > have 3 OSes in my machine), so i believe there is no hardware problems. > > Does it have a device on it? If not it won't show up. > > If it only has a slave on it, it won't be detected either - its supposed to > have a master as well - or just a master (this might have changed recently > though) > > --- > 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 I have a CDROM onto it! It's in the secondary slave, so i need to change it to the master. Thaaaaaaaaaaanks a lot for your time and cooperation! It's surprise that nobody at questions@free... knows about that! But nothing that hackers@free... could not solve it, of course! Thank you guys! -- Message of the day: The trouble with doing something right the first time is that nobody appreciates how difficult it was. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 19: 7: 2 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from satsuma.mail.easynet.net (satsuma.mail.easynet.net [195.40.1.44]) by hub.freebsd.org (Postfix) with ESMTP id D18ED14D87 for ; Mon, 1 Nov 1999 19:06:55 -0800 (PST) (envelope-from ak@freenet.co.uk) Received: from freenet.co.uk (alister.w.easynet.co.uk [212.212.251.86]) by satsuma.mail.easynet.net with ESMTP id 0D0997B011; Tue, 2 Nov 1999 03:06:51 +0000 (GMT) Message-ID: <381E555B.6E22E946@freenet.co.uk> Date: Tue, 02 Nov 1999 03:07:07 +0000 From: Alex X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Gustavo V G C Rios Cc: hackers@freebsd.org Subject: Re: Secondary IDE cannot be detected References: <381E3974.1E5C721B@ddsecurity.com.br> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gustavo V G C Rios wrote: > I am trying to get my Secondary IDE detected, but FreeBSD DOES NOT > detect it! > > My kernel config file: (again, only relevant part) > > options "CMD640" # work around CMD640 chip deficiency > controller wdc0 at isa? port "IO_WD1" bio irq 14 > disk wd0 at wdc0 drive 0 > #disk wd1 at wdc0 drive 1 > > controller wdc1 at isa? port "IO_WD2" bio irq 15 > #disk wd2 at wdc1 drive 0 > #disk wd3 at wdc1 drive 1 Uncommenting wd2 and wd3 might help. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 19:27: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from obstruction.com (cr211472-a.ym1.on.wave.home.com [24.114.3.188]) by hub.freebsd.org (Postfix) with ESMTP id A3FF314E94 for ; Mon, 1 Nov 1999 19:27:00 -0800 (PST) (envelope-from guy@obstruction.com) Received: (from guy@localhost) by obstruction.com (8.9.2/8.9.2) id WAA67157; Mon, 1 Nov 1999 22:26:58 -0500 (EST) (envelope-from guy) Date: Mon, 1 Nov 1999 22:26:58 -0500 From: Guy Middleton To: hackers@FreeBSD.ORG Subject: Netgear FA410 pccard ethernet? Message-ID: <19991101222658.A67138@chaos.obstruction.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does anybody have a Netgear FA410 pccard ethernet adapter working with FreeBSD? I'm using version 3.2, installed from the distribution CD. -Guy Middleton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 20:28:11 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lips.lcse.umn.edu (lips.lcse.umn.edu [128.101.182.100]) by hub.freebsd.org (Postfix) with ESMTP id D0C1114EC7 for ; Mon, 1 Nov 1999 20:28:03 -0800 (PST) (envelope-from cattelan@thebarn.com) Received: from thebarn.com (lupo [128.101.182.203]) by lips.lcse.umn.edu (8.9.3/8.9.1) with ESMTP id WAA47572; Mon, 1 Nov 1999 22:25:55 -0600 (CST) Message-ID: <381E67D3.C68314F4@thebarn.com> Date: Mon, 01 Nov 1999 22:25:55 -0600 From: Russell Cattelan X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "Alton, Matthew" Cc: "'Andrzej Bialecki'" , "'Hackers@FreeBSD.ORG'" Subject: Re: BSD XFS Port & BSD VFS Rewrite References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Alton, Matthew" wrote: Hmm interesting... Guess I need to read the hackers list more often. So anybody interested in what is going on right now? Legal BS; The encumbrance work is progressing at an expected snails pace. The hardest question to answer at this point; What is encumbered and what isn't! It isn't even clear what constitutes encumbrance structures function names/api's. Short summary to all this nobody has any clear idea as to how long before the code can be released. I do have a bit of good news: if anybody is truly interested in helping out with the project they can sign an NDA through the company that sgi has contracted to work on the linux port. This is basically to protect SGI until the code has be officially clean and blessed. Contact me directly if you are interested cattelan@thebarn.com Where are we at with the linux port... Well we can mount file systems, df, ls, and read files (not a complete implementation) I am currently working on the write path, this one is much more complicated and will require addition work from other people to complete first. There are a lot and I mean a lot of issues involved with getting xfs to interface with the buffer/memory management system of an OS. IRIX pulls a lot of tricks with delayed allocation, holes, overlapping buffers, pining etc. etc. There is a lot of discussion amongst the linux people about how to proceed with upgrading linux's buffer/page code. I am currently trying to keep linux specific stuff out of the bowels of XFS. In fact one of our main goals is change a little XFS code as possible since all current improvements / bug fixes are being done on the IRIX code base. If people have ideas how how to keep this a "portable" file system let me know. It is easier for me to push things in certain directions now rather than later. > I spent an hour on the phone with SGI's lead FS scientist Dan Koren discussing > the XFS situation, Margot Seltzer's LFS work, ships, sails, sealing wax... The > code is not yet open. It is being "disencumbered" and retrofitted to the Linux > kernel interfaces by a team of contractors and university people all under NDA. > So we're on hold for the time being. Unless you want to sign an NDA and move to > Iowa for a year or so. > > > We BSDies really are going to have to come up with something in the way of a > modern storage subsystem. > > > -----Original Message----- > > From: Andrzej Bialecki [SMTP:abial@webgiro.com] > > Sent: Saturday, October 30, 1999 10:56 AM > > To: Alton, Matthew > > Subject: Re: BSD XFS Port & BSD VFS Rewrite > > > > On Thu, 5 Aug 1999, Alton, Matthew wrote: > > > > > I am currently conducting a thorough study of the VFS subsystem > > > in preparation for an all-out effort to port SGI's XFS filesystem to > > > FreeBSD 4.x at such time as SGI gives up the code. Matt Dillon > > > > Is there anything that you might say on the progress status of this > > project? Thanks! > > > > 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 -- Russell Cattelan cattelan@thebarn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 20:48:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 3819914F1A for ; Mon, 1 Nov 1999 20:48:10 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id UAA75667 for ; Mon, 1 Nov 1999 20:48:08 -0800 (PST) Date: Mon, 1 Nov 1999 20:48:08 -0800 (PST) From: Julian Elischer To: hackers@freebsd.org Subject: AMD PCnet-FAST+ ethernet chip. 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 Under 3.3R does anyone have this chip working? I get the following dmesg info: lnc1: rev 0x36 int a irq 10 on pci0.5.0 lnc1: PCnet-FAST+ address 00:d0:12:01:04:53 Interestingly no PHY information.. ifconfig says: # ifconfig lnc1 lnc1: flags=8843 mtu 1500 inet 207.76.205.82 netmask 0xffffff00 broadcast 207.76.205.255 ether 00:d0:12:01:04:53 however I get: # ping 207.76.205.22 PING 207.76.205.l22 (207.76.205.2n2): 56 data bytecs 1: Transmit underflow error -- Resetting lnc1: Transmit underflow error -- Resetting lnc1: Transmit underflow error -- Resetting lnc1: Transmit underflow error -- Resetting ^C --- 207.76.205.22 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss netstat -in shows: # netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lnc1 1500 00.d0.12.01.04.53 4809 0 17 4 0 lnc1 1500 207.76.205 207.76.205.82 4809 0 17 4 0 The chip on the card is an AM79C972 and the PHY is (If the one with PHY written on it is the one), an Am79C873KC. The card has home-PNA on it as well so it's posible the PHY might belong to that. Looking at the AMD specs that must be the PHY. The "underflow" messages suggest a DMA/Data transfer problem, does anyone have any suggestions/experience? If I getthe time I'l hve a read of the driver too. julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Nov 1 21:59:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 72CBB14F35 for ; Mon, 1 Nov 1999 21:59:40 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id VAA24043; Mon, 1 Nov 1999 21:59:34 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id VAA34304; Mon, 1 Nov 1999 21:59:33 -0800 (PST) (envelope-from jdp@polstra.com) Date: Mon, 1 Nov 1999 21:59:33 -0800 (PST) Message-Id: <199911020559.VAA34304@vashon.polstra.com> To: fjoe@iclub.nsu.ru Subject: Re: RTLD_GLOBAL/RTLD_LOCAL dlopen mode flags In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Max Khon wrote: > Are there any plans to implement RTLD_GLOBAL/RTLD_LOCAL mode flags for > dlopen? RTLD_GLOBAL has been supported in -current since around the beginning of September. What is RTLD_LOCAL, and which OS supports it? I've never heard of that one. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 0:51:37 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id D531314CAD for ; Tue, 2 Nov 1999 00:51:20 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11iZeo-0000vb-00; Tue, 02 Nov 1999 10:51:10 +0200 From: Sheldon Hearn To: Josef Karthauser Cc: hackers@FreeBSD.ORG Subject: Re: Ping - sized tests with 0% and 100% packet loss! Any ideas? In-reply-to: Your message of "Tue, 02 Nov 1999 00:16:02 GMT." <19991102001602.B25673@florence.pavilion.net> Date: Tue, 02 Nov 1999 10:51:10 +0200 Message-ID: <3570.941532670@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 02 Nov 1999 00:16:02 GMT, Josef Karthauser wrote: > A wierd one. I'm trying to track down a packets size (I believe) problem > on my network. During ping testing I've come across the following strange > which I don't understand. PR 13292 Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 2: 8:54 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 36239152F2 for ; Tue, 2 Nov 1999 02:07:34 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id QAA02228; Tue, 2 Nov 1999 16:05:49 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Date: Tue, 2 Nov 1999 16:05:49 +0600 (NS) From: Max Khon To: John Polstra Cc: hackers@freebsd.org Subject: Re: RTLD_GLOBAL/RTLD_LOCAL dlopen mode flags In-Reply-To: <199911020559.VAA34304@vashon.polstra.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 hi, there! On Mon, 1 Nov 1999, John Polstra wrote: > > Are there any plans to implement RTLD_GLOBAL/RTLD_LOCAL mode flags for > > dlopen? > > RTLD_GLOBAL has been supported in -current since around the > beginning of September. great. I think that manpage should be brought up to date with -current dlopen impl. (it says nothing about RTLD_GLOBAL) > What is RTLD_LOCAL, and which OS supports it? I've never heard of > that one. The default behavior is RTLD_LOCAL but nevertheless Solaris and Linux define it as #define RTLD_LOCAL 0x0000 for Unix98 conformance /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 4:34:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from citadel.cequrux.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (Postfix) with ESMTP id A719A14DFC for ; Tue, 2 Nov 1999 04:34:34 -0800 (PST) (envelope-from gram@cequrux.com) Received: (from nobody@localhost) by citadel.cequrux.com (8.9.3/8.9.3) id OAA00538 for ; Tue, 2 Nov 1999 14:34:23 +0200 (SAST) Received: by citadel.cequrux.com via recvmail id 471; Tue Nov 2 14:33:31 1999 From: Graham Wheeler To: hackers@freebsd.org Subject: Hiding dynamic IPs Date: Tue, 2 Nov 1999 14:09:42 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99110214212100.22671@cequrux.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all I have a program which requires static IP addresses for various reasons. It could be changed to handle dynamic IPs but this would be a fairly significant undertaking and would probably be quite kludgy, involving the generation of scripts that have to be run every time the link goes up and down, etc. Anyway, I want to use it now over a PPP link with dynamic address allocation. I'm trying to figure out a good way to do this. I reckon that it should be possible by using some kind of local tunnel that has a fixed IP on one end that the program can talk to, that will in turn talk to the PPP link. I tried creating an additional tun device and ifconfigging it with the two addresses, but it doesn't seem to work at all (if I ping either address I get no response, nor do I see any Ipkts or Opkts in the netstat -in output). Is there some other way of doing this? Ideally I want to avoid ipfw tricks, as ipfw is being used for other purposes on this host and I would like to keep the problems separate. TIA gram -- Dr Graham Wheeler E-mail: gram@cequrux.com Cequrux Technologies Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data/Network Security Specialists WWW: http://www.cequrux.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 5: 3:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (Postfix) with ESMTP id 7E4BA14D26 for ; Tue, 2 Nov 1999 05:03:44 -0800 (PST) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id NAA42288; Tue, 2 Nov 1999 13:03:31 GMT (envelope-from joe) Date: Tue, 2 Nov 1999 13:03:31 +0000 From: Josef Karthauser To: Tamiji Homma Cc: archie@whistle.com, hackers@FreeBSD.ORG Subject: Re: Ping - sized tests with 0% and 100% packet loss! Any ideas? Message-ID: <19991102130330.D41031@florence.pavilion.net> References: <199911020218.SAA09156@bubba.whistle.com> <19991101182418N.thomma@baynetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <19991101182418N.thomma@baynetworks.com> X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 01, 1999 at 06:24:18PM -0800, Tamiji Homma wrote: > > Happens to me to on -current, but not -stable. With -current's > > ping on stable it doesn't happen, and with -stable's ping on > > -current it still happens. Therefore it must be a kernel bug. > > Can you recompile ping without -O (or -O0)? > > Tammy Yep! That fixes it. Joe -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 6:26:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.bezeqint.net (mail-a.bezeqint.net [192.115.106.23]) by hub.freebsd.org (Postfix) with ESMTP id 6975B15460; Tue, 2 Nov 1999 06:26:06 -0800 (PST) (envelope-from sarig@bezeqint.net) Received: from default (pt115-104.nas.bezeqint.net) by mail.bezeqint.net (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0FKK008TTQRBA8@mail.bezeqint.net>; Tue, 2 Nov 1999 16:26:00 +0200 (IST) Date: Mon, 01 Nov 1999 14:21:56 +0200 From: Oren Sarig Subject: Re: NASM programs for freebsd In-reply-to: X-Sender: sarig@mail.bezeqint.net To: Isaac Flemming , freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Message-id: <3.0.6.32.19991101142156.007b9e20@mail.bezeqint.net> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Content-type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, there are a few catches here. 1) You might have compiled things wrong. Try compiling it this way: nasm -f elf -o test.o test.asm ld -o test test.o You can also link a gcc .o file in here 2) FreeBSD uses protected mode. DOS originally didn't, so it has backwards compatability, but fbsd doesn't. This means you can't use BIOS and DOS interrupts (int xx). A possible solution is to link your program to libc and use printf functions and the like from your asm progs, though I assume this is not what you want. Another possible solution is to use [org 100] in the beginning of your programs, compile them with: nasm -f bin -o test.com test.asm and use a DOS emulator to run the program. Or maybe just get DOS :) -- Oren Sarig sarig@isdn.net.il At 18:41 31/10/99 -0500, Isaac Flemming wrote: > > Hello all, > > I am currently enrolled in college course that requires us to use the >Netwide Assembler (NASM). This creates a small problem for me, because I >do not have a DOS box in my room, and do not know how to get NASM to work >the way I expect it to under FreeBSD. > > I noticed that NASM is located in the ports collection so I compiled it >and have used it to assemble the .asm assembly code I used for DOS in >class. The assembler does not give me any errors, but I cannot seem to get >the programs to execute. In my most recent attempt I compiled the .asm >into aoutb format and tried to link it into a .c program which calls it. >The gcc c compiler gave me errors at this point, and I am now at a >compleat loss. I have looked around FreeBSD-questions, and hackers >archives for several hours but cannot seem to find anything that helps me. >Is there any one out there that knows how to get NASM to make a file I can >execute, or link into a c program!? Even a simple "hello world" example >may help. > > Thanks a bunch in advance > Isaac D. Flemming > >--------------------------------------------------------------------------- ---- >Isaac D. Flemming >Senior Computer Science Major >Mount Vernon Nazarene College > >Email: iflemmin@mvnc.edu >Phone: (740) 397-6862 x7604 > > > > >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 Tue Nov 2 7:30:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from citadel.cequrux.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (Postfix) with ESMTP id 1FE7A15473; Tue, 2 Nov 1999 07:29:46 -0800 (PST) (envelope-from gram@cequrux.com) Received: (from nobody@localhost) by citadel.cequrux.com (8.9.3/8.9.3) id RAA11763; Tue, 2 Nov 1999 17:27:54 +0200 (SAST) Received: by citadel.cequrux.com via recvmail id 11700; Tue Nov 2 17:27:38 1999 From: Graham Wheeler To: Robert Watson , Robert Watson , "Jonathan M. Bresler" Subject: Re: FreeBSD at IETF (was: Re: IETF gettogether) Date: Tue, 2 Nov 1999 17:23:21 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: gram@cequrux.com, Douglas Denault , hackers@freebsd.org References: In-Reply-To: MIME-Version: 1.0 Message-Id: <99110217241503.22671@cequrux.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 02 Nov 1999, Robert Watson wrote: > On Thu, 21 Oct 1999, Robert Watson wrote: > > > How about Wednesday for dinner (1730-1930 EST) before the open plenary? > > Anyhow, for anyone interested--we'll be holding a FreeBSD-oriented dinner > at November IETF in Washington, DC, and the details are above :-). Okay, and presumably the meeting time then is 1730EST? g -- Dr Graham Wheeler E-mail: gram@cequrux.com Cequrux Technologies Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data/Network Security Specialists WWW: http://www.cequrux.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 7:56:41 1999 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 608) id AF9E714D5B; Tue, 2 Nov 1999 07:56:39 -0800 (PST) From: "Jonathan M. Bresler" To: gram@cequrux.com Cc: robert+freebsd@cyrus.watson.org, robert@cyrus.watson.org, gram@cequrux.com, doug@safeport.com, hackers@freebsd.org In-reply-to: <99110217241503.22671@cequrux.com> (message from Graham Wheeler on Tue, 2 Nov 1999 17:23:21 +0200) Subject: Re: FreeBSD at IETF (was: Re: IETF gettogether) Message-Id: <19991102155639.AF9E714D5B@hub.freebsd.org> Date: Tue, 2 Nov 1999 07:56:39 -0800 (PST) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How about Wednesday for dinner (1730-1930 EST) before the open plenary? where would we be getting together? jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 8:16:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from guepardo.tdnet.com.br (guepardo.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id 43BF515048 for ; Tue, 2 Nov 1999 08:15:08 -0800 (PST) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br [200.236.148.125] by guepardo.tdnet.com.br with ESMTP (SMTPD32-5.05) id AF41162006C; Tue, 02 Nov 1999 13:20:17 -0300 Message-ID: <381F0D75.B4FC7BA0@tdnet.com.br> Date: Tue, 02 Nov 1999 14:12:37 -0200 From: Gustavo Vieira Goncalves Coelho Rios X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: wfd0: i/o error, status=51 , error=40 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That is the message i get at the console when i try to write some thing in my IDE ZIP drive! Have anyone already faced such a problem ? Does any one here know how to fix it ? The message appears at my console forever, and the only thing i can do is to power-off the system by hand, even a "halt" or a "reboot" does not work. Other commands like "sync", "df" , etc don't work too. Oh yeah! my System is 3.3Stable! Any tip ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 8:23:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 3B59215277 for ; Tue, 2 Nov 1999 08:23:49 -0800 (PST) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 9D7209B22; Tue, 2 Nov 1999 11:23:47 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 8EEB2BA1C; Tue, 2 Nov 1999 11:23:47 -0500 (EST) Date: Tue, 2 Nov 1999 11:23:47 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: Gustavo Vieira Goncalves Coelho Rios Cc: hackers@freebsd.org Subject: Re: wfd0: i/o error, status=51 , error=40 In-Reply-To: <381F0D75.B4FC7BA0@tdnet.com.br> 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, 2 Nov 1999, Gustavo Vieira Goncalves Coelho Rios wrote: > That is the message i get at the console when i try to write some thing > in my IDE ZIP drive! > Have anyone already faced such a problem ? > Does any one here know how to fix it ? > Could you provide the relevant part of dmesg WRT to the Zip drive model number. This sounds like what happens when the wfd driver does not properly recognize the Zip drive inquiry string and does not set maxblks to 64 (see PR kern/12095). ----- Chris D. Faulhaber | All the true gurus I've met never System/Network Administrator, | claimed they were one, and always Reality Check Information, Inc. | pointed to someone better. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 8:27:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 9A3F81550F for ; Tue, 2 Nov 1999 08:27:17 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id IAA51381; Tue, 2 Nov 1999 08:26:57 -0800 (PST) (envelope-from dillon) Date: Tue, 2 Nov 1999 08:26:57 -0800 (PST) From: Matthew Dillon Message-Id: <199911021626.IAA51381@apollo.backplane.com> To: Greg Lehey Cc: Wes Peters , "Stephen J. Roznowski" , freebsd-hackers@FreeBSD.ORG Subject: Re: Vinum or CCD? (was: CCD questions) References: <199910291212.IAA40158@cc158233-a.catv1.md.home.com> <3819E1EA.83DD04B7@softweyr.com> <19991029150541.17186@mojave.worldwide.lemis.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> :> Because Vinum is being maintained, and because Vinum will allow you to :> stripe your disks instead of simple concatenate them, which will probably :> result in better I/O rates. : :In fact, CCD will stripe for you as well. In such configurations, :there isn't much difference between CCD and Vinum performance. That :changes a lot when you get to mirroring. : :Greg Well, I actually fixed the biggest performance issue with CCD's mirroring code. But what it does not do is figure out whether part of a mirror is bad or not. Anyone doing mirroring should definitely use vinum. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 9: 6:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from zeus.carroll.com (zeus.carroll.com [199.224.10.2]) by hub.freebsd.org (Postfix) with ESMTP id 97A1615069 for ; Tue, 2 Nov 1999 09:06:12 -0800 (PST) (envelope-from jim@carroll.com) Received: from apollo.carroll.com [199.224.10.3] by zeus.carroll.com with ESMTP (8.9.3/0) id MAA02884; Tue, 2 Nov 1999 12:06:08 -0500 (EST) Received: by apollo.carroll.com (8.8.5) is MAA29334; Tue, 2 Nov 1999 12:06:08 -0500 Date: Tue, 2 Nov 1999 12:06:07 -0500 From: Jim Carroll To: freebsd-hackers@freebsd.org Subject: Re: Vinum or CCD? (was: CCD questions) In-Reply-To: <199911021626.IAA51381@apollo.backplane.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 > :> Because Vinum is being maintained, and because Vinum will allow you to > :> stripe your disks instead of simple concatenate them, which will probably > :> result in better I/O rates. Can someone provide a URL for Vinum. I have been following this thread for awhile, and would like to see more information. Thanks --- Jim C., President | C A R R O L L - N E T, Inc. 201-488-1332 | New Jersey's Premier Internet Service Provider www.carroll.com | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 9:19: 7 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id 09BB514A05 for ; Tue, 2 Nov 1999 09:18:59 -0800 (PST) (envelope-from dscheidt@enteract.com) Received: from shell-2.enteract.com (dscheidt@shell-2.enteract.com [207.229.143.41]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id LAA33576; Tue, 2 Nov 1999 11:18:57 -0600 (CST) (envelope-from dscheidt@enteract.com) Date: Tue, 2 Nov 1999 11:18:56 -0600 (CST) From: David Scheidt To: Jim Carroll Cc: freebsd-hackers@freebsd.org Subject: Re: Vinum or CCD? (was: CCD questions) 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, 2 Nov 1999, Jim Carroll wrote: > > :> Because Vinum is being maintained, and because Vinum will allow you to > > :> stripe your disks instead of simple concatenate them, which will probably > > :> result in better I/O rates. > > Can someone provide a URL for Vinum. I have been following this thread for > awhile, and would like to see more information. Why don't you start with the vinum man pages, in sections 4 and 8 of manual? They are quite helpful, and point you to http://www.lemis.com/vinum.html, as well. David Scheidt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 9:49:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f203.law3.hotmail.com [209.185.241.203]) by hub.freebsd.org (Postfix) with SMTP id 7388B14D46 for ; Tue, 2 Nov 1999 09:49:27 -0800 (PST) (envelope-from rbernardini@hotmail.com) Received: (qmail 31992 invoked by uid 0); 2 Nov 1999 17:49:27 -0000 Message-ID: <19991102174927.31991.qmail@hotmail.com> Received: from 200.32.103.30 by www.hotmail.com with HTTP; Tue, 02 Nov 1999 09:49:27 PST X-Originating-IP: [200.32.103.30] From: "Ricardo Bernardini" To: freebsd-hackers@freebsd.org Subject: aio Functions Date: Tue, 02 Nov 1999 14:49:27 ART Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello list! I'm starting with aio functions (aio_read, aio_return, etc.), I've made them work with disk file I/O, now I'm trying with TCP sockets not with the same success. Does anyone know if it is posible to do what I'm trying? Or where to find more info about this function group? I'just read the man pages about them. Thanks. Ricardo PD: I've made to this list 'cause somebody told me I could find an answer here. If this is not the subject of the list please let me know. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 10:28:56 1999 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 B0DFA14F10 for ; Tue, 2 Nov 1999 10:28:45 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.2/8.9.2) id TAA31821; Tue, 2 Nov 1999 19:28:23 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <199911021828.TAA31821@info.iet.unipi.it> Subject: Re: VTun... In-Reply-To: from "Yevmenkin, Maksim N, CSCIO" at "Nov 1, 1999 3: 7:10 pm" To: myevmenkin@att.com (Yevmenkin, Maksim N, CSCIO) Date: Tue, 2 Nov 1999 19:28:23 +0100 (CET) Cc: wwelch@intraceptives.com.au, 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 > > I notice that you support traffic shaping. I was wondering > > if you plan to > > offer support for slower than 8KBytes / sec (64Kbits/s). if you are on FreeBSD you can as well use dummynet for traffic shaping. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 10:57:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.loeth.dk (mail.kolind-heise.dk [194.192.218.25]) by hub.freebsd.org (Postfix) with SMTP id 98B1A14CE8; Tue, 2 Nov 1999 10:57:07 -0800 (PST) (envelope-from jan@osterskov.dk) Received: from BART.SIMPSON.NET ([172.29.27.102]) by mail.loeth.dk (8.9.2/8.9.2) with SMTP id RAA04115; Tue, 2 Nov 1999 17:50:40 +0100 (CET) From: Jan Østerskov To: Mike Smith , Scott Benjamin Subject: Re: IDA driver issues upon installation. Probing devices hangs Date: Tue, 2 Nov 1999 19:57:40 +0000 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: hackers@FreeBSD.ORG, stable@FreeBSD.ORG References: <199911020023.QAA00513@dingo.cdrom.com> In-Reply-To: <199911020023.QAA00513@dingo.cdrom.com> MIME-Version: 1.0 Message-Id: <99110219582601.37369@BART.SIMPSON.NET> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 02 Nov 1999, Mike Smith wrote: > None of the interested developers have access to one of these machines > anymore; it's quite possible that things have been changed or broken > to some degree of late. > > > I am trying to install the stable snapshot from 10301999 on a compaq > > proliant 4500 with a smart array controller. I recompile the installation > > -- > \\ 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 > I also have a problem with the probing of devices. When ida0 is in the kernel it can't probe any IDE devices (read CD's) A month ago - Current was able to do so I have adressed this problem befor but the only answer i got was to disable the wdc controller. I did, but it is hardly the solution in the long run ?? Can anyone help ?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 11:47:57 1999 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 2566515405; Tue, 2 Nov 1999 11:47:34 -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 LAA28439; Tue, 2 Nov 1999 11:20:37 -0500 (EST) (envelope-from robert@cyrus.watson.org) Date: Tue, 2 Nov 1999 11:20:36 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: "Jonathan M. Bresler" Cc: gram@cequrux.com, doug@safeport.com, hackers@FreeBSD.ORG Subject: Re: FreeBSD at IETF (was: Re: IETF gettogether) In-Reply-To: <19991102155639.AF9E714D5B@hub.freebsd.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 On Tue, 2 Nov 1999, Jonathan M. Bresler wrote: > > > How about Wednesday for dinner (1730-1930 EST) before the open > plenary? > > where would we be getting together? As I mention in my email, probably initially in the lobby, and then moving on to some local restaurant. If we get a number of people in advance, we can even make a reservation, although I'm tempted not to do that as it's nicer to have an open arrangement. 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 Tue Nov 2 11:48:25 1999 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 159AB154B4; Tue, 2 Nov 1999 11:47:34 -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 KAA28103; Tue, 2 Nov 1999 10:37:51 -0500 (EST) (envelope-from robert@cyrus.watson.org) Date: Tue, 2 Nov 1999 10:37:50 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Graham Wheeler Cc: "Jonathan M. Bresler" , Douglas Denault , hackers@FreeBSD.ORG Subject: Re: FreeBSD at IETF (was: Re: IETF gettogether) In-Reply-To: <99110217241503.22671@cequrux.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 Tue, 2 Nov 1999, Graham Wheeler wrote: > On Tue, 02 Nov 1999, Robert Watson wrote: > > On Thu, 21 Oct 1999, Robert Watson wrote: > > > > > How about Wednesday for dinner (1730-1930 EST) before the open plenary? > > > > Anyhow, for anyone interested--we'll be holding a FreeBSD-oriented dinner > > at November IETF in Washington, DC, and the details are above :-). > > Okay, and presumably the meeting time then is 1730EST? Yes--the Lobby at 1730EST (5:30pm) -- we'll sit around for five minutes to make sure we have everyone who's interested, and then head somewhere. I hope to be at the secure syslog BOF just before then, and walk on over. I plan not to get caught in any conversations at the end of the meeting :-). To make it blatently obvious who I am, I should probably where a TIS or DNSsec tshirt or something. Of course, if there's a DNSsec-related meeting that day, everyone will be wearing their DNSsec t-shirts.. 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 Tue Nov 2 11:49: 0 1999 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 5705A14F10; Tue, 2 Nov 1999 11:47:34 -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 KAA28040; Tue, 2 Nov 1999 10:16:41 -0500 (EST) (envelope-from robert@cyrus.watson.org) Date: Tue, 2 Nov 1999 10:16:41 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: "Jonathan M. Bresler" Cc: gram@cequrux.com, Douglas Denault , hackers@FreeBSD.ORG Subject: FreeBSD at IETF (was: Re: IETF gettogether) 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, 21 Oct 1999, Robert Watson wrote: > How about Wednesday for dinner (1730-1930 EST) before the open plenary? Since no one has objected to this time, I thought I'd repost and notify those interested that I think the Wednesday dinner sounds like a good time to do it. Offhand, I forget the restaurants around that area of DC, but there's quite a few if I recall. Unfortunately that would be rush hour, so we probably wouldn't want to drive anywhere. Since this is the same hotel as the last DC IETF, I seem to recall that the lobby was of a decent size, and probably wouldn't be a bad place to meet--perhaps right by the front doors to one side? Maybe Jonathan can recycle a FreeBSDCon FreeBSD sign and wave it to attract attention? :-) Anyhow, for anyone interested--we'll be holding a FreeBSD-oriented dinner at November IETF in Washington, DC, and the details are above :-). 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 Tue Nov 2 12:30:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from marvin.timing.com (marvin.timing.com [206.168.13.207]) by hub.freebsd.org (Postfix) with ESMTP id 4BFE515328 for ; Tue, 2 Nov 1999 12:30:26 -0800 (PST) (envelope-from imp@timing.com) Received: (from imp@localhost) by marvin.timing.com (8.9.3/8.9.3) id NAA00433 for hackers@freebsd.org; Tue, 2 Nov 1999 13:30:32 -0700 (MST) (envelope-from imp) Date: Tue, 2 Nov 1999 13:30:32 -0700 (MST) From: "M. Warner Losh" Message-Id: <199911022030.NAA00433@marvin.timing.com> To: hackers@freebsd.org Subject: vn question Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is the vn device able to read 4.3G files and treat them like a disk? I know we use it for building floppies and the like, but a 4.3G disk image from an unnamed laptop is what I have a need to access... Will it read the mbr and give me the slices that were there when I had the bits on a disk rather than a file residing in the file system? Thanks much... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 12:43:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from vitoria.ddsecurity.com.br (vitoria.ddsecurity.com.br [200.18.130.93]) by hub.freebsd.org (Postfix) with SMTP id CE89614CAD for ; Tue, 2 Nov 1999 12:43:17 -0800 (PST) (envelope-from grios@ddsecurity.com.br) Received: (qmail 55422 invoked from network); 2 Nov 1999 20:41:39 -0000 Received: from unknown (HELO ddsecurity.com.br) (200.236.148.113) by vitoria.ddsecurity.com.br with SMTP; 2 Nov 1999 20:41:39 -0000 Message-ID: <381F4C4E.5F4E5545@ddsecurity.com.br> Date: Tue, 02 Nov 1999 18:40:46 -0200 From: Gustavo V G C Rios X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Chris D. Faulhaber" Cc: Gustavo Vieira Goncalves Coelho Rios , hackers@freebsd.org Subject: Re: wfd0: i/o error, status=51 , error=40 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Chris D. Faulhaber" wrote: > > On Tue, 2 Nov 1999, Gustavo Vieira Goncalves Coelho Rios wrote: > > > That is the message i get at the console when i try to write some thing > > in my IDE ZIP drive! > > Have anyone already faced such a problem ? > > Does any one here know how to fix it ? > > > > Could you provide the relevant part of dmesg WRT to the Zip drive model > number. This sounds like what happens when the wfd driver does not > properly recognize the Zip drive inquiry string and does not set maxblks > to 64 (see PR kern/12095). > > ----- > Chris D. Faulhaber | All the true gurus I've met never > System/Network Administrator, | claimed they were one, and always > Reality Check Information, Inc. | pointed to someone better. This is what i get from dmesg output: (only relevant part) ... wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, intr, iordis wfd0: medium type unknown (no disk) ppc0 at 0x378 irq 7 flags 0x40 on isa ... Oops, I think i have problems here! -- Message of the day: The trouble with doing something right the first time is that nobody appreciates how difficult it was. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 12:48:32 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id DAA5B14CAD for ; Tue, 2 Nov 1999 12:48:28 -0800 (PST) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 191B59B25; Tue, 2 Nov 1999 15:48:18 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 08B72BA1D; Tue, 2 Nov 1999 15:48:18 -0500 (EST) Date: Tue, 2 Nov 1999 15:48:17 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: Gustavo V G C Rios Cc: Gustavo Vieira Goncalves Coelho Rios , hackers@freebsd.org Subject: Re: wfd0: i/o error, status=51 , error=40 In-Reply-To: <381F4C4E.5F4E5545@ddsecurity.com.br> 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, 2 Nov 1999, Gustavo V G C Rios wrote: > "Chris D. Faulhaber" wrote: > > > > On Tue, 2 Nov 1999, Gustavo Vieira Goncalves Coelho Rios wrote: > > > > > That is the message i get at the console when i try to write some thing > > > in my IDE ZIP drive! > > > Have anyone already faced such a problem ? > > > Does any one here know how to fix it ? > > > > > > > Could you provide the relevant part of dmesg WRT to the Zip drive model > > number. This sounds like what happens when the wfd driver does not > > properly recognize the Zip drive inquiry string and does not set maxblks > > to 64 (see PR kern/12095). > > > > ----- > > Chris D. Faulhaber | All the true gurus I've met never > > System/Network Administrator, | claimed they were one, and always > > Reality Check Information, Inc. | pointed to someone better. > > > This is what i get from dmesg output: (only relevant part) > ... > wdc1 at 0x170-0x177 irq 15 on isa > wdc1: unit 0 (atapi): , > removable, intr, iordis > wfd0: medium type unknown (no disk) > ppc0 at 0x378 irq 7 flags 0x40 on isa > ... > That's the same as my problem drive. Apply the patch in the PR for the driver to limit maxblks properly by using a strncmp vs. strcmp. ----- Chris D. Faulhaber | All the true gurus I've met never System/Network Administrator, | claimed they were one, and always Reality Check Information, Inc. | pointed to someone better. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 13: 7:43 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from obstruction.com (cr211472-a.ym1.on.wave.home.com [24.114.3.188]) by hub.freebsd.org (Postfix) with ESMTP id 6A30014DBB for ; Tue, 2 Nov 1999 13:07:38 -0800 (PST) (envelope-from guy@obstruction.com) Received: (from guy@localhost) by obstruction.com (8.9.2/8.9.2) id QAA72920 for freebsd-hackers@FreeBSD.ORG; Tue, 2 Nov 1999 16:07:38 -0500 (EST) (envelope-from guy) Date: Tue, 2 Nov 1999 16:07:38 -0500 From: Guy Middleton To: freebsd-hackers@FreeBSD.ORG Subject: kernel config not remembered in 3.2-RELEASE Message-ID: <19991102160737.A72895@chaos.obstruction.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just installed 3.2-RELEASE on a new machine, and discovered that the kernel config modifications (made with 'boot -c' at boot time) are not remembered. Has the mechanism for saving them changed? They used to be stored in /kernel.config, but that file appears not to be used now. -Guy Middleton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 13:11:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from houston.matchlogic.com (houston.matchlogic.com [205.216.147.127]) by hub.freebsd.org (Postfix) with ESMTP id 6DB7614C35; Tue, 2 Nov 1999 13:11:19 -0800 (PST) (envelope-from crandall@matchlogic.com) Received: by houston.matchlogic.com with Internet Mail Service (5.5.2448.0) id <43SC7X24>; Tue, 2 Nov 1999 14:11:17 -0700 Message-ID: <64003B21ECCAD11185C500805F31EC03046219A3@houston.matchlogic.com> From: Charles Randall To: freebsd-net@FreeBSD.ORG, "'hackers@freebsd.org'" Subject: RE: FreeBSD reboots Date: Tue, 2 Nov 1999 14:11:16 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Julian Elischer [mailto:julian@whistle.com] >I have a patch to fix the fin-wait-2 problem.. Any reason this could't be applied to -stable with a corresponding sysctl variable? Charles To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 13:59:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from catarina.usc.edu (catarina.usc.edu [128.125.51.47]) by hub.freebsd.org (Postfix) with SMTP id 8498A1544D for ; Tue, 2 Nov 1999 13:59:03 -0800 (PST) (envelope-from xuanchen@catarina.usc.edu) Received: from ipanema.usc.edu (ipanema.usc.edu [128.125.52.3]) by catarina.usc.edu (8.6.10/8.6.9) with ESMTP id NAA14715; Tue, 2 Nov 1999 13:58:39 -0800 Received: from localhost (xuanchen@localhost) by ipanema.usc.edu (8.9.3/8.6.9) with ESMTP id NAA08449; Tue, 2 Nov 1999 13:58:44 -0800 (PST) X-Authentication-Warning: ipanema.usc.edu: xuanchen owned process doing -bs Date: Tue, 2 Nov 1999 13:58:44 -0800 (PST) From: Xuan Chen To: Guy Middleton Cc: hackers@FreeBSD.ORG Subject: Re: Netgear FA410 pccard ethernet? In-Reply-To: <19991101222658.A67138@chaos.obstruction.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 Mine is Netgear FA310tx. It was "detected", but under the name of the network card from another vendor---En Lite...or something similar. But, did not work at all. Any idea? Thanks. -chen On Mon, 1 Nov 1999, Guy Middleton wrote: > Does anybody have a Netgear FA410 pccard ethernet adapter working with > FreeBSD? I'm using version 3.2, installed from the distribution CD. > > -Guy Middleton > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 14:43:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from front3.grolier.fr (front3.grolier.fr [194.158.96.53]) by hub.freebsd.org (Postfix) with ESMTP id 56FA715742 for ; Tue, 2 Nov 1999 14:43:22 -0800 (PST) (envelope-from vons@iname.com) Received: from CYRIL (ppp-101-114.villette.club-internet.fr [194.158.101.114]) by front3.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id XAA07763; Tue, 2 Nov 1999 23:43:04 +0100 (MET) Message-Id: <4.2.1.10.19991102233928.00a92940@mail.vons.local> X-Sender: vons@mail.vons.local (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.1.10 (Beta) Date: Tue, 02 Nov 1999 23:42:48 +0100 To: Xuan Chen From: Gert-Jan Vons Subject: Re: Netgear FA410 pccard ethernet? Cc: hackers@FreeBSD.ORG In-Reply-To: References: <19991101222658.A67138@chaos.obstruction.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 13:58 1999-11-02 -0800, you wrote: >Mine is Netgear FA310tx. It was "detected", but under the name of the >network card from another vendor---En Lite...or something similar. But, >did not work at all. Any idea? My Netgear FA310TX (Lite-On chipset) is detected as pn0: <82c169 PNIC 10/100BaseTX> rev 0x20 int a irq 15 on pci0.9.0 pn0: Ethernet address: 00:a0:cc:53:1a:e6 pn0: autoneg complete, link status good (full-duplex, 100Mbps) under fbsd3.3, and works like a charm... Gert-Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 15:14: 2 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 8D9B9154B1 for ; Tue, 2 Nov 1999 15:13:50 -0800 (PST) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id SAA16688 for ; Tue, 2 Nov 1999 18:13:49 -0500 (EST) Date: Tue, 2 Nov 1999 17:10:41 -0500 (EST) From: Zhihui Zhang To: freebsd-hackers@freebsd.org Subject: Granularity of disk I/O 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 It is said that the granularity of disk I/O is a sector. I read a little bit of the source code isa/wd.c, which I think is the driver of IDE disks. I find out that the disk can perform multi-block I/O sometimes. Does this mean the granularity of disk I/O can be multi-sector? If the disk can perform DMA, what is the usual DMA size? Is the granularity the DMA size in this case? If a buffer cache is larger than one sector, it should be split into sectors before I/O. If an I/O on a buffer fails, can we tell which sector within that buffer fails? I am confused with these things and it is probably that my questions are confusing too. Any help or hints are appreciated. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 15:52:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by hub.freebsd.org (Postfix) with ESMTP id 2D82414E3E for ; Tue, 2 Nov 1999 15:52:22 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991102185146.61123@mojave.sitaranetworks.com> Date: Tue, 2 Nov 1999 18:51:46 -0500 From: Greg Lehey To: Zhihui Zhang , freebsd-hackers@FreeBSD.ORG Subject: Re: Granularity of disk I/O Reply-To: Greg Lehey References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Zhihui Zhang on Tue, Nov 02, 1999 at 05:10:41PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 2 November 1999 at 17:10:41 -0500, Zhihui Zhang wrote: > > It is said that the granularity of disk I/O is a sector. I read a little > bit of the source code isa/wd.c, which I think is the driver of IDE disks. > I find out that the disk can perform multi-block I/O sometimes. Does this > mean the granularity of disk I/O can be multi-sector? I think you're getting bogged down in terminology. I understand "granularity" to imply the steps in which a quantity can be increased. In this case, a disk transfer is a whole number of sectors between 1 and 256 (though there's an artificial limit which makes it difficult to transfer more than 60 at a time). Using my definition, it would be correct to say that the granularity is 1 sector. > If the disk can perform DMA, what is the usual DMA size? It's normally the size of the transfer, but in the case of IDE drives it can be limited to a maximum value by the the disk flags. > If a buffer cache is larger than one sector, it should be split into > sectors before I/O. No, that would give lousy performance. Buffer cache is also allocated in blocks corresponding to the transfer size. > If an I/O on a buffer fails, can we tell which sector within that > buffer fails? I don't think we do that. The way to recover would be to retry the I/O a sector at a time. That way, you waste time in the exceptional case only. 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 Tue Nov 2 17:57:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 104D314D50; Tue, 2 Nov 1999 17:57:17 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id RAA11072; Tue, 2 Nov 1999 17:57:10 -0800 (PST) Date: Tue, 2 Nov 1999 17:57:10 -0800 (PST) From: Julian Elischer To: Charles Randall Cc: freebsd-net@FreeBSD.ORG, "'hackers@freebsd.org'" Subject: RE: FreeBSD reboots In-Reply-To: <64003B21ECCAD11185C500805F31EC03046219A3@houston.matchlogic.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 because it breaks teh standard and teh networking guru's don't like it. Basically in the face of broken clients, (read PCs) the TCP protocol can gather an unacceptable collection of fin-wait-2 sessions. THis is in the way the protocol was designed. To reduce it we revert to fin-wait-1 and resent the fin. which results in either a FIN or a RST from th eother end if it's still alive. This gets rid of some of the sessions. but it is admittedly a hack. On Tue, 2 Nov 1999, Charles Randall wrote: > From: Julian Elischer [mailto:julian@whistle.com] > >I have a patch to fix the fin-wait-2 problem.. > > Any reason this could't be applied to -stable with a corresponding sysctl > variable? > > Charles > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Nov 2 21:50:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 52625154E0 for ; Tue, 2 Nov 1999 21:50:50 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [204.68.178.39] (helo=softweyr.com) by mail.xmission.com with esmtp (Exim 2.12 #2) id 11itJk-0003DM-00; Tue, 2 Nov 1999 22:50:45 -0700 Message-ID: <381FCD33.AC3FDD46@softweyr.com> Date: Tue, 02 Nov 1999 22:50:43 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Guy Middleton Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kernel config not remembered in 3.2-RELEASE References: <19991102160737.A72895@chaos.obstruction.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Guy Middleton wrote: > > I just installed 3.2-RELEASE on a new machine, and discovered that the > kernel config modifications (made with 'boot -c' at boot time) are not > remembered. Has the mechanism for saving them changed? They used to be > stored in /kernel.config, but that file appears not to be used now. Nope, it just got inadvertantly broken in 3.2-R. Depending on your band- width, either CVSup or a 3.3 CD set will help squash this bug. ;^) -- "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 Tue Nov 2 22: 7:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 4112C15360 for ; Tue, 2 Nov 1999 22:07:32 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [204.68.178.39] (helo=softweyr.com) by mail.xmission.com with esmtp (Exim 2.12 #2) id 11itZz-00052E-00; Tue, 2 Nov 1999 23:07:31 -0700 Message-ID: <381FD121.5101A6C7@softweyr.com> Date: Tue, 02 Nov 1999 23:07:29 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Xuan Chen Cc: Guy Middleton , hackers@FreeBSD.ORG Subject: Re: Netgear FA410 pccard ethernet? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Xuan Chen wrote: > > On Mon, 1 Nov 1999, Guy Middleton wrote: > > > Does anybody have a Netgear FA410 pccard ethernet adapter working with > > FreeBSD? I'm using version 3.2, installed from the distribution CD. > > Mine is Netgear FA310tx. It was "detected", but under the name of the > network card from another vendor---En Lite...or something similar. But, > did not work at all. Any idea? Note Guy is asking about a pccard, i.e. PCMCIA adapter and everyone is answering with hints about a PCI card. The NetGear FA310TX uses a LiteOn PNIC chip, so you will need to have the pn device configured in your kernel in order to use it. As far as the FA410 goes, you might try some permutation of "ed". Their datasheet on the website is singularly unhelpful: http://www.netgearinc.com/products/ds_fa410tx/index.shtml -- "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 Tue Nov 2 22:13:24 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 72AB915360 for ; Tue, 2 Nov 1999 22:13:21 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [204.68.178.39] (helo=softweyr.com) by mail.xmission.com with esmtp (Exim 2.12 #2) id 11itfa-0005fO-00; Tue, 2 Nov 1999 23:13:20 -0700 Message-ID: <381FD27C.556053A1@softweyr.com> Date: Tue, 02 Nov 1999 23:13:16 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jim Carroll Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Vinum or CCD? (was: CCD questions) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jim Carroll wrote: > > > :> Because Vinum is being maintained, and because Vinum will allow you to > > :> stripe your disks instead of simple concatenate them, which will probably > > :> result in better I/O rates. > > Can someone provide a URL for Vinum. I have been following this thread for > awhile, and would like to see more information. vinum(8) on your nearest FreeBSD system? -- "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 Tue Nov 2 22:44: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from catarina.usc.edu (catarina.usc.edu [128.125.51.47]) by hub.freebsd.org (Postfix) with SMTP id 0408514F51 for ; Tue, 2 Nov 1999 22:44:02 -0800 (PST) (envelope-from xuanchen@catarina.usc.edu) Received: from ipanema.usc.edu (ipanema.usc.edu [128.125.52.3]) by catarina.usc.edu (8.6.10/8.6.9) with ESMTP id WAA16849; Tue, 2 Nov 1999 22:43:58 -0800 Received: from localhost (xuanchen@localhost) by ipanema.usc.edu (8.9.3/8.6.9) with ESMTP id WAA00289; Tue, 2 Nov 1999 22:43:57 -0800 (PST) X-Authentication-Warning: ipanema.usc.edu: xuanchen owned process doing -bs Date: Tue, 2 Nov 1999 22:43:57 -0800 (PST) From: Xuan Chen To: Wes Peters Cc: Xuan Chen , Guy Middleton , hackers@FreeBSD.ORG, David Wolfskill , Gert-Jan Vons Subject: Re: Netgear FA410 pccard ethernet? In-Reply-To: <381FD121.5101A6C7@softweyr.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 Thanks a lot for you all! I got it work now. Cheers, -chen On Tue, 2 Nov 1999, Wes Peters wrote: > Xuan Chen wrote: > > > > On Mon, 1 Nov 1999, Guy Middleton wrote: > > > > > Does anybody have a Netgear FA410 pccard ethernet adapter working with > > > FreeBSD? I'm using version 3.2, installed from the distribution CD. > > > > Mine is Netgear FA310tx. It was "detected", but under the name of the > > network card from another vendor---En Lite...or something similar. But, > > did not work at all. Any idea? > > Note Guy is asking about a pccard, i.e. PCMCIA adapter and everyone is > answering with hints about a PCI card. > > The NetGear FA310TX uses a LiteOn PNIC chip, so you will need to have the pn > device configured in your kernel in order to use it. > > As far as the FA410 goes, you might try some permutation of "ed". Their > datasheet on the website is singularly unhelpful: > > http://www.netgearinc.com/products/ds_fa410tx/index.shtml > > -- > "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 Tue Nov 2 22:54:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 6DD6414DA5 for ; Tue, 2 Nov 1999 22:54:32 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id WAA00243; Tue, 2 Nov 1999 22:54:27 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id WAA47727; Tue, 2 Nov 1999 22:54:21 -0800 (PST) (envelope-from jdp@polstra.com) Date: Tue, 2 Nov 1999 22:54:21 -0800 (PST) Message-Id: <199911030654.WAA47727@vashon.polstra.com> To: spotvin@videotron.ca Subject: Re: gas pseudo-ops In-Reply-To: <381C9A26.E01B254B@videotron.ca> References: <381C9A26.E01B254B@videotron.ca> Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <381C9A26.E01B254B@videotron.ca>, Stephane E. Potvin wrote: > Does anyone have any idea where I could find some documentation about > the following gas pseudo-ops? > .type ,@object There is a type associated with symbol in the object files. It can be function (obvious), object (data), or other/unknown. This pseudo-op sets the type of a given symbol. > .previous The assembler maintains a stack of sections. Each time you change to a new section, it pushes the previous one onto the stack. The ".previous" pseudo-op pops the stack and changes back to the previous section. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 1:21:10 1999 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 0BD1815052 for ; Wed, 3 Nov 1999 01:21:07 -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 CAA69270; Wed, 3 Nov 1999 02:19:00 -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 CAA01191; Wed, 3 Nov 1999 02:17:58 -0700 (MST) Message-Id: <199911030917.CAA01191@harmony.village.org> To: Chuck Robey Subject: Re: X11/C++ question Cc: FreeBSD Hackers List In-reply-to: Your message of "Tue, 26 Oct 1999 21:35:24 EDT." References: Date: Wed, 03 Nov 1999 02:17:58 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Chuck Robey writes: : Does anyone (anyone, that is, who's coded X11 applications) know how you : handle X11 callbacks to C++ object methods? OI_add_event(3OI) :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 7:10:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ncc1701.iml-cti.com (g55-67.citenet.net [207.183.39.67]) by hub.freebsd.org (Postfix) with ESMTP id 417AB14C4C for ; Wed, 3 Nov 1999 07:10:13 -0800 (PST) (envelope-from sepotvin@videotron.ca) Received: from stephanep ([207.139.62.109]) by ncc1701.iml-cti.com (8.9.3/8.9.3) with SMTP id KAA06281; Wed, 3 Nov 1999 10:13:57 -0500 From: "Stephane Potvin" To: "John Polstra" Cc: Subject: RE: gas pseudo-ops Date: Wed, 3 Nov 1999 10:10:07 -0500 Message-ID: <000001bf260d$837c8770$0100000a@stephanep.bishop> 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 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal In-reply-to: <199911030654.WAA47727@vashon.polstra.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-hackers@FreeBSD.ORG > [mailto:owner-freebsd-hackers@FreeBSD.ORG]On Behalf Of John Polstra > Sent: Wednesday, November 03, 1999 1:54 AM > To: spotvin@videotron.ca > Cc: hackers@freebsd.org > Subject: Re: gas pseudo-ops > > > In article <381C9A26.E01B254B@videotron.ca>, > Stephane E. Potvin wrote: > > Does anyone have any idea where I could find some documentation about > > the following gas pseudo-ops? > > .type ,@object > > There is a type associated with symbol in the object files. It can be > function (obvious), object (data), or other/unknown. This pseudo-op > sets the type of a given symbol. > > > .previous > > The assembler maintains a stack of sections. Each time you change > to a new section, it pushes the previous one onto the stack. The > ".previous" pseudo-op pops the stack and changes back to the previous > section. > Thanks for the answer! Do you think it would be possible to change the .type ,@object for .type ,object in gensetdef? By looking in the gas code I found that the assembler just ignores the @ character. The reason I ask this is because by default, the @ character is used by the ARM assembler to represent begin of comments. GCC/GAS could be hacked to avoid doing this but in the long run I think it would be easier just to remove the @ character. If I remember correctly it could be changed to `#object' or `%object' too but this could cause the same problem as with the @ character for other assemblers. P.S.: Sorry for the lack of diff, I'm currenty at work and don't have access to the source code Steph -- Stephane E. Potvin InnoMediaLogic Inc. - http://www.multichassis.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 7:26:23 1999 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 7591214FBA for ; Wed, 3 Nov 1999 07:26:18 -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 KAA35905; Wed, 3 Nov 1999 10:23:54 -0500 (EST) (envelope-from chuckr@picnic.mat.net) Date: Wed, 3 Nov 1999 10:23:54 -0500 (EST) From: Chuck Robey To: Warner Losh Cc: FreeBSD Hackers List Subject: Re: X11/C++ question In-Reply-To: <199911030917.CAA01191@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 On Wed, 3 Nov 1999, Warner Losh wrote: > In message Chuck Robey writes: > : Does anyone (anyone, that is, who's coded X11 applications) know how you > : handle X11 callbacks to C++ object methods? > > OI_add_event(3OI) :-) Uhhh? I've long since got the answer I wanted, but this seems a complete mystery, so I'll bite, what's a OI_add_event? From some package? Can't find a man page on it. > > Warner > ---------------------------------------------------------------------------- Chuck Robey | Interests include C programming, Electronics, 213 Lakeside Dr. Apt. T-1 | communications, and signal processing. Greenbelt, MD 20770 | I run picnic.mat.net: FreeBSD-current(i386) and (301) 220-2114 | jaunt.mat.net : FreeBSD-current(Alpha) ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 7:30:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from obstruction.com (cr211472-a.ym1.on.wave.home.com [24.114.3.188]) by hub.freebsd.org (Postfix) with ESMTP id 73F7B155AD; Wed, 3 Nov 1999 07:30:41 -0800 (PST) (envelope-from guy@obstruction.com) Received: (from guy@localhost) by obstruction.com (8.9.2/8.9.2) id KAA02515; Wed, 3 Nov 1999 10:30:09 -0500 (EST) (envelope-from guy) Date: Wed, 3 Nov 1999 10:30:09 -0500 From: Guy Middleton To: hackers@FreeBSD.ORG Cc: Wes Peters , mobile@FreeBSD.ORG Subject: Re: Netgear FA410 pccard ethernet? Message-ID: <19991103103009.A2495@chaos.obstruction.com> References: <381FD121.5101A6C7@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <381FD121.5101A6C7@softweyr.com>; from Wes Peters on Wed, Nov 03, 1999 at 01:07:29AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Nov 03, 1999 at 01:07:29AM -0500, Wes Peters wrote: > As far as the FA410 goes, you might try some permutation of "ed". Their > datasheet on the website is singularly unhelpful: > > http://www.netgearinc.com/products/ds_fa410tx/index.shtml You're right, there's no information there. I did get it going with the "ed" driver, after reading some old messages on the freebsd-mobile list. It seems to work only in one direction, however. Outgoing ping, telnet, ssh, http, all work, but incoming does not. When I try a different pccard ethernet (an NE4100, which also uses the "ed" driver), everything works fine, so the problem seems to be with the card. -Guy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 7:42:31 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from euromail1.genrad.com (x247.genrad.co.uk [195.99.3.247]) by hub.freebsd.org (Postfix) with ESMTP id 4F7BE14DBD for ; Wed, 3 Nov 1999 07:42:24 -0800 (PST) (envelope-from swindellsr@genrad.co.uk) Received: from CDP437 (cdp437.uk.genrad.com [132.223.130.44]) by euromail1.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id VNKR09Z6; Wed, 3 Nov 1999 15:42:17 -0000 From: Robert Swindells To: guy@obstruction.com Cc: hackers@FreeBSD.ORG In-reply-to: <19991103103009.A2495@chaos.obstruction.com> (message from Guy Middleton on Wed, 3 Nov 1999 10:30:09 -0500) Subject: Re: Netgear FA410 pccard ethernet? Reply-To: rjs@fdy2.demon.co.uk Message-Id: <19991103154228.4F7BE14DBD@hub.freebsd.org> Date: Wed, 3 Nov 1999 07:42:28 -0800 (PST) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Guy Middleton wrote: >On Wed, Nov 03, 1999 at 01:07:29AM -0500, Wes Peters wrote: >> As far as the FA410 goes, you might try some permutation of "ed". Their >> datasheet on the website is singularly unhelpful: >> >> http://www.netgearinc.com/products/ds_fa410tx/index.shtml >You're right, there's no information there. I did get it going with >the "ed" driver, after reading some old messages on the freebsd-mobile >list. It seems to work only in one direction, however. Outgoing >ping, telnet, ssh, http, all work, but incoming does not. When I try >a different pccard ethernet (an NE4100, which also uses the "ed" >driver), everything works fine, so the problem seems to be with the >card. It is listed as a supported card in PAO. I have one as well but never got it to work. I haven't tried PAO yet as I have got a spare 3COM card, but it would be nice to be able to run at 100Mbps. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 8:18:39 1999 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 B691614D86 for ; Wed, 3 Nov 1999 08:18: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 JAA70307; Wed, 3 Nov 1999 09:18:19 -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 JAA02690; Wed, 3 Nov 1999 09:17:24 -0700 (MST) Message-Id: <199911031617.JAA02690@harmony.village.org> To: Chuck Robey Subject: Re: X11/C++ question Cc: FreeBSD Hackers List In-reply-to: Your message of "Wed, 03 Nov 1999 10:23:54 EST." References: Date: Wed, 03 Nov 1999 09:17:24 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Chuck Robey writes: : Uhhh? I've long since got the answer I wanted, but this seems a complete : mystery, so I'll bite, what's a OI_add_event? From some package? Can't : find a man page on it. OI was a native C++ toolkit that had a nice interface and was ported to Linux and FreeBSD back in 1993 or so by yours truly. It was available from ParcPlace. Sadly, it never went anywhere and all efforts of the engineers to make it open sourced (this was in 1996) failed. It was ment as a joke for the long timers on the list... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 8:28:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp2.vnet.net (smtp2.vnet.net [166.82.1.32]) by hub.freebsd.org (Postfix) with ESMTP id 5D35714D86 for ; Wed, 3 Nov 1999 08:28:44 -0800 (PST) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp2.vnet.net (8.9.1a/8.9.1) with ESMTP id LAA17454; Wed, 3 Nov 1999 11:27:07 -0500 (EST) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id LAA05875; Wed, 3 Nov 1999 11:27:06 -0500 (EST) Received: (from rivers@localhost) by lakes.dignus.com (8.9.3/8.6.9) id LAA58640; Wed, 3 Nov 1999 11:27:05 -0500 (EST) Date: Wed, 3 Nov 1999 11:27:05 -0500 (EST) From: Thomas David Rivers Message-Id: <199911031627.LAA58640@lakes.dignus.com> To: chuckr@picnic.mat.net, imp@village.org Subject: Re: X11/C++ question Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199911031617.JAA02690@harmony.village.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > In message Chuck Robey writes: > : Uhhh? I've long since got the answer I wanted, but this seems a complete > : mystery, so I'll bite, what's a OI_add_event? From some package? Can't > : find a man page on it. > > OI was a native C++ toolkit that had a nice interface and was ported > to Linux and FreeBSD back in 1993 or so by yours truly. It was > available from ParcPlace. Sadly, it never went anywhere and all > efforts of the engineers to make it open sourced (this was in 1996) > failed. It was ment as a joke for the long timers on the list... > > Warner > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Let me add that as a stock holder of ParcPlace (now ObjectShare) and one of the people who tried out OI - I was disappointed it didn't go anywhere. It seemed nice... (I wonder where it is now?) ObjectShare is trading right now at 44-cents/share - an amazing 18.92% increase so far for the day (up 7 cents). Perhaps that outstanding stock price reflects the outcome of some of their decisions? [I believe my last purchase of ObjectShare was somewhere in the $10 range... sigh.] - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 8:44:41 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id CCDF0154C6 for ; Wed, 3 Nov 1999 08:44:36 -0800 (PST) (envelope-from sthaug@nethelp.no) Received: (qmail 3054 invoked by uid 1001); 3 Nov 1999 16:43:00 +0000 (GMT) To: freebsd-isp@freebsd.org, freebsd-hackers@freebsd.org Subject: Need help to run IP protocol 50 traceroute from Hong Kong From: sthaug@nethelp.no X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Wed, 03 Nov 1999 17:43:00 +0100 Message-ID: <3052.941647380@verdi.nethelp.no> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG (Warning: Unrelated to FreeBSD except for the fact that FreeBSD-current and recent -stable traceroute supports the -P option.) I need to find out if IP protocol 50 (used by IPSec) is being blocked on the way from Hong Kong to a customer of Telia in Norway. Could somebody in or near Hong Kong, running FreeBSD-current or FreeBSD 3.3, please send me the output of "traceroute -P 50 flow1.telia.no". I'm particularly interested if you get a "!P" (protocol unreachable) on the way. This is what a normal traceroute looks like from Hongkong Telecom Netplus, http://traceroute.hkt.net/cgi-bin/nph-traceroute but of course this doesn't tell me anything about IP protocol 50. Thanks in advance! Steinar Haug, Nethelp consulting, sthaug@nethelp.no ---------------------------------------------------------------------- traceroute to flow1.telia.no (194.19.1.190): 1-30 hops, 38 byte packets 1 e1-3.tmh08.hkt.net (202.84.255.62) 1.24 ms 0.657 ms 0.722 ms 2 a5-0-1.yck05.hkt.net (205.252.130.82) 1.56 ms 4.21 ms 2.10 ms 3 f5-0.hk-T3.hkt.net (205.252.130.207) 2.10 ms 1.53 ms 1.95 ms 4 hssi8-0-0.paix-T3.hkt.net (202.84.128.254) 201 ms 207 ms 198 ms 5 915.Hssi5-0.GW1.PAO1.ALTER.NET (157.130.193.133) 195 ms (ttl=248!) 184 ms (ttl=248!) 181 ms (ttl=248!) 6 119.ATM3-0.XR2.PAO1.ALTER.NET (146.188.147.230) 187 ms (ttl=249!) 192 ms (ttl=249!) 184 ms (ttl=249!) 7 188.ATM7-0.XR2.SFO4.ALTER.NET (146.188.146.230) 185 ms 202 ms 189 ms 8 190.ATM11-0-0.GW4.SJC2.ALTER.NET (152.63.51.133) 206 ms 194 ms 189 ms 9 telia-gw.customer.ALTER.NET (157.130.229.118) 268 ms (ttl=246!) * 264 ms (ttl=246!) 10 sf-b1-atm3-0-103.telia.net (209.95.159.41) 266 ms 272 ms 265 ms 11 ny-b1-pos5-0-0.telia.net (209.95.159.22) 260 ms (ttl=247!) 261 ms (ttl=247!) 261 ms (ttl=247!) 12 sto-b1-pos1-0.telia.net (194.17.1.185) 363 ms (ttl=246!) 362 ms (ttl=246!) 361 ms (ttl=246!) 13 ov-i9-atm3-0-0-1.telia.net (194.17.1.110) 371 ms (ttl=245!) 368 ms (ttl=245!) * 14 no-oso-i1.telia.net (194.19.1.145) 398 ms (ttl=244!) 417 ms (ttl=244!) 389 ms (ttl=244!) 15 oslo-accl1.telia.net (194.19.1.116) 383 ms (ttl=243!) 379 ms (ttl=243!) 397 ms (ttl=243!) 16 flow1.telia.no (194.19.1.190) * 377 ms (ttl=242!) 378 ms (ttl=242!) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 9:24: 0 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id BAD771557A; Wed, 3 Nov 1999 09:23:47 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id JAA30666; Wed, 3 Nov 1999 09:22:29 -0800 (PST) Date: Wed, 3 Nov 1999 09:22:29 -0800 (PST) From: Julian Elischer To: sthaug@nethelp.no Cc: freebsd-isp@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Need help to run IP protocol 50 traceroute from Hong Kong In-Reply-To: <3052.941647380@verdi.nethelp.no> 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, 3 Nov 1999 sthaug@nethelp.no wrote: > (Warning: Unrelated to FreeBSD except for the fact that FreeBSD-current > and recent -stable traceroute supports the -P option.) > > I need to find out if IP protocol 50 (used by IPSec) is being blocked on > the way from Hong Kong to a customer of Telia in Norway. Could somebody > in or near Hong Kong, running FreeBSD-current or FreeBSD 3.3, please send > me the output of "traceroute -P 50 flow1.telia.no". I'm particularly > interested if you get a "!P" (protocol unreachable) on the way. > > This is what a normal traceroute looks like from Hongkong Telecom Netplus, > > http://traceroute.hkt.net/cgi-bin/nph-traceroute > > but of course this doesn't tell me anything about IP protocol 50. it would if you used the -P 50 argument TRACEROUTE(8) TRACEROUTE(8) NAME traceroute - print the route packets take to network host SYNOPSIS traceroute [ -Sdnrv ] [ -g gw_host ] [ -M min_ttl ] [ -m max_ttl ] [ -P proto ] [ -p port ] [ -q nqueries ] [ -s src_addr ] [ -t tos ] [ -w waittime ] host [ packetlen ] [...] -P Send packets of specified IP protocol. The cur- rently supported protocols are: UDP, TCP and GRE. Other protocols may also be specified (either by name or by number), though traceroute does not implement any special knowledge of their packet formats. This option is useful for determining which router along a path may be blocking packets based on IP protocol number. But see BUGS below. > > Thanks in advance! > > Steinar Haug, Nethelp consulting, sthaug@nethelp.no > ---------------------------------------------------------------------- > traceroute to flow1.telia.no (194.19.1.190): 1-30 hops, 38 byte packets > 1 e1-3.tmh08.hkt.net (202.84.255.62) 1.24 ms 0.657 ms 0.722 ms > 2 a5-0-1.yck05.hkt.net (205.252.130.82) 1.56 ms 4.21 ms 2.10 ms > 3 f5-0.hk-T3.hkt.net (205.252.130.207) 2.10 ms 1.53 ms 1.95 ms > 4 hssi8-0-0.paix-T3.hkt.net (202.84.128.254) 201 ms 207 ms 198 ms > 5 915.Hssi5-0.GW1.PAO1.ALTER.NET (157.130.193.133) 195 ms (ttl=248!) 184 ms (ttl=248!) 181 ms (ttl=248!) > 6 119.ATM3-0.XR2.PAO1.ALTER.NET (146.188.147.230) 187 ms (ttl=249!) 192 ms (ttl=249!) 184 ms (ttl=249!) > 7 188.ATM7-0.XR2.SFO4.ALTER.NET (146.188.146.230) 185 ms 202 ms 189 ms > 8 190.ATM11-0-0.GW4.SJC2.ALTER.NET (152.63.51.133) 206 ms 194 ms 189 ms > 9 telia-gw.customer.ALTER.NET (157.130.229.118) 268 ms (ttl=246!) * 264 ms (ttl=246!) > 10 sf-b1-atm3-0-103.telia.net (209.95.159.41) 266 ms 272 ms 265 ms > 11 ny-b1-pos5-0-0.telia.net (209.95.159.22) 260 ms (ttl=247!) 261 ms (ttl=247!) 261 ms (ttl=247!) > 12 sto-b1-pos1-0.telia.net (194.17.1.185) 363 ms (ttl=246!) 362 ms (ttl=246!) 361 ms (ttl=246!) > 13 ov-i9-atm3-0-0-1.telia.net (194.17.1.110) 371 ms (ttl=245!) 368 ms (ttl=245!) * > 14 no-oso-i1.telia.net (194.19.1.145) 398 ms (ttl=244!) 417 ms (ttl=244!) 389 ms (ttl=244!) > 15 oslo-accl1.telia.net (194.19.1.116) 383 ms (ttl=243!) 379 ms (ttl=243!) 397 ms (ttl=243!) > 16 flow1.telia.no (194.19.1.190) * 377 ms (ttl=242!) 378 ms (ttl=242!) > > > 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 Wed Nov 3 9:32:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 9B1101553C for ; Wed, 3 Nov 1999 09:32:43 -0800 (PST) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id MAA00205; Wed, 3 Nov 1999 12:32:20 -0500 (EST) Date: Wed, 3 Nov 1999 11:29:11 -0500 (EST) From: Zhihui Zhang Reply-To: Zhihui Zhang To: Greg Lehey Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Granularity of disk I/O In-Reply-To: <19991102185146.61123@mojave.sitaranetworks.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 Tue, 2 Nov 1999, Greg Lehey wrote: > On Tuesday, 2 November 1999 at 17:10:41 -0500, Zhihui Zhang wrote: > > > > It is said that the granularity of disk I/O is a sector. I read a little > > bit of the source code isa/wd.c, which I think is the driver of IDE disks. > > I find out that the disk can perform multi-block I/O sometimes. Does this > > mean the granularity of disk I/O can be multi-sector? > > I think you're getting bogged down in terminology. I understand > "granularity" to imply the steps in which a quantity can be increased. > In this case, a disk transfer is a whole number of sectors between 1 > and 256 (though there's an artificial limit which makes it difficult > to transfer more than 60 at a time). Using my definition, it would be > correct to say that the granularity is 1 sector. > > > If the disk can perform DMA, what is the usual DMA size? > > It's normally the size of the transfer, but in the case of IDE drives > it can be limited to a maximum value by the the disk flags. > > > If a buffer cache is larger than one sector, it should be split into > > sectors before I/O. > > No, that would give lousy performance. Buffer cache is also allocated > in blocks corresponding to the transfer size. > > > If an I/O on a buffer fails, can we tell which sector within that > > buffer fails? > > I don't think we do that. The way to recover would be to retry the > I/O a sector at a time. That way, you waste time in the exceptional > case only. > Thanks for your reply. I know that directory entries are physically prevented from crossing device block boundaries in order to ensure atomic update. If I write a directory file with a buffer (using some kind of multi-sector transfer) and do not know which sector within the buffer fails, what will the filesystem do? -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 9:44:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 46A01150BA for ; Wed, 3 Nov 1999 09:44:43 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id JAA59898; Wed, 3 Nov 1999 09:44:35 -0800 (PST) (envelope-from dillon) Date: Wed, 3 Nov 1999 09:44:35 -0800 (PST) From: Matthew Dillon Message-Id: <199911031744.JAA59898@apollo.backplane.com> To: Zhihui Zhang Cc: Greg Lehey , freebsd-hackers@FreeBSD.ORG Subject: Re: Granularity of disk I/O References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :Thanks for your reply. I know that directory entries are physically :prevented from crossing device block boundaries in order to ensure atomic :update. If I write a directory file with a buffer (using some kind of :multi-sector transfer) and do not know which sector within the buffer :fails, what will the filesystem do? : :-Zhihui All modern SCSI & IDE disks will remap sectors on write failures, so unless the disk is totally hosed you don't have to worry about this situation occuring. If the disk is totally hosed you will have other problems to worry about. Currently if a write fails the filesystem will retry it. The system will remain internally consistent but if you reboot without the buffer getting successfully written to the disk then the disk will wind up with some corruption and have to be recovered with fsck. From the system's point of view, there is no difference in reliability between doing a single sector transfer and a multi-sector transfer except for the size of the retry. Since retries do not occur very often nobody really cares how big the retry is. Since there is a huge performance gain doing multi-sector transfers, that is what the system does. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 9:48:23 1999 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 D1A9215690 for ; Wed, 3 Nov 1999 09:48:14 -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 JAA19081; Wed, 3 Nov 1999 09:46:38 -0800 (PST) Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id JAA04073; Wed, 3 Nov 1999 09:46:37 -0800 Received: from softweyr.com (dyn7.utah.xylan.com) by omni.xylan.com (4.1/SMI-4.1 (xylan engr [SPOOL])) id AA02104; Wed, 3 Nov 99 09:46:33 PST Message-Id: <382074F8.2C37C60A@softweyr.com> Date: Wed, 03 Nov 1999 10:46:32 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: rjs@fdy2.demon.co.uk Cc: guy@obstruction.com, hackers@FreeBSD.ORG Subject: Re: Netgear FA410 pccard ethernet? References: <19991103154228.4F7BE14DBD@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert Swindells wrote: > > Guy Middleton wrote: > >On Wed, Nov 03, 1999 at 01:07:29AM -0500, Wes Peters wrote: > >> As far as the FA410 goes, you might try some permutation of "ed". Their > >> datasheet on the website is singularly unhelpful: > >> > >> http://www.netgearinc.com/products/ds_fa410tx/index.shtml > > >You're right, there's no information there. I did get it going with > >the "ed" driver, after reading some old messages on the freebsd-mobile > >list. It seems to work only in one direction, however. Outgoing > >ping, telnet, ssh, http, all work, but incoming does not. When I try > >a different pccard ethernet (an NE4100, which also uses the "ed" > >driver), everything works fine, so the problem seems to be with the > >card. > > It is listed as a supported card in PAO. You might want to look at the flags settings and such in the PAO pccard configuration files. > I have one as well but never got it to work. I haven't tried PAO yet > as I have got a spare 3COM card, but it would be nice to be able to > run at 100Mbps. If you're expecting to get anywhere near 100Mbps performance out of a PCCard, you're going to be shocked. These cards allow you to connect to a 100BaseTX port, but aren't going to deliver anywhere near 100Mbps throughput. I've seen figures like 16Mbps quoted, but haven't tried any measurments myself. CardBus will certainly help all this mess, when Warner and the gang have it really working. If you have a particular card you'd like to see work, talk to Warner about sending him one. He might even send it back when he's done with it. ;^) -- "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 Nov 3 10:44: 7 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from shrimp.baynetworks.com (ns4.BayNetworks.COM [192.32.253.7]) by hub.freebsd.org (Postfix) with ESMTP id C8AE014A2D; Wed, 3 Nov 1999 10:44:01 -0800 (PST) (envelope-from bwithrow@engeast.BayNetworks.COM) Received: from mailhost.BayNetworks.COM (h8754.s84f5.BayNetworks.COM [132.245.135.84]) by shrimp.baynetworks.com (8.9.1/8.9.1) with ESMTP id NAA11496; Wed, 3 Nov 1999 13:39:34 -0500 (EST) Received: from pobox.engeast.BayNetworks.COM (pobox.engeast.baynetworks.com [192.32.61.6]) by mailhost.BayNetworks.COM (8.9.1/8.8.8) with ESMTP id NAA18113; Wed, 3 Nov 1999 13:43:10 -0500 (EST) Received: from tuva.engeast.baynetworks.com (tuva [192.32.150.102]) by pobox.engeast.BayNetworks.COM (SMI-8.6/BNET-97/04/24-S) with ESMTP id NAA08298; Wed, 3 Nov 1999 13:43:10 -0500 for Received: from tuva.engeast.baynetworks.com (localhost [127.0.0.1]) by tuva.engeast.baynetworks.com (8.9.3/8.9.3) with ESMTP id NAA51126; Wed, 3 Nov 1999 13:42:29 -0500 (EST) (envelope-from bwithrow@tuva.engeast.baynetworks.com) Message-Id: <199911031842.NAA51126@tuva.engeast.baynetworks.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Guy Middleton Cc: hackers@FreeBSD.ORG, Wes Peters , mobile@FreeBSD.ORG Subject: Re: Netgear FA410 pccard ethernet? In-Reply-To: Message from Guy Middleton of "Wed, 03 Nov 1999 10:30:09 EST." <19991103103009.A2495@chaos.obstruction.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Nov 1999 13:42:29 -0500 From: Robert Withrow Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG guy@obstruction.com said: :- Outgoing ping, telnet, ssh, http, all work, but incoming does not. :- When I try a different pccard ethernet (an NE4100, which also uses the :- "ed" driver), everything works fine, so the problem seems to be with :- the card. I don't think so. I've had lots of problems with the pccard system in the past (I havn't tried it with anything newer than 2.2.8PAO though so maybe things got better) that weren't the fault of the cards, primarily in IO addresses and Interrupt stuff. Anyway, I have this card running with 2.2.8 PAO. I remember I had to play with some options in the pccard.conf file because things wouldn't work without them. But that was so long ago I don't remember anymore what the exact problem was or if that was even what the issue was.... Sorry. # Generally available IO ports io 0x240-0x2e0 0x300-0x360 # Generally available IRQs (DEPRECATED, USE OF THE OPTION IS DISCOURAGED) irq 10 11 # Available memory slots memory 0xd4000 96k Other than that, the entry for the card is pretty basic. # BayNetworks NETGEAR FA410TXC Fast Ethernet card "NETGEAR" "FA410TX" "Fast Ethernet" config default "ed0" any insert echo NETGEAR FA410TX inserted insert /etc/pccard_ether $device remove echo NETGEAR FA410TX removed remove /etc/pccard_ether_remove $device When the card attaches it is called a Linksys and it runs with the ed driver, and gives me good performance on a 100Tx network. -- Robert Withrow -- (+1 978 288 8256) BWithrow@BayNetworks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 11:30:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 8EB2F1556D for ; Wed, 3 Nov 1999 11:30:11 -0800 (PST) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id OAA07305; Wed, 3 Nov 1999 14:29:40 -0500 (EST) Date: Wed, 3 Nov 1999 13:26:30 -0500 (EST) From: Zhihui Zhang To: Matthew Dillon Cc: Greg Lehey , freebsd-hackers@FreeBSD.ORG Subject: Re: Granularity of disk I/O In-Reply-To: <199911031744.JAA59898@apollo.backplane.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 > From the system's point of view, there is no difference in reliability > between doing a single sector transfer and a multi-sector transfer > except for the size of the retry. Since retries do not occur very often > nobody really cares how big the retry is. Since there is a huge > performance gain doing multi-sector transfers, that is what the > system does. > Thanks. It seems to me that for a filesystem, a block (or a fragment) is the unit of I/O. Even if a single byte is modified, an entire block probably consisting of multiple sectors must be written back to the disk. As you said, there is no differnce whether we write this block one sector at a time or in a single transfer. If so, I wonder whether the atomicity of a sector I/O required by a directory file is necessary any more. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 11:33:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bootstrap.agcs.com (bootstrap.agcs.com [130.131.48.11]) by hub.freebsd.org (Postfix) with ESMTP id 7EBCC154FC; Wed, 3 Nov 1999 11:33:37 -0800 (PST) (envelope-from lorenzaj@agcs.com) Received: from pxmail1.agcs.com (pxmail1.agcs.com [130.131.168.5]) by bootstrap.agcs.com (8.9.3/8.9.1) with ESMTP id MAA14372; Wed, 3 Nov 1999 12:33:10 -0700 (MST) Posted-Date: Wed, 3 Nov 1999 12:33:10 -0700 (MST) Received: from agcs.com ([130.131.59.116]) by pxmail1.agcs.com (Netscape Messaging Server 3.61) with ESMTP id AAA35BD; Wed, 3 Nov 1999 12:33:09 -0700 Message-ID: <38208DDC.297EE98B@agcs.com> Date: Wed, 03 Nov 1999 12:32:44 -0700 From: "Juan Lorenzana" Organization: AG Communication Systems X-Mailer: Mozilla 4.05 [en] (WinNT; U) MIME-Version: 1.0 To: hackers@FreeBSD.org, freebsd-questions@FreeBSD.org, lorenzaj@agcs.com Subject: nfs cookie spoofing patch Content-Type: multipart/alternative; boundary="------------BA97B6A29F094849AF58B65D" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------BA97B6A29F094849AF58B65D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I was wondering if I could get some help. I am running a FreeBSD 2.2.8 machine configured as a nfs server. We are trying to get another machine running 2.2.8 to mount from the nfs server. Our challenge is that we are using a virtual ip and would like to mount the virtual ip. We are already doing this with SCO unix as well as Sun Solaris. The problem is that when I type mount -t argonnfs:/u /u (I have also tried with -o -i,-s,-r=1024,-w=1024 options and all permutation of the options, including mount_nfs -T) I'll hang waiting for the request to time out. After extensive trouble shooting, I think it is because of the "security feature" to prevent NFS cookie spoofing based attacks. Basically, there is an nfs check that will not allow freebsd nfs client to request an nfs mount and have the machine where the nfs request is being made to reply with its real ip instead of the virtual. It is as if freebsd hangs becuase the reply for the mount came from a second ip address. Please reference the following url from Terry Lambert. I tried to find the patch that was mentioned in the url, but could not. http://www.freebsd.org/cgi/mid.cgi?db=irt&id=Pine.BSF.3.91.961031140040.536K-100000@dyslexic.phoenix.net Can anyone help me or point me in the right direction. I would like to disable the nfs check or find a work around. The reason we use the virtual ip address is because we have designed some failover code that allows us to failover nfs in about 3 seconds, from one system to another. By passing the virtual ip around from one machine to another, all the machine that had mounted the filesystem never really notice an outage. With a RAID attached and exporting the filesystem, we can achieve high availability of data (not quite fault tolerant, but getting there). Any help is appreciated. Thanks. Regards, -- Juan Lorenzana AG Communication Systems Phoenix, AZ 602-582-7442 lorenzaj@agcs.com --------------BA97B6A29F094849AF58B65D Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I was wondering if I could get some help.

I am running a FreeBSD 2.2.8 machine configured as a nfs server.  We are trying to get another machine running 2.2.8 to mount from the nfs server.  Our challenge is that we are using a virtual ip and would like to mount the virtual ip.  We are already doing this with SCO unix as well as Sun Solaris.  The problem is that when I type

mount -t argonnfs:/u /u
(I have also tried with -o -i,-s,-r=1024,-w=1024 options and all permutation of the options, including mount_nfs -T)

I'll hang waiting for the request to time out.  After extensive trouble shooting, I think it is because of the "security feature" to prevent NFS cookie spoofing based attacks.  Basically, there is an nfs check that will not allow freebsd nfs client to request an nfs mount and have the machine where the nfs request is being made to reply with its real ip instead of the virtual.  It is as if freebsd hangs becuase the reply for the mount came from a second ip address.  Please reference the following url from Terry Lambert.  I tried to find the patch that was mentioned in the url, but could not.
 http://www.freebsd.org/cgi/mid.cgi?db=irt&id=Pine.BSF.3.91.961031140040.536K-100000@dyslexic.phoenix.net

Can anyone help me or point me in the right direction. I would like to disable the nfs check or find a work around.  The reason we use the virtual ip address is because we have designed some failover code that allows us to failover nfs in about 3 seconds, from one system to another.  By passing the virtual ip around from one machine to another, all the machine that had mounted the filesystem never really notice an outage. With a RAID attached and exporting the filesystem, we can achieve high availability of data (not quite fault tolerant, but getting there).

Any help is appreciated.  Thanks.

Regards,

--
Juan Lorenzana
AG Communication Systems
Phoenix, AZ

602-582-7442
lorenzaj@agcs.com
  --------------BA97B6A29F094849AF58B65D-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 11:37:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 21624156A1 for ; Wed, 3 Nov 1999 11:37:45 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id LAA61157; Wed, 3 Nov 1999 11:37:42 -0800 (PST) (envelope-from dillon) Date: Wed, 3 Nov 1999 11:37:42 -0800 (PST) From: Matthew Dillon Message-Id: <199911031937.LAA61157@apollo.backplane.com> To: Zhihui Zhang Cc: Greg Lehey , freebsd-hackers@FreeBSD.ORG Subject: Re: Granularity of disk I/O References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Thanks. It seems to me that for a filesystem, a block (or a fragment) is :the unit of I/O. Even if a single byte is modified, an entire block :probably consisting of multiple sectors must be written back to the disk. :As you said, there is no differnce whether we write this block one sector :at a time or in a single transfer. If so, I wonder whether the atomicity :of a sector I/O required by a directory file is necessary any more. : :-Zhihui The directory blocking is there for a different reason. Atomicy does not have much to do with it though perhaps it did at some point in the past. The reason directory entries are not allowed to cross a 'block' boundry is two fold: * First, to properly support the use of a directory offsets for seeking into directories when doing a complex directory scan. Since userland can supply any offset, even a garbage offset, the kernel code needs to be able to find a starting point from which it can scan forward to locate the directory entry the user is requesting and *be sure* that it is a legal entry. The filesystem avoids having to scan from the very beginning of a potentially huge directory by understanding that it can start at the beginning of the directory block containing the offset. * Second, to simplify the directory scanning code. The kernel maps filesystem buffers into memory on a filesystem block-by-block basis. The directory scanning code is greatly simplified by not allowing directory entries to cross a block boundry. There are also other issues involved relating to newer system calls and even NFS that pretty much requires directory entries to not cross block boundries, though in these cases the 'size' of the block is kinda fuzzy. There are also legacy issues. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 11:41:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id EAA5C1502E; Wed, 3 Nov 1999 11:41:49 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id LAA61182; Wed, 3 Nov 1999 11:40:39 -0800 (PST) (envelope-from dillon) Date: Wed, 3 Nov 1999 11:40:39 -0800 (PST) From: Matthew Dillon Message-Id: <199911031940.LAA61182@apollo.backplane.com> To: "Juan Lorenzana" Cc: hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, lorenzaj@agcs.com Subject: Re: nfs cookie spoofing patch References: <38208DDC.297EE98B@agcs.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :I was wondering if I could get some help. : :I am running a FreeBSD 2.2.8 machine configured as a nfs server. We are :trying to get another machine running 2.2.8 to mount from the nfs :server. Our challenge is that we are using a virtual ip and would like :to mount the virtual ip. We are already doing this with SCO unix as :well as Sun Solaris. The problem is that when I type : :mount -t argonnfs:/u /u :(I have also tried with -o -i,-s,-r=1024,-w=1024 options and all :permutation of the options, including mount_nfs -T) : :I'll hang waiting for the request to time out. After extensive trouble :shooting, I think it is because of the "security feature" to prevent NFS :cookie spoofing based attacks. Basically, there is an nfs check that :will not allow freebsd nfs client to request an nfs mount and have the :machine where the nfs request is being made to reply with its real ip The problem is due to the NFS server responding to the NFS client's request using a different IP address. The NFS client is expecting the response from the same IP that it sent the request too. The bug is on the server-side, not really the client side. Many people have been bitten by this problem and it would be cool if someone submitted a patch to fix it. I will get to it eventually but I'm kinda tied up at the moment. It would be a severe security hole to allow the client to process responses from a different IP address then the request was sent to. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 11:42:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 7364E1558B; Wed, 3 Nov 1999 11:42:10 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id LAA61182; Wed, 3 Nov 1999 11:40:39 -0800 (PST) (envelope-from dillon) Date: Wed, 3 Nov 1999 11:40:39 -0800 (PST) From: Matthew Dillon Message-Id: <199911031940.LAA61182@apollo.backplane.com> To: "Juan Lorenzana" Cc: hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, lorenzaj@agcs.com Subject: Re: nfs cookie spoofing patch References: <38208DDC.297EE98B@agcs.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :I was wondering if I could get some help. : :I am running a FreeBSD 2.2.8 machine configured as a nfs server. We are :trying to get another machine running 2.2.8 to mount from the nfs :server. Our challenge is that we are using a virtual ip and would like :to mount the virtual ip. We are already doing this with SCO unix as :well as Sun Solaris. The problem is that when I type : :mount -t argonnfs:/u /u :(I have also tried with -o -i,-s,-r=1024,-w=1024 options and all :permutation of the options, including mount_nfs -T) : :I'll hang waiting for the request to time out. After extensive trouble :shooting, I think it is because of the "security feature" to prevent NFS :cookie spoofing based attacks. Basically, there is an nfs check that :will not allow freebsd nfs client to request an nfs mount and have the :machine where the nfs request is being made to reply with its real ip The problem is due to the NFS server responding to the NFS client's request using a different IP address. The NFS client is expecting the response from the same IP that it sent the request too. The bug is on the server-side, not really the client side. Many people have been bitten by this problem and it would be cool if someone submitted a patch to fix it. I will get to it eventually but I'm kinda tied up at the moment. It would be a severe security hole to allow the client to process responses from a different IP address then the request was sent to. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 12:16:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lunatic.oneinsane.net (lunatic.oneinsane.net [207.113.133.231]) by hub.freebsd.org (Postfix) with ESMTP id C446B155C7 for ; Wed, 3 Nov 1999 12:16:29 -0800 (PST) (envelope-from insane@lunatic.oneinsane.net) Received: by lunatic.oneinsane.net (Postfix, from userid 1000) id 0CEFC18E; Wed, 3 Nov 1999 12:15:18 -0800 (PST) Date: Wed, 3 Nov 1999 12:15:17 -0800 From: Ron 'The InSaNe One' Rosson To: freebsd-hackers@freebsd.org Subject: (forw) Reversing 32Upgrade package Message-ID: <19991103121517.A2736@lunatic.oneinsane.net> Reply-To: Ron Rosson Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i X-Operating-System: FreeBSD lunatic.oneinsane.net 3.3-STABLE X-Opinion: What you read here is my IMHO X-Disclaimer: I am a firm believer in RTFM X-WWW: http://www.oneinsane.net X-PGP-KEY: http://www.oneinsane.net/~insane/insane2-pgp5i.txt X-Uptime: 12:14PM up 1 day, 3:26, 2 users, load averages: 0.03, 0.13, 0.08 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there anyway to reverse 32upgrade package after it has been installed on a 2.2.8-STABLE system. This is on a production box and rebuilding is not an option I have time to explore. -- ------------------------------------------------------------------- Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * insane@oneinsane.net and all was /dev/null and *void() ------------------------------------------------------------------- Eagles may soar, but weasels don't get sucked into jet engines. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 12:18:17 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id ADAF515237 for ; Wed, 3 Nov 1999 12:18:11 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id PAA11451; Wed, 3 Nov 1999 15:13:45 -0500 (EST) (envelope-from luoqi) Date: Wed, 3 Nov 1999 15:13:45 -0500 (EST) From: Luoqi Chen Message-Id: <199911032013.PAA11451@lor.watermarkgroup.com> To: dillon@apollo.backplane.com, zzhang@cs.binghamton.edu Subject: Re: Granularity of disk I/O Cc: freebsd-hackers@FreeBSD.ORG, grog@lemis.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > :Thanks. It seems to me that for a filesystem, a block (or a fragment) is > :the unit of I/O. Even if a single byte is modified, an entire block > :probably consisting of multiple sectors must be written back to the disk. > :As you said, there is no differnce whether we write this block one sector > :at a time or in a single transfer. If so, I wonder whether the atomicity > :of a sector I/O required by a directory file is necessary any more. > : > :-Zhihui > > The directory blocking is there for a different reason. Atomicy does not > have much to do with it though perhaps it did at some point in the past. > I think atomicity is still the reason. The basic block size of a directory is still a 512-byte sector, and chances are we might write directory blocks one sector at a time (4k/512 formatted fs), so we have to guarantee directory entries don't cross the 512-byte sector boundary. On a 8k/1k fs, you probably could get away with crossing the odd 512-byte sector boundary though. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 12:34:11 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from valis.worldgate.ca (valis.worldgate.ca [198.161.84.2]) by hub.freebsd.org (Postfix) with ESMTP id 3C3D815904; Wed, 3 Nov 1999 12:33:18 -0800 (PST) (envelope-from skafte@worldgate.ca) Received: from worldgate.ca (skafte@diskless4.worldgate.ca [198.161.84.132]) by valis.worldgate.ca (8.9.3/8.9.1) with ESMTP id NAA09424; Wed, 3 Nov 1999 13:32:46 -0700 (MST) Message-ID: <38209BEE.5090A1ED@worldgate.ca> Date: Wed, 03 Nov 1999 13:32:46 -0700 From: Greg Skafte Organization: WorldGate Inc X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Cc: freebsd-net@freebsd.org Subject: Linux* 2.2.x Driver inetl Etherexpress 1000 Content-Type: multipart/mixed; boundary="------------9460C960F8D3090C7ECFE991" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------9460C960F8D3090C7ECFE991 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit http://www.intel.com/support/network/adapter/1000/30363.htm -- Email: skafte@worldgate.com Voice: +780 413 1910 Fax: +780 421 4929 #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris) --------------9460C960F8D3090C7ECFE991 Content-Type: text/html; charset=us-ascii; name="30363.htm" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="30363.htm" Content-Base: "http://www.intel.com/support/network/a dapter/1000/30363.htm" Content-Location: "http://www.intel.com/support/network/a dapter/1000/30363.htm" Linux* 2.2.x Driver
Support Home
SearchSite MapContact us Intel(R)
Software&DriversTroubleshooting AssistantForum

Return to:
Ethernet Adapters Home

support.intel.com resources
Gigabit Server Home
Software & Drivers
Installation & Use
Manuals & Literature
Year 2000
Intel Forum

other resources
White Papers


Networking
Networking
*
 

Intel® PRO/1000 Gigabit Server Adapter
Linux* 2.2.x Driver

Copyright (c) 1999, Intel Corporation

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, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``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 CONTRIBUTORS 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.

I Agree I Disagree



did you find your answer

Please tell us if the information provided here was useful.
Yes   No   Partially   I have to try it
Please describe what you were looking for:
   

Back to Top


* Legal Information and Privacy Policy © 1999 Intel Corporation

--------------9460C960F8D3090C7ECFE991 Content-Type: text/x-vcard; charset=us-ascii; name="skafte.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Greg Skafte Content-Disposition: attachment; filename="skafte.vcf" begin:vcard n:Skafte;Greg tel;pager:+1 (780) 491 4791 tel;cell:+1 (780) 718 1570 tel;fax:+1 (780) 421 4929 tel;work:+1 (780) 413 1910 x-mozilla-html:FALSE org:;Network Operations adr:;;#575 10123 99 Street;Edmonton;Alberta;T5J 3H1;Canada version:2.1 email;internet:Skafte@worldgate.ca title:Operations Manager x-mozilla-cpt:;29088 fn:Greg Skafte end:vcard --------------9460C960F8D3090C7ECFE991-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 12:45:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 7A5CA1513B; Wed, 3 Nov 1999 12:45:22 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral.com (8.8.7/8.8.7) with ESMTP id MAA07272; Wed, 3 Nov 1999 12:48:56 -0800 Date: Wed, 3 Nov 1999 12:48:56 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Greg Skafte Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Linux* 2.2.x Driver inetl Etherexpress 1000 In-Reply-To: <38209BEE.5090A1ED@worldgate.ca> 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 Yes, we know. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 13:30:17 1999 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 82D5E15551; Wed, 3 Nov 1999 13:30:03 -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 WAA10044; Wed, 3 Nov 1999 22:02:38 +0100 (CET) Message-Id: <199911032102.WAA10044@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Greg Skafte Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Linux* 2.2.x Driver inetl Etherexpress 1000 Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 03 Nov 1999 12:48:56 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Nov 1999 22:02:38 +0100 From: Gary Jennejohn Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob writes: > >Yes, we know. > and PLEASE only send the URL in future ! I do not appreciate getting mails which cause my MUA (exmh) to dial out to grab some goddamned crap off the web. If I want to look at the URL, I will. --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.cpqcorp.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 14:14: 0 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from vitoria.ddsecurity.com.br (vitoria.ddsecurity.com.br [200.18.130.93]) by hub.freebsd.org (Postfix) with SMTP id 02D20154AF for ; Wed, 3 Nov 1999 14:13:22 -0800 (PST) (envelope-from grios@ddsecurity.com.br) Received: (qmail 69555 invoked from network); 3 Nov 1999 22:11:03 -0000 Received: from unknown (HELO ddsecurity.com.br) (200.236.148.126) by vitoria.ddsecurity.com.br with SMTP; 3 Nov 1999 22:11:03 -0000 Message-ID: <382090E1.E25E0B34@ddsecurity.com.br> Date: Wed, 03 Nov 1999 17:45:37 -0200 From: Gustavo V G C Rios X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: becoming part of FreeBSD Developer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear gentleman, i have been using free for the last 12 months! I have never done anything in terms of system development, so i decide it was the time to get more involved with FBSD development. In repect to this regard, i sent a mail to Mr. David Greenman, whose response was: "The first step is to get involved with the development community by subscribing to the FreeBSD mailing lists such as freebsd-arch and freebsd-hackers." So here i am. But the doubts keeps on! I have a pretty small knownledge about SO internals, but nothing close to what many of you have, what you wizards suggest me? I have no ideia on where to start from! Can anyone here give a light? Any tips? Any advice? Every body had/has a start, isn't it? Thanks a lot for your time and cooperation (and *PATIENCE* too). best regards, Gustavo Rios -- Message of the day: The trouble with doing something right the first time is that nobody appreciates how difficult it was. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 14:42:31 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from obstruction.com (cr211472-a.ym1.on.wave.home.com [24.114.3.188]) by hub.freebsd.org (Postfix) with ESMTP id 9A9631510E for ; Wed, 3 Nov 1999 14:42:29 -0800 (PST) (envelope-from guy@obstruction.com) Received: (from guy@localhost) by obstruction.com (8.9.2/8.9.2) id RAA03704; Wed, 3 Nov 1999 17:42:13 -0500 (EST) (envelope-from guy) Date: Wed, 3 Nov 1999 17:42:13 -0500 From: Guy Middleton To: rjs@fdy2.demon.co.uk Cc: hackers@FreeBSD.ORG Subject: Re: Netgear FA410 pccard ethernet? Message-ID: <19991103174213.A3692@chaos.obstruction.com> References: <19991103103009.A2495@chaos.obstruction.com> <19991103154228.4F7BE14DBD@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19991103154228.4F7BE14DBD@hub.freebsd.org>; from Robert Swindells on Wed, Nov 03, 1999 at 10:42:28AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Nov 03, 1999 at 10:42:28AM -0500, Robert Swindells wrote: > It is listed as a supported card in PAO. > > I have one as well but never got it to work. I haven't tried PAO yet > as I have got a spare 3COM card, but it would be nice to be able to > run at 100Mbps. I just installed PAO, and it now works fine. Thanks for everybody's help. -Guy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 14:54:59 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from catarina.usc.edu (catarina.usc.edu [128.125.51.47]) by hub.freebsd.org (Postfix) with SMTP id F39F815517; Wed, 3 Nov 1999 14:54:42 -0800 (PST) (envelope-from xuanchen@catarina.usc.edu) Received: from ipanema.usc.edu (ipanema.usc.edu [128.125.52.3]) by catarina.usc.edu (8.6.10/8.6.9) with ESMTP id OAA20748; Wed, 3 Nov 1999 14:53:50 -0800 Received: from localhost (xuanchen@localhost) by ipanema.usc.edu (8.9.3/8.6.9) with ESMTP id OAA01486; Wed, 3 Nov 1999 14:53:34 -0800 (PST) X-Authentication-Warning: ipanema.usc.edu: xuanchen owned process doing -bs Date: Wed, 3 Nov 1999 14:53:34 -0800 (PST) From: Xuan Chen To: freebsd-hardware@FreeBSD.ORG Cc: freebsd-hackers@FreeBSD.ORG Subject: Suggestion for servers running FreeBSD In-Reply-To: <199911032013.PAA11451@lor.watermarkgroup.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 Hello, We are thinking of getting new servers for our lab, and run FreeBSD on it. What kind of servers should we get, which will not cause too much headache, ie. can work reliablely? Any suggestion will be greatly appreciated! Cheers, -chen On Wed, 3 Nov 1999, Luoqi Chen wrote: > > :Thanks. It seems to me that for a filesystem, a block (or a fragment) is > > :the unit of I/O. Even if a single byte is modified, an entire block > > :probably consisting of multiple sectors must be written back to the disk. > > :As you said, there is no differnce whether we write this block one sector > > :at a time or in a single transfer. If so, I wonder whether the atomicity > > :of a sector I/O required by a directory file is necessary any more. > > : > > :-Zhihui > > > > The directory blocking is there for a different reason. Atomicy does not > > have much to do with it though perhaps it did at some point in the past. > > > I think atomicity is still the reason. The basic block size of a directory > is still a 512-byte sector, and chances are we might write directory blocks > one sector at a time (4k/512 formatted fs), so we have to guarantee directory > entries don't cross the 512-byte sector boundary. On a 8k/1k fs, you probably > could get away with crossing the odd 512-byte sector boundary though. > > -lq > > > 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 Wed Nov 3 15: 4:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mailer.syr.edu (mailer.syr.edu [128.230.18.29]) by hub.freebsd.org (Postfix) with ESMTP id DFD0F1557D for ; Wed, 3 Nov 1999 15:04:19 -0800 (PST) (envelope-from cmsedore@mailbox.syr.edu) Received: from rodan.syr.edu by mailer.syr.edu (LSMTP for Windows NT v1.1a) with SMTP id <0.B791BBD0@mailer.syr.edu>; Wed, 3 Nov 1999 18:03:22 -0500 Received: from localhost (cmsedore@localhost) by rodan.syr.edu (8.8.7/8.8.7) with ESMTP id SAA01522; Wed, 3 Nov 1999 18:03:04 -0500 (EST) X-Authentication-Warning: rodan.syr.edu: cmsedore owned process doing -bs Date: Wed, 3 Nov 1999 18:03:03 -0500 (EST) From: Christopher Sedore X-Sender: cmsedore@rodan.syr.edu To: Ricardo Bernardini Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: aio Functions In-Reply-To: <19991102174927.31991.qmail@hotmail.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 Tue, 2 Nov 1999, Ricardo Bernardini wrote: > Hello list! > > I'm starting with aio functions (aio_read, aio_return, etc.), I've made them > work with disk file I/O, now I'm trying with TCP sockets not with the same > success. Does anyone know if it is posible to do what I'm trying? Or where > to find more info about this function group? I'just read the man pages about > them. Which version of FreeBSD are you using? Its best to be using -current from my experience. TCP sockets should work, but they'll be pretty crippled for certain kinds of uses (like trying to have an outstanding read on more than a couple dozen sockets, etc). I've got a set of patches that fix this and the fact that signals don't get issued for completion on certain types of requests. I'm hoping to get it committed, but feel free to contact me for the latest stuff until then. I just finished updating and consolidating my patches so they cleanly apply to -current of a week ago. Testing thus far appears promising--I'm balancing more than a few sockets and pushing 10MB/sec through them (disk to socket and the inverse). I killed the last bug I knew of this week (occasionally paniced under some wierd process shutdown conditions). I hope to try 1000 descriptors soon. -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 15:57:22 1999 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 B4E231511E; Wed, 3 Nov 1999 15:57:03 -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 PAA27443; Wed, 3 Nov 1999 15:53:46 -0800 (PST) Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id PAA25493; Wed, 3 Nov 1999 15:53:45 -0800 Received: from softweyr.com (dyn7.utah.xylan.com) by omni.xylan.com (4.1/SMI-4.1 (xylan engr [SPOOL])) id AA22763; Wed, 3 Nov 99 15:53:41 PST Message-Id: <3820CB04.1ABE2D45@softweyr.com> Date: Wed, 03 Nov 1999 16:53:40 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: mjacob@feral.com Cc: Greg Skafte , freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Linux* 2.2.x Driver inetl Etherexpress 1000 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 Jacob wrote: > > Yes, we know. Gee, the license terms look AWFULLY familiar. I'd like to think I had some long-lasting effect on the Intel legal department, but I doubt this was it. ;^) -- "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 Nov 3 15:57:32 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 0DC9D15138 for ; Wed, 3 Nov 1999 15:57:16 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id PAA44435; Wed, 3 Nov 1999 15:55:32 -0800 (PST) Date: Wed, 3 Nov 1999 15:55:31 -0800 (PST) From: Julian Elischer To: Gustavo V G C Rios Cc: hackers@FreeBSD.ORG Subject: Re: becoming part of FreeBSD Developer In-Reply-To: <382090E1.E25E0B34@ddsecurity.com.br> 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 might suggest that development in FreeBSD has many faces.. those who go through the man pages and check that they accuratly describe the programs are as important as those who write new drivers. You could find some part of FreeBSD that has always annoyed you and decide to fix it.. this is how most work is done.. You do not need permission to fix anything. Though it is usually wise to ask first if someone else is already doing it, or if anyone wildly objects to your changes. regards, Julian On Wed, 3 Nov 1999, Gustavo V G C Rios wrote: > Dear gentleman, > i have been using free for the last 12 months! I have never done > anything in terms of system development, so i decide it was the time to > get more involved with FBSD development. In repect to this regard, i > sent a mail to Mr. David Greenman, whose response was: > > "The first step is to get involved with the development community by > subscribing to the FreeBSD mailing lists such as freebsd-arch and > freebsd-hackers." > > So here i am. But the doubts keeps on! I have a pretty small knownledge > about SO internals, but nothing close to what many of you have, what you > wizards suggest me? > > I have no ideia on where to start from! Can anyone here give a light? > Any tips? Any advice? > Every body had/has a start, isn't it? > > > Thanks a lot for your time and cooperation (and *PATIENCE* too). > best regards, > Gustavo Rios > > > -- > Message of the day: > > The trouble with doing something right the first time is that nobody > appreciates how difficult it was. > > > > 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 Wed Nov 3 15:58:44 1999 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 8D32115666 for ; Wed, 3 Nov 1999 15:58:25 -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 KAA56944; Thu, 4 Nov 1999 10:28:18 +1030 (CST) (envelope-from newton) From: Mark Newton Message-Id: <199911032358.KAA56944@gizmo.internode.com.au> Subject: Re: (forw) Reversing 32Upgrade package To: insane@lunatic.oneinsane.net Date: Thu, 4 Nov 1999 10:28:18 +1030 (CST) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <19991103121517.A2736@lunatic.oneinsane.net> from "Ron 'The InSaNe One' Rosson" at Nov 3, 99 12:15:17 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ron 'The InSaNe One' Rosson wrote: > Is there anyway to reverse 32upgrade package after it has been installed > on a 2.2.8-STABLE system. This is on a production box and rebuilding is > not an option I have time to explore. If it's a production system you will have had backups from immediately before your upgrade, and reversing the upgrade will be a simple matter of restoring your backups. Why do you want to reverse it anyway? - 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 Nov 3 16: 7:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lunatic.oneinsane.net (lunatic.oneinsane.net [207.113.133.231]) by hub.freebsd.org (Postfix) with ESMTP id BBCE21513C for ; Wed, 3 Nov 1999 16:06:55 -0800 (PST) (envelope-from insane@lunatic.oneinsane.net) Received: by lunatic.oneinsane.net (Postfix, from userid 1000) id 3BDF8196; Wed, 3 Nov 1999 16:06:27 -0800 (PST) Date: Wed, 3 Nov 1999 16:06:27 -0800 From: Ron 'The InSaNe One' Rosson To: Mark Newton Cc: freebsd-hackers@freebsd.org Subject: Re: (forw) Reversing 32Upgrade package Message-ID: <19991103160627.B5752@lunatic.oneinsane.net> Reply-To: Ron Rosson References: <19991103121517.A2736@lunatic.oneinsane.net> <199911032358.KAA56944@gizmo.internode.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <199911032358.KAA56944@gizmo.internode.com.au> X-Operating-System: FreeBSD lunatic.oneinsane.net 3.3-STABLE X-Opinion: What you read here is my IMHO X-Disclaimer: I am a firm believer in RTFM X-WWW: http://www.oneinsane.net X-PGP-KEY: http://www.oneinsane.net/~insane/insane2-pgp5i.txt X-Uptime: 4:03PM up 1 day, 7:16, 2 users, load averages: 0.02, 0.02, 0.00 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 04 Nov 1999, Mark Newton was heard blurting out: > Ron 'The InSaNe One' Rosson wrote: > > > Is there anyway to reverse 32upgrade package after it has been installed > > on a 2.2.8-STABLE system. This is on a production box and rebuilding is > > not an option I have time to explore. > > If it's a production system you will have had backups from immediately > before your upgrade, and reversing the upgrade will be a simple matter > of restoring your backups. > > Why do you want to reverse it anyway? > > - mark Well the custom software that is running on this box is only geared for 2.28 at the moment. Backup tapes do you know good if you are not sure what files got changed and how. Which is the reason for the question. TIA -- ------------------------------------------------------------------- Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * insane@oneinsane.net and all was /dev/null and *void() ------------------------------------------------------------------- The nice thing about Windows is: It does not just crash, it displays a dialog box and lets you press 'OK' first. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 16:14:13 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 765BF1511F for ; Wed, 3 Nov 1999 16:14:04 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id QAA04831; Wed, 3 Nov 1999 16:14:02 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id QAA49756; Wed, 3 Nov 1999 16:14:01 -0800 (PST) (envelope-from jdp@polstra.com) Date: Wed, 3 Nov 1999 16:14:01 -0800 (PST) Message-Id: <199911040014.QAA49756@vashon.polstra.com> To: cmsedore@mailbox.syr.edu Subject: Re: aio Functions In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Christopher Sedore wrote: > > I've got a set of patches that fix this and the fact that signals don't > get issued for completion on certain types of requests. I'm hoping to get > it committed, but feel free to contact me for the latest stuff until then. > I just finished updating and consolidating my patches so they cleanly > apply to -current of a week ago. Testing thus far appears promising--I'm > balancing more than a few sockets and pushing 10MB/sec through them (disk > to socket and the inverse). I killed the last bug I knew of this week > (occasionally paniced under some wierd process shutdown conditions). > > I hope to try 1000 descriptors soon. That's great news! So have you gotten rid of some of these absurdly low fixed limits? vfs.aio.max_aio_per_proc: 32 vfs.aio.max_aio_queue_per_proc: 256 vfs.aio.max_aio_procs: 32 vfs.aio.max_aio_queue: 1024 vfs.aio.max_buf_aio: 16 And worst of all: #define AIO_LISTIO_MAX 16 John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 16:28: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id DF84215653 for ; Wed, 3 Nov 1999 16:27:56 -0800 (PST) (envelope-from dscheidt@enteract.com) Received: from shell-2.enteract.com (dscheidt@shell-2.enteract.com [207.229.143.41]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id SAA18480; Wed, 3 Nov 1999 18:27:08 -0600 (CST) (envelope-from dscheidt@enteract.com) Date: Wed, 3 Nov 1999 18:27:08 -0600 (CST) From: David Scheidt To: "Ron 'The InSaNe One' Rosson" Cc: Mark Newton , freebsd-hackers@freebsd.org Subject: Re: (forw) Reversing 32Upgrade package In-Reply-To: <19991103160627.B5752@lunatic.oneinsane.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, 3 Nov 1999, Ron 'The InSaNe One' Rosson wrote: > On Thu, 04 Nov 1999, Mark Newton was heard blurting out: > > > If it's a production system you will have had backups from immediately > > before your upgrade, and reversing the upgrade will be a simple matter > > of restoring your backups. > > Well the custom software that is running on this box is only geared > for 2.28 at the moment. Backup tapes do you know good if you are not > sure what files got changed and how. Which is the reason for the > question. > In that case the only sane thing to do is assume that every file on the box changed and rebuild it from scratch from the backups. Upgrading will touch nearly everything in /etc, /dev, /sbin/, /usr/bin/, /usr/sbin, /usr/lib, /modules, /usr/include, and so forth. It won't (or shouldn't...) touch antyhing in /usr/local, /home or in any filesystem not mentioned in hier(7). David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 16:28:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 05B311513C for ; Wed, 3 Nov 1999 16:28:22 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id QAA01219; Wed, 3 Nov 1999 16:18:27 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911040018.QAA01219@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Ron Rosson Cc: Mark Newton , freebsd-hackers@freebsd.org Subject: Re: (forw) Reversing 32Upgrade package In-reply-to: Your message of "Wed, 03 Nov 1999 16:06:27 PST." <19991103160627.B5752@lunatic.oneinsane.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Nov 1999 16:18:26 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Is there anyway to reverse 32upgrade package after it has been installed > > > on a 2.2.8-STABLE system. This is on a production box and rebuilding is > > > not an option I have time to explore. > > > > If it's a production system you will have had backups from immediately > > before your upgrade, and reversing the upgrade will be a simple matter > > of restoring your backups. > > > > Why do you want to reverse it anyway? > > Well the custom software that is running on this box is only geared > for 2.28 at the moment. Backup tapes do you know good if you are not > sure what files got changed and how. Which is the reason for the > question. The upgrade package is just that; a package. You can check what's in a package with pkg_info. You'll need access to a second 2.2.8 system to recover files that may have been overwritten. As a general rule, installing things blind on a production system is not a good idea. 8) -- \\ 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 Wed Nov 3 21:57:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 9CFB314E53 for ; Wed, 3 Nov 1999 21:57:36 -0800 (PST) (envelope-from adsharma@c62443-a.frmt1.sfba.home.com) Received: from c62443-a.frmt1.sfba.home.com ([24.0.69.165]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19991104055642.OFHW11261.mail.rdc1.sfba.home.com@c62443-a.frmt1.sfba.home.com> for ; Wed, 3 Nov 1999 21:56:42 -0800 Received: (from adsharma@localhost) by c62443-a.frmt1.sfba.home.com (8.9.3/8.9.3) id VAA31814 for freebsd-hackers@freebsd.org; Wed, 3 Nov 1999 21:56:42 -0800 Date: Wed, 3 Nov 1999 21:56:42 -0800 From: Arun Sharma To: freebsd-hackers@freebsd.org Subject: kstat - an API for gathering kernel stats Message-ID: <19991103215642.A31757@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wrote kstat as a way to improve on the current BSD method of getting kernel statistics, which involves looking up a particular kernel symbol name and then getting the value from the symbol offset. This makes any performance monitoring tool or an application that gets kernel stats non-portable across different kernel versions if for some reason, the names of these variables happen to change. kstat derives some ideas from the Solaris kstat API, but is much simpler. It adds a new system call to the kernel. Any kernel module that wants to register a counter calls kstat_register, which makes an entry in the hash table, that maps the counter name to the address of the counter. A user program makes a system call with this string "cpu.system" to get the current value of user/system/nice time etc. A kernel module and a sample application can be downloaded from: http://members.home.net/adsharma/kstat.tar.gz Each system call currently costs a hash table lookup. A tool that may want to repeatedly get the value of the same counter over and over again may want to avoid that lookup everytime. I have some ideas on how to make that happen. Comments and suggestions are welcome. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Nov 3 23:53:59 1999 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 5527414CF8 for ; Wed, 3 Nov 1999 23:53:53 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id CAA12199; Thu, 4 Nov 1999 02:53:51 -0500 (EST) Date: Thu, 4 Nov 1999 02:53:51 -0500 (EST) From: "Matthew N. Dodd" To: Arun Sharma Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <19991103215642.A31757@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 Wed, 3 Nov 1999, Arun Sharma wrote: > A user program makes a system call with this string "cpu.system" to get > the current value of user/system/nice time etc. How is this different from doing: # sysctl -a | grep load vm.loadavg: { 0.15 0.09 0.04 } Ideally we could have a syscall that could return the OID for a given name to solve the portability and speed issues associated with doing repeated lookups. Seems like you've reinvented the wheel to me. -- | 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 Thu Nov 4 0:28:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 061161503B for ; Thu, 4 Nov 1999 00:28:05 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral.com (8.8.7/8.8.7) with ESMTP id AAA09466; Thu, 4 Nov 1999 00:30:00 -0800 Date: Thu, 4 Nov 1999 00:29:59 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Arun Sharma Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <19991103215642.A31757@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 Well, this is welcome news- Bonwick's kstat from solaris was and is an excellent tool. I look forward to using your version. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 0:32: 9 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta3.snfc21.pbi.net (mta3.snfc21.pbi.net [206.13.28.141]) by hub.freebsd.org (Postfix) with ESMTP id B51471503B for ; Thu, 4 Nov 1999 00:32:08 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.dyn.ml.org ([207.214.149.35]) by mta3.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FKN00M38ZO3U9@mta3.snfc21.pbi.net> for freebsd-hackers@FreeBSD.ORG; Thu, 4 Nov 1999 00:31:16 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zippy.dyn.ml.org (Postfix) with ESMTP id 44C939155D; Thu, 04 Nov 1999 00:31:15 -0800 (PST) Date: Thu, 04 Nov 1999 00:31:15 -0800 (PST) From: Alex Zepeda Subject: Re: kstat - an API for gathering kernel stats In-reply-to: To: "Matthew N. Dodd" Cc: freebsd-hackers@FreeBSD.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 On Thu, 4 Nov 1999, Matthew N. Dodd wrote: > On Wed, 3 Nov 1999, Arun Sharma wrote: > > A user program makes a system call with this string "cpu.system" to get > > the current value of user/system/nice time etc. > > How is this different from doing: > > # sysctl -a | grep load > vm.loadavg: { 0.15 0.09 0.04 } How is that different from doing: sysctl vm.loadavg? - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 0:40:51 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (castles505.castles.com [208.214.165.69]) by hub.freebsd.org (Postfix) with ESMTP id EFCB215586 for ; Thu, 4 Nov 1999 00:40:47 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id AAA00445; Thu, 4 Nov 1999 00:30:06 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911040830.AAA00445@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Arun Sharma Cc: freebsd-hackers@freebsd.org Subject: Re: kstat - an API for gathering kernel stats In-reply-to: Your message of "Wed, 03 Nov 1999 21:56:42 PST." <19991103215642.A31757@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Nov 1999 00:30:06 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I wrote kstat as a way to improve on the current BSD method of getting > kernel statistics, which involves looking up a particular kernel symbol > name and then getting the value from the symbol offset. This makes any > performance monitoring tool or an application that gets kernel stats > non-portable across different kernel versions if for some reason, the names > of these variables happen to change. We have been progressively obsoleting this for some time in favour of sysctl, which covers all of the features you're offering and then some. Probably the only major advantage your implementation has is the direct handling of strings as identifiers, rather than the name-to-oid lookup, but the cached OID provides a much faster lookup method for values you want to get on a regular basis. -- \\ 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 Nov 4 2:32:25 1999 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 E909D156A2; Thu, 4 Nov 1999 02:32:17 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Nov 1999 10:32:17 +0000 (GMT) Date: Thu, 4 Nov 1999 10:32:12 +0000 From: David Malone To: Matthew Dillon Cc: Juan Lorenzana , hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: nfs cookie spoofing patch Message-ID: <19991104103212.A42737@walton.maths.tcd.ie> References: <38208DDC.297EE98B@agcs.com> <199911031940.LAA61182@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <199911031940.LAA61182@apollo.backplane.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Nov 03, 1999 at 11:40:39AM -0800, Matthew Dillon wrote: > The bug is on the server-side, not really the client side. Many people > have been bitten by this problem and it would be cool if someone submitted > a patch to fix it. I will get to it eventually but I'm kinda tied up > at the moment. I think Ian Dowse submitted a patch for this some time ago, which we have been using with no trouble for months. See: http://www.freebsd.org/cgi/query-pr.cgi?pr=13049 David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 6: 2:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 608) id 820AD1504C; Thu, 4 Nov 1999 06:02:34 -0800 (PST) From: "Jonathan M. Bresler" To: mjacob@feral.com Cc: adsharma@home.com, freebsd-hackers@FreeBSD.ORG In-reply-to: (message from Matthew Jacob on Thu, 4 Nov 1999 00:29:59 -0800 (PST)) Subject: FreeBSD FibreChannel support Message-Id: <19991104140234.820AD1504C@hub.freebsd.org> Date: Thu, 4 Nov 1999 06:02:34 -0800 (PST) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matt, Thank you for lunch at the South American resturant in Berkeley during the FreeBSDCon. Do we have a FibreChannel driver for FreeBSD? Ideally, I am looking for arbitrated loop support on the emulex cards. jmb -- Jonathan M. Bresler FreeBSD Core Team, Postmaster jmb@FreeBSD.ORG FreeBSD--The Power to Serve JMB193 http://www.freebsd.org/ PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 6:50: 7 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f240.law3.hotmail.com [209.185.241.240]) by hub.freebsd.org (Postfix) with SMTP id 33021158D8 for ; Thu, 4 Nov 1999 06:49:35 -0800 (PST) (envelope-from rbernardini@hotmail.com) Received: (qmail 86529 invoked by uid 0); 4 Nov 1999 14:49:14 -0000 Message-ID: <19991104144914.86528.qmail@hotmail.com> Received: from 200.32.103.30 by www.hotmail.com with HTTP; Thu, 04 Nov 1999 06:49:13 PST X-Originating-IP: [200.32.103.30] From: "Ricardo Bernardini" To: freebsd-hackers@freebsd.org Subject: Re: kstat - an API for gathering kernel stats Date: Thu, 04 Nov 1999 11:49:13 ART Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I don't think kstat does the same as sysctl, at least for one thing: it provides for a way to dynamically add counters, if there is a way to enumerate them and userland proceses can add their own, it will make a good performance tool. May be I won't have kstat in all my kernels, but it would be good to have it when you are doing some capacity planning. Saludos / Regards Ricardo ----Original Message Follows---- From: Mike Smith > I wrote kstat as a way to improve on the current BSD method of getting > kernel statistics, which involves looking up a particular kernel symbol > name and then getting the value from the symbol offset. This makes any > performance monitoring tool or an application that gets kernel stats > non-portable across different kernel versions if for some reason, the names > of these variables happen to change. We have been progressively obsoleting this for some time in favour of sysctl, which covers all of the features you're offering and then some. Probably the only major advantage your implementation has is the direct handling of strings as identifiers, rather than the name-to-oid lookup, but the cached OID provides a much faster lookup method for values you want to get on a regular basis. -- \\ 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 +------------------------------+-----------------------------------+ |Ricardo Bernardini | "No entiendo por que todos ponen | |rbernardini@hotmail.com | alguna frase celebre aqui" | |+54-11-4404-4525 | "I don't understand why everybody | |Buenos Aires, Argentina | puts a quote in here" | +------------------------------+-----------------------------------+ ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 6:53: 0 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f42.law3.hotmail.com [209.185.241.42]) by hub.freebsd.org (Postfix) with SMTP id D8CBE1569C for ; Thu, 4 Nov 1999 06:50:51 -0800 (PST) (envelope-from rbernardini@hotmail.com) Received: (qmail 77628 invoked by uid 0); 4 Nov 1999 14:50:50 -0000 Message-ID: <19991104145050.77627.qmail@hotmail.com> Received: from 200.32.103.30 by www.hotmail.com with HTTP; Thu, 04 Nov 1999 06:50:50 PST X-Originating-IP: [200.32.103.30] From: "Ricardo Bernardini" To: freebsd-hackers@freebsd.org Subject: Re: aio Functions Date: Thu, 04 Nov 1999 11:50:50 ART Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well !! That's far more than the things I'm having trouble with!! I'm not being able to make ONE asynchronous read. I've tried the aio functions with file I/O and it worked fine, I've also tried the socket I/O with read() and it worked fine too. But when I issue the read to the async queue an try to get its status aio_error returns -1 and sets errno to EINVAL. Anyway this is a test program just to become familiar with the fucntions before actually using them, so I really need more information about them, and the aiocb_t struct. Thanks for your answer. Saludos / Regards Ricardo Bernardini ----Original Message Follows---- From: Christopher Sedore > Hello list! > > I'm starting with aio functions (aio_read, aio_return, etc.), I've made them > work with disk file I/O, now I'm trying with TCP sockets not with the same > success. Does anyone know if it is posible to do what I'm trying? Or where > to find more info about this function group? I'just read the man pages about > them. Which version of FreeBSD are you using? Its best to be using -current from my experience. TCP sockets should work, but they'll be pretty crippled for certain kinds of uses (like trying to have an outstanding read on more than a couple dozen sockets, etc). I've got a set of patches that fix this and the fact that signals don't get issued for completion on certain types of requests. I'm hoping to get it committed, but feel free to contact me for the latest stuff until then. I just finished updating and consolidating my patches so they cleanly apply to -current of a week ago. Testing thus far appears promising--I'm balancing more than a few sockets and pushing 10MB/sec through them (disk to socket and the inverse). I killed the last bug I knew of this week (occasionally paniced under some wierd process shutdown conditions). I hope to try 1000 descriptors soon. -Chris +------------------------------+-----------------------------------+ |Ricardo Bernardini | "No entiendo por que todos ponen | |rbernardini@hotmail.com | alguna frase celebre aqui" | |+54-11-4404-4525 | "I don't understand why everybody | |Buenos Aires, Argentina | puts a quote in here" | +------------------------------+-----------------------------------+ ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 8: 5:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from houston.matchlogic.com (houston.matchlogic.com [205.216.147.127]) by hub.freebsd.org (Postfix) with ESMTP id 61DFB14C58 for ; Thu, 4 Nov 1999 08:05:41 -0800 (PST) (envelope-from crandall@matchlogic.com) Received: by houston.matchlogic.com with Internet Mail Service (5.5.2448.0) id <43SC8CW5>; Thu, 4 Nov 1999 09:03:16 -0700 Message-ID: <64003B21ECCAD11185C500805F31EC0304621A6C@houston.matchlogic.com> From: Charles Randall To: freebsd-hackers@freebsd.org Subject: Compiling elf gcc 2.7.2.3 on FreeBSD 3.3-R? Date: Thu, 4 Nov 1999 09:03:08 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After an unsuccessful attempt at asking this on -questions... I believe that I could work my way through the problem below if I could build a vanilla gcc 2.7.2.3 on FreeBSD 3.3-R. Attempting to build a fresh 2.7.2.3, 1. configure 2. remove references to gnumalloc in Makefile and cp/Makefile 3. make LANGUAGES=c and I get --- snip --- ./xgcc -B./ -DIN_GCC -g -I./include enquire.o -o enquire /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory *** Error code 1 Stop. --- snip --- I presume that this is an a.out vs elf issue -- gcc is trying to build an a.out version and 3.3-R is elf. However, I get the same problem if I try configure with "configure i386-elf-freebsd". Suggestions? Charles P.S. I know that 3.3-R uses gcc 2.7.2.3 internally. However, I would like to build a separate binary for StackGuard. -----Original Message----- From: Charles Randall [mailto:crandall@matchlogic.com] Sent: Tuesday, November 02, 1999 9:37 AM To: freebsd-questions@freebsd.org Subject: Immunix Stackguard for FreeBSD? Has anyone successfully built Immunix stackguard on FreeBSD? Here's a link to the original research project, http://www.cse.ogi.edu/DISC/projects/immunix/StackGuard/ The latest development seems to be reflected here, http://www.wirex.com/ and http://immunix.org/ On the downloads page at immunix.org, there's an RPM of patches to gcc 2.7.2.3. I've un-packed that on my 3.3-R system, applied all of the patches, run 'configure', and 'make LANGUAGES=c'. First, the build fails trying to find gnumalloc. After removing that dependency in Makefile and cp/Makefile (assuming that BSD malloc will be used), the build eventually dies with: --- snip --- ./xgcc -B./ -DIN_GCC -O -I./include enquire.o -o enquire /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory *** Error code 1 Stop. --- snip --- I presume that this is because 3.3-R uses elf and gcc is trying to build an a.out version. Thinking about that a bit, I ran 'make distclean', 'configure i386-elf-freebsd', and 'make LANGUAGES=c' in an attempt to build an elf-specific version. After removing the dependencies on gnumalloc again, the build died in the same place, --- snip --- ./xgcc -B./ -DIN_GCC -O -I./include enquire.o -o enquire /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory *** Error code 1 Stop. --- snip --- Am I missing a compatibility library or something? Suggestions? Charles 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 Thu Nov 4 8: 8:17 1999 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 04B2F1504C for ; Thu, 4 Nov 1999 08:08:02 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id LAA21975; Thu, 4 Nov 1999 11:07:31 -0500 (EST) Date: Thu, 4 Nov 1999 11:07:31 -0500 (EST) From: "Matthew N. Dodd" To: Alex Zepeda Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats 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, 4 Nov 1999, Alex Zepeda wrote: > On Thu, 4 Nov 1999, Matthew N. Dodd wrote: > > On Wed, 3 Nov 1999, Arun Sharma wrote: > > > A user program makes a system call with this string "cpu.system" to get > > > the current value of user/system/nice time etc. > > > > How is this different from doing: > > > > # sysctl -a | grep load > > vm.loadavg: { 0.15 0.09 0.04 } > > How is that different from doing: > > sysctl vm.loadavg? I was more trying to demonstrate the fact that we have sysctl(3). -- | 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 Thu Nov 4 8:15:12 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 3BDBF150A9; Thu, 4 Nov 1999 08:15:02 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral.com (8.8.7/8.8.7) with ESMTP id IAA10503; Thu, 4 Nov 1999 08:19:22 -0800 Date: Thu, 4 Nov 1999 08:19:22 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Jonathan M. Bresler" Cc: adsharma@home.com, freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD FibreChannel support In-Reply-To: <19991104140234.820AD1504C@hub.freebsd.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 Hi- Yes- it was a fun though short lunch. We support the Qlogic 2100/2200 cards currently for both private loop and fabrics. The emulex card is popular, but nobody's written a driver for it for FreeBSD. On Thu, 4 Nov 1999, Jonathan M. Bresler wrote: > > Matt, > > Thank you for lunch at the South American resturant in > Berkeley during the FreeBSDCon. > > Do we have a FibreChannel driver for FreeBSD? Ideally, I am > looking for arbitrated loop support on the emulex cards. > > jmb > -- > Jonathan M. Bresler FreeBSD Core Team, Postmaster jmb@FreeBSD.ORG > FreeBSD--The Power to Serve JMB193 http://www.freebsd.org/ > PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 8:18:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 61B1515148; Thu, 4 Nov 1999 08:18:15 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral.com (8.8.7/8.8.7) with ESMTP id IAA10513; Thu, 4 Nov 1999 08:22:00 -0800 Date: Thu, 4 Nov 1999 08:22:00 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Jonathan M. Bresler" Cc: Simon Shapiro , freebsd-hackers@freebsd.org, adsharma@home.com Subject: New i2o support available for testing. (fwd) 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 should point out that Simon has also been working on a DPT FC driver- I'm not sure if this i2o OSM is part of this or not (Simon?). ---------- Forwarded message ---------- Date: Mon, 01 Nov 1999 11:04:06 -0500 From: Simon Shapiro To: jkh@FreeBSD.ORG Subject: New i2o support available for testing. A Pre-Alpha release of a new i2o OSM for FreeBSD is now available for testing. Check http://simon-shapiro.org/drivers.html for details. -- Sincerely Yours, Shimon@Simon-Shapiro.ORG 404.664.6401 Simon Shapiro Unwritten code has no bugs and executes at twice the speed of mouth This is the moderated mailing list freebsd-announce. The list contains announcements of new FreeBSD capabilities, important events and project milestones. See also the FreeBSD Web pages at http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-announce" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 8:18:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from acl.lanl.gov (acl.lanl.gov [128.165.147.1]) by hub.freebsd.org (Postfix) with ESMTP id 4312C156D7 for ; Thu, 4 Nov 1999 08:18:40 -0800 (PST) (envelope-from rminnich@lanl.gov) Received: from localhost (rminnich@localhost) by acl.lanl.gov (8.8.8/8.8.5) with ESMTP id JAA1718417 for ; Thu, 4 Nov 1999 09:18:04 -0700 (MST) X-Authentication-Warning: acl.lanl.gov: rminnich owned process doing -bs Date: Thu, 4 Nov 1999 09:18:04 -0700 From: "Ronald G. Minnich" To: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats 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 FWIW -- I think a reasonable goal of "getting stats out of the kernel" is that pulling data out ought to run as fast as bcopy, and it would be nice if you didn't have to drop into a syscall. Kind of an extreme position, I guess, but if you have ever seen the rstatd on linux eat 12% of cpu to return 10 samples/second you'd know why I want it. Given the slowness of some stuff (it takes linux 6 milliseconds to count up free/shared memory pages -- the code visits every page struct) bcopy speed is not a bad yardstick. Sysctl is much faster than reading files in /proc, but still too slow. How will kstat compare? how does it compare in solaris? Anybody got a bandwidth number? Numbers I have now (sorry, just for linux at present): Using files in /proc: awful, so slow it's not worth measuring exactly, something like 400 bytes in 20 milliseonds Using sysctl: Varies depending on the strategy and how much data you yank per variable, but O(1-10 Mbytes/second) ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 8:41:57 1999 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 7140614CB2 for ; Thu, 4 Nov 1999 08:41:46 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p22-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.151]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id BAA07693; Fri, 5 Nov 1999 01:41:38 +0900 (JST) Message-ID: <3821B6BD.D48EEB1C@newsguy.com> Date: Fri, 05 Nov 1999 01:39:25 +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: Ricardo Bernardini Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: aio Functions References: <19991104145050.77627.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ricardo Bernardini wrote: > > Well !! That's far more than the things I'm having trouble with!! I'm not > being able to make ONE asynchronous read. I've tried the aio functions with > file I/O and it worked fine, I've also tried the socket I/O with read() and > it worked fine too. But when I issue the read to the async queue an try to > get its status aio_error returns -1 and sets errno to EINVAL. > Anyway this is a test program just to become familiar with the fucntions > before actually using them, so I really need more information about them, > and the aiocb_t struct. Be aware that aio is not implemented for all things that you can get an fd for. It was originally implemented *only* for files, though I was under the impression that support for sockets was later added. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org What y'all wanna do? Wanna be hackers? Code crackers? Slackers Wastin' time with all the chatroom yakkers? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 9: 0:12 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ockle.dev.nanoteq.co.za (ockle.dev.nanoteq.co.za [196.7.114.28]) by hub.freebsd.org (Postfix) with ESMTP id 1B16715575 for ; Thu, 4 Nov 1999 08:59:55 -0800 (PST) (envelope-from jkruger@oskar.nanoteq.co.za) Received: from oskar.nanoteq.co.za (ockle [196.7.114.28]) by ockle.dev.nanoteq.co.za (8.9.3/8.9.3) with ESMTP id LAA49269 for ; Thu, 4 Nov 1999 11:51:24 +0200 (SAST) (envelope-from jkruger@oskar.nanoteq.co.za) Message-ID: <38215719.21C7A907@oskar.nanoteq.co.za> Date: Thu, 04 Nov 1999 11:51:22 +0200 From: Johan Kruger Reply-To: jkruger@oskar.nanoteq.co.za Organization: Nanoteq X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: passwd and chat Content-Type: multipart/mixed; boundary="------------9785ED3441D1AFA72BC6E3D0" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------9785ED3441D1AFA72BC6E3D0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit How can i use chat on the command line to enter a new password without interaction with passwd . For example , i want to use chat to reply on New password and Retype password, something like this : # chat `passwd` ew passw: qwerty: etype pass: qwerty But the above doesn't work. --------------9785ED3441D1AFA72BC6E3D0 Content-Type: text/x-vcard; charset=us-ascii; name="jkruger.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Johan Kruger Content-Disposition: attachment; filename="jkruger.vcf" begin:vcard n:Kruger;Johan tel;cell:+27 83 3015923 tel;fax:+27 12 6651343 tel;home:+27 83 3015923 tel;work:+27 12 6651338 x-mozilla-html:FALSE org:Nanoteq;Development version:2.1 email;internet:jkruger@oskar.nanoteq.co.za title:Mr adr;quoted-printable:;;P.O BOX 12872=0D=0AOnderstepoort=0D=0A0110=0D=0ASouth Africa;Pretoria;Gauteng;0110;South Africa x-mozilla-cpt:;1920 fn:Johan Kruger end:vcard --------------9785ED3441D1AFA72BC6E3D0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 9:24:31 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id B85B1152C5 for ; Thu, 4 Nov 1999 09:24:28 -0800 (PST) (envelope-from adsharma@c62443-a.frmt1.sfba.home.com) Received: from c62443-a.frmt1.sfba.home.com ([24.0.69.165]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19991104172304.WNAO11261.mail.rdc1.sfba.home.com@c62443-a.frmt1.sfba.home.com>; Thu, 4 Nov 1999 09:23:04 -0800 Received: (from adsharma@localhost) by c62443-a.frmt1.sfba.home.com (8.9.3/8.9.3) id JAA00787; Thu, 4 Nov 1999 09:23:04 -0800 Date: Thu, 4 Nov 1999 09:23:04 -0800 From: Arun Sharma To: "Matthew N. Dodd" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats Message-ID: <19991104092304.A708@home.com> References: <19991103215642.A31757@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Matthew N. Dodd on Thu, Nov 04, 1999 at 02:53:51AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 04, 1999 at 02:53:51AM -0500, Matthew N. Dodd wrote: > On Wed, 3 Nov 1999, Arun Sharma wrote: > > A user program makes a system call with this string "cpu.system" to get > > the current value of user/system/nice time etc. > > How is this different from doing: > > # sysctl -a | grep load > vm.loadavg: { 0.15 0.09 0.04 } > > Ideally we could have a syscall that could return the OID for a given name > to solve the portability and speed issues associated with doing repeated > lookups. > > Seems like you've reinvented the wheel to me. I just looked at the sysctl implementation and there are some differences. Moreover, since it was not being used in tools like vmstat and xosview, I thought there must be a reason. sysctl also seems to assume that it doesn't get called frequently. So mapping the name to the sysctl data is a slightly more heavy duty operation than a hash table lookup. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 9:36:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id C8E6A150C2 for ; Thu, 4 Nov 1999 09:36:41 -0800 (PST) (envelope-from nick@rapidnet.com) Received: from localhost (nick@localhost) by rapidnet.com (8.9.3/8.9.3) with ESMTP id KAA85032; Thu, 4 Nov 1999 10:35:39 -0700 (MST) Date: Thu, 4 Nov 1999 10:35:39 -0700 (MST) From: Nick Rogness To: Johan Kruger Cc: freebsd-hackers@freebsd.org Subject: Re: passwd and chat In-Reply-To: <38215719.21C7A907@oskar.nanoteq.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 Thu, 4 Nov 1999, Johan Kruger wrote: > How can i use chat on the command line to enter a new password without > interaction with passwd . > For example , i want to use chat to reply on New password and Retype > password, something like this : Why use chat when you can use pw(8)? Example: # echo "password" | pw usermod -n username -h 0 ******************************************************** Nick Rogness File not found... System Administrator Should I fake it (Y/N)? RapidNet, INC ******************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 9:53:31 1999 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 A5C3215947 for ; Thu, 4 Nov 1999 09:53:11 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id MAA24253; Thu, 4 Nov 1999 12:52:50 -0500 (EST) Date: Thu, 4 Nov 1999 12:52:50 -0500 (EST) From: "Matthew N. Dodd" To: Arun Sharma Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <19991104092304.A708@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 Thu, 4 Nov 1999, Arun Sharma wrote: > I just looked at the sysctl implementation and there are some differences. > Moreover, since it was not being used in tools like vmstat and xosview, > I thought there must be a reason. > > sysctl also seems to assume that it doesn't get called frequently. So > mapping the name to the sysctl data is a slightly more heavy duty > operation than a hash table lookup. Wouldn't hashing the sysctl OIDs be the way to go then? Why invent another namespace? -- | 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 Thu Nov 4 10:49:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f63.law3.hotmail.com [209.185.241.63]) by hub.freebsd.org (Postfix) with SMTP id 0511C1568B for ; Thu, 4 Nov 1999 10:49:15 -0800 (PST) (envelope-from rbernardini@hotmail.com) Received: (qmail 89041 invoked by uid 0); 4 Nov 1999 18:46:54 -0000 Message-ID: <19991104184654.89040.qmail@hotmail.com> Received: from 200.32.103.30 by www.hotmail.com with HTTP; Thu, 04 Nov 1999 10:46:54 PST X-Originating-IP: [200.32.103.30] From: "Ricardo Bernardini" To: freebsd-hackers@freebsd.org Cc: mike@smith.net.au Subject: Re: kstat - an API for gathering kernel stats Date: Thu, 04 Nov 1999 15:46:54 ART Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----Original Message Follows---- From: Mike Smith >You can add "counters" with sysctl. You can also add read/write >variables of any type. You can add them dynamically at runtime? How do you know which counters are available at a given time? >One thing that puzzles me; you say "userland processes can add their >own". What value would that have, since there'd be nothing in the >kernel that would do anything with such an object? But if a user mode server can mantain performance statistics there, then some performance monitoring tool would be able to query that counters and allow some analysis. It can be done by other means, but I think it can be usefull having it all together using a unique system call. Saludos / Regards Ricardo ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 11:18: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lunatic.oneinsane.net (lunatic.oneinsane.net [207.113.133.231]) by hub.freebsd.org (Postfix) with ESMTP id 1536B14DA1 for ; Thu, 4 Nov 1999 11:18:00 -0800 (PST) (envelope-from insane@lunatic.oneinsane.net) Received: by lunatic.oneinsane.net (Postfix, from userid 1000) id 3C4AB196; Thu, 4 Nov 1999 11:17:23 -0800 (PST) Date: Thu, 4 Nov 1999 11:17:23 -0800 From: Ron 'The InSaNe One' Rosson To: freebsd-hackers@freebsd.org Subject: Re: (forw) Reversing 32Upgrade package Message-ID: <19991104111722.A24023@lunatic.oneinsane.net> Reply-To: Ron Rosson References: <19991103121517.A2736@lunatic.oneinsane.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <19991103121517.A2736@lunatic.oneinsane.net> X-Operating-System: FreeBSD lunatic.oneinsane.net 3.3-STABLE X-Opinion: What you read here is my IMHO X-Disclaimer: I am a firm believer in RTFM X-WWW: http://www.oneinsane.net X-PGP-KEY: http://www.oneinsane.net/~insane/insane2-pgp5i.txt X-Uptime: 11:14AM up 2 days, 2:27, 1 user, load averages: 0.04, 0.05, 0.01 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 03 Nov 1999, Ron 'The InSaNe One' Rosson was heard blurting out: > > Is there anyway to reverse 32upgrade package after it has been installed > on a 2.2.8-STABLE system. This is on a production box and rebuilding is > not an option I have time to explore. > > Here is what I am getting when I try to compile a port.. If someone tells me what and where the file is that is causing this and how to correct I would be in your debt. tcp_wrappers_7.6.tar.gz doesn't seem to exist on this system. Attempting to fetch from ftp://ftp.win.tue.nl/pub/security/. ELF interpreter /usr/libexec/ld-elf.so.1 not found Abort trap TIA -- ------------------------------------------------------------------- Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * insane@oneinsane.net and all was /dev/null and *void() ------------------------------------------------------------------- "One of these days, people will be required to take written exams to use computers. I cannot wait for that day." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 11:20:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f224.law3.hotmail.com [209.185.241.224]) by hub.freebsd.org (Postfix) with SMTP id 22FD714EEC for ; Thu, 4 Nov 1999 11:20:15 -0800 (PST) (envelope-from rbernardini@hotmail.com) Received: (qmail 17391 invoked by uid 0); 4 Nov 1999 19:19:27 -0000 Message-ID: <19991104191927.17390.qmail@hotmail.com> Received: from 200.32.103.30 by www.hotmail.com with HTTP; Thu, 04 Nov 1999 11:19:25 PST X-Originating-IP: [200.32.103.30] From: "Ricardo Bernardini" To: crandall@matchlogic.com Cc: freebsd-hackers@freebsd.org Subject: Re: Compiling elf gcc 2.7.2.3 on FreeBSD 3.3-R? Date: Thu, 04 Nov 1999 16:19:25 ART Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems you're missing the src distribution. It should resolve your crt0.o and your gnumalloc problems. ...I think. ----Original Message Follows---- From: Charles Randall After an unsuccessful attempt at asking this on -questions... I believe that I could work my way through the problem below if I could build a vanilla gcc 2.7.2.3 on FreeBSD 3.3-R. Attempting to build a fresh 2.7.2.3, 1. configure 2. remove references to gnumalloc in Makefile and cp/Makefile 3. make LANGUAGES=c and I get --- snip --- ./xgcc -B./ -DIN_GCC -g -I./include enquire.o -o enquire /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory *** Error code 1 Stop. --- snip --- I presume that this is an a.out vs elf issue -- gcc is trying to build an a.out version and 3.3-R is elf. However, I get the same problem if I try configure with "configure i386-elf-freebsd". Suggestions? Charles P.S. I know that 3.3-R uses gcc 2.7.2.3 internally. However, I would like to build a separate binary for StackGuard. -----Original Message----- From: Charles Randall [mailto:crandall@matchlogic.com] Sent: Tuesday, November 02, 1999 9:37 AM To: freebsd-questions@freebsd.org Subject: Immunix Stackguard for FreeBSD? Has anyone successfully built Immunix stackguard on FreeBSD? Here's a link to the original research project, http://www.cse.ogi.edu/DISC/projects/immunix/StackGuard/ The latest development seems to be reflected here, http://www.wirex.com/ and http://immunix.org/ On the downloads page at immunix.org, there's an RPM of patches to gcc 2.7.2.3. I've un-packed that on my 3.3-R system, applied all of the patches, run 'configure', and 'make LANGUAGES=c'. First, the build fails trying to find gnumalloc. After removing that dependency in Makefile and cp/Makefile (assuming that BSD malloc will be used), the build eventually dies with: --- snip --- ./xgcc -B./ -DIN_GCC -O -I./include enquire.o -o enquire /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory *** Error code 1 Stop. --- snip --- I presume that this is because 3.3-R uses elf and gcc is trying to build an a.out version. Thinking about that a bit, I ran 'make distclean', 'configure i386-elf-freebsd', and 'make LANGUAGES=c' in an attempt to build an elf-specific version. After removing the dependencies on gnumalloc again, the build died in the same place, --- snip --- ./xgcc -B./ -DIN_GCC -O -I./include enquire.o -o enquire /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory *** Error code 1 Stop. --- snip --- Am I missing a compatibility library or something? Suggestions? Charles 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 +------------------------------+-----------------------------------+ |Ricardo Bernardini | "No entiendo por que todos ponen | |rbernardini@hotmail.com | alguna frase celebre aqui" | |+54-11-4404-4525 | "I don't understand why everybody | |Buenos Aires, Argentina | puts a quote in here" | +------------------------------+-----------------------------------+ ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 11:26:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from paradox.nexuslabs.com (cc718001-a.vron1.nj.home.com [24.11.70.21]) by hub.freebsd.org (Postfix) with ESMTP id 4967714DA1 for ; Thu, 4 Nov 1999 11:26:12 -0800 (PST) (envelope-from cyouse@paradox.nexuslabs.com) Received: from localhost (cyouse@localhost) by paradox.nexuslabs.com (8.9.3/8.9.3) with ESMTP id OAA09935; Thu, 4 Nov 1999 14:23:28 -0500 (EST) (envelope-from cyouse@paradox.nexuslabs.com) Date: Thu, 4 Nov 1999 14:23:28 -0500 (EST) From: Chuck Youse To: Ricardo Bernardini Cc: freebsd-hackers@FreeBSD.ORG, mike@smith.net.au Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <19991104184654.89040.qmail@hotmail.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 Such an interface, for generic userland statistical gathering, need not be [and thus should not be] implemented via a kernel-land system call. bloat, bloat, bloat. Chuck On Thu, 4 Nov 1999, Ricardo Bernardini wrote: > ----Original Message Follows---- > From: Mike Smith > > >You can add "counters" with sysctl. You can also add read/write > >variables of any type. > > You can add them dynamically at runtime? How do you know which counters are > available at a given time? > > >One thing that puzzles me; you say "userland processes can add their > >own". What value would that have, since there'd be nothing in the > >kernel that would do anything with such an object? > > But if a user mode server can mantain performance statistics there, then > some performance monitoring tool would be able to query that counters and > allow some analysis. It can be done by other means, but I think it can be > usefull having it all together using a unique system call. > > Saludos / Regards > Ricardo > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 11:46:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mailer.syr.edu (mailer.syr.edu [128.230.18.29]) by hub.freebsd.org (Postfix) with ESMTP id CA29B14DA1 for ; Thu, 4 Nov 1999 11:46:09 -0800 (PST) (envelope-from cmsedore@mailbox.syr.edu) Received: from rodan.syr.edu by mailer.syr.edu (LSMTP for Windows NT v1.1a) with SMTP id <0.360BC840@mailer.syr.edu>; Thu, 4 Nov 1999 14:45:18 -0500 Received: from localhost (cmsedore@localhost) by rodan.syr.edu (8.8.7/8.8.7) with ESMTP id OAA09825; Thu, 4 Nov 1999 14:45:13 -0500 (EST) X-Authentication-Warning: rodan.syr.edu: cmsedore owned process doing -bs Date: Thu, 4 Nov 1999 14:45:12 -0500 (EST) From: Christopher Sedore X-Sender: cmsedore@rodan.syr.edu To: "Daniel C. Sobral" Cc: Ricardo Bernardini , freebsd-hackers@FreeBSD.ORG Subject: Re: aio Functions In-Reply-To: <3821B6BD.D48EEB1C@newsguy.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, 5 Nov 1999, Daniel C. Sobral wrote: > Ricardo Bernardini wrote: > > > > Well !! That's far more than the things I'm having trouble with!! I'm not > > being able to make ONE asynchronous read. I've tried the aio functions with > > file I/O and it worked fine, I've also tried the socket I/O with read() and > > it worked fine too. But when I issue the read to the async queue an try to > > get its status aio_error returns -1 and sets errno to EINVAL. > > Anyway this is a test program just to become familiar with the fucntions > > before actually using them, so I really need more information about them, > > and the aiocb_t struct. > > Be aware that aio is not implemented for all things that you can get > an fd for. It was originally implemented *only* for files, though I > was under the impression that support for sockets was later added. Is this accurate? I thought that you can do an aio_read() for anything that you can do a read() (except for DTYPE_VNODE descriptors, an aiod just latches onto the process fd table and address space then sets up a uio and calls the *fp->f_ops->fo_read). For the 8 months I've been playing with the aio, the sockets have always been there, but the way that they worked left much to be desired IMHO. -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 12:39:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 2B5B314C86; Thu, 4 Nov 1999 12:39:09 -0800 (PST) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id VAA17259; Thu, 4 Nov 1999 21:17:48 +0100 (MET) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id UAA01072; Thu, 4 Nov 1999 20:39:23 +0100 (CET) (envelope-from wilko) From: Wilko Bulte Message-Id: <199911041939.UAA01072@yedi.iaf.nl> Subject: Re: FreeBSD FibreChannel support In-Reply-To: from Matthew Jacob at "Nov 4, 1999 8:19:22 am" To: mjacob@feral.com Date: Thu, 4 Nov 1999 20:39:23 +0100 (CET) Cc: jmb@hub.freebsd.org, adsharma@home.com, freebsd-hackers@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.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 As Matthew Jacob wrote ... What does not help is that Emulex consider's their hardware / software interface a trade secret. Meaning NDAs etc. At least this is the last thing I heared. Wilko > We support the Qlogic 2100/2200 cards currently for both private loop and > fabrics. The emulex card is popular, but nobody's written a driver for it for > FreeBSD. > > > On Thu, 4 Nov 1999, Jonathan M. Bresler wrote: > > > > > Matt, > > > > Thank you for lunch at the South American resturant in > > Berkeley during the FreeBSDCon. > > > > Do we have a FibreChannel driver for FreeBSD? Ideally, I am > > looking for arbitrated loop support on the emulex cards. > > > > jmb -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl 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 Nov 4 12:40:22 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 4F6FE14EEC; Thu, 4 Nov 1999 12:40:14 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral.com (8.8.7/8.8.7) with ESMTP id MAA11879; Thu, 4 Nov 1999 12:44:34 -0800 Date: Thu, 4 Nov 1999 12:44:34 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Wilko Bulte Cc: jmb@hub.freebsd.org, adsharma@home.com, freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD FibreChannel support In-Reply-To: <199911041939.UAA01072@yedi.iaf.nl> 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 Well, don't laugh too hard, but so does Qlogic in a sense. I've just recently had to remove their f/w from the NetBSD and FreeBSD CVS repositories because the copyright was not so good. And in order to get the technical manuals that describe the f/w interface you have to sign an NDA. On Thu, 4 Nov 1999, Wilko Bulte wrote: > As Matthew Jacob wrote ... > > What does not help is that Emulex consider's their hardware / software > interface a trade secret. Meaning NDAs etc. > > At least this is the last thing I heared. > > Wilko > > > We support the Qlogic 2100/2200 cards currently for both private loop and > > fabrics. The emulex card is popular, but nobody's written a driver for it for > > FreeBSD. > > > > > > On Thu, 4 Nov 1999, Jonathan M. Bresler wrote: > > > > > > > > Matt, > > > > > > Thank you for lunch at the South American resturant in > > > Berkeley during the FreeBSDCon. > > > > > > Do we have a FibreChannel driver for FreeBSD? Ideally, I am > > > looking for arbitrated loop support on the emulex cards. > > > > > > jmb > > -- > | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - > |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl 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 Nov 4 13: 7:21 1999 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 462991513D; Thu, 4 Nov 1999 13:07:06 -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 OAA74688; Thu, 4 Nov 1999 14:05:49 -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 OAA09591; Thu, 4 Nov 1999 14:05:07 -0700 (MST) Message-Id: <199911042105.OAA09591@harmony.village.org> To: Robert Withrow Subject: Re: Netgear FA410 pccard ethernet? Cc: Guy Middleton , hackers@FreeBSD.ORG, Wes Peters , mobile@FreeBSD.ORG In-reply-to: Your message of "Wed, 03 Nov 1999 13:42:29 EST." <199911031842.NAA51126@tuva.engeast.baynetworks.com> References: <199911031842.NAA51126@tuva.engeast.baynetworks.com> Date: Thu, 04 Nov 1999 14:05:07 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199911031842.NAA51126@tuva.engeast.baynetworks.com> Robert Withrow writes: : When the card attaches it is called a Linksys and it runs with the ed driver, : and gives me good performance on a 100Tx network. The linksys support in normal freebsd was added only since FreeBSD Con. If this card uses the same linksys chipset, we may make it work in freebsd by removing the check against NIC interface address that is there now. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 13:10:56 1999 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 CE58A1513D for ; Thu, 4 Nov 1999 13:10:53 -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 OAA74709; Thu, 4 Nov 1999 14:10: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 OAA09628; Thu, 4 Nov 1999 14:10:08 -0700 (MST) Message-Id: <199911042110.OAA09628@harmony.village.org> To: Guy Middleton Subject: Re: Netgear FA410 pccard ethernet? Cc: rjs@fdy2.demon.co.uk, hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 03 Nov 1999 17:42:13 EST." <19991103174213.A3692@chaos.obstruction.com> References: <19991103174213.A3692@chaos.obstruction.com> <19991103103009.A2495@chaos.obstruction.com> <19991103154228.4F7BE14DBD@hub.freebsd.org> Date: Thu, 04 Nov 1999 14:10:08 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991103174213.A3692@chaos.obstruction.com> Guy Middleton writes: : I just installed PAO, and it now works fine. Thanks for everybody's help. Looks like a good argument for removing the MAC address check in the linksys probe code... What's MAC does PAO report for this card? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 13:11:40 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.33.127]) by hub.freebsd.org (Postfix) with ESMTP id B25F81513D; Thu, 4 Nov 1999 13:11:37 -0800 (PST) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from lestat (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with ESMTP id NAA17594; Thu, 4 Nov 1999 13:11:20 -0800 (PST) Message-Id: <199911042111.NAA17594@lestat.nas.nasa.gov> To: mjacob@feral.com Cc: Wilko Bulte , jmb@hub.freebsd.org, adsharma@home.com, freebsd-hackers@FreeBSD.ORG, current-users@netbsd.org Subject: Re: FreeBSD FibreChannel support Reply-To: Jason Thorpe From: Jason Thorpe Date: Thu, 04 Nov 1999 13:11:20 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 4 Nov 1999 12:44:34 -0800 (PST) Matthew Jacob wrote: > Well, don't laugh too hard, but so does Qlogic in a sense. I've just recently > had to remove their f/w from the NetBSD and FreeBSD CVS repositories because > the copyright was not so good. And in order to get the technical manuals that > describe the f/w interface you have to sign an NDA. ...yet in OpenBSD, you commit something completely different, with the following commit message: roll internal revision levels and enable 1080 support ...and as anyone can plainly see by looking at the following URL: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/microcode/isp/asm_pci.h?r1=1.3&r2=1.4 ...you simply placed a BSD-style copyright/license on it: /* * Copyright (c) 1995, 1996, 1997, 1998 by Qlogic Corporation + * + * 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 immediately at the beginning of the file, without modification, + * this list of conditions, and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of Qlogic may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY QLOGIC ``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 AUTHOR OR CONTRIBUTORS 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. */ What gives? Why wasn't this committed to the NetBSD and FreeBSD trees, too? I mean, it's not like the version in the NetBSD tree works anymore since you removed the firmware (on-board firmware on most of the adapters I have is way too old, for example). Any reason NetBSD and FreeBSD don't just lift the firmware images you committed to OpenBSD? -- Jason R. Thorpe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 13:31: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 0749514EFC for ; Thu, 4 Nov 1999 13:30:58 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40325>; Fri, 5 Nov 1999 08:24:43 +1100 Content-return: prohibited Date: Fri, 5 Nov 1999 08:30:13 +1100 From: Peter Jeremy Subject: Re: Granularity of disk I/O To: freebsd-hackers@FreeBSD.ORG Reply-To: peter.jeremy@alcatel.com.au Message-Id: <99Nov5.082443est.40325@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0pre3i Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 3 Nov 1999 11:37:42 -0800 (PST), Matthew Dillon wrote: > The directory blocking is there for a different reason. Atomicy does not > have much to do with it though perhaps it did at some point in the past. Hmmm... /usr/include/ufs/ufs/dir.h states: * A directory consists of some number of blocks of DIRBLKSIZ * bytes, where DIRBLKSIZ is chosen such that it can be transferred * to disk in a single atomic operation (e.g. 512 bytes on most machines). (Interestingly, DIRBLKSIZ is defined as DEV_BSIZE (== 512) in , 1024 in and 512 in ). If atomicity is no longer a requirement, there would seem to be advantages in changing the directory block size to match the FS block size. In particular, this would reduce the number of unusable fragments at the end of directory blocks (particularly where large filenames are used), and speed up (marginally) skipping empty blocks. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 13:31:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from obstruction.com (cr211472-a.ym1.on.wave.home.com [24.114.3.188]) by hub.freebsd.org (Postfix) with ESMTP id 96DA615170 for ; Thu, 4 Nov 1999 13:31:16 -0800 (PST) (envelope-from guy@obstruction.com) Received: (from guy@localhost) by obstruction.com (8.9.2/8.9.2) id QAA07708; Thu, 4 Nov 1999 16:30:27 -0500 (EST) (envelope-from guy) Date: Thu, 4 Nov 1999 16:30:27 -0500 From: Guy Middleton To: Warner Losh Cc: rjs@fdy2.demon.co.uk, hackers@FreeBSD.ORG Subject: Re: Netgear FA410 pccard ethernet? Message-ID: <19991104163027.A7691@chaos.obstruction.com> References: <19991103174213.A3692@chaos.obstruction.com> <19991103103009.A2495@chaos.obstruction.com> <19991103154228.4F7BE14DBD@hub.freebsd.org> <19991103174213.A3692@chaos.obstruction.com> <199911042110.OAA09628@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199911042110.OAA09628@harmony.village.org>; from Warner Losh on Thu, Nov 04, 1999 at 04:10:08PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 04, 1999 at 04:10:08PM -0500, Warner Losh wrote: > In message <19991103174213.A3692@chaos.obstruction.com> Guy Middleton writes: > : I just installed PAO, and it now works fine. Thanks for everybody's help. > > Looks like a good argument for removing the MAC address check in the > linksys probe code... What's MAC does PAO report for this card? PAO says the address is 00:50:ba:a7:ff:95. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 13:42: 1 1999 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 608) id 84EA715271; Thu, 4 Nov 1999 13:41:59 -0800 (PST) From: "Jonathan M. Bresler" To: imp@village.org Cc: bwithrow@nortelnetworks.com, guy@obstruction.com, hackers@FreeBSD.ORG, wes@softweyr.com, mobile@FreeBSD.ORG In-reply-to: <199911042105.OAA09591@harmony.village.org> (message from Warner Losh on Thu, 04 Nov 1999 14:05:07 -0700) Subject: Re: Netgear FA410 pccard ethernet? Message-Id: <19991104214159.84EA715271@hub.freebsd.org> Date: Thu, 4 Nov 1999 13:41:59 -0800 (PST) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > In message <199911031842.NAA51126@tuva.engeast.baynetworks.com> Robert Withrow writes: > : When the card attaches it is called a Linksys and it runs with the ed driver, > : and gives me good performance on a 100Tx network. > > Date: Thu, 04 Nov 1999 14:05:07 -0700 > From: Warner Losh > The linksys support in normal freebsd was added only since FreeBSD > Con. If this card uses the same linksys chipset, we may make it work > in freebsd by removing the check against NIC interface address that is > there now. if we remove the OUI check, then we are relying on the checksum alone. that sounds fine provided that other none Lninksys/dl10019c cards will fail the checksum. what do other nic cards have at those addresses (sc->asic_addr[0x04..0x0f])? jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 13:53:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 0DADB14C2B; Thu, 4 Nov 1999 13:53:18 -0800 (PST) (envelope-from mjacob@feral.com) Received: (from mjacob@localhost) by feral.com (8.8.7/8.8.7) id NAA12126; Thu, 4 Nov 1999 13:57:24 -0800 Date: Thu, 4 Nov 1999 13:57:24 -0800 From: Matthew Jacob Message-Id: <199911042157.NAA12126@feral.com> To: thorpej@nas.nasa.gov Subject: Re: FreeBSD FibreChannel support Cc: , adsharma@home.com, Bulte@feral.com, current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG, jmb@hub.freebsd.org, Wilko@feral.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >What gives? Why wasn't this committed to the NetBSD and FreeBSD trees, >too? I mean, it's not like the version in the NetBSD tree works anymore >since you removed the firmware (on-board firmware on most of the adapters >I have is way too old, for example). > >Any reason NetBSD and FreeBSD don't just lift the firmware images you >committed to OpenBSD? Because what I did was wrong. It should also be removed from OpenBSD. I've had extensive discussions with Theo about this, and the f/w will probably be removed from OpenBSD as soon as the tree unlocks post 2.6. Unless Qlogic agrees to a BSD style licence. So far, they've not been helpful at all. One alternative I've been discussing with the Qlogic folks is to flesh out their beta linux driver to have these f/w sets, and point people at them. There are many possible ways around this, and for this, and I think it's a huge pain, but it really should not have been handled the way I handled it so far. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 14: 1:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.33.127]) by hub.freebsd.org (Postfix) with ESMTP id 1976915173; Thu, 4 Nov 1999 14:01:46 -0800 (PST) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from lestat (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with ESMTP id OAA17952; Thu, 4 Nov 1999 14:01:27 -0800 (PST) Message-Id: <199911042201.OAA17952@lestat.nas.nasa.gov> To: Matthew Jacob Cc: wilko@yedi.iaf.nl, adsharma@home.com, Bulte@feral.com, current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG, jmb@hub.freebsd.org, Wilko@feral.com Subject: Re: FreeBSD FibreChannel support Reply-To: Jason Thorpe From: Jason Thorpe Date: Thu, 04 Nov 1999 14:01:27 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 4 Nov 1999 13:57:24 -0800 Matthew Jacob wrote: > Because what I did was wrong. It should also be removed from OpenBSD. > I've had extensive discussions with Theo about this, and the f/w will > probably be removed from OpenBSD as soon as the tree unlocks post 2.6. > Unless Qlogic agrees to a BSD style licence. So far, they've not been > helpful at all. So, OpenBSD is going to ship software with known bogus license terms? Someone should report this to Qlogic, Corp. so that they have a change to defend their intellectual property. > I think it's a huge pain, but it really should not have been handled > the way I handled it so far. ...especially considering that a fair number of previously happy Qlogic ISP users now have completely useless boards. -- Jason R. Thorpe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 14: 7:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id E6CA915136 for ; Thu, 4 Nov 1999 14:07:13 -0800 (PST) (envelope-from adsharma@c62443-a.frmt1.sfba.home.com) Received: from c62443-a.frmt1.sfba.home.com ([24.0.69.165]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19991104220551.BVFX11261.mail.rdc1.sfba.home.com@c62443-a.frmt1.sfba.home.com>; Thu, 4 Nov 1999 14:05:51 -0800 Received: (from adsharma@localhost) by c62443-a.frmt1.sfba.home.com (8.9.3/8.9.3) id OAA01360; Thu, 4 Nov 1999 14:05:51 -0800 Date: Thu, 4 Nov 1999 14:05:51 -0800 From: Arun Sharma To: "Matthew N. Dodd" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats Message-ID: <19991104140551.A1331@home.com> References: <19991104092304.A708@home.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=vtzGhvizbBRQ85DL X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Matthew N. Dodd on Thu, Nov 04, 1999 at 12:52:50PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii On Thu, Nov 04, 1999 at 12:52:50PM -0500, Matthew N. Dodd wrote: > On Thu, 4 Nov 1999, Arun Sharma wrote: > > I just looked at the sysctl implementation and there are some differences. > > Moreover, since it was not being used in tools like vmstat and xosview, > > I thought there must be a reason. > > > > sysctl also seems to assume that it doesn't get called frequently. So > > mapping the name to the sysctl data is a slightly more heavy duty > > operation than a hash table lookup. > > Wouldn't hashing the sysctl OIDs be the way to go then? > > Why invent another namespace? > Please see the attached mail. Yes - I didn't look closely at sysctl, before I started working on kstat. My argument is that we need different interfaces for kernel tuning (which is what sysctl seems to be good at) and kernel performance statistics collection. The former activity is more heavy weight than the latter. -Arun --vtzGhvizbBRQ85DL Content-Type: message/rfc822 Date: Thu, 4 Nov 1999 09:58:41 -0800 From: Arun Sharma To: "Ronald G. Minnich" Subject: Re: kstat - an API for gathering kernel stats Message-ID: <19991104095841.B708@home.com> References: <19991103215642.A31757@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Ronald G. Minnich on Thu, Nov 04, 1999 at 08:26:14AM -0700 On Thu, Nov 04, 1999 at 08:26:14AM -0700, Ronald G. Minnich wrote: > quick question: is this better than sysctl, and if so why? I worry about > adding new system calls. To be honest, I didn't look closely at sysctl before I started writing kstat, which was primarily meant to be an exercise in learning BSD. A few differences: (a) sysctl seems to be more appropriate for kernel tuning than performance monitoring. Even if it can do performance monitoring as efficiently as kstat, I think it makes sense to keep the kernel tuning and performance monitoring interfaces separate. (b) kstat uses a hash table lookup to map the counter name to the counter value. Which should make it a little bit faster. (c) kstat allows multiple instances of the same counter (cpu.nice for CPU1 and CPU2 for eg). -Arun --vtzGhvizbBRQ85DL-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 14: 7:24 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gw-nl4.philips.com (gw-nl4.philips.com [192.68.44.36]) by hub.freebsd.org (Postfix) with ESMTP id 6D39F155E5 for ; Thu, 4 Nov 1999 14:07:17 -0800 (PST) (envelope-from jbackus@plex.nl) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl4.philips.com with ESMTP id XAA21769 for ; Thu, 4 Nov 1999 23:04:45 +0100 (MET) (envelope-from jbackus@plex.nl) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl4.philips.com via mwrap (4.0a) id xma021765; Thu, 4 Nov 99 23:04:45 +0100 Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with SMTP id XAA15976 for ; Thu, 4 Nov 1999 23:04:45 +0100 (MET) Received: (qmail 86551 invoked from network); 4 Nov 1999 22:05:05 -0000 Received: from nld113-30.ods.origin-it.com (HELO jos.bugworks.com) (172.16.122.89) by hal.mpn.cp.philips.com with SMTP; 4 Nov 1999 22:05:05 -0000 Received: (qmail 85972 invoked by uid 1000); 4 Nov 1999 22:05:30 -0000 Date: Thu, 4 Nov 1999 23:05:30 +0100 From: Jos Backus To: freebsd-hackers@freebsd.org Subject: ftpd feature: lock file being stored Message-ID: <19991104230530.B84284@jos.bugworks.com> Reply-To: Jos Backus 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 This patch adds a ``-x'' flag to ftpd, which instructs ftpd to obtain an exclusive lock on files it commits to disk as a result of a store operation. This way it becomes easy to tell whether a download has finished, in case the file needs to be copied someplace else (as in my case). I used open()/fdopen() instead of fopen()/flock() to avoid the obvious race. I didn't see any easier ways to accomplish this, but if someone else does, please let me know. And if this is deemed worthy of a PR, I will send one in. Thanks. For testing, I used the following script which shows newly downloaded files: #!/bin/sh while : do ls | while read file do lockf -k -s -t 0 $file ls -l $file done sleep 10 done The patch: --- ftpd.c.orig Mon Sep 20 19:45:09 1999 +++ ftpd.c Thu Nov 4 22:49:49 1999 @@ -132,6 +132,7 @@ int restricted_data_ports = 1; int paranoid = 1; /* be extra careful about security */ int anon_only = 0; /* Only anonymous ftp allowed */ +int use_locking = 0; /* Attempt to lock exclusively while storing */ int guest; int dochroot; int stats; @@ -281,7 +282,7 @@ bind_address.s_addr = htonl(INADDR_ANY); - while ((ch = getopt(argc, argv, "AdlDSURt:T:u:va:p:")) != -1) { + while ((ch = getopt(argc, argv, "AdlDSURt:T:u:xva:p:")) != -1) { switch (ch) { case 'D': daemon_mode++; @@ -343,6 +344,10 @@ anon_only = 1; break; + case 'x': + use_locking = 1; + break; + case 'v': debug = 1; break; @@ -1338,7 +1343,34 @@ if (restart_point) mode = "r+"; - fout = fopen(name, mode); + if (use_locking) { + int fdout; + int flags; + mode_t create_mode = S_IRUSR | S_IWUSR + | S_IRGRP | S_IWGRP + | S_IROTH | S_IWOTH; + + switch (*mode) { + case 'a': + flags = O_CREAT | O_WRONLY | O_APPEND; + case 'w': + flags = O_CREAT | O_WRONLY | O_TRUNC; + default: /* "r+" */ + flags = O_RDWR; + } + + flags |= O_EXLOCK; + if (flags & O_CREAT) + fdout = open(name, flags, create_mode); + else + fdout = open(name, flags); + if (fdout < 0) + fout = NULL; + else + fout = fdopen(fdout, mode); + } else { + fout = fopen(name, mode); + } closefunc = fclose; if (fout == NULL) { perror_reply(553, name); -- Jos Backus _/ _/_/_/ "Modularity is not a hack." _/ _/ _/ -- D. J. Bernstein _/ _/_/_/ _/ _/ _/ _/ jbackus@plex.nl _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 14:22:37 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id BAE7B1568D; Thu, 4 Nov 1999 14:22:33 -0800 (PST) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id WAA23043; Thu, 4 Nov 1999 22:59:41 +0100 (MET) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id WAA02452; Thu, 4 Nov 1999 22:27:01 +0100 (CET) (envelope-from wilko) From: Wilko Bulte Message-Id: <199911042127.WAA02452@yedi.iaf.nl> Subject: Re: FreeBSD FibreChannel support In-Reply-To: from Matthew Jacob at "Nov 4, 1999 12:44:34 pm" To: mjacob@feral.com Date: Thu, 4 Nov 1999 22:27:00 +0100 (CET) Cc: jmb@hub.freebsd.org, adsharma@home.com, freebsd-hackers@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.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 As Matthew Jacob wrote ... I'm not laughing, I think it is a bit sad. I *do* have the Emulex docs available thru my employer. But I can't really use them... Wilko > Well, don't laugh too hard, but so does Qlogic in a sense. I've just recently > had to remove their f/w from the NetBSD and FreeBSD CVS repositories because > the copyright was not so good. And in order to get the technical manuals that > describe the f/w interface you have to sign an NDA. > > > On Thu, 4 Nov 1999, Wilko Bulte wrote: > > > As Matthew Jacob wrote ... > > > > What does not help is that Emulex consider's their hardware / software > > interface a trade secret. Meaning NDAs etc. > > > > At least this is the last thing I heared. > > > > Wilko > > > > > We support the Qlogic 2100/2200 cards currently for both private loop and > > > fabrics. The emulex card is popular, but nobody's written a driver for it for > > > FreeBSD. > > > > > > > > > On Thu, 4 Nov 1999, Jonathan M. Bresler wrote: > > > > > > > > > > > Matt, > > > > > > > > Thank you for lunch at the South American resturant in > > > > Berkeley during the FreeBSDCon. > > > > > > > > Do we have a FibreChannel driver for FreeBSD? Ideally, I am > > > > looking for arbitrated loop support on the emulex cards. -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl 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 Nov 4 16:55:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from phoenix.aye.net (phoenix.aye.net [206.185.8.134]) by hub.freebsd.org (Postfix) with SMTP id 2336E157D9 for ; Thu, 4 Nov 1999 16:55:33 -0800 (PST) (envelope-from barrett@phoenix.aye.net) Received: (qmail 19900 invoked by uid 1000); 5 Nov 1999 00:55:50 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 5 Nov 1999 00:55:50 -0000 Date: Thu, 4 Nov 1999 19:55:50 -0500 (EST) From: Barrett Richardson To: Charles Randall Cc: freebsd-hackers@freebsd.org Subject: Re: Compiling elf gcc 2.7.2.3 on FreeBSD 3.3-R? In-Reply-To: <64003B21ECCAD11185C500805F31EC0304621A6C@houston.matchlogic.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 Thu, 4 Nov 1999, Charles Randall wrote: > After an unsuccessful attempt at asking this on -questions... > > I believe that I could work my way through the problem below if I could > build a vanilla gcc 2.7.2.3 on FreeBSD 3.3-R. > > Attempting to build a fresh 2.7.2.3, > > 1. configure > 2. remove references to gnumalloc in Makefile and cp/Makefile > 3. make LANGUAGES=c > > and I get > > --- snip --- > ./xgcc -B./ -DIN_GCC -g -I./include enquire.o -o enquire > /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory > *** Error code 1 > > Stop. > --- snip --- > > I presume that this is an a.out vs elf issue -- gcc is trying to build an > a.out version and 3.3-R is elf. However, I get the same problem if I try > configure with "configure i386-elf-freebsd". > > Suggestions? > > Charles The culprit is STARTFILE_SPEC in config/i386/freebsd.h. In 3.2 replacing it with /usr/src/contrib/gcc/config/i386/freebsd.h took careof it (been putting off getting stackguard up and going on 3.3). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 17:22:29 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 005ED151AF; Thu, 4 Nov 1999 17:22:08 -0800 (PST) (envelope-from mjacob@feral.com) Received: from gw100.feral.com (root@femr [128.0.0.2]) by feral.com (8.8.7/8.8.7) with ESMTP id RAA13024; Thu, 4 Nov 1999 17:26:06 -0800 Received: from feral.com (mjacob@feral.com [192.67.166.1]) by gw100.feral.com (8.8.7/8.8.7) with ESMTP id RAA05127; Thu, 4 Nov 1999 17:21:18 -0800 Date: Thu, 4 Nov 1999 17:21:18 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Jason Thorpe Cc: wilko@yedi.iaf.nl, adsharma@home.com, Bulte@feral.com, current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG, jmb@hub.freebsd.org, Wilko@feral.com Subject: Re: FreeBSD FibreChannel support In-Reply-To: <199911042201.OAA17952@lestat.nas.nasa.gov> 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, 4 Nov 1999, Jason Thorpe wrote: > On Thu, 4 Nov 1999 13:57:24 -0800 > Matthew Jacob wrote: > > > Because what I did was wrong. It should also be removed from OpenBSD. > > I've had extensive discussions with Theo about this, and the f/w will > > probably be removed from OpenBSD as soon as the tree unlocks post 2.6. > > Unless Qlogic agrees to a BSD style licence. So far, they've not been > > helpful at all. > > So, OpenBSD is going to ship software with known bogus license terms? > Someone should report this to Qlogic, Corp. so that they have a change > to defend their intellectual property. No- Actually Theo just got through making it clear that *all* of the ISP driver support would be pulled from OpenBSD if they didn't quit farting around. It appears based upon mail I just got from Qlogic that they have agreed to allow the use of *BSD licences. That'd be good. If you see the f/w go back into the trees in the next day or so, that'll mean all is well again. > > > I think it's a huge pain, but it really should not have been handled > > the way I handled it so far. > > ...especially considering that a fair number of previously happy > Qlogic ISP users now have completely useless boards. No, that's not correct either. Here's an editted copy of what I sent to board@netbsd.org explaining what the ramifications of removing the firmware were: ============================================================================= What you'll get now for SBus and PCI versions is whatever is both resident on the card *and has been set running by the firmware* (i.e., loaded from (relatively undocumented) flashram to SRAM and the RISC processor reset (no doubt with the same copyrights embedded in it, but distributed with the h/w, not the s/w...:-(). ------- The implications of this are as follows: + SCCLUN/FABRIC Fibre Channel feature sets are not likely to be available, as these are not resident on the 2100/2200 cards. It is possible to programmatically determine whether fabric support exists by attempting to get a port database entry for the fabric name server (if that fails, you're either on a private loop or you don't have fabric support in the firmware). As yet I have not figured out a way to programmatically determine whether SCCLUN (65535 lun) is enabled or not. + Target mode support will be unavailable, as this is not likely to be in the resident f/w. + It is unlike that any fibre channel cards will work on non-BIOS platforms. The more recent Alpha SRMs claim to understand the 2100 (but not the 2200)- but as best as I can tell, don't set the resident f/w running. + All SBus cards will fall back to whatever is resident. This is now about 6 years old and buggy. It may or may be true that UltraSCSI SBus cards will work. I don't know. + All the feature sets for newer Fibre Channel and parallel SCSI that are available in newer firmware (fast posting interrupts, better port database management, other things) will not be available. What this may or may not mean practically, I don't know. I've always tried limit certain features based upon firmware level, but that may be broken in subtle ways. + By the same token, I have never done much testing *w/o* loading f/w. We'll have to see what transpires. The net effect of all of this, in my opinion, is that the isp driver will mostly work, but NetBSD will no longer be a candidate for any serious development or leading edge work certainly in Fibre Channel until this is somehow fixed. Certainly not for anything like working with target mode or SAN development. ----- The technical work I was planning was: + Determination/Documentation of how to burn new f/w into the card using f/w and/or tools publicly available from Qlogic's website. I have the f/w on my ftp/website. *I'm* not worried about the legal folderol. Maybe foolishly, maybe not. Maybe I'll just docuemnt where it can all be found. Hell, some of it's on the Qlogic website under Beta drivers for linux (which I now cannot find again! I know it's there... somewhere...) + Determination of how to get extract resident f/w from flashram and get it downloaded into SRAM so that cards not started by by OBP or SRM could still be made to work. Ideally, the f/w should not have to be hauled along and downloaded each reboot anyway as it's quite bulky. From a pragmatic and usage point of view, any utility that you have to run out of band to perform brain surgery on your hardware makes that hardware unattractive and you won't use it unless you have to. ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 17:45:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.33.127]) by hub.freebsd.org (Postfix) with ESMTP id 5D1AB150A9; Thu, 4 Nov 1999 17:45:41 -0800 (PST) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from lestat (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with ESMTP id RAA18728; Thu, 4 Nov 1999 17:42:45 -0800 (PST) Message-Id: <199911050142.RAA18728@lestat.nas.nasa.gov> To: mjacob@feral.com Cc: wilko@yedi.iaf.nl, adsharma@home.com, Bulte@feral.com, current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG, jmb@hub.freebsd.org, Wilko@feral.com Subject: Re: FreeBSD FibreChannel support Reply-To: Jason Thorpe From: Jason Thorpe Date: Thu, 04 Nov 1999 17:42:44 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 4 Nov 1999 17:21:18 -0800 (PST) Matthew Jacob wrote: > > ...especially considering that a fair number of previously happy > > Qlogic ISP users now have completely useless boards. > > No, that's not correct either. Here's an editted copy of what I sent to Well, it is. At least some AlphaStation 500 owners have reported previously (i.e. before you changed the driver to always upload the firmware!) that the ISP driver did NOT work with the version of the firmware flashed into the board. > + By the same token, I have never done much testing *w/o* loading f/w. > We'll have to see what transpires. Well, my AlphaStation 500 didn't work. I went back to using a previous version of the driver I had in another source tree. -- Jason R. Thorpe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 17:52:11 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id BC72C157C6; Thu, 4 Nov 1999 17:51:58 -0800 (PST) (envelope-from mjacob@feral.com) Received: from gw100.feral.com (root@femr [128.0.0.2]) by feral.com (8.8.7/8.8.7) with ESMTP id RAA13184; Thu, 4 Nov 1999 17:54:02 -0800 Received: from feral.com (mjacob@feral.com [192.67.166.1]) by gw100.feral.com (8.8.7/8.8.7) with ESMTP id RAA05338; Thu, 4 Nov 1999 17:48:36 -0800 Date: Thu, 4 Nov 1999 17:48:36 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Jason Thorpe Cc: wilko@yedi.iaf.nl, adsharma@home.com, Bulte@feral.com, current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG, jmb@hub.freebsd.org, Wilko@feral.com Subject: Re: FreeBSD FibreChannel support In-Reply-To: <199911050142.RAA18728@lestat.nas.nasa.gov> 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, 4 Nov 1999, Jason Thorpe wrote: > On Thu, 4 Nov 1999 17:21:18 -0800 (PST) > Matthew Jacob wrote: > > > > ...especially considering that a fair number of previously happy > > > Qlogic ISP users now have completely useless boards. > > > > No, that's not correct either. Here's an editted copy of what I sent to > > Well, it is. At least some AlphaStation 500 owners have reported > previously (i.e. before you changed the driver to always upload > the firmware!) that the ISP driver did NOT work with the version of > the firmware flashed into the board. Any send-prs? Did you send me any mail about it now, or did you sit on this information just to deliver it a week later? Oh well, nil importe'.... > > > + By the same token, I have never done much testing *w/o* loading f/w. > > We'll have to see what transpires. > > Well, my AlphaStation 500 didn't work. I went back to using a previous > version of the driver I had in another source tree. Hmm. Interesting. My AlphaStation 500/600 worked fine. So did all the machines I tried this with the exception of the machine with a Qlogic board that *has* no f/w (blew it's brains out a year ago). Well, whaddya know.... Well, it'll all be fixed again. But I do plan to leave the f/w off by default from now on to save space, so if people want things to work, please submit reasonable reports (email finds me, y'all know where) as to why it's not working instead of making it top secret. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 17:54:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from monk.via.net (monk.via.net [209.81.2.10]) by hub.freebsd.org (Postfix) with ESMTP id 0C67114BEA for ; Thu, 4 Nov 1999 17:54:30 -0800 (PST) (envelope-from joe@monk.via.net) Received: (from joe@localhost) by monk.via.net (8.9.3/8.9.3) id RAA72647 for hackers@freebsd.org; Thu, 4 Nov 1999 17:56:09 -0800 (PST) (envelope-from joe) From: Joe McGuckin Message-Id: <199911050156.RAA72647@monk.via.net> Date: Thu, 4 Nov 1999 17:56:09 -0800 (PST) To: hackers@freebsd.org Subject: unable to compile current X-Mailer: Ishmail 1.3.1-970608-bsdi MIME-Version: 1.0 Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ===> f77doc /usr/obj/usr/src/gnu/usr.bin/cc/f77doc created for /usr/src/gnu/usr.bin/cc/f77do c cd /usr/src/gnu/lib/libgcc; /usr/obj/usr/src/tmp/usr/bin/make -DWORLD -DNOINFO - DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED cleandepend; /usr/obj/usr/src/tmp/usr/bin /make -DWORLD -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED all; /usr/obj/usr /src/tmp/usr/bin/make -DWORLD -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -B for some time now, I have been unable to get a clean compile of the 'current' src tree. Here's where it fails. Any ideas ? Joe ===> f77doc /usr/obj/usr/src/gnu/usr.bin/cc/f77doc created for /usr/src/gnu/usr.bin/cc/f77do c cd /usr/src/gnu/lib/libgcc; /usr/obj/usr/src/tmp/usr/bin/make -DWORLD -DNOINFO - DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED cleandepend; /usr/obj/usr/src/tmp/usr/bin /make -DWORLD -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED all; /usr/obj/usr /src/tmp/usr/bin/make -DWORLD -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -B install; /usr/obj/usr/src/tmp/usr/bin/make -DWORLD -DNOINFO -DNOMAN -DNOPROFIL E -DNOSHARED -B cleandir obj rm -f .depend /usr/obj/usr/src/gnu/lib/libgcc/GPATH /usr/obj/usr/src/gnu/lib/lib gcc/GRTAGS /usr/obj/usr/src/gnu/lib/libgcc/GSYMS /usr/obj/usr/src/gnu/lib/libgc c/GTAGS echo '#include ' > config.h echo '#include ' >> config.h echo '#include "i386/xm-i386.h"' > tconfig.h echo '#include "i386/i386.h"' > tm.h echo '#include "i386/att.h"' >> tm.h echo '#include "i386/freebsd.h"' >> tm.h echo '#include "i386/perform.h"' >> tm.h cc -c -O -pipe -I/usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc/config -I/usr /src/gnu/lib/libgcc/../../../contrib/egcs/gcc -I. -fexceptions -DIN_GCC -I/usr/o bj/usr/src/tmp/usr/include -DL_mulsi3 -o _mulsi3.o /usr/src/gnu/lib/libgcc/../.. /../contrib/egcs/gcc/libgcc1.c *** Signal 12 Stop in /usr/src/gnu/lib/libgcc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 -- Joe McGuckin ViaNet Communications 994 San Antonio Road Palo Alto, CA 94303 Phone: 650-969-2203 Cell: 650-207-0372 Fax: 650-969-2124 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 18:12:20 1999 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 A64DD14D6A for ; Thu, 4 Nov 1999 18:11: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 TAA75444; Thu, 4 Nov 1999 19:11:26 -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 TAA11135; Thu, 4 Nov 1999 19:10:48 -0700 (MST) Message-Id: <199911050210.TAA11135@harmony.village.org> To: Guy Middleton Subject: Re: Netgear FA410 pccard ethernet? Cc: rjs@fdy2.demon.co.uk, hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 04 Nov 1999 16:30:27 EST." <19991104163027.A7691@chaos.obstruction.com> References: <19991104163027.A7691@chaos.obstruction.com> <19991103174213.A3692@chaos.obstruction.com> <19991103103009.A2495@chaos.obstruction.com> <19991103154228.4F7BE14DBD@hub.freebsd.org> <19991103174213.A3692@chaos.obstruction.com> <199911042110.OAA09628@harmony.village.org> Date: Thu, 04 Nov 1999 19:10:48 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991104163027.A7691@chaos.obstruction.com> Guy Middleton writes: : PAO says the address is 00:50:ba:a7:ff:95. Which driver does PAO use for this card? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 18:14:48 1999 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 DFC5914EE6; Thu, 4 Nov 1999 18:14:42 -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 TAA75457; Thu, 4 Nov 1999 19:13:54 -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 TAA11166; Thu, 4 Nov 1999 19:13:17 -0700 (MST) Message-Id: <199911050213.TAA11166@harmony.village.org> To: "Jonathan M. Bresler" Subject: Re: Netgear FA410 pccard ethernet? Cc: bwithrow@nortelnetworks.com, guy@obstruction.com, hackers@FreeBSD.ORG, wes@softweyr.com, mobile@FreeBSD.ORG In-reply-to: Your message of "Thu, 04 Nov 1999 13:41:59 PST." <19991104214159.84EA715271@hub.freebsd.org> References: <19991104214159.84EA715271@hub.freebsd.org> Date: Thu, 04 Nov 1999 19:13:16 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991104214159.84EA715271@hub.freebsd.org> "Jonathan M. Bresler" writes: : if we remove the OUI check, then we are relying on the : checksum alone. that sounds fine provided that other none : Lninksys/dl10019c cards will fail the checksum. : : what do other nic cards have at those addresses : (sc->asic_addr[0x04..0x0f])? You are correct. The original PAO code that I saw didn't have the MAC address checks as a sanity check, which is why I suggested removing it. If the card does indeed work with the ed driver in PAO, then I think we should just remove the MAC checks in -current because this list is > 3 and we generally don't check elsewhere in the kernel for sane addresses (the fe driver does, I know, but only for a limited number of cards). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 18:29:13 1999 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 8641A1568B for ; Thu, 4 Nov 1999 18:29:10 -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 TAA75504; Thu, 4 Nov 1999 19:28:00 -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 TAA11285; Thu, 4 Nov 1999 19:27:22 -0700 (MST) Message-Id: <199911050227.TAA11285@harmony.village.org> To: Roger Hardiman Subject: Re: Is there anything like #ifdef BSD Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 27 Oct 1999 11:07:25 BST." <3816CEDD.446B@cs.strath.ac.uk> References: <3816CEDD.446B@cs.strath.ac.uk> Date: Thu, 04 Nov 1999 19:27:22 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3816CEDD.446B@cs.strath.ac.uk> Roger Hardiman writes: : #if defined (BSD) : or #ifdef BSD #include BSD will be defined on BSD systems, for what it is worth. However, these days #ifndef linux #endif works just about as well and is often time more accurate in describing what needs to happen in the code :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 18:30:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 684CE15753 for ; Thu, 4 Nov 1999 18:30:11 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id SAA00592; Thu, 4 Nov 1999 18:20:49 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911050220.SAA00592@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Ricardo Bernardini" Cc: freebsd-hackers@freebsd.org Subject: Re: kstat - an API for gathering kernel stats In-reply-to: Your message of "Thu, 04 Nov 1999 15:46:54 +0700." <19991104184654.89040.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Nov 1999 18:20:48 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > ----Original Message Follows---- > From: Mike Smith > > >You can add "counters" with sysctl. You can also add read/write > >variables of any type. > > You can add them dynamically at runtime? How do you know which counters are > available at a given time? The same way you do it with any other mechanism; you enumerate them, or just try to look up the one(s) you're interested in. > >One thing that puzzles me; you say "userland processes can add their > >own". What value would that have, since there'd be nothing in the > >kernel that would do anything with such an object? > > But if a user mode server can mantain performance statistics there, then > some performance monitoring tool would be able to query that counters and > allow some analysis. It can be done by other means, but I think it can be > usefull having it all together using a unique system call. I'm not at all sure that's a good idea. You end up either having to attach the nodes to the process that's created them, or you end up with stale nodes when the process dies (see the ipcrm fiasco). -- \\ 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 Nov 4 18:39:31 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id CD9DE15742 for ; Thu, 4 Nov 1999 18:39:29 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id SAA00664; Thu, 4 Nov 1999 18:30:01 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911050230.SAA00664@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Arun Sharma Cc: "Matthew N. Dodd" , freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-reply-to: Your message of "Thu, 04 Nov 1999 14:05:51 PST." <19991104140551.A1331@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Nov 1999 18:30:01 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > --vtzGhvizbBRQ85DL > Content-Type: text/plain; charset=us-ascii > > On Thu, Nov 04, 1999 at 12:52:50PM -0500, Matthew N. Dodd wrote: > > On Thu, 4 Nov 1999, Arun Sharma wrote: > > > I just looked at the sysctl implementation and there are some differences. > > > Moreover, since it was not being used in tools like vmstat and xosview, > > > I thought there must be a reason. > > > > > > sysctl also seems to assume that it doesn't get called frequently. So > > > mapping the name to the sysctl data is a slightly more heavy duty > > > operation than a hash table lookup. > > > > Wouldn't hashing the sysctl OIDs be the way to go then? > > > > Why invent another namespace? > > > > Please see the attached mail. Yes - I didn't look closely at sysctl, before > I started working on kstat. My argument is that we need different interfaces > for kernel tuning (which is what sysctl seems to be good at) and kernel > performance statistics collection. > > The former activity is more heavy weight than the latter. Sysctl is faster than kstat once you have performed the name->oid lookup. There is basically nothing that kstat can do that sysctl can't do better and faster, apart from lookup-by-name. -- \\ 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 Nov 4 18:41:11 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from obstruction.com (cr211472-a.ym1.on.wave.home.com [24.114.3.188]) by hub.freebsd.org (Postfix) with ESMTP id C515B156BD for ; Thu, 4 Nov 1999 18:41:09 -0800 (PST) (envelope-from guy@obstruction.com) Received: (from guy@localhost) by obstruction.com (8.9.2/8.9.2) id VAA08969; Thu, 4 Nov 1999 21:39:25 -0500 (EST) (envelope-from guy) Date: Thu, 4 Nov 1999 21:39:25 -0500 From: Guy Middleton To: Warner Losh Cc: rjs@fdy2.demon.co.uk, hackers@FreeBSD.ORG Subject: Re: Netgear FA410 pccard ethernet? Message-ID: <19991104213925.A8955@chaos.obstruction.com> References: <19991104163027.A7691@chaos.obstruction.com> <19991103174213.A3692@chaos.obstruction.com> <19991103103009.A2495@chaos.obstruction.com> <19991103154228.4F7BE14DBD@hub.freebsd.org> <19991103174213.A3692@chaos.obstruction.com> <199911042110.OAA09628@harmony.village.org> <19991104163027.A7691@chaos.obstruction.com> <199911050210.TAA11135@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199911050210.TAA11135@harmony.village.org>; from Warner Losh on Thu, Nov 04, 1999 at 09:10:48PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 04, 1999 at 09:10:48PM -0500, Warner Losh wrote: > In message <19991104163027.A7691@chaos.obstruction.com> Guy Middleton writes: > : PAO says the address is 00:50:ba:a7:ff:95. > > Which driver does PAO use for this card? It uses "ed"; here is the PAO version of pccard.conf: # Generally available IO ports io 0x240-0x3ff # Generally available IRQs (DEPRECATED, USE OF THE OPTION IS DISCOURAGED) #irq 10 11 # Unavailable IRQs #ignirq 9 # refrain from using SoundBlaster's IRQ, by default. ignirq 5 # it may be helful for most of notebook PCs #ignirq 15 # Available memory slots memory 0xd4000 96k # BayNetworks NETGEAR FA410TXC Fast Ethernet card "NETGEAR" "FA410TX" "Fast Ethernet" config default "ed0" any insert logger -s NETGEAR FA410TX inserted insert /etc/pccard_ether $device remove logger -s NETGEAR FA410TX removed remove /etc/pccard_ether_remove $device To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 18:43:40 1999 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 82000157A9; Thu, 4 Nov 1999 18:43:37 -0800 (PST) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-117-149.bellatlantic.net [151.198.117.149]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id VAA02683; Thu, 4 Nov 1999 21:38:44 -0500 (EST) Message-ID: <38224476.B1D52286@bellatlantic.net> Date: Thu, 04 Nov 1999 21:44:06 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.0-980222-SNAP i386) MIME-Version: 1.0 To: Matthew Jacob Cc: thorpej@nas.nasa.gov, wilko@yedi.iaf.nl, adsharma@home.com, Bulte@feral.com, current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG, jmb@hub.freebsd.org, Wilko@feral.com Subject: Re: FreeBSD FibreChannel support References: <199911042157.NAA12126@feral.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob wrote: > > >What gives? Why wasn't this committed to the NetBSD and FreeBSD trees, > >too? I mean, it's not like the version in the NetBSD tree works anymore > >since you removed the firmware (on-board firmware on most of the adapters > >I have is way too old, for example). > > > >Any reason NetBSD and FreeBSD don't just lift the firmware images you > >committed to OpenBSD? > > Because what I did was wrong. It should also be removed from OpenBSD. > I've had extensive discussions with Theo about this, and the f/w will > probably be removed from OpenBSD as soon as the tree unlocks post 2.6. > Unless Qlogic agrees to a BSD style licence. So far, they've not been > helpful at all. The QLogic firmware can be downloaded from the Qlogic WWW site (for 2100 there is a link on the page http://www.qlc.com/bbs-html/qla2100.html , I guess the same it true for the other boards) and flashed onto the board. I'm not sure about the Alpha systems but on PC their flash utility works fine. I used it recently to get it working with a commercial Unix. Or is it some different kind of firmware ? -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 19: 9:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 4722314CA5 for ; Thu, 4 Nov 1999 19:09:15 -0800 (PST) (envelope-from mjacob@feral.com) Received: from gw100.feral.com (root@femr [128.0.0.2]) by feral.com (8.8.7/8.8.7) with ESMTP id TAA13627 for ; Thu, 4 Nov 1999 19:13:45 -0800 Received: from feral.com (mjacob@feral.com [192.67.166.1]) by gw100.feral.com (8.8.7/8.8.7) with ESMTP id TAA05925; Thu, 4 Nov 1999 19:00:00 -0800 Date: Thu, 4 Nov 1999 19:00:00 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Sergey Babkin Cc: Jason Thorpe , wilko@yedi.iaf.nl, adsharma@home.com, current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG, jmb@hub.freebsd.org Subject: Re: FreeBSD FibreChannel support In-Reply-To: <38224476.B1D52286@bellatlantic.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 > Matthew Jacob wrote: > > > > >What gives? Why wasn't this committed to the NetBSD and FreeBSD trees, > > >too? I mean, it's not like the version in the NetBSD tree works anymore > > >since you removed the firmware (on-board firmware on most of the adapters > > >I have is way too old, for example). > > > > > >Any reason NetBSD and FreeBSD don't just lift the firmware images you > > >committed to OpenBSD? > > > > Because what I did was wrong. It should also be removed from OpenBSD. > > I've had extensive discussions with Theo about this, and the f/w will > > probably be removed from OpenBSD as soon as the tree unlocks post 2.6. > > Unless Qlogic agrees to a BSD style licence. So far, they've not been > > helpful at all. > > The QLogic firmware can be downloaded from the Qlogic WWW site (for 2100 > there is a link on the page http://www.qlc.com/bbs-html/qla2100.html , > I guess the same it true for the other boards) and flashed onto the board. > I'm not sure about the Alpha systems but on PC their flash utility works > fine. I used it recently to get it working with a commercial Unix. > > Or is it some different kind of firmware ? See other mail for the details. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 19:22:54 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 9B7C514DE6 for ; Thu, 4 Nov 1999 19:22:53 -0800 (PST) (envelope-from adsharma@c62443-a.frmt1.sfba.home.com) Received: from c62443-a.frmt1.sfba.home.com ([24.0.69.165]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19991105032253.IIBD11261.mail.rdc1.sfba.home.com@c62443-a.frmt1.sfba.home.com>; Thu, 4 Nov 1999 19:22:53 -0800 Received: (from adsharma@localhost) by c62443-a.frmt1.sfba.home.com (8.9.3/8.9.3) id TAA02224; Thu, 4 Nov 1999 19:22:53 -0800 Date: Thu, 4 Nov 1999 19:22:52 -0800 From: Arun Sharma To: Mike Smith Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats Message-ID: <19991104192252.A2194@home.com> References: <19991104140551.A1331@home.com> <199911050230.SAA00664@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199911050230.SAA00664@dingo.cdrom.com>; from Mike Smith on Thu, Nov 04, 1999 at 06:30:01PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 04, 1999 at 06:30:01PM -0800, Mike Smith wrote: > Sysctl is faster than kstat once you have performed the name->oid > lookup. There is basically nothing that kstat can do that sysctl can't > do better and faster, apart from lookup-by-name. Can a loadable module, say a network driver register variables with sysctl ? Can sysctl itself be made a loadable module ? As for the speed, I don't think it is an issue - I can add another interface for getting a kstatid and make it fast. I'm not really saying that kstat is better than sysctl. In fact, it was an oversight on my part not to look closely at sysctl. My goal was to get some tools - specifically ktop and xosview to work on FreeBSD. So I don't particularly care how we get there - if it means adding a few more variables to the sysctl MIB, so be it. Now, if I make those changes and submit a patch, will it be considered for inclusion ? -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 19:32:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by hub.freebsd.org (Postfix) with ESMTP id D637314DE6 for ; Thu, 4 Nov 1999 19:32:37 -0800 (PST) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org ([216.62.157.60]) by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FKP004SYGEPIS@mta4.rcsntx.swbell.net> for freebsd-hackers@FreeBSD.ORG; Thu, 4 Nov 1999 21:30:26 -0600 (CST) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id VAA20261; Thu, 04 Nov 1999 21:31:03 -0600 (CST envelope-from chris) X-URL: http://www.FreeBSD.org/~chris/ Date: Thu, 04 Nov 1999 21:31:02 -0600 From: Chris Costello Subject: Re: kstat - an API for gathering kernel stats In-reply-to: <19991104192252.A2194@home.com> To: Arun Sharma Cc: Mike Smith , freebsd-hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <19991104213102.V602@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i X-Operating-System: FreeBSD 4.0-CURRENT (i386) References: <19991104140551.A1331@home.com> <199911050230.SAA00664@dingo.cdrom.com> <19991104192252.A2194@home.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 04, 1999, Arun Sharma wrote: > Can a loadable module, say a network driver register variables with > sysctl ? Can sysctl itself be made a loadable module ? As for the speed, a.) Yes. b.) No - it can't be. -- |Chris Costello |It is easier to write an incorrect program than understand a correct one. `------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 20:11:27 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id AD69C1567E for ; Thu, 4 Nov 1999 20:11:24 -0800 (PST) (envelope-from adsharma@c62443-a.frmt1.sfba.home.com) Received: from c62443-a.frmt1.sfba.home.com ([24.0.69.165]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19991105041022.JGBB11261.mail.rdc1.sfba.home.com@c62443-a.frmt1.sfba.home.com>; Thu, 4 Nov 1999 20:10:22 -0800 Received: (from adsharma@localhost) by c62443-a.frmt1.sfba.home.com (8.9.3/8.9.3) id UAA02313; Thu, 4 Nov 1999 20:10:22 -0800 Date: Thu, 4 Nov 1999 20:10:21 -0800 From: Arun Sharma To: Chris Costello Cc: Mike Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats Message-ID: <19991104201021.A2302@home.com> References: <19991104140551.A1331@home.com> <199911050230.SAA00664@dingo.cdrom.com> <19991104192252.A2194@home.com> <19991104213102.V602@holly.calldei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <19991104213102.V602@holly.calldei.com>; from Chris Costello on Thu, Nov 04, 1999 at 09:31:02PM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 04, 1999 at 09:31:02PM -0600, Chris Costello wrote: > On Thu, Nov 04, 1999, Arun Sharma wrote: > > Can a loadable module, say a network driver register variables with > > sysctl ? Can sysctl itself be made a loadable module ? As for the speed, > > a.) Yes. I don't see any examples in sys/modules. The SYSCTL_INT macros eventually expands to DATA_SET which puts certain data in a different ELF section. In other words, sysctl seems to be relying on physical adjacency of certain structures after linkage is done. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 20:46:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 71B8E14E09 for ; Thu, 4 Nov 1999 20:46:53 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id UAA01309; Thu, 4 Nov 1999 20:36:36 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911050436.UAA01309@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Arun Sharma Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-reply-to: Your message of "Thu, 04 Nov 1999 19:22:52 PST." <19991104192252.A2194@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Nov 1999 20:36:36 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, Nov 04, 1999 at 06:30:01PM -0800, Mike Smith wrote: > > Sysctl is faster than kstat once you have performed the name->oid > > lookup. There is basically nothing that kstat can do that sysctl can't > > do better and faster, apart from lookup-by-name. > > Can a loadable module, say a network driver register variables with > sysctl ? Can sysctl itself be made a loadable module ? As for the speed, > I don't think it is an issue - I can add another interface for getting > a kstatid and make it fast. Yes and no - sysctl is too central to the operation of the system to become optional. And the only reason I mentioned speed was that you were touting it as a benefit of kstat. > I'm not really saying that kstat is better than sysctl. In fact, it > was an oversight on my part not to look closely at sysctl. My goal > was to get some tools - specifically ktop and xosview to work on > FreeBSD. So I don't particularly care how we get there - if it means > adding a few more variables to the sysctl MIB, so be it. That would be the right way to do it, yes. > Now, if I make those changes and submit a patch, will it be considered > for inclusion ? Sure! -- \\ 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 Nov 4 20:47:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 8BEB6150B7 for ; Thu, 4 Nov 1999 20:47:46 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id UAA01327; Thu, 4 Nov 1999 20:38:50 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911050438.UAA01327@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Arun Sharma Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-reply-to: Your message of "Thu, 04 Nov 1999 20:10:21 PST." <19991104201021.A2302@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Nov 1999 20:38:50 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, Nov 04, 1999 at 09:31:02PM -0600, Chris Costello wrote: > > On Thu, Nov 04, 1999, Arun Sharma wrote: > > > Can a loadable module, say a network driver register variables with > > > sysctl ? Can sysctl itself be made a loadable module ? As for the speed, > > > > a.) Yes. > > I don't see any examples in sys/modules. The SYSCTL_INT macros eventually > expands to DATA_SET which puts certain data in a different ELF section. You don't do anything magic at all; it's handled invisibly by the kernel linker. -- \\ 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 Nov 4 20:51: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id 2BB4414DF3; Thu, 4 Nov 1999 20:51:03 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 1CD041CD7FE; Thu, 4 Nov 1999 20:51:02 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Thu, 4 Nov 1999 20:51:02 -0800 (PST) From: Kris Kennaway To: Joe McGuckin Cc: hackers@freebsd.org Subject: Re: unable to compile current In-Reply-To: <199911050156.RAA72647@monk.via.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 Thu, 4 Nov 1999, Joe McGuckin wrote: > for some time now, I have been unable to get a clean compile of the 'current' > src tree. 1) Wrong forum 2) RTFMailingList Sorry, but this is such an ignorance that you would have had to put -zero- effort into tracking it down not to find the answer. If you're not prepared to do what it takes, you should not be running -current. Go and find the solution on your own. Kris ---- Cthulhu for President! For when you're tired of choosing the _lesser_ of two evils.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 21:43:31 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail1.panix.com (mail1.panix.com [166.84.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 3EB4B14DE6 for ; Thu, 4 Nov 1999 21:43:28 -0800 (PST) (envelope-from tls@panix.com) Received: from panix6.panix.com (panix6.panix.com [166.84.0.231]) by mail1.panix.com (Postfix) with ESMTP id 389053107D; Fri, 5 Nov 1999 00:42:40 -0500 (EST) Received: (from tls@localhost) by panix6.panix.com (8.8.8/8.7.1/PanixN1.0) id AAA15762; Fri, 5 Nov 1999 00:42:40 -0500 (EST) Date: Fri, 5 Nov 1999 00:42:40 -0500 From: Thor Lancelot Simon To: Matthew Jacob Cc: current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD FibreChannel support Message-ID: <19991105004240.A11645@rek.tjls.com> Reply-To: tls@rek.tjls.com References: <199911050142.RAA18728@lestat.nas.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 04, 1999 at 05:48:36PM -0800, Matthew Jacob wrote: > On Thu, 4 Nov 1999, Jason Thorpe wrote: > > > On Thu, 4 Nov 1999 17:21:18 -0800 (PST) > > Matthew Jacob wrote: > > > > > > ...especially considering that a fair number of previously happy > > > > Qlogic ISP users now have completely useless boards. > > > > > > No, that's not correct either. Here's an editted copy of what I sent to > > > > Well, it is. At least some AlphaStation 500 owners have reported > > previously (i.e. before you changed the driver to always upload > > the firmware!) that the ISP driver did NOT work with the version of > > the firmware flashed into the board. > > Any send-prs? Did you send me any mail about it now, or did you sit on > this information just to deliver it a week later? Oh well, nil > importe'.... Jason tells me you have my card which exhibited exactly this symptom with a pc164 two years ago, though it worked in an x86 box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Nov 4 21:50:19 1999 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 D1A2414DE6 for ; Thu, 4 Nov 1999 21:50:15 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id AAA09556; Fri, 5 Nov 1999 00:49:49 -0500 (EST) Date: Fri, 5 Nov 1999 00:49:48 -0500 (EST) From: "Matthew N. Dodd" To: Mike Smith Cc: Arun Sharma , freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <199911050230.SAA00664@dingo.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 Thu, 4 Nov 1999, Mike Smith wrote: > Sysctl is faster than kstat once you have performed the name->oid > lookup. There is basically nothing that kstat can do that sysctl can't > do better and faster, apart from lookup-by-name. Except for dynamic registration right? -- | 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 Thu Nov 4 22:22: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mrtc.org (waena.mrtc.org [199.4.33.17]) by hub.freebsd.org (Postfix) with ESMTP id 3162C14DA4; Thu, 4 Nov 1999 22:21:42 -0800 (PST) (envelope-from puga@maui.com) Received: from maui.com (root@puga.mauibuilt.com [205.166.10.2]) by mrtc.org (8.8.4/8.8.4) with ESMTP id UAA29558; Thu, 4 Nov 1999 20:33:17 -1000 (HST) Message-ID: <382276A8.D00481BF@maui.com> Date: Thu, 04 Nov 1999 20:18:17 -1000 From: Richard Puga Organization: Maui Built Machines X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: pao-report@clave.gr.jp, freebsd-mobile@freebsd.org, hackers@freebsd.org Subject: PCMCIA Chipset Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am having trouble with a PCMCIA chipset I have a ISA to PCMCIA adaptor, it is made by ActionTec model no. PC-250 www.actiontec.com the chip on it has the following information on it; D japan DB6082 1992 DATABOOK 1992 FMI FUJITSU 1992 9412 E57 the avalible I/O addresses are 200h 240h 280h 2c0h 300h 340h and 380h is this controler supported by FreeBSD, PAO maybe? if so how do you impliment it in the kernel config. Thank you Richard A. Puga FreeBSD or not thease cards are selling at a good price at www.computergeeks.com if anyone is interested. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 1:41:47 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (castles502.castles.com [208.214.165.66]) by hub.freebsd.org (Postfix) with ESMTP id 1AFBC14EA4 for ; Fri, 5 Nov 1999 01:41:44 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id BAA00472; Fri, 5 Nov 1999 01:32:48 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911050932.BAA00472@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Matthew N. Dodd" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-reply-to: Your message of "Fri, 05 Nov 1999 00:49:48 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 05 Nov 1999 01:32:48 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, 4 Nov 1999, Mike Smith wrote: > > Sysctl is faster than kstat once you have performed the name->oid > > lookup. There is basically nothing that kstat can do that sysctl can't > > do better and faster, apart from lookup-by-name. > > Except for dynamic registration right? No, Peter fixed that a while back. -- \\ 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 Nov 5 1:56:34 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 4119115836 for ; Fri, 5 Nov 1999 01:56:29 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11jg6L-0001iR-00; Fri, 05 Nov 1999 11:56:09 +0200 From: Sheldon Hearn To: Jos Backus Cc: freebsd-hackers@freebsd.org Subject: Re: ftpd feature: lock file being stored In-reply-to: Your message of "Thu, 04 Nov 1999 23:05:30 +0100." <19991104230530.B84284@jos.bugworks.com> Date: Fri, 05 Nov 1999 11:56:09 +0200 Message-ID: <6598.941795769@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 04 Nov 1999 23:05:30 +0100, Jos Backus wrote: > This patch adds a ``-x'' flag to ftpd, which instructs ftpd to obtain > an exclusive lock on files it commits to disk as a result of a store > operation. This way it becomes easy to tell whether a download has > finished, in case the file needs to be copied someplace else (as in my > case). So fstat(1) doesn't show you that the file is opened to ftpd? You really have to lock the files to help you with this problem? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 2:16: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gw-nl4.philips.com (gw-nl4.philips.com [192.68.44.36]) by hub.freebsd.org (Postfix) with ESMTP id 33C8D158DC for ; Fri, 5 Nov 1999 02:15:39 -0800 (PST) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl4.philips.com with ESMTP id LAA16469 for ; Fri, 5 Nov 1999 11:15:13 +0100 (MET) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl4.philips.com via mwrap (4.0a) id xma016460; Fri, 5 Nov 99 11:15:14 +0100 Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with SMTP id LAA07114 for ; Fri, 5 Nov 1999 11:15:10 +0100 (MET) Received: (qmail 4536 invoked by uid 666); 5 Nov 1999 10:15:18 -0000 Date: Fri, 5 Nov 1999 11:15:18 +0100 From: Jos Backus To: Sheldon Hearn Cc: Jos Backus , freebsd-hackers@freebsd.org Subject: Re: ftpd feature: lock file being stored Message-ID: <19991105111518.A2328@hal.mpn.cp.philips.com> Reply-To: Jos Backus References: <19991104230530.B84284@jos.bugworks.com> <6598.941795769@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <6598.941795769@axl.noc.iafrica.com>; from sheldonh@uunet.co.za on Fri, Nov 05, 1999 at 11:56:09AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > So fstat(1) doesn't show you that the file is opened to ftpd? No, it does indeed show that. > You really have to lock the files to help you with this problem? It seems a more natural solution to me than grepping for ftpd in fstat's output regarding the file. Also, I think that approach introduces races when you have more than one program/script polling the directory. -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 2:19:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 64900158A5 for ; Fri, 5 Nov 1999 02:19:26 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11jgRp-0001ri-00; Fri, 05 Nov 1999 12:18:21 +0200 From: Sheldon Hearn To: Jos Backus Cc: Jos Backus , freebsd-hackers@freebsd.org Subject: Re: ftpd feature: lock file being stored In-reply-to: Your message of "Fri, 05 Nov 1999 11:15:18 +0100." <19991105111518.A2328@hal.mpn.cp.philips.com> Date: Fri, 05 Nov 1999 12:18:21 +0200 Message-ID: <7173.941797101@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 05 Nov 1999 11:15:18 +0100, Jos Backus wrote: > > So fstat(1) doesn't show you that the file is opened to ftpd? > > No, it does indeed show that. Then use fstat. :-) > It seems a more natural solution to me than grepping for ftpd in fstat's > output regarding the file. I think you've developed a complex solution to a more simply solved problem. UNIX offers you lots of little tools for good reason. Adding functionality to ftpd that is available through other tools doesn't seem wise to me. > Also, I think that approach introduces races when > you have more than one program/script polling the directory. What does "polling the directory" mean? Fstat(1) is interested only in those programs which have open file descriptors on the file you're interested in. Sounds like the perfect tool for the job. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 2:39:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gw-nl4.philips.com (gw-nl4.philips.com [192.68.44.36]) by hub.freebsd.org (Postfix) with ESMTP id F2BD714D98 for ; Fri, 5 Nov 1999 02:39:21 -0800 (PST) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl4.philips.com with ESMTP id LAA28782 for ; Fri, 5 Nov 1999 11:39:15 +0100 (MET) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl4.philips.com via mwrap (4.0a) id xma028742; Fri, 5 Nov 99 11:39:16 +0100 Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with SMTP id LAA01860 for ; Fri, 5 Nov 1999 11:39:09 +0100 (MET) Received: (qmail 5037 invoked by uid 666); 5 Nov 1999 10:39:29 -0000 Date: Fri, 5 Nov 1999 11:39:29 +0100 From: Jos Backus To: Sheldon Hearn Cc: Jos Backus , freebsd-hackers@freebsd.org Subject: Re: ftpd feature: lock file being stored Message-ID: <19991105113929.B2328@hal.mpn.cp.philips.com> Reply-To: Jos Backus References: <19991105111518.A2328@hal.mpn.cp.philips.com> <7173.941797101@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <7173.941797101@axl.noc.iafrica.com>; from sheldonh@uunet.co.za on Fri, Nov 05, 1999 at 12:18:21PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 05, 1999 at 12:18:21PM +0200, Sheldon Hearn wrote: > Then use fstat. :-) OK, OK :) > I think you've developed a complex solution to a more simply solved > problem. UNIX offers you lots of little tools for good reason. Adding > functionality to ftpd that is available through other tools doesn't seem > wise to me. I'm not yet convinced that your solution does what I want in a reliable fashion. > What does "polling the directory" mean? Scanning the directory for new files, as the aforementioned script does. If you have more than one script doing this at the same time, both may conclude that a given file is ``available'' and try to act upon it. Inevitably, one of those scripts will fail. Hence my solution. But maybe I don't quite understand the problem :-) (Yes, I know you will say, "Don't run more than one script at a time then.". But whether this is possible really depends on the application and moreover seems to be an unecessary restriction.) Cheers, -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 3: 1:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 8D8D314DD3 for ; Fri, 5 Nov 1999 03:01:13 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11jh4s-0001z3-00; Fri, 05 Nov 1999 12:58:42 +0200 From: Sheldon Hearn To: Jos Backus Cc: Jos Backus , freebsd-hackers@freebsd.org Subject: Re: ftpd feature: lock file being stored In-reply-to: Your message of "Fri, 05 Nov 1999 11:39:29 +0100." <19991105113929.B2328@hal.mpn.cp.philips.com> Date: Fri, 05 Nov 1999 12:58:42 +0200 Message-ID: <7628.941799522@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 05 Nov 1999 11:39:29 +0100, Jos Backus wrote: > Scanning the directory for new files, as the aforementioned script does. If > you have more than one script doing this at the same time, both may conclude > that a given file is ``available'' and try to act upon it. Then it's your _script_ that should do careful locking to avoid tripping up over itself, surely? :-) > Inevitably, one of those scripts will fail. Hence my solution. But > maybe I don't quite understand the problem :-) Let me take a step back. I'm not saying that what you're doing to ftpd is wrong. I'm saying that it's probably not worthwhile adding this feature to the stock ftpd when it's such a quirky work-around. I have several local hacks to ftpd which I think are very useful, but I don't think they should be added to FreeBSD's ftpd because they're not general solutions to wide-spread problems. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 3:10:12 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gw-nl3.philips.com (gw-nl3.philips.com [192.68.44.35]) by hub.freebsd.org (Postfix) with ESMTP id EBF3715274 for ; Fri, 5 Nov 1999 03:10:04 -0800 (PST) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl3.philips.com with ESMTP id MAA24568 for ; Fri, 5 Nov 1999 12:09:52 +0100 (MET) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl3.philips.com via mwrap (4.0a) id xma024412; Fri, 5 Nov 99 12:09:56 +0100 Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with SMTP id MAA00995 for ; Fri, 5 Nov 1999 12:09:34 +0100 (MET) Received: (qmail 8864 invoked by uid 666); 5 Nov 1999 11:09:18 -0000 Date: Fri, 5 Nov 1999 12:09:18 +0100 From: Jos Backus To: Sheldon Hearn Cc: Jos Backus , freebsd-hackers@freebsd.org Subject: Re: ftpd feature: lock file being stored Message-ID: <19991105120918.C2328@hal.mpn.cp.philips.com> Reply-To: Jos Backus References: <19991105113929.B2328@hal.mpn.cp.philips.com> <7628.941799522@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <7628.941799522@axl.noc.iafrica.com>; from sheldonh@uunet.co.za on Fri, Nov 05, 1999 at 12:58:42PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 05, 1999 at 12:58:42PM +0200, Sheldon Hearn wrote: > Then it's your _script_ that should do careful locking to avoid tripping > up over itself, surely? :-) Yeah, in fact it does, it uses lockf ;-p > Let me take a step back. I'm not saying that what you're doing to ftpd > is wrong. I'm saying that it's probably not worthwhile adding this > feature to the stock ftpd when it's such a quirky work-around. Hm, I wouldn't call it quirky. It would be nice to hear what others think though. I've already received one positive private reply. > I have several local hacks to ftpd which I think are very useful, but I > don't think they should be added to FreeBSD's ftpd because they're not > general solutions to wide-spread problems. I'm in the anti-bloat camp, and I agree with this sentiment. Cheers, -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 3:14:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 06BFE14DD4 for ; Fri, 5 Nov 1999 03:14:22 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11jhIQ-00022i-00; Fri, 05 Nov 1999 13:12:42 +0200 From: Sheldon Hearn To: Jos Backus Cc: Jos Backus , freebsd-hackers@freebsd.org Subject: Re: ftpd feature: lock file being stored In-reply-to: Your message of "Fri, 05 Nov 1999 12:09:18 +0100." <19991105120918.C2328@hal.mpn.cp.philips.com> Date: Fri, 05 Nov 1999 13:12:42 +0200 Message-ID: <7855.941800362@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 05 Nov 1999 12:09:18 +0100, Jos Backus wrote: > I'm in the anti-bloat camp, and I agree with this sentiment. What would be more interesting, I think, is investigating the use of locking by default. One wonders what it'd break, and how we'd work around it. ;-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 4:41:47 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 706E7151AD for ; Fri, 5 Nov 1999 04:41:41 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 3AE351C03; Fri, 5 Nov 1999 20:39:58 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Smith Cc: "Matthew N. Dodd" , freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats In-reply-to: Your message of "Fri, 05 Nov 1999 01:32:48 PST." <199911050932.BAA00472@dingo.cdrom.com> Date: Fri, 05 Nov 1999 20:39:58 +0800 From: Peter Wemm Message-Id: <19991105123958.3AE351C03@overcee.netplex.com.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > On Thu, 4 Nov 1999, Mike Smith wrote: > > > Sysctl is faster than kstat once you have performed the name->oid > > > lookup. There is basically nothing that kstat can do that sysctl can't > > > do better and faster, apart from lookup-by-name. > > > > Except for dynamic registration right? > > No, Peter fixed that a while back. Actually, I think that particular one was done by Doug Rabson. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 4:53:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mailer.syr.edu (mailer.syr.edu [128.230.18.29]) by hub.freebsd.org (Postfix) with ESMTP id C04A6151EE for ; Fri, 5 Nov 1999 04:53:14 -0800 (PST) (envelope-from cmsedore@mailbox.syr.edu) Received: from rodan.syr.edu by mailer.syr.edu (LSMTP for Windows NT v1.1a) with SMTP id <0.D3A075D0@mailer.syr.edu>; Fri, 5 Nov 1999 7:53:20 -0500 Received: from localhost (cmsedore@localhost) by rodan.syr.edu (8.8.7/8.8.7) with ESMTP id HAA05448; Fri, 5 Nov 1999 07:53:13 -0500 (EST) X-Authentication-Warning: rodan.syr.edu: cmsedore owned process doing -bs Date: Fri, 5 Nov 1999 07:53:13 -0500 (EST) From: Christopher Sedore X-Sender: cmsedore@rodan.syr.edu To: John Polstra Cc: hackers@freebsd.org Subject: Re: aio Functions In-Reply-To: <199911040014.QAA49756@vashon.polstra.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 Wed, 3 Nov 1999, John Polstra wrote: > In article , > Christopher Sedore wrote: [...snip info on aio stuff...] > > > > I hope to try 1000 descriptors soon. > > That's great news! So have you gotten rid of some of these absurdly > low fixed limits? > > vfs.aio.max_aio_per_proc: 32 > vfs.aio.max_aio_queue_per_proc: 256 > vfs.aio.max_aio_procs: 32 > vfs.aio.max_aio_queue: 1024 > vfs.aio.max_buf_aio: 16 > > And worst of all: > > #define AIO_LISTIO_MAX 16 I've been running with about 85 descriptors (vast majority are sockets) and haven't bumped these limits in a serious way yet (have hit the 32 max running per proc, but just for milliseconds). When I get to the next round of testing these limits won't cut it and I'll adjust them upward. -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 10:33:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpha.netvision.net.il (alpha.netvision.net.il [194.90.1.13]) by hub.freebsd.org (Postfix) with ESMTP id E287115296 for ; Fri, 5 Nov 1999 10:32:58 -0800 (PST) (envelope-from spud@i.am) Received: from test (ras4-p104.hfa.netvision.net.il [62.0.148.104]) by alpha.netvision.net.il (8.9.3/8.8.6) with SMTP id UAA13403 for ; Fri, 5 Nov 1999 20:32:38 +0200 (IST) Message-ID: <000801bf27bc$5691e4c0$6894003e@test> From: "Tomer Weller" To: Subject: Live! Date: Fri, 5 Nov 1999 20:34:03 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01BF27CD.19174E80" 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 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01BF27CD.19174E80 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable I'm a Sound Blaster Live! user and will be glad to be an Alpha tester = for a driver if someone or some group is working on porting the driver = from Linux, since it is now opensource. Greetings, Tomer. ------=_NextPart_000_0005_01BF27CD.19174E80 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable

I'm a Sound Blaster Live! user and will = be glad to=20 be an Alpha tester for a driver if someone or some group is working on = porting=20 the driver from Linux, since it is now opensource.
        = Greetings,=20 Tomer.
------=_NextPart_000_0005_01BF27CD.19174E80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 11:11:12 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 311E414C8C for ; Fri, 5 Nov 1999 11:11:06 -0800 (PST) (envelope-from mjacob@feral.com) Received: from gw100.feral.com (root@femr [128.0.0.2]) by feral.com (8.8.7/8.8.7) with ESMTP id LAA18278; Fri, 5 Nov 1999 11:15:53 -0800 Received: from feral.com (mjacob@feral.com [192.67.166.1]) by gw100.feral.com (8.8.7/8.8.7) with ESMTP id XAA07159; Thu, 4 Nov 1999 23:17:19 -0800 Date: Thu, 4 Nov 1999 23:17:19 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Thor Lancelot Simon Cc: current-users@netbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD FibreChannel support In-Reply-To: <19991105004240.A11645@rek.tjls.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 > > Jason tells me you have my card which exhibited exactly this symptom with > a pc164 two years ago, though it worked in an x86 box. > Isn't that the the one now without a BIOS? That's the old 1020 PCI card, which Qlogic made maybe < 500? It's the only one I have. Did you want it back? -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Nov 5 11:50:51 1999 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 4130614D58 for ; Fri, 5 Nov 1999 11:50:48 -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 OAA48923; Fri, 5 Nov 1999 14:50:36 -0500 (EST) Date: Fri, 5 Nov 1999 14:50:36 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: Tomer Weller Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Live! In-Reply-To: <000801bf27bc$5691e4c0$6894003e@test> 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, 5 Nov 1999, Tomer Weller wrote: > I'm a Sound Blaster Live! user and will be glad to be an Alpha tester for a driver if someone or some group is working on porting the driver from Linux, since it is now opensource. > Greetings, Tomer. > Maybe let people know at http://www.posi.net/freebsd/drivers/hardware-list.phtml also? Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Director of Technical Services, ALC Communications http://www.alcnet.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 Sat Nov 6 1:31: 7 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from funkthat.com (adsl-63-195-54-213.dsl.snfc21.pacbell.net [63.195.54.213]) by hub.freebsd.org (Postfix) with ESMTP id BD5DC14CAE; Sat, 6 Nov 1999 01:31:01 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by funkthat.com (8.9.1/8.8.7) id BAA03684; Sat, 6 Nov 1999 01:30:46 -0800 (PST) Message-ID: <19991106013045.13836@hydrogen.fircrest.net> Date: Sat, 6 Nov 1999 01:30:45 -0800 From: John-Mark Gurney To: FreeBSD Hackers Subject: writing much slower than reading... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG well, I am working on writing a capture program to do 640x480x12bpp@30fps to a raw disk, but writing to the raw device is SOOO slow... the reason I say it's slow is the fact that it takes 8 times the system time writing than reading... a bit about the system... k6/2-250, 100mhz system bus, pc100 64meg dimm, VIA MVP3 chipset (IDE DMA enabled), IBM-DPTA-372730 hard disk, Hauppauge WinCast/TV Model 61351 B226, 3.3-RELEASE... now the hard disk can push and pull around 20meg/sec w/o any problems.. but when I time the disk I get: $ time dd if=/dev/rwd0s1g of=/dev/null bs=64k count=2048 2048+0 records in 2048+0 records out 134217728 bytes transferred in 5.747521 secs (23352281 bytes/sec) 5.75 real 0.01 user 0.21 sys $ time dd if=/dev/zero of=/dev/rwd0s1g bs=64k count=2048 2048+0 records in 2048+0 records out 134217728 bytes transferred in 6.281820 secs (21366057 bytes/sec) 6.28 real 0.00 user 1.68 sys now, why does it cost SOOO much more processing time to write than read?? are there plans to fix this slow down? is it possible? can't we just dma write out of userland since we are blocking on the write? -- John-Mark Gurney Voice: +1 408 975 9651 Cu Networking "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 3:11: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mw5.texas.net (mw5.texas.net [206.127.30.15]) by hub.freebsd.org (Postfix) with ESMTP id 86C8C14D1F; Sat, 6 Nov 1999 03:10:59 -0800 (PST) (envelope-from rsnow@lgc.com) Received: from basil.dympna.COM (tcnet03-047.sat.texas.net [209.99.118.173]) by mw5.texas.net (2.4/2.4) with ESMTP id FAA18604; Sat, 6 Nov 1999 05:10:57 -0600 (CST) Received: from lgc.com (IDENT:rsnow@turbo [134.132.228.6]) by basil.dympna.COM (8.9.3/8.8.7) with ESMTP id FAA51242; Sat, 6 Nov 1999 05:10:58 -0600 (CST) (envelope-from rsnow@lgc.com) Message-ID: <38240CC0.8099D19D@lgc.com> Date: Sat, 06 Nov 1999 05:10:56 -0600 From: Rob Snow X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: John-Mark Gurney Cc: freebsd-questions@freebsd.org Subject: Re: writing much slower than reading... References: <19991106013045.13836@hydrogen.fircrest.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG { Moved to FreeBSD-Questions } Emm, I want your system. Have you double checked your numbers? They look a bit high. Here's what I get on a vinum stripe across two 'cudas on an SMP box: rsnow@basil% time dd if=/dev/vinum/rstripe of=/dev/null bs=64k count=2048 2048+0 records in 2048+0 records out 134217728 bytes transferred in 7.938773 secs (16906609 bytes/sec) 0.007u 0.520s 0:07.98 6.5% 73+371k 2+0io 0pf+0w -Rob John-Mark Gurney wrote: > > well, I am working on writing a capture program to do 640x480x12bpp@30fps > to a raw disk, but writing to the raw device is SOOO slow... the reason > I say it's slow is the fact that it takes 8 times the system time writing > than reading... > > a bit about the system... k6/2-250, 100mhz system bus, pc100 64meg dimm, > VIA MVP3 chipset (IDE DMA enabled), IBM-DPTA-372730 hard disk, Hauppauge > WinCast/TV Model 61351 B226, 3.3-RELEASE... > > now the hard disk can push and pull around 20meg/sec w/o any problems.. > but when I time the disk I get: > $ time dd if=/dev/rwd0s1g of=/dev/null bs=64k count=2048 > 2048+0 records in > 2048+0 records out > 134217728 bytes transferred in 5.747521 secs (23352281 bytes/sec) > 5.75 real 0.01 user 0.21 sys > $ time dd if=/dev/zero of=/dev/rwd0s1g bs=64k count=2048 > 2048+0 records in > 2048+0 records out > 134217728 bytes transferred in 6.281820 secs (21366057 bytes/sec) > 6.28 real 0.00 user 1.68 sys > > now, why does it cost SOOO much more processing time to write than > read?? are there plans to fix this slow down? is it possible? can't > we just dma write out of userland since we are blocking on the write? > > -- > John-Mark Gurney Voice: +1 408 975 9651 > Cu Networking > > "The soul contains in itself the event that shall presently befall it. > The event is only the actualizing of its thought." -- Ralph Waldo Emerson > > 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 Nov 6 3:15:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mw5.texas.net (mw5.texas.net [206.127.30.15]) by hub.freebsd.org (Postfix) with ESMTP id DCFE314D1F for ; Sat, 6 Nov 1999 03:15:30 -0800 (PST) (envelope-from rsnow@lgc.com) Received: from basil.dympna.COM (tcnet03-047.sat.texas.net [209.99.118.173]) by mw5.texas.net (2.4/2.4) with ESMTP id FAA18961; Sat, 6 Nov 1999 05:15:29 -0600 (CST) Received: from lgc.com (IDENT:rsnow@turbo [134.132.228.6]) by basil.dympna.COM (8.9.3/8.8.7) with ESMTP id FAA51264; Sat, 6 Nov 1999 05:15:30 -0600 (CST) (envelope-from rsnow@lgc.com) Message-ID: <38240DD0.5F89A733@lgc.com> Date: Sat, 06 Nov 1999 05:15:28 -0600 From: Rob Snow X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: John-Mark Gurney Cc: FreeBSD Hackers Subject: Re: writing much slower than reading... References: <19991106013045.13836@hydrogen.fircrest.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John-Mark, have you double checked your numbers? I get: rsnow@basil% time dd if=/dev/vinum/rstripe of=/dev/null bs=64k count=2048 2048+0 records in 2048+0 records out 134217728 bytes transferred in 8.096565 secs (16577120 bytes/sec) 0.016u 0.482s 0:08.09 6.0% 73+370k 0+0io 0pf+0w On vinum striped 9.1G 'cudas, SMP. -Rob John-Mark Gurney wrote: > > well, I am working on writing a capture program to do 640x480x12bpp@30fps > to a raw disk, but writing to the raw device is SOOO slow... the reason > I say it's slow is the fact that it takes 8 times the system time writing > than reading... > > a bit about the system... k6/2-250, 100mhz system bus, pc100 64meg dimm, > VIA MVP3 chipset (IDE DMA enabled), IBM-DPTA-372730 hard disk, Hauppauge > WinCast/TV Model 61351 B226, 3.3-RELEASE... > > now the hard disk can push and pull around 20meg/sec w/o any problems.. > but when I time the disk I get: > $ time dd if=/dev/rwd0s1g of=/dev/null bs=64k count=2048 > 2048+0 records in > 2048+0 records out > 134217728 bytes transferred in 5.747521 secs (23352281 bytes/sec) > 5.75 real 0.01 user 0.21 sys > $ time dd if=/dev/zero of=/dev/rwd0s1g bs=64k count=2048 > 2048+0 records in > 2048+0 records out > 134217728 bytes transferred in 6.281820 secs (21366057 bytes/sec) > 6.28 real 0.00 user 1.68 sys > > now, why does it cost SOOO much more processing time to write than > read?? are there plans to fix this slow down? is it possible? can't > we just dma write out of userland since we are blocking on the write? > > -- > John-Mark Gurney Voice: +1 408 975 9651 > Cu Networking > > "The soul contains in itself the event that shall presently befall it. > The event is only the actualizing of its thought." -- Ralph Waldo Emerson > > 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 Nov 6 9: 9: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sumatra.americantv.com (sumatra.americantv.com [208.139.222.227]) by hub.freebsd.org (Postfix) with ESMTP id 28E7914C92 for ; Sat, 6 Nov 1999 09:09:00 -0800 (PST) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id LAA11044; Sat, 6 Nov 1999 11:08:59 -0600 (CST) Received: from free.pcs (free.PCS [148.105.10.51]) by right.PCS (8.8.5/8.6.4) with ESMTP id LAA08882; Sat, 6 Nov 1999 11:08:58 -0600 (CST) Received: (from jlemon@localhost) by free.pcs (8.8.6/8.8.5) id LAA25924; Sat, 6 Nov 1999 11:08:58 -0600 (CST) Date: Sat, 6 Nov 1999 11:08:58 -0600 (CST) From: Jonathan Lemon Message-Id: <199911061708.LAA25924@free.pcs> To: gurney_j@resnet.uoregon.edu, hackers@freebsd.org Subject: Re: writing much slower than reading... X-Newsgroups: local.mail.freebsd-hackers In-Reply-To: Organization: Architecture and Operating System Fanatics Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article you write: >well, I am working on writing a capture program to do 640x480x12bpp@30fps >to a raw disk, but writing to the raw device is SOOO slow... the reason >I say it's slow is the fact that it takes 8 times the system time writing >than reading... > >a bit about the system... k6/2-250, 100mhz system bus, pc100 64meg dimm, >VIA MVP3 chipset (IDE DMA enabled), IBM-DPTA-372730 hard disk, Hauppauge >WinCast/TV Model 61351 B226, 3.3-RELEASE... > >now the hard disk can push and pull around 20meg/sec w/o any problems.. >but when I time the disk I get: >$ time dd if=/dev/rwd0s1g of=/dev/null bs=64k count=2048 >2048+0 records in >2048+0 records out >134217728 bytes transferred in 5.747521 secs (23352281 bytes/sec) > 5.75 real 0.01 user 0.21 sys >$ time dd if=/dev/zero of=/dev/rwd0s1g bs=64k count=2048 >2048+0 records in >2048+0 records out >134217728 bytes transferred in 6.281820 secs (21366057 bytes/sec) > 6.28 real 0.00 user 1.68 sys Try doing `iostat 1' while doing the transfers. This is what I see here: tty da0 da1 da2 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id TEST A: 0.00 0 0.00 64.00 119 7.47 0.00 0 0.00 0 0 3 0 97 TEST B: 0.00 0 0.00 64.00 419 26.18 0.00 0 0.00 0 0 1 0 99 TEST C: 0.00 0 0.00 64.00 95 5.94 64.00 95 5.94 0 0 1 0 99 TEST D: 63.84 338 21.05 64.00 343 21.41 0.00 0 0.00 0 0 26 2 72 TEST A: (writing) dd if=/dev/zero of=/dev/rda1 bs=1m count=400 TEST B: (reading) dd if=/dev/rda1 of=/dev/zero bs=1m count=400 TEST C: (read & write) dd if=/dev/rda1 of=/dev/rda2 bs=1m count=400 TEST D: (read raw & write fs) dd if=/dev/rda1 of=trash bs=1m count=400 System is a Dell Poweredge 4300 PIII/600, all disks are Seagate ST39103LC. Disk da0 (where the trash file is written) has softupdates enabled. This is on a week old -current. I'm suprised by the last line. Writing to the filesystem is faster than writing to the raw device? I must be missing something here. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 9:40:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 1DB7814E97 for ; Sat, 6 Nov 1999 09:40:40 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id RAA44472; Sat, 6 Nov 1999 17:41:00 GMT (envelope-from dfr@nlsystems.com) Date: Sat, 6 Nov 1999 17:41:00 +0000 (GMT) From: Doug Rabson To: Arun Sharma Cc: Chris Costello , Mike Smith , freebsd-hackers@freebsd.org Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <19991104201021.A2302@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 Thu, 4 Nov 1999, Arun Sharma wrote: > On Thu, Nov 04, 1999 at 09:31:02PM -0600, Chris Costello wrote: > > On Thu, Nov 04, 1999, Arun Sharma wrote: > > > Can a loadable module, say a network driver register variables with > > > sysctl ? Can sysctl itself be made a loadable module ? As for the speed, > > > > a.) Yes. > > I don't see any examples in sys/modules. The SYSCTL_INT macros eventually > expands to DATA_SET which puts certain data in a different ELF section. > > In other words, sysctl seems to be relying on physical adjacency of > certain structures after linkage is done. This ELF section is used by the loader to automatically register the sysctl nodes (and unregister them on unload). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 9:41:42 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 2D1A714C20 for ; Sat, 6 Nov 1999 09:41:38 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id RAA44476; Sat, 6 Nov 1999 17:42:28 GMT (envelope-from dfr@nlsystems.com) Date: Sat, 6 Nov 1999 17:42:27 +0000 (GMT) From: Doug Rabson To: Mike Smith Cc: "Matthew N. Dodd" , freebsd-hackers@freebsd.org Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <199911050932.BAA00472@dingo.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 Fri, 5 Nov 1999, Mike Smith wrote: > > On Thu, 4 Nov 1999, Mike Smith wrote: > > > Sysctl is faster than kstat once you have performed the name->oid > > > lookup. There is basically nothing that kstat can do that sysctl can't > > > do better and faster, apart from lookup-by-name. > > > > Except for dynamic registration right? > > No, Peter fixed that a while back. I changed sysctl to be dynamic about 9 months or so ago. This is only available in -current btw. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 9:50:58 1999 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 3918314C20 for ; Sat, 6 Nov 1999 09:50:52 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p25-dn01kiryunisiki.gunma.ocn.ne.jp [210.132.6.154]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id CAA05349; Sun, 7 Nov 1999 02:50:43 +0900 (JST) Message-ID: <382464A3.F8A3ADA7@newsguy.com> Date: Sun, 07 Nov 1999 02:25:55 +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: David Malone Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Procfs' pointers to files. References: <199910291530.aa28972@salmon.maths.tcd.ie> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Malone wrote: > > However, procfs currently allows people to do this with an executables > file. You can make hard links to and run /proc/nnn/file as it is > essentially another hard link to the executable file. This could > be a problem if you have suid executables protected by nonexecutable > directories, as people can steal copies of the file while it is > running. > > Is this a real problem, or is it a "well don't protect suid > executables that way" problem? The permissions used in Linux's > /proc seem to be more conservative and seem to prevent this. Err... I don't see the problem. The permissions of the hardlink will be different, so the user might be able to see the "code", but won't be able to run the suid (because the hardlink won't have the suid bit set). As for not seeing the code, "security by obscurity..." -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org What y'all wanna do? Wanna be hackers? Code crackers? Slackers Wastin' time with all the chatroom yakkers? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 11:42:50 1999 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 E068114C9B for ; Sat, 6 Nov 1999 11:42:48 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p23-dn02kiryunisiki.gunma.ocn.ne.jp [210.163.200.120]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id EAA20999; Sun, 7 Nov 1999 04:42:35 +0900 (JST) Message-ID: <3824793E.CF39EF0B@newsguy.com> Date: Sun, 07 Nov 1999 03:53:50 +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: Borja Marcos Cc: hackers@FreeBSD.ORG Subject: Re: exec() security enhancement References: <199910302232.AAA16912@sirius.we.lc.ehu.es> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Borja Marcos wrote: > > Hello, > > Many security exploits create files in the /tmp directory > and execute them. I think it would be a good idea to add logging > to the to exec_check_permissions() in kern.exec.c so that attempts > to run files from a filesystem mounted as "noexec" can be detected. > > With this measeure, and mounting /tmp as "noexec" some > generic hostile acts (wow, how does it sound! :-) ) could be > detected. [and, as you said, the same goes for nosuid -- and for nodev too] This doesn't enhance security. It enhances auditability. I like this. Add a syslog, and a sysctl to turn it on or off. It seems straight-forward and light-weight. Send the patches. :-) -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org What y'all wanna do? Wanna be hackers? Code crackers? Slackers Wastin' time with all the chatroom yakkers? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 12: 2:21 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from funkthat.com (adsl-63-195-54-213.dsl.snfc21.pacbell.net [63.195.54.213]) by hub.freebsd.org (Postfix) with ESMTP id 13D3314F8F for ; Sat, 6 Nov 1999 12:02:16 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by funkthat.com (8.9.1/8.8.7) id MAA14368; Sat, 6 Nov 1999 12:01:58 -0800 (PST) Message-ID: <19991106120158.26688@hydrogen.fircrest.net> Date: Sat, 6 Nov 1999 12:01:58 -0800 From: John-Mark Gurney To: Jonathan Lemon Cc: hackers@freebsd.org Subject: Re: writing much slower than reading... References: <199911061708.LAA25924@free.pcs> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199911061708.LAA25924@free.pcs>; from Jonathan Lemon on Sat, Nov 06, 1999 at 11:08:58AM -0600 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathan Lemon scribbled this message on Nov 6: > Try doing `iostat 1' while doing the transfers. This is what I see here: > > tty da0 da1 da2 cpu > tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id > TEST A: 0.00 0 0.00 64.00 119 7.47 0.00 0 0.00 0 0 3 0 97 > TEST B: 0.00 0 0.00 64.00 419 26.18 0.00 0 0.00 0 0 1 0 99 > TEST C: 0.00 0 0.00 64.00 95 5.94 64.00 95 5.94 0 0 1 0 99 > TEST D: 63.84 338 21.05 64.00 343 21.41 0.00 0 0.00 0 0 26 2 72 > > TEST A: (writing) dd if=/dev/zero of=/dev/rda1 bs=1m count=400 > TEST B: (reading) dd if=/dev/rda1 of=/dev/zero bs=1m count=400 > TEST C: (read & write) dd if=/dev/rda1 of=/dev/rda2 bs=1m count=400 > TEST D: (read raw & write fs) dd if=/dev/rda1 of=trash bs=1m count=400 tty wd0 cpu tin tout KB/t tps MB/s us ni sy in id TEST A: 113.50 182 20.19 0 0 27 1 72 TEST B: 113.63 202 22.41 0 0 2 2 96 TEST C: 114.07 174 19.40 0 0 2 1 97 TEST D: 81.92 224 17.89 0 0 48 3 48 since I only have on drive, TEST C was dd of=/dev/rwd0s1g if=/dev/rwd0s1g bs=1m count=400, and TEST D was writing to the same drive that I was reading from, no softupdates enabled... and I was doing all testing on /dev/rwd0s1g so I could write... > System is a Dell Poweredge 4300 PIII/600, all disks are Seagate ST39103LC. k6-2/250 (100mhz system bus), IBM-DPTA-372730 > Disk da0 (where the trash file is written) has softupdates enabled. This > is on a week old -current. > > I'm suprised by the last line. Writing to the filesystem is faster > than writing to the raw device? I must be missing something here. I'm surprised at the last two lines... I didn't think that I would be able to push/pull that much data at once, but considering that it didn't have to seek far it isn't that surprising... hmmmm... could this be a deficency in the IDE driver?? sounds like I need to test the new ata driver and see if it performs better... -- John-Mark Gurney Voice: +1 408 975 9651 Cu Networking "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 12: 7:42 1999 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 22A0014DBF for ; Sat, 6 Nov 1999 12:07:38 -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 NAA82896; Sat, 6 Nov 1999 13:07: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 NAA00573; Sat, 6 Nov 1999 13:06:34 -0700 (MST) Message-Id: <199911062006.NAA00573@harmony.village.org> To: "Daniel C. Sobral" Subject: Re: Procfs' pointers to files. Cc: David Malone , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Sun, 07 Nov 1999 02:25:55 +0900." <382464A3.F8A3ADA7@newsguy.com> References: <382464A3.F8A3ADA7@newsguy.com> <199910291530.aa28972@salmon.maths.tcd.ie> Date: Sat, 06 Nov 1999 13:06:34 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is this a real problem, or is it a "well don't protect suid > executables that way" problem? The permissions used in Linux's > /proc seem to be more conservative and seem to prevent this. Yes. This is a real problem. One of the security team has had patches since before FreeBSD CON. There are other related problems. The easy way out is to remove file completely, but there were some objections to doing that, so things haven't been committed. : Err... I don't see the problem. The permissions of the hardlink will : be different, so the user might be able to see the "code", but won't : be able to run the suid (because the hardlink won't have the suid : bit set). There are ways that the user can see the code to execute it, but not read it normally. procfs breaches this inability to read the file. Also, there are many related problems which make a proper fix for this that is more complicated than removing /proc/xxx/file nearly impossible. "Proper" here means "A fix which will prevent the disclosure of a file to unauthorized people which would normally not be able to read the file." I'm convinced that it would be hard to codify all the security checks needed to access the file originally into a single number which would allow people that could read the original file to read /proc/xxx/file and disallow people who couldn't read the file to also be disallowed from reading /proc/xxx/file. The example that convinced me of this is /a/b/foo. /a mode 750 user joe group joeys /a/b mode 750 user bob group briggs /a/b/foo mode 555 user tim group timbo What should the owner/group of /proc/xxx/file be? One option would be 550 user tim, group timbo. However, this allows users that are in group timbo, but aren't in group briggs AND joeys to read the file. Another option would be 500 user tim group timbo, but this then disallows people that are in groups timbo, brigs and joeys, who aren't user tim from reading the file (as well as others who could read /a/b/foo). There is not one number for the example (or other more complicated ones that I could construct) that works exactly the same as the filesystem does. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 17:30:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dustdevil.waterspout.com (dustdevil.waterspout.com [208.13.60.151]) by hub.freebsd.org (Postfix) with ESMTP id 5CEEB14F16 for ; Sat, 6 Nov 1999 17:30:18 -0800 (PST) (envelope-from csg@waterspout.com) Received: by dustdevil.waterspout.com (Postfix, from userid 1000) id 5AEF19F; Sat, 6 Nov 1999 20:30:17 -0500 (EST) Date: Sat, 6 Nov 1999 20:30:17 -0500 From: "C. Stephen Gunn" To: "Daniel C. Sobral" Cc: freebsd-hackers@freebsd.org, ajk@waterspout.com Subject: Re: exec() security enhancement Message-ID: <19991106203017.A85082@dustdevil.waterspout.com> References: <199910302232.AAA16912@sirius.we.lc.ehu.es> <3824793E.CF39EF0B@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <3824793E.CF39EF0B@newsguy.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 07, 1999 at 03:53:50AM +0900, Daniel C. Sobral wrote: > [and, as you said, the same goes for nosuid -- and for nodev too] > > This doesn't enhance security. It enhances auditability. I like > this. Add a syslog, and a sysctl to turn it on or off. It seems > straight-forward and light-weight. Send the patches. :-) I quickly wrote the code to do this this evening. Its almost ready to be contributed. What should the sysctl ndoes be named? These really implement similar functionality to net.inet.{tcp|udp}.log_in_vain, but obviously don't belong under net. What about something like "kern.audit.*"? There are probably several other areas that we could increase the kernel's verbosity, and put the sysctls under there. Comments? Suggestions? - Steve -- C. Stephen Gunn URL: http://www.waterspout.com/ WaterSpout Communications, Inc. Email: csg@waterspout.com 427 North 6th Street Phone: +1 765.742.6628 Lafayette, IN 47901 Fax: +1 765.742.0646 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 22:52: 7 1999 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 EB53A14C33; Sat, 6 Nov 1999 22:52:03 -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 XAA84320; Sat, 6 Nov 1999 23:52:03 -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 XAA03143; Sat, 6 Nov 1999 23:51:05 -0700 (MST) Message-Id: <199911070651.XAA03143@harmony.village.org> To: Brian Fundakowski Feldman Subject: Re: Procfs' pointers to files. Cc: freebsd-hackers@FreeBSD.org In-reply-to: Your message of "Sat, 06 Nov 1999 15:54:50 EST." References: Date: Sat, 06 Nov 1999 23:51:05 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Brian Fundakowski Feldman writes: : It sounds to me that what you really want are the semantics of a : symbolic link and not the semantics of a hard link. Is it just me, : or does it seem as if the pathname of the executable being stored as : a virtual symlink in procfs as "file" would solve these security : problems? If you can get to the full path to the original file, this is likely the answer. I don't know if that information is easily available or not. My memory of the proc structure is that it has a vnode to the executable, which is easy to produce as an alias in /proc/xxx/file, but much harder to get the original path to. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Nov 6 23:31:47 1999 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 280A614FC4; Sat, 6 Nov 1999 23:31:44 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p24-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.153]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id QAA11257; Sun, 7 Nov 1999 16:31:42 +0900 (JST) Message-ID: <38252A5C.2C388485@newsguy.com> Date: Sun, 07 Nov 1999 16:29:32 +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: Brian Fundakowski Feldman Cc: Warner Losh , David Malone , freebsd-hackers@FreeBSD.org Subject: Re: Procfs' pointers to files. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Fundakowski Feldman wrote: > > It sounds to me that what you really want are the semantics of a > symbolic link and not the semantics of a hard link. Is it just me, > or does it seem as if the pathname of the executable being stored as > a virtual symlink in procfs as "file" would solve these security > problems? Mmmmm... I like that... -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org What y'all wanna do? Wanna be hackers? Code crackers? Slackers Wastin' time with all the chatroom yakkers? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message