From owner-freebsd-hackers Sun Mar 11 0:13: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 5184637B721 for ; Sun, 11 Mar 2001 00:12:57 -0800 (PST) (envelope-from mjacob@feral.com) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id AAA29330; Sun, 11 Mar 2001 00:12:53 -0800 Date: Sun, 11 Mar 2001 00:12:50 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: David Miller Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Fibre channel enclosures? 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 The JMR 4-bay is about as cheap as you'll find as far as I know. The 2K$ plus is for the 10 slot. There might be something cheaper at http://www.scsistuff.com. Yes. Pricey. The only other thing is to find (and I don't know a source) of paddlebard adapters with the 40-pin SCA connector, a +5/+12 Molex power connector and two serial-in serial-out ports that you can then draw to a DB-9 (Female) to try and 'make your own' FC case.... On Sat, 10 Mar 2001, David Miller wrote: > Apologies for the off topic nature of the question... > > I see FC drives for sale unbelievably cheap in a number of > places. megahaus.com has 36 GB IBM FC drives for $219, pricewatch has 9 > GB and 18 GB drives from seagate and IBM for under $100. > > The issue, of course, is that one needs a low cost enclosure to mount > them in. > > Any suggestions? I'm looking for something less expensive than JMR's > Fortra series. Very nice, but a bit pricey at 2 thousand plus. > > Thanks in advance, > > --- David > > > 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 Sun Mar 11 0:15:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id B01E937B718 for ; Sun, 11 Mar 2001 00:15:30 -0800 (PST) (envelope-from mjacob@feral.com) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id AAA29342; Sun, 11 Mar 2001 00:15:30 -0800 Date: Sun, 11 Mar 2001 00:15:26 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Dan Feldman Cc: David Miller , freebsd-hackers@FreeBSD.ORG Subject: Re: [OT] Fibre channel enclosures? 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 Sat, 10 Mar 2001, Dan Feldman wrote: > Sorry to continue more OT stuff, but: > > What FC host adapters are working well in FreeBSD? > > I just found an Adaptec model used for very cheap. It's actually possible > that Fiber Channel could be cheaper than Ultra160 if you build your own > enclosure with Cinonic cards, buy clearance 1 GHz drives, and are lucky > enough to find a very cheap used host adapter. I'm not sure this is a good > thing, since it doesn't seem like Fiber Channel is easy to set up > reliably.... Qlogic 2100 and 2200 are really the only actively supported adapters. There are some clone vendors that make this cheaper- Check out Antares. Oh- yeah- I guess you *can* get what you need for paddleboards out of Cinoninc, although my nether end puckers a bit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 0:36:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id D93A337B718 for ; Sun, 11 Mar 2001 00:36:46 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2B8aWd14823; Sun, 11 Mar 2001 00:36:32 -0800 (PST) (envelope-from obrien) Date: Sun, 11 Mar 2001 00:36:31 -0800 From: "David O'Brien" To: Peter Seebach Cc: hackers@freebsd.org Subject: Re: if_fxp - the real point Message-ID: <20010311003631.A14559@dragon.nuxi.com> Reply-To: hackers@freebsd.org References: <20010310013331.A57865@earl-grey.cloud9.net> <200103101630.f2AGU8204557@guild.plethora.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103101630.f2AGU8204557@guild.plethora.net>; from seebs@plethora.net on Sat, Mar 10, 2001 at 10:30:08AM -0600 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 10, 2001 at 10:30:08AM -0600, Peter Seebach wrote: > For that matter, is the fxp still the most-recommended driver on Alpha? It *never* has been the recommended driver on FreeBSD/Alpha. The fxp driver has had issues on Alpha for a long time. Andrew will fix something with it, then it breaks again for some, etc... DG has an Alpha, but I don't think he has ever turned it on. He certainly has never done and Alpha-specific fxp fixes that I am aware of. The `guaranteed to work on Alpha driver' is anything supported by the `de' driver, as that is what the built-in NIC is on older Alpha's so OS's have no choice but deal with them. After that, I would say any of the `xl' 3Com cards. Bill Paul tested his just about all his drivers on an Alpha when developing them. The really nice thing about the `xl' 3Com cards is they don't have the alignment requirements of most of the other NICs in existence. Thus you can get really good performance on the Alpha. Behind the `xl' 3Com cards, would be any DEC 21143 based NIC which is supported by Bill Paul's `dc' driver. The nice thing about `de' and `dc' cards is SRM recognizes them. > I got the impression there were some alignment issues that > might be cheaper to solve on i386 than Alpha. Both `xl' and `fxp' cards do not have strict alignment issues (which makes them very nice and reduces a memory copy). The problems with the `fxp' cards is simply how its driver works on the Alpha. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 8:12:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id 19CCB37B718 for ; Sun, 11 Mar 2001 08:12:36 -0800 (PST) (envelope-from danfe@inet.ssc.nsu.ru) Received: (qmail 1892 invoked from network); 11 Mar 2001 16:12:33 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 11 Mar 2001 16:12:33 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id WAA21925; Sun, 11 Mar 2001 22:11:54 +0600 Date: Sun, 11 Mar 2001 22:11:54 +0600 (NOVT) From: Alexey Dokuchaev To: freebsd-hackers@freebsd.org Cc: freebsd-multimedia@freebsd.org Subject: Porting NVidia linux kernel modules to 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! I'm quite interested in having true 3D hardware acceleration on my ASUS AGP-V3800Magic video card based on TNT2 M64 chip, while running XFree86-4.0.2 on FreeBSD 4.2-STABLE. I've been searching USENET, mail-archives, web, and all I was able to find was: * information on www.nvidia.com about binary XFree modules and kernel module (for linux only) * the source for linux kernel * binary XFree modules (replacing xfree's native 'nv' -> 'nvidia') * people saying that there's some undergoing work about porting linux source to FreeBSD so it's possible to use proprietary nvidia's modules for XFree (oh gee, how happy I am with their module architecture) So, my question is, what's the current status of this initiative? Is there any pre-alphas or whatever I might try already? I will appreciate any information with regard to this subject. 10x. ./danfe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 9: 3:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (s014.dhcp212-24.cybercable.fr [212.198.24.14]) by hub.freebsd.org (Postfix) with ESMTP id 47CA337B719 for ; Sun, 11 Mar 2001 09:03:23 -0800 (PST) (envelope-from thierry@herbelot.com) Received: from herbelot.com (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id SAA48252; Sun, 11 Mar 2001 18:02:32 +0100 (CET) (envelope-from thierry@herbelot.com) Message-ID: <3AABAFA8.D863E536@herbelot.com> Date: Sun, 11 Mar 2001 18:02:32 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Alexey Dokuchaev Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexey Dokuchaev wrote: > > Hello! > > I'm quite interested in having true 3D hardware acceleration on my ASUS > AGP-V3800Magic video card based on TNT2 M64 chip, while running > XFree86-4.0.2 on FreeBSD 4.2-STABLE. > Me too 3D acceleration (or the lack thereof) is supposed to be one of the reasons why XFree 336 is still the standard version delivered for FreeBSD. I have not searched exactly how it is possible to have glx acceleration with 336 and NVidia boards, but Iwould be intersted to know if some how-to existed (I've switched to 4.0.x as this should have been the way to DRI and fully-supported, OS-independant, 3D acceleration) nevertheless, the NVidia "Linux kernel module" seems to be a encapsulation of their Win$$ driver, so as to be usable under Linux. Maybe the careful study of the source included in the "kernel module" can give some hints on how to do the same kind of wrapper for FreeBSD good luck -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 9:31:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gratis.grondar.za (grouter.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 02CA837B718 for ; Sun, 11 Mar 2001 09:31:44 -0800 (PST) (envelope-from mark@grondar.za) Received: from grondar.za (root@gratis.grondar.za [196.7.18.133]) by gratis.grondar.za (8.11.1/8.11.1) with ESMTP id f2BHU3f84804; Sun, 11 Mar 2001 19:30:10 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <200103111730.f2BHU3f84804@gratis.grondar.za> To: Paul Herman Cc: milunovic , hackers@FreeBSD.ORG Subject: Re: blow fish References: In-Reply-To: ; from Paul Herman "Fri, 02 Mar 2001 18:49:59 +0100." Date: Sun, 11 Mar 2001 19:30:49 +0200 From: Mark Murray Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I think Mark Murray is still sitting on the patch I did for this very > thing. Check the -hackers mail archives. It was about 2-3 Months > ago, so it may not even patch cleanly anymore against -CURRENT. I committed this today! Apologies for the delay. M -- Mark Murray Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 10:33:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.matriplex.com (ns1.matriplex.com [208.131.42.8]) by hub.freebsd.org (Postfix) with ESMTP id 9D7F637B719 for ; Sun, 11 Mar 2001 10:33:53 -0800 (PST) (envelope-from rh@matriplex.com) Received: from mail.matriplex.com (mail.matriplex.com [208.131.42.9]) by mail.matriplex.com (8.9.2/8.9.2) with ESMTP id KAA75386; Sun, 11 Mar 2001 10:33:38 -0800 (PST) (envelope-from rh@matriplex.com) Date: Sun, 11 Mar 2001 10:33:37 -0800 (PST) From: Richard Hodges To: Dag-Erling Smorgrav Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Intel PRO/100+ PCI problem 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 11 Mar 2001, Dag-Erling Smorgrav wrote: > Richard Hodges writes: > > On Thu, 8 Mar 2001, Rafael Tonin wrote: > > > Anyone knows how to get this card to work? > > Go into your BIOS config and turn off the option > > for "PLUG & PLAY OS". It should be with the PCI menu. > No, turn "PLUG & PLAY OS" *on* and add 'options PNPBIOS' to your > kernel. If that doesn't solve your problem, we have a bug. Even better :-) That is good to know, especially when the BIOS wants to assign multiple interrupts to a 4-port ethernet card. -Richard ------------------------------------------- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way rh@matriplex.com | Carson City, NV 89706 775-886-6477 | www.matriplex.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 11: 2: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from shakeyjakes.com (cx658371-a.elcjn1.sdca.home.com [24.13.29.199]) by hub.freebsd.org (Postfix) with SMTP id 09E3437B718 for ; Sun, 11 Mar 2001 11:02:03 -0800 (PST) (envelope-from mike.mcclain@shakeyjakes.com) Received: by shakeyjakes.com (wcMail) id 12506W Sun, 11 Mar 2001 11:01:07 -0800 From: mike.mcclain@shakeyjakes.com Subject: Help!!! 2nd HD gone Date: Sun, 11 Mar 2001 11:01:07 -0800 Message-Id: <1885275403@shakeyjakes.com> Organization: Shakey Jake's Free BBS from Santee, Ca... To: freebsd-hackers@freebsd.org X-Mailer: wcMail v5.4.449.1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy, fbsd:~> uname -a FreeBSD playground 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Sun Mar 26 16:56:35 PST 2000 root@:/usr/src/sys/compile/McKERNEL i386 From dmesg: CPU: Pentium/P55C (167.05-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 33554432 (32768K bytes) chip0: rev 0x01 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip2: rev 0x01 on pci0.7.3 wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc1 not found at 0x170 This makes me think the kernal is not seeing the controller at boot. from /sys/i386/conf/McKERNEL: controller wdc0 at isa? port "IO_WD1" bio irq 14 controller wdc1 at isa? port "IO_WD2" bio irq 15 from /usr/src/sys/i386/isa/isa.h: #define IO_WD1 0x1F0 /* Primary Fixed Disk Controller */ #define IO_WD2 0x170 /* Secondary Fixed Disk Controller */ wd2 aka D: aka /dev/hdc is visible from dos and I'm writing this from Slackware 7.0 mounted on /dev/hdc8. This from Slackware's /var/log/messages: Mar 7 13:28:39 playground kernel: hda: WDC AC24300L, 4112MB w/256kB Cache, CHS=524/255/63, UDMA Mar 7 13:28:39 playground kernel: hdc: WDC AC26400R, 6149MB w/512kB Cache, CHS=13328/15/63, (U)DMA I once had several slices on wd2s* mounted in /etc/fstab but that doesn't work today. I'm fairly this is something I broke in FreeBSD but can't discover where. I really don't want to re-install. I've tried various configurations in BIOS with no luck. I'm stumped. All suggestions welcome. TIA, MiKe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 12: 6:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail1.javanet.com (mail1.javanet.com [205.219.162.10]) by hub.freebsd.org (Postfix) with ESMTP id 2A12437B718 for ; Sun, 11 Mar 2001 12:06:50 -0800 (PST) (envelope-from kaworu@sektor7.ath.cx) Received: from wintermute.sekt7.org (dial-2.blk.ma.ultra.net [146.115.112.5]) by mail1.javanet.com (8.9.3/8.9.2) with ESMTP id PAA24225 for ; Sun, 11 Mar 2001 15:06:48 -0500 (EST) Date: Sun, 11 Mar 2001 15:10:18 -0500 (EST) From: kaworu X-Sender: kaworu@wintermute.sekt7 To: freebsd-hackers@freebsd.org Subject: vnode_if.h inlining 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm writing a kernel module which uses the function VOP_OPEN. When I try to compile my module vnode_if.h complains: vnode_if.h:177: warning: inlining failed in call to `VOP_OPEN' binctl.c:35: warning: called from here vnode_if.h:206: warning: inlining failed in call to `VOP_CLOSE' What does this mean? Here is some extra info: The VOP_OPEN call: VOP_OPEN(vp, FREAD, p->p_ucred, p); vp = p->p_tracep Thanks, Evan Sarmiento (kaworu@sektor7.ath.cx) http://sekt7.org/es -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (SunOS) Comment: Made with pgp4pine 1.75-6 iEYEARECAAYFAjqr268ACgkQa7CFsJ0L22xh6QCeIBjboiqya4XVyGpXU7BTqWAE q5cAnAtOuLySFceXg6C/VU4hu7oDKZqB =F6Yi -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 12:18:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 1DF0B37B718 for ; Sun, 11 Mar 2001 12:18:24 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2BKGkH70533; Sun, 11 Mar 2001 12:16:46 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: thierry@herbelot.com Cc: danfe@inet.ssc.nsu.ru, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: <3AABAFA8.D863E536@herbelot.com> References: <3AABAFA8.D863E536@herbelot.com> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010311121646B.jkh@osd.bsdi.com> Date: Sun, 11 Mar 2001 12:16:46 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 15 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 3D acceleration (or the lack thereof) is supposed to be one of the > reasons why XFree 336 is still the standard version delivered for > FreeBSD. It is, at least for me. I've been waiting for XFree86 4.0.x to come up to the same FPS performance numbers since it came out. > I have not searched exactly how it is possible to have glx acceleration > with 336 and NVidia boards, but Iwould be intersted to know if some It's trivial. You just build the utah-glx port and make sure that you load the glx.so module from your XF86Config file. You don't need any wrappers or DRI stuff or anything. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 13: 8:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id 20AAC37B718 for ; Sun, 11 Mar 2001 13:08:32 -0800 (PST) (envelope-from danfe@inet.ssc.nsu.ru) Received: (qmail 2199 invoked from network); 11 Mar 2001 21:08:28 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 11 Mar 2001 21:08:28 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id DAA23045; Mon, 12 Mar 2001 03:07:54 +0600 Date: Mon, 12 Mar 2001 03:07:53 +0600 (NOVT) From: Alexey Dokuchaev To: Jordan Hubbard Cc: thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: <20010311121646B.jkh@osd.bsdi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 11 Mar 2001, Jordan Hubbard wrote: > > 3D acceleration (or the lack thereof) is supposed to be one of the > > reasons why XFree 336 is still the standard version delivered for > > FreeBSD. > > It is, at least for me. I've been waiting for XFree86 4.0.x to come > up to the same FPS performance numbers since it came out. So, are you saying that 3.3.6 performs better than 4.0.2? If this is true I might dump 4.0.2 and go for 3.3.6 (luckily there's server with ttf support builtin). -- WBR, Alexey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 13:32:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id 0533C37B71C for ; Sun, 11 Mar 2001 13:32:53 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 82E841E4; Mon, 12 Mar 2001 00:32:51 +0300 (MSK) Date: Mon, 12 Mar 2001 00:32:51 +0300 From: "Sergey A. Osokin" To: mike.mcclain@shakeyjakes.com Cc: freebsd-hackers@freebsd.org Subject: Re: Help!!! 2nd HD gone Message-ID: <20010312003251.A82511@freebsd.org.ru> Reply-To: osa@FreeBSD.org.ru References: <1885275403@shakeyjakes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1885275403@shakeyjakes.com>; from mike.mcclain@shakeyjakes.com on Sun, Mar 11, 2001 at 11:01:07AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 11, 2001 at 11:01:07AM -0800, mike.mcclain@shakeyjakes.com wrote: > Howdy, > > fbsd:~> uname -a > FreeBSD playground 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Sun Mar 26 At first time, you must up to RELENG_3. Then, if it don't help, you must up to RELENG_4 (via RELEASE_4_0_0 or other, please see handbook and archive of -stable maillist). -- Rgdz, /"\ Sergey Osokin aka oZZ, \ / ASCII RIBBON CAMPAIGN osa@freebsd.org.ru X AGAINST HTML MAIL http://freebsd.org.ru/~osa/ / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 14:14:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from erekose.chaos.net (netppp-053.wuerzburg.dialin.mayn.de [194.145.151.53]) by hub.freebsd.org (Postfix) with ESMTP id 48D6437B718 for ; Sun, 11 Mar 2001 14:14:14 -0800 (PST) (envelope-from irrsinn@mayn.de) Received: (from irrsinn@localhost) by erekose.chaos.net (8.11.1/8.11.1) id f2BNFx300338 for freebsd-hackers@freebsd.org; Sun, 11 Mar 2001 23:15:59 GMT (envelope-from irrsinn) Date: Sun, 11 Mar 2001 23:15:49 +0000 From: joerch To: freebsd-hackers@freebsd.org Subject: Re: Problem with K6-2/500 CPU Message-ID: <20010311231549.A292@mayn.de> References: <20010310184300.A83942@netserv1.chg.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010310184300.A83942@netserv1.chg.ru>; from dima@chg.ru on Sat, Mar 10, 2001 at 06:43:00PM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi all i can say, freebsd 3.1 to 4.2 is running stable and fine ;) on k6-2 400 and 500 !!! i am got it running here on my maschine. -- gruesse joerg "joerch" buechner mailto: helix@mayn.de subject: i know fraggin nothin, bastich! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 15:33:17 2001 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 E6D2337B718 for ; Sun, 11 Mar 2001 15:33:10 -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 KAA26746; Mon, 12 Mar 2001 10:02:16 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 12 Mar 2001 10:02:16 +1030 (CST) From: "Daniel O'Connor" To: Alexey Dokuchaev Subject: Re: Porting NVidia linux kernel modules to FreeBSD Cc: freebsd-hackers@FreeBSD.ORG, thierry@herbelot.com, Jordan Hubbard Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 11-Mar-01 Alexey Dokuchaev wrote: > On Sun, 11 Mar 2001, Jordan Hubbard wrote: > > It is, at least for me. I've been waiting for XFree86 4.0.x to come > > up to the same FPS performance numbers since it came out. > So, are you saying that 3.3.6 performs better than 4.0.2? If this is true > I might dump 4.0.2 and go for 3.3.6 (luckily there's server with ttf > support builtin). Well, in 3d it is better because you can use Utah-GLX with 3.3.6 but not 4.x. In 3d 3.3.6 is worse because it doesn't accelerate 24bit displays (and maybe other aspects). DRI would be nice, but nVidia don't agree so the Linux foo would be next best. --- 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 Sun Mar 11 15:42:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 3975A37B718 for ; Sun, 11 Mar 2001 15:42:47 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2BNfVH71374; Sun, 11 Mar 2001 15:41:31 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: danfe@inet.ssc.nsu.ru Cc: thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: References: <20010311121646B.jkh@osd.bsdi.com> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010311154131N.jkh@osd.bsdi.com> Date: Sun, 11 Mar 2001 15:41:31 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 6 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > So, are you saying that 3.3.6 performs better than 4.0.2? If this is true Absolutely. At least 2X the frame rate using the same OpenGL app in each case. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 16:14:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from liszt-02.ednet.co.uk (liszt-02.ednet.co.uk [212.20.226.19]) by hub.freebsd.org (Postfix) with ESMTP id 8C5D637B71A for ; Sun, 11 Mar 2001 16:14:09 -0800 (PST) (envelope-from ianc@ednet.co.uk) Received: from pachabel.ednet.co.uk (pachabel.ednet.co.uk [212.20.231.39]) by liszt-02.ednet.co.uk (Postfix) with ESMTP id BFE63B5 for ; Mon, 12 Mar 2001 00:13:53 +0000 (GMT) Received: by pachabel.ednet.co.uk (Postfix, from userid 906) id 3DBA2EA66; Mon, 12 Mar 2001 00:13:53 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by pachabel.ednet.co.uk (Postfix) with ESMTP id 34CF4A41A for ; Mon, 12 Mar 2001 00:13:53 +0000 (GMT) Date: Mon, 12 Mar 2001 00:13:53 +0000 (GMT) From: Ian Campbell To: Subject: Greater than 2GB per process 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, Could anybody advise me on the possiblity of having greater than 2GB per process on FreeBSD. I have tried increasing the limit beyond this and the kernel compiles successfully - however libc causes every process to segfault. I am assuming that just recompiling the C library wouldn't do the trick but perhaps someone could confirm this. Cheers, Ian Campbell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 18:19: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id 1E8C337B71D for ; Sun, 11 Mar 2001 18:18:59 -0800 (PST) (envelope-from danfe@inet.ssc.nsu.ru) Received: (qmail 2719 invoked from network); 12 Mar 2001 02:18:34 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 12 Mar 2001 02:18:34 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id IAA23988; Mon, 12 Mar 2001 08:17:45 +0600 Date: Mon, 12 Mar 2001 08:17:44 +0600 (NOVT) From: Alexey Dokuchaev To: Jordan Hubbard Cc: thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: <20010311154131N.jkh@osd.bsdi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 11 Mar 2001, Jordan Hubbard wrote: > > So, are you saying that 3.3.6 performs better than 4.0.2? If this is true > > Absolutely. At least 2X the frame rate using the same OpenGL app in > each case. > But, this is when using hw accel on 3.3.6 vs. software "accel" on 4.0.2, right, like it would be in case of nvidia cards? Contrary, it cant' be *that* bad if I carry out these test with card that fully supports DRI. right? //danfe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 18:21:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id E7DAD37B71A for ; Sun, 11 Mar 2001 18:21:44 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2C2KAH72168; Sun, 11 Mar 2001 18:20:10 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: danfe@inet.ssc.nsu.ru Cc: thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: References: <20010311154131N.jkh@osd.bsdi.com> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010311182010Z.jkh@osd.bsdi.com> Date: Sun, 11 Mar 2001 18:20:10 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 9 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Alexey Dokuchaev Subject: Re: Porting NVidia linux kernel modules to FreeBSD Date: Mon, 12 Mar 2001 08:17:44 +0600 (NOVT) > But, this is when using hw accel on 3.3.6 vs. software "accel" on 4.0.2, No. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 18:27:26 2001 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 5A94937B739 for ; Sun, 11 Mar 2001 18:27:18 -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 MAA01267; Mon, 12 Mar 2001 12:57:11 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010311182010Z.jkh@osd.bsdi.com> Date: Mon, 12 Mar 2001 12:57:11 +1030 (CST) From: "Daniel O'Connor" To: Jordan Hubbard Subject: Re: Porting NVidia linux kernel modules to FreeBSD Cc: freebsd-hackers@FreeBSD.ORG, thierry@herbelot.com, danfe@inet.ssc.nsu.ru Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12-Mar-01 Jordan Hubbard wrote: > From: Alexey Dokuchaev > Subject: Re: Porting NVidia linux kernel modules to FreeBSD > Date: Mon, 12 Mar 2001 08:17:44 +0600 (NOVT) > > > But, this is when using hw accel on 3.3.6 vs. software "accel" on 4.0.2, > > No. What 3d acceleration can you do with X4 WRT OpenGL? I wasn't aware you could do any. --- 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 Sun Mar 11 18:36: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id 2232937B718 for ; Sun, 11 Mar 2001 18:36:02 -0800 (PST) (envelope-from danfe@inet.ssc.nsu.ru) Received: (qmail 2729 invoked from network); 12 Mar 2001 02:29:10 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 12 Mar 2001 02:29:10 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id IAA24013; Mon, 12 Mar 2001 08:28:41 +0600 Date: Mon, 12 Mar 2001 08:28:41 +0600 (NOVT) From: Alexey Dokuchaev To: Jordan Hubbard Cc: thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: <20010311182010Z.jkh@osd.bsdi.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 > > > But, this is when using hw accel on 3.3.6 vs. software "accel" on 4.0.2, > > No. > Meaning, 3.3.6 + utah_glx outperforms by a factor of two 4.0.2 + DRI?! - danfe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 18:49:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from netau1.alcanet.com.au (ntp.alcanet.com.au [203.62.196.27]) by hub.freebsd.org (Postfix) with ESMTP id 4058537B718 for ; Sun, 11 Mar 2001 18:49:26 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: from mfg1.cim.alcatel.com.au (mfg1.cim.alcatel.com.au [139.188.23.1]) by netau1.alcanet.com.au (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id NAA19124; Mon, 12 Mar 2001 13:48:22 +1100 (EDT) Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37640) with ESMTP id <01K140VILS40OZ4MR3@cim.alcatel.com.au>; Mon, 12 Mar 2001 13:48:17 +1100 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.11.1/8.11.1) id f2C2mCK14887; Mon, 12 Mar 2001 13:48:12 +1100 (EST envelope-from jeremyp) Content-return: prohibited Date: Mon, 12 Mar 2001 13:48:12 +1100 From: Peter Jeremy Subject: Re: Kernel area libmish stuff To: Jordan DeLong Cc: Farooq Mela , freebsd-hackers@freebsd.org Message-id: <20010312134812.A14108@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 10 Mar 2001 21:37:28 -0800, Farooq Mela wrote: >Jordan DeLong wrote: >> I was thinking of just getting a sintable array and making a few simple >> functions, so the whole of libm doesn't need to be statically linked into the >> module (from my understanding, once loaded, this module wont ever get paged >+out, >> and thus it'd be _bad_ for it to be big). > >Well, you can't do any FP stuff inside the kernel, as stated by others. >But what you can do is use the fact that: > >sin(x) = x - (x^3)/3! + (x^5)/5! - (x^7)/7! ... Actually, whilst Taylor expansions are mathematically nice, they are generally a very poor implementation choice - primarily because they are infinite series and can be very slow to converge for large x. Trig functions are normally implemented as truncated Taylor series (you pick a finite expansion and tweak the co-efficients to minimise error), or ratios of polynomials. In both cases, the polynomials need to be `tuned' to suit the FP precision. If you do decide to go the fixed-point approach, remember that multiplication and division need fixups afterwards to re-align the binary point. (Multiplying two numbers with a 24 bit fraction gives a result with a 48 bit fraction). If you did pick a 24-bit fraction, you could probably pinch the co-efficients out of the `float' trig functions in msun. For a totally different approach, try Cordic algorithms. Cordic algorithms let you implement circular and hyperbolic functions (including exponential, log and sqrt) using add, subtract, shift and table lookup. (An n-bit result needs an n-entry x n-bit table, 2n shifts and 3n adds/subtracts). I know there was an article in October 1990 Dr Dobbs Journal and a web search should probably find plenty more. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 19:25:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id 0B20437B718 for ; Sun, 11 Mar 2001 19:25:27 -0800 (PST) (envelope-from danfe@inet.ssc.nsu.ru) Received: (qmail 2743 invoked from network); 12 Mar 2001 03:25:25 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 12 Mar 2001 03:25:25 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id JAA24105; Mon, 12 Mar 2001 09:24:22 +0600 Date: Mon, 12 Mar 2001 09:24:22 +0600 (NOVT) From: Alexey Dokuchaev To: Jordan Hubbard Cc: thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to 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 Mon, 12 Mar 2001, Alexey Dokuchaev wrote: > > > > > But, this is when using hw accel on 3.3.6 vs. software "accel" on 4.0.2, > > > > No. > > > > Meaning, 3.3.6 + utah_glx outperforms by a factor of two 4.0.2 + DRI?! > Or, even better, 4.0.2 + "suppose-we-managed-to-port-it nvidia kernel module" + nvidia binary 'nvidia' replacement module for XFree-4's 'nv' driver? I mean, will 336/utah be better?? //danfe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 19:30:49 2001 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 141F737B718 for ; Sun, 11 Mar 2001 19:30:40 -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 OAA02344; Mon, 12 Mar 2001 14:00:14 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 12 Mar 2001 14:00:14 +1030 (CST) From: "Daniel O'Connor" To: Alexey Dokuchaev Subject: Re: Porting NVidia linux kernel modules to FreeBSD Cc: freebsd-hackers@FreeBSD.ORG, thierry@herbelot.com, Jordan Hubbard Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12-Mar-01 Alexey Dokuchaev wrote: > > Meaning, 3.3.6 + utah_glx outperforms by a factor of two 4.0.2 + DRI?! > > > > Or, even better, 4.0.2 + "suppose-we-managed-to-port-it nvidia kernel > module" + nvidia binary 'nvidia' replacement module for XFree-4's 'nv' > driver? I mean, will 336/utah be better?? No, nvidia's binary driver would be (a lot) faster. The Utah-GLX one doesn't direct render which slows it down a lot. (All the GL commands go through the X pipe) --- 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 Sun Mar 11 20:26:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id 6B13F37B718 for ; Sun, 11 Mar 2001 20:26:40 -0800 (PST) (envelope-from danfe@inet.ssc.nsu.ru) Received: (qmail 2814 invoked from network); 12 Mar 2001 04:26:35 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 12 Mar 2001 04:26:35 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id KAA24321; Mon, 12 Mar 2001 10:25:00 +0600 Date: Mon, 12 Mar 2001 10:25:00 +0600 (NOVT) From: Alexey Dokuchaev To: "Daniel O'Connor" Cc: freebsd-hackers@FreeBSD.ORG, thierry@herbelot.com, Jordan Hubbard Subject: Re: Porting NVidia linux kernel modules to 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 Mon, 12 Mar 2001, Daniel O'Connor wrote: > > On 12-Mar-01 Alexey Dokuchaev wrote: > > > Meaning, 3.3.6 + utah_glx outperforms by a factor of two 4.0.2 + DRI?! > > > > > > > Or, even better, 4.0.2 + "suppose-we-managed-to-port-it nvidia kernel > > module" + nvidia binary 'nvidia' replacement module for XFree-4's 'nv' > > driver? I mean, will 336/utah be better?? > > No, nvidia's binary driver would be (a lot) faster. > > The Utah-GLX one doesn't direct render which slows it down a lot. (All the GL > commands go through the X pipe) That's what I thought, but Jordan's email really made me doubt that my vision of things is correct. Particulary, I don't quite understand this one: Statement #1: Utah-GLX doesn't direct render Statement #2: From man nv(4) of XFree-4.0.2- "The driver is fully accelerated, and provides support..." Thus far, it seems that based on these two statements, 336/utah (taking into account that 1) it is somewhat older technology; 2) XFree86-4.0.2 driver is in fact native nvidia's software render driver (providing non-direct rendering 3D acceleration of OpenGL) released as OpenSource (http://www.nvidia.com/Products/OpenLinuxDwn.nsf/XFree86335)) should be at its best as fast as X4 'nv' driver (included in X4 core distribution), and probably even slower. That's what my common sense says :-) So, considering all the above, I don't quite understand "at least 2X the frame rate using the same OpenGL app", speaking Jordan's words. I'm probably missing something here, and I'm very eager to find my way out :-) Actually, there's one more question I have about XFree-4. IIUC, core GL libs, such as libGL.so, libOSMesa.so, etc are included in XFree 4.0.2 core distribution. So how come that lots of applications still have Mesa-3.2 in their dependencies? 10x. -- WBR To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 20:32:58 2001 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 1D58D37B71A for ; Sun, 11 Mar 2001 20:32:53 -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 PAA03126; Mon, 12 Mar 2001 15:02:22 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 12 Mar 2001 15:02:22 +1030 (CST) From: "Daniel O'Connor" To: Alexey Dokuchaev Subject: Re: Porting NVidia linux kernel modules to FreeBSD Cc: Jordan Hubbard , thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12-Mar-01 Alexey Dokuchaev wrote: > That's what I thought, but Jordan's email really made me doubt that my > vision of things is correct. Particulary, I don't quite understand this > one: > > Statement #1: Utah-GLX doesn't direct render > > Statement #2: From man nv(4) of XFree-4.0.2- "The driver is fully > accelerated, and provides support..." This means 'in 2D'. > So, considering all the above, I don't quite understand "at least 2X the > frame rate using the same OpenGL app", speaking Jordan's words. > > I'm probably missing something here, and I'm very eager to find my way > out :-) Yes, see above :) > Actually, there's one more question I have about XFree-4. IIUC, core GL > libs, such as libGL.so, libOSMesa.so, etc are included in XFree 4.0.2 core > distribution. So how come that lots of applications still have Mesa-3.2 > in their dependencies? No idea :) --- 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 Sun Mar 11 20:41:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id CF02637B718 for ; Sun, 11 Mar 2001 20:41:32 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2C4fUY26009; Sun, 11 Mar 2001 20:41:30 -0800 (PST) Date: Sun, 11 Mar 2001 20:41:30 -0800 From: Alfred Perlstein To: Ian Campbell Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Greater than 2GB per process Message-ID: <20010311204130.N18351@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ianc@ednet.co.uk on Mon, Mar 12, 2001 at 12:13:53AM +0000 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Ian Campbell [010311 16:14] wrote: > > Hello, > Could anybody advise me on the possiblity of having greater than > 2GB per process on FreeBSD. I have tried increasing the limit beyond this > and the kernel compiles successfully - however libc causes every process > to segfault. I am assuming that just recompiling the C library wouldn't do > the trick but perhaps someone could confirm this. It's not possible on the Intel archetecture with the current system, changing the current intel system to use > 2GB processes would cost too much in terms of performance (64 bit values on a 32 bit system). At least that's what i've been told. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 20:42:21 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id A932037B718 for ; Sun, 11 Mar 2001 20:42:14 -0800 (PST) (envelope-from danfe@inet.ssc.nsu.ru) Received: (qmail 2835 invoked from network); 12 Mar 2001 04:42:10 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 12 Mar 2001 04:42:10 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id KAA24373; Mon, 12 Mar 2001 10:41:28 +0600 Date: Mon, 12 Mar 2001 10:41:28 +0600 (NOVT) From: Alexey Dokuchaev To: "Daniel O'Connor" Cc: Jordan Hubbard , thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to 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 Mon, 12 Mar 2001, Daniel O'Connor wrote: > > On 12-Mar-01 Alexey Dokuchaev wrote: > > That's what I thought, but Jordan's email really made me doubt that my > > vision of things is correct. Particulary, I don't quite understand this > > one: > > > > Statement #1: Utah-GLX doesn't direct render > > > > Statement #2: From man nv(4) of XFree-4.0.2- "The driver is fully > > accelerated, and provides support..." > > This means 'in 2D'. Oh, OK, got it now. 10x. ./me To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 20:48:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from zogbe.tasam.com (hc6526bd1.dhcp.vt.edu [198.82.107.209]) by hub.freebsd.org (Postfix) with ESMTP id 3DF1437B719 for ; Sun, 11 Mar 2001 20:48:22 -0800 (PST) (envelope-from clash@tasam.com) Received: from blah (hc6526bd1.dhcp.vt.edu [198.82.107.209]) by zogbe.tasam.com (8.11.3/8.11.3) with SMTP id f2C4mAR23517; Sun, 11 Mar 2001 23:48:10 -0500 (EST) Message-ID: <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> From: "Joseph Gleason" To: "Alfred Perlstein" , "Ian Campbell" Cc: References: <20010311204130.N18351@fw.wintelcom.net> Subject: Re: Greater than 2GB per process Date: Sun, 11 Mar 2001 23:48:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Alfred Perlstein" To: "Ian Campbell" Cc: Sent: Sunday, March 11, 2001 23:41 Subject: Re: Greater than 2GB per process > * Ian Campbell [010311 16:14] wrote: > > > > Hello, > > Could anybody advise me on the possiblity of having greater than > > 2GB per process on FreeBSD. I have tried increasing the limit beyond this > > and the kernel compiles successfully - however libc causes every process > > to segfault. I am assuming that just recompiling the C library wouldn't do > > the trick but perhaps someone could confirm this. > > It's not possible on the Intel archetecture with the current system, > changing the current intel system to use > 2GB processes would cost too > much in terms of performance (64 bit values on a 32 bit system). > > At least that's what i've been told. > I know very little about how kernel or low level processor stuff works, but shouldn't we be able to do a 4GB process on a 32-bit system? The limitation of 2GB per process should only be an issue if there is some need to use signed numbers, right? Joe Gleason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 20:50:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6B40737B71A for ; Sun, 11 Mar 2001 20:50:37 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2C4oOD26311; Sun, 11 Mar 2001 20:50:24 -0800 (PST) Date: Sun, 11 Mar 2001 20:50:24 -0800 From: Alfred Perlstein To: Joseph Gleason Cc: Ian Campbell , freebsd-hackers@FreeBSD.ORG Subject: Re: Greater than 2GB per process Message-ID: <20010311205023.P18351@fw.wintelcom.net> References: <20010311204130.N18351@fw.wintelcom.net> <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003701c0aaaf$a4566ce0$dc02010a@fireduck.com>; from clash@tasam.com on Sun, Mar 11, 2001 at 11:48:09PM -0500 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Joseph Gleason [010311 20:48] wrote: > > ----- Original Message ----- > From: "Alfred Perlstein" > To: "Ian Campbell" > Cc: > Sent: Sunday, March 11, 2001 23:41 > Subject: Re: Greater than 2GB per process > > > > * Ian Campbell [010311 16:14] wrote: > > > > > > Hello, > > > Could anybody advise me on the possiblity of having greater than > > > 2GB per process on FreeBSD. I have tried increasing the limit beyond > this > > > and the kernel compiles successfully - however libc causes every process > > > to segfault. I am assuming that just recompiling the C library wouldn't > do > > > the trick but perhaps someone could confirm this. > > > > It's not possible on the Intel archetecture with the current system, > > changing the current intel system to use > 2GB processes would cost too > > much in terms of performance (64 bit values on a 32 bit system). > > > > At least that's what i've been told. > > > > I know very little about how kernel or low level processor stuff works, but > shouldn't we be able to do a 4GB process on a 32-bit system? > The limitation of 2GB per process should only be an issue if there is some > need to use signed numbers, right? Yes, we use signed numbers. Check the list archives, there's some pretty detailed discussions that explain why it's this way. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 21:18:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from klapaucius.zer0.org (klapaucius.zer0.org [204.152.186.45]) by hub.freebsd.org (Postfix) with ESMTP id C8FFA37B738 for ; Sun, 11 Mar 2001 21:18:08 -0800 (PST) (envelope-from gsutter@zer0.org) Received: by klapaucius.zer0.org (Postfix, from userid 1001) id 83633239A54; Sun, 11 Mar 2001 21:18:08 -0800 (PST) Date: Sun, 11 Mar 2001 21:18:08 -0800 From: Gregory Sutter To: Peter Seebach Cc: hackers@freebsd.org Subject: Re: if_fxp - the real point Message-ID: <20010311211808.C9369@klapaucius.zer0.org> References: <200103110348.f2B3m3N03479@mass.dis.org> <200103110356.f2B3ub210567@guild.plethora.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103110356.f2B3ub210567@guild.plethora.net>; from seebs@plethora.net on Sat, Mar 10, 2001 at 09:56:37PM -0600 Organization: daemonnews Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2001-03-10 21:56 -0600, Peter Seebach wrote: > > Out of idle curiousity, has the NIH syndrome died down enough that > it might hypothetically be possible for the three major *BSD camps > to cooperate on this kind of thing? Form an organization the purpose > of which is to get access to driver docs *for all three systems*? An > organization which can claim to represent 2N or 3N users, instead of > N, *might* be able to get people to listen more closely... Especially > if it maintained a page describing hardware and vendor relations, and > a lot of people got in the habit of linking to it. Does Intel care > if there's a page saying "Intel has refused to provide specs, so we > are obliged to recommend Frobozz Magic Ethernet instead"? Probably > not, but they *might*. More than they care about mutterings on mailing > lists, certainly. Peter, This sounds like something that Daemon News might be able to help with. Are you interested in spending some time on it? Our staff is stretched very thin right now and can't really take on any more projects without additional volunteers. If you or another interested party has the time, though, I think that the attempt should be made and that Daemon News is the right umbrella for it. Greg -- Gregory S. Sutter The measure of a man is the way mailto:gsutter@daemonnews.org he bears up under misfortune. http://www.daemonnews.org/ --Plutarch hkp://wwwkeys.pgp.net/0x845DFEDD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 21:22:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from klapaucius.zer0.org (klapaucius.zer0.org [204.152.186.45]) by hub.freebsd.org (Postfix) with ESMTP id B7EE337B718; Sun, 11 Mar 2001 21:22:40 -0800 (PST) (envelope-from gsutter@zer0.org) Received: by klapaucius.zer0.org (Postfix, from userid 1001) id 779A3239A54; Sun, 11 Mar 2001 21:22:40 -0800 (PST) Date: Sun, 11 Mar 2001 21:22:40 -0800 From: Gregory Sutter To: Robert Watson Cc: Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org Subject: Re: httpfs Message-ID: <20010311212240.D9369@klapaucius.zer0.org> References: <20010310031515.A8998@mollari.cthul.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.org on Sat, Mar 10, 2001 at 01:36:30PM -0500 Organization: Zer0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2001-03-10 13:36 -0500, Robert Watson wrote: > On Sat, 10 Mar 2001, Kris Kennaway wrote: > > > A few of us were talking on IRC tonight about how cool it would be to > > have an httpfs filesystem -- then it occurred to me we almost have > > this already, in the form of the (under-utilised) portalfs. Portalfs > > works by handing off everything to a userland daemon which handles the > > actual transaction request, so you could easily imagine extending it > > to provide an http method similar to the tcp method it currently has > > for initiating tcp connections. > > I need not remind you that file systems front-ending onto random > protocols are a bad idea for a huge number of reasons :-). Could you give me the three biggest reasons, IYO? I don't seem to know any of them. Thanks! Greg -- Gregory S. Sutter Five million battered women in mailto:gsutter@zer0.org this country, and I've always http://www.zer0.org/~gsutter/ eaten mine plain... hkp://wwwkeys.pgp.net/0x845DFEDD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Mar 11 23:28:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [207.154.226.10]) by hub.freebsd.org (Postfix) with ESMTP id 7BB0937B71A for ; Sun, 11 Mar 2001 23:28:41 -0800 (PST) (envelope-from ps@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 36E6481D01; Mon, 12 Mar 2001 01:28:41 -0600 (CST) Date: Sun, 11 Mar 2001 23:28:41 -0800 From: Paul Saab To: Alfred Perlstein Cc: freebsd-hackers@freebsd.org Subject: Re: Greater than 2GB per process Message-ID: <20010311232841.A20355@elvis.mu.org> References: <20010311204130.N18351@fw.wintelcom.net> <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> <20010311205023.P18351@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010311205023.P18351@fw.wintelcom.net>; from bright@wintelcom.net on Sun, Mar 11, 2001 at 08:50:24PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein (bright@wintelcom.net) wrote: > * Joseph Gleason [010311 20:48] wrote: > > > > ----- Original Message ----- > > From: "Alfred Perlstein" > > To: "Ian Campbell" > > Cc: > > Sent: Sunday, March 11, 2001 23:41 > > Subject: Re: Greater than 2GB per process > > > > > > > * Ian Campbell [010311 16:14] wrote: > > > > > > > > Hello, > > > > Could anybody advise me on the possiblity of having greater than > > > > 2GB per process on FreeBSD. I have tried increasing the limit beyond > > this > > > > and the kernel compiles successfully - however libc causes every process > > > > to segfault. I am assuming that just recompiling the C library wouldn't > > do > > > > the trick but perhaps someone could confirm this. > > > > > > It's not possible on the Intel archetecture with the current system, > > > changing the current intel system to use > 2GB processes would cost too > > > much in terms of performance (64 bit values on a 32 bit system). > > > > > > At least that's what i've been told. > > > > > > > I know very little about how kernel or low level processor stuff works, but > > shouldn't we be able to do a 4GB process on a 32-bit system? > > The limitation of 2GB per process should only be an issue if there is some > > need to use signed numbers, right? > > Yes, we use signed numbers. Check the list archives, there's some > pretty detailed discussions that explain why it's this way. Actually.. the kernel and userspace processes use the same address space and since the kernel take 1GB of the address apce, you then have 512MB allocated for the malloc pool and the rest is allocated to malloc, so techinically you can mmap 2.5GB of memory, but according to the manual page of mmap.. BUGS len is limited to 2GB. Mmapping slightly more than 2GB doesn't work, but it is possible to map a window of size (filesize % 2GB) for file sizes of slightly less than 2G, 4GB, 6GB and 8GB. The limit is imposed for a variety of reasons. Most of them have to do with FreeBSD not wanting to use 64 bit offsets in the VM system due to the extreme performance penalty. So FreeBSD uses 32bit page indexes and this gives FreeBSD a maximum of 8TB filesizes. It's actually bugs in the filesystem code that causes the limit to be further restricted to 1TB (loss of precision when doing blockno calculations). Another reason for the 2GB limit is that filesystem metadata can reside at negative offsets. asd We currently can only deal with page aligned file offsets. b To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 0:48:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 06B7137B719 for ; Mon, 12 Mar 2001 00:48:47 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2C8lPH73464; Mon, 12 Mar 2001 00:47:30 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: doconnor@gsoft.com.au Cc: freebsd-hackers@FreeBSD.ORG, thierry@herbelot.com, danfe@inet.ssc.nsu.ru Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: References: <20010311182010Z.jkh@osd.bsdi.com> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010312004724C.jkh@osd.bsdi.com> Date: Mon, 12 Mar 2001 00:47:24 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 11 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > What 3d acceleration can you do with X4 WRT OpenGL? Well, I've gotten things set up to where GLX shows up as an extention and XFree86 claims the glx module is loaded. How much actual "hardware acceleration" is used or taken advantage of by the 4.0.x code is hard to say without looking at it in depth, but the numbers I've gotten so far with this exceed the numbers I get with pure Mesa so it's fair to say that it's not doing strictly software rendering either. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 0:50:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 6A69D37B718 for ; Mon, 12 Mar 2001 00:50:23 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2C8mHH73476; Mon, 12 Mar 2001 00:48:17 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: danfe@inet.ssc.nsu.ru Cc: thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: References: <20010311182010Z.jkh@osd.bsdi.com> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010312004817Z.jkh@osd.bsdi.com> Date: Mon, 12 Mar 2001 00:48:17 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 6 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Meaning, 3.3.6 + utah_glx outperforms by a factor of two 4.0.2 + DRI?! I'm sorry if that bothers you, but you're more than free to try and reproduce my results. :) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 0:58:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 7C59537B74D for ; Mon, 12 Mar 2001 00:58:32 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2C8rEH73502; Mon, 12 Mar 2001 00:53:14 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: danfe@inet.ssc.nsu.ru Cc: thierry@herbelot.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: References: X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010312005314M.jkh@osd.bsdi.com> Date: Mon, 12 Mar 2001 00:53:14 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 13 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Or, even better, 4.0.2 + "suppose-we-managed-to-port-it nvidia kernel > module" + nvidia binary 'nvidia' replacement module for XFree-4's 'nv' > driver? I mean, will 336/utah be better?? I can't measure vaporware. Supposing that all were to happen, I suppose we'd just have to benchmark it and see what actually happens. :) Utah-glx is not actually all that bad, considering. It doesn't exactly have full vendor support and highly customized vendor-specific drivers, but it's had awhile to mature too. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 1: 3:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id CD99437B71A for ; Mon, 12 Mar 2001 01:03:53 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2C91oH73611; Mon, 12 Mar 2001 01:01:50 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: danfe@inet.ssc.nsu.ru Cc: doconnor@gsoft.com.au, freebsd-hackers@FreeBSD.ORG, thierry@herbelot.com Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: References: X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010312010150Q.jkh@osd.bsdi.com> Date: Mon, 12 Mar 2001 01:01:50 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 19 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Guys, I'm testing the *currently available* bits, I'm not testing anything in 4.0.x we don't actually support right now (erm, how would I?) and all I'm really doing is verifying that the GLX extention is provided in both cases and that the test application is linked against the appropriate glx-aware OpenGL library. More than that, I cannot say since I haven't actually grubbed through the 4.0.2 bits to see how Matrox or Nvidia-aware they are, the G400 and TNT2 being my two test cards (I played with a Voodoo3 card for awhile but it sucked so badly under both that I stopped bothering with it). However, I think Alexey sounds like the kind of guy who shouldn't take my results as indicative of anything but instead try his own comparison tests. I don't mean that sarcastically but sincerely - having independent testing will almost certainly catch anything I missed. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 1:12:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 01D0137B718 for ; Mon, 12 Mar 2001 01:12:24 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from FreeBSD.org (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id BAA98142; Mon, 12 Mar 2001 01:12:17 -0800 (PST) (envelope-from DougB@FreeBSD.org) Message-ID: <3AAC92F1.3187A7EF@FreeBSD.org> Date: Mon, 12 Mar 2001 01:12:17 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jordan Hubbard Cc: freebsd-hackers@FreeBSD.org Subject: Re: Porting NVidia linux kernel modules to FreeBSD References: <20010311182010Z.jkh@osd.bsdi.com> <20010312004724C.jkh@osd.bsdi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jordan Hubbard wrote: > > > What 3d acceleration can you do with X4 WRT OpenGL? > > Well, I've gotten things set up to where GLX shows up as an extention > and XFree86 claims the glx module is loaded. How much actual > "hardware acceleration" is used or taken advantage of by the 4.0.x > code is hard to say without looking at it in depth, but the numbers > I've gotten so far with this exceed the numbers I get with pure Mesa > so it's fair to say that it's not doing strictly software rendering > either. I'm a little confused at this point. Does X 4 support utah-glx? Or are you referring to the GLX module that comes with X 4? I had to tweak my X 4 XF86Config file to load that module in order to get, for example the GL screensavers in xscreensaver to load, but once I did I found the performance very comparable in my entirely non-scientific comparison to the old X 3 + Mesa performance. I never installed utah-glx with X 3. Doug -- Perhaps the greatest damage the American system of education has done to its children is to teach them that their opinions are relevant simply because they are their opinions. Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 1:26:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 33E2137B718 for ; Mon, 12 Mar 2001 01:26:47 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2C9PTH73780; Mon, 12 Mar 2001 01:25:29 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: clash@tasam.com Cc: bright@wintelcom.net, ianc@ednet.co.uk, freebsd-hackers@FreeBSD.ORG Subject: Re: Greater than 2GB per process In-Reply-To: <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> References: <20010311204130.N18351@fw.wintelcom.net> <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010312012528D.jkh@osd.bsdi.com> Date: Mon, 12 Mar 2001 01:25:28 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 15 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I know very little about how kernel or low level processor stuff works, but > shouldn't we be able to do a 4GB process on a 32-bit system? > The limitation of 2GB per process should only be an issue if there is some > need to use signed numbers, right? Well, that single 4GB of address space is divided up into kernel data structures, which are in the address space of the process but subject to various levels of MMU-provided memory protection, and the process' own "user data." I believe the break is currently set in the middle at 2GB, and various attempts to adjust it more aggressively (in user data's favor) have been interesting but ultimately also proved to break things like BSD/OS binaries, which have their own assumptions about the setting of the break. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 2:41:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 2FF8937B718; Mon, 12 Mar 2001 02:41:50 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2CAerH74060; Mon, 12 Mar 2001 02:40:53 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: DougB@FreeBSD.org Cc: freebsd-hackers@FreeBSD.org Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: <3AAC92F1.3187A7EF@FreeBSD.org> References: <20010312004724C.jkh@osd.bsdi.com> <3AAC92F1.3187A7EF@FreeBSD.org> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010312024053G.jkh@osd.bsdi.com> Date: Mon, 12 Mar 2001 02:40:53 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 6 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm a little confused at this point. Does X 4 support utah-glx? Or are you > referring to the GLX module that comes with X 4? I had to tweak my X 4 The latter. X 4 doesn't support utah-glx. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 6:30:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 2821937B718 for ; Mon, 12 Mar 2001 06:30:12 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from v-ger.we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.11.1/8.11.1) with ESMTP id f2CEU4904965; Mon, 12 Mar 2001 15:30:04 +0100 (MET) Received: from we.lc.ehu.es (localhost [127.0.0.1]) by v-ger.we.lc.ehu.es (8.11.1/8.11.1) with ESMTP id f2CEU0700461; Mon, 12 Mar 2001 15:30:00 +0100 (CET) (envelope-from jose@we.lc.ehu.es) Message-ID: <3AACDD68.8A03384E@we.lc.ehu.es> Date: Mon, 12 Mar 2001 15:30:00 +0100 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Alexey Dokuchaev Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexey Dokuchaev wrote: > > Actually, there's one more question I have about XFree-4. IIUC, core GL > libs, such as libGL.so, libOSMesa.so, etc are included in XFree 4.0.2 core > distribution. So how come that lots of applications still have Mesa-3.2 > in their dependencies? > The Mesa bits included in XFree86 4.0.2 are a subset of the Mesa-3.2 port. If you have XFree86 4.0.2 installed, you should define XFREE86_VERSION=4 in /etc/make.conf; then, the Mesa 3.2 port only installs the files not included in XFree-4. Also, the ports which use the Xpm library do not depend on the xpm port (XFree-4 includes Xpm). Still there are some ports which have not been adapted to the XFREE86_VERSION mechanism; one of these is x11-toolkits/xaw3d: its Makefile checks for the existence of ${X11BASE}/XFree86 in order to find out what XFree86 version is installed. Cheers, -- JMA ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 6:35:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 10C9637B718 for ; Mon, 12 Mar 2001 06:35:40 -0800 (PST) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id JAA95238; Mon, 12 Mar 2001 09:35:34 -0500 (EST) (envelope-from mwlucas) Date: Mon, 12 Mar 2001 09:35:34 -0500 From: Michael Lucas To: Jordan Hubbard Cc: hackers@FreeBSD.ORG Subject: Re: context or unified diffs in PRs? Message-ID: <20010312093534.B95137@blackhelicopters.org> References: <20010310124249.A87381@blackhelicopters.org> <20010310120318O.jkh@osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010310120318O.jkh@osd.bsdi.com>; from jkh@osd.bsdi.com on Sat, Mar 10, 2001 at 12:03:18PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 10, 2001 at 12:03:18PM -0800, Jordan Hubbard wrote: > The handbook is wrong. Unidiffs are a far more advanced lifeform > than context diffs. :) > > - Jordan [scads of other replies deleted] Okay, okay, okay... docs/25735 is a patch for this. I assume one of the -doc team will pick it up. ==ml -- Michael Lucas mwlucas@blackhelicopters.org http://www.blackhelicopters.org/~mwlucas/ Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 6:38:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from linux.ssc.nsu.ru (linux.ssc.nsu.ru [193.124.219.91]) by hub.freebsd.org (Postfix) with SMTP id 223C737B718 for ; Mon, 12 Mar 2001 06:38:48 -0800 (PST) (envelope-from danfe@inet.ssc.nsu.ru) Received: (qmail 3994 invoked from network); 12 Mar 2001 14:38:45 -0000 Received: from inet.ssc.nsu.ru (62.76.110.12) by hub.freebsd.org with SMTP; 12 Mar 2001 14:38:45 -0000 Received: from localhost (danfe@localhost) by inet.ssc.nsu.ru (8.9.3/8.9.3) with ESMTP id UAA01015; Mon, 12 Mar 2001 20:38:11 +0600 Date: Mon, 12 Mar 2001 20:38:10 +0600 (NOVT) From: Alexey Dokuchaev To: "Jose M. Alcaide" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Porting NVidia linux kernel modules to FreeBSD In-Reply-To: <3AACDD68.8A03384E@we.lc.ehu.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 12 Mar 2001, Jose M. Alcaide wrote: > Alexey Dokuchaev wrote: > > > > Actually, there's one more question I have about XFree-4. IIUC, core GL > > libs, such as libGL.so, libOSMesa.so, etc are included in XFree 4.0.2 core > > distribution. So how come that lots of applications still have Mesa-3.2 > > in their dependencies? > > > > The Mesa bits included in XFree86 4.0.2 are a subset of the Mesa-3.2 port. > If you have XFree86 4.0.2 installed, you should define XFREE86_VERSION=4 > in /etc/make.conf; then, the Mesa 3.2 port only installs the files not > included in XFree-4. Also, the ports which use the Xpm library do not > depend on the xpm port (XFree-4 includes Xpm). > > Still there are some ports which have not been adapted to the > XFREE86_VERSION mechanism; one of these is x11-toolkits/xaw3d: its > Makefile checks for the existence of ${X11BASE}/XFree86 in order to > find out what XFree86 version is installed. Thanks a lot for your response. //danfe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 7:55:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id B479537B718 for ; Mon, 12 Mar 2001 07:55:50 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id LAA99379; Mon, 12 Mar 2001 11:08:00 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010312110505.0273eda0@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 12 Mar 2001 11:10:26 -0500 To: seebs@plethora.net (Peter Seebach), hackers@FreeBSD.ORG From: Dennis Subject: Re: if_fxp - the real point In-Reply-To: <200103110337.f2B3b1210404@guild.plethora.net> 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 10:37 PM 03/10/2001, Peter Seebach wrote: >If anyone has a specific part number or model information about the new >unsupported PHY, I'd be happy to look it up and tell you what, if anything, >I can find out. I can't send out copies of the source without some kind >of formal approval, but I could certainly at least answer questions like >"do we have a BSD-flavored driver that works with this". As it turns out (as usual), its not an "unsupported PHY" but an error in the assumption that the correct PHY information is where DG's logic thinks it should be in the eeprom. Reading the PHY info from the part directly allows you to correctly identify and set up the phy, at least on the SuperMicro MB that I was having problems with. For those with boards that give the "unsupported PHY" message who want a "quick fix", you might try just forcing the address to 1 and the device_type to 7, as every eepro100 that I've tested uses the 82555 PHY. Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 10:40:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from boromir.vpop.net (dns1.vpop.net [206.117.147.2]) by hub.freebsd.org (Postfix) with ESMTP id 528C337B727 for ; Mon, 12 Mar 2001 10:40:24 -0800 (PST) (envelope-from mreimer@vpop.net) Received: from vpop.net ([209.102.16.48]) by boromir.vpop.net (8.11.2/8.11.2) with ESMTP id f2CIeM931058 for ; Mon, 12 Mar 2001 10:40:22 -0800 (PST) (envelope-from mreimer@vpop.net) Message-ID: <3AAD1868.F5ED22BC@vpop.net> Date: Mon, 12 Mar 2001 10:41:44 -0800 From: Matthew Reimer Organization: VPOP Technologies, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Re: Porting NVidia linux kernel modules to FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following email from an Nvidia employee is very informative: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=171177+175462+/usr/local/www/db/text/2000/freebsd-hackers/20000910.freebsd-hackers He says, "There are exactly 3 source files which need to be ported from linux to freebsd, then after that, it should be fairly simple to get all of our drivers running on FreeBSD." Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 11: 2:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 2D55B37B71A for ; Mon, 12 Mar 2001 11:02:35 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2CJ2MA82200; Mon, 12 Mar 2001 11:02:22 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> Date: Mon, 12 Mar 2001 11:02:01 -0800 (PST) From: John Baldwin To: Joseph Gleason Subject: Re: Greater than 2GB per process Cc: freebsd-hackers@FreeBSD.org, Ian Campbell , Alfred Perlstein Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12-Mar-01 Joseph Gleason wrote: > > ----- Original Message ----- > From: "Alfred Perlstein" > To: "Ian Campbell" > Cc: > Sent: Sunday, March 11, 2001 23:41 > Subject: Re: Greater than 2GB per process > > >> * Ian Campbell [010311 16:14] wrote: >> > >> > Hello, >> > Could anybody advise me on the possiblity of having greater than >> > 2GB per process on FreeBSD. I have tried increasing the limit beyond > this >> > and the kernel compiles successfully - however libc causes every process >> > to segfault. I am assuming that just recompiling the C library wouldn't > do >> > the trick but perhaps someone could confirm this. >> >> It's not possible on the Intel archetecture with the current system, >> changing the current intel system to use > 2GB processes would cost too >> much in terms of performance (64 bit values on a 32 bit system). >> >> At least that's what i've been told. >> > > I know very little about how kernel or low level processor stuff works, but > shouldn't we be able to do a 4GB process on a 32-bit system? > The limitation of 2GB per process should only be an issue if there is some > need to use signed numbers, right? In theory, yes. In practice, the kernel and userland share the same memory area so that the kernel can more easily access user memory when handling syscalls, etc. Technically we could switch to using a separate virtual memory space for the kernel, but it would require work from someone very familiar with the vm system and the 386 side of vm. (Or someone willing to learn enough of it) We don't have very many such people unless you are volunteering. :) > Joe Gleason -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/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 Mar 12 11: 8:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from shakeyjakes.com (cx658371-a.elcjn1.sdca.home.com [24.13.29.199]) by hub.freebsd.org (Postfix) with SMTP id 90E3137B718 for ; Mon, 12 Mar 2001 11:08:53 -0800 (PST) (envelope-from mike.mcclain@shakeyjakes.com) Received: by shakeyjakes.com (wcMail) id 12516W Mon, 12 Mar 2001 11:07:56 -0800 From: mike.mcclain@shakeyjakes.com Subject: Re: Help!!! 2nd HD gone Date: Mon, 12 Mar 2001 11:07:52 -0800 Message-Id: <1885277447@shakeyjakes.com> Organization: Shakey Jake's Free BBS from Santee, Ca... To: freebsd-hackers@freebsd.org X-Mailer: wcMail v5.4.449.1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy oZZ, No, you've misunderstood, since this 3.4 system used to see wdc1 and had partitions/slices mounted from /dev/fstab (wd2s*) an upgrade would only further complicate the situation. I'm just hoping someone here can point out to me what I might have re-configured to have made it go away. I'm convinced it's a configuration problem because DOS and linux continue to handle the drive as expected. Any further thoughts? TIA, MiKe Quoting 'Sergey Osokin aka oZZ, osa@freebsd.org.ru' On Sun, Mar 11, 2001 at 11:01:07AM -0800, mike.mcclain@shakeyjakes.com wrote: > Howdy, > > fbsd:~> uname -a > FreeBSD playground 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Sun Mar 26 At first time, you must up to RELENG_3. Then, if it don't help, you must up to RELENG_4 (via RELEASE_4_0_0 or other, please see handbook and archive of -stable maillist). -- Rgdz, /"\ Sergey Osokin aka oZZ, \ / ASCII RIBBON CAMPAIGN osa@freebsd.org.ru X AGAINST HTML MAIL http://freebsd.org.ru/~osa/ / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 11:25:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from shakeyjakes.com (cx658371-a.elcjn1.sdca.home.com [24.13.29.199]) by hub.freebsd.org (Postfix) with SMTP id AC30537B71B for ; Mon, 12 Mar 2001 11:25:28 -0800 (PST) (envelope-from mike.mcclain@shakeyjakes.com) Received: by shakeyjakes.com (wcMail) id 12517W Mon, 12 Mar 2001 11:24:43 -0800 From: mike.mcclain@shakeyjakes.com Subject: Re: Help!!! 2nd HD gone Date: Mon, 12 Mar 2001 11:24:41 -0800 Message-Id: <1885277451@shakeyjakes.com> Organization: Shakey Jake's Free BBS from Santee, Ca... To: freebsd-hackers@freebsd.org X-Mailer: wcMail v5.4.449.1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy Ceri, Thank you for the thought but I don't think that applies here. fbsd:~> uname -a FreeBSD playground 3.4-RELEASE FreeBSD 3.4-RELEASE #1 Since the original install put / in /etc/fstab on /dev/wd0s3a, I'm inclined to think that's where it should be for this version of FreeBSD. It used to work but doesn't now so I'm inclined to think that I've touched something in the configuration that broke it. Just don't know what or where. I don't have internet access so I haven't upgraded anything. All I have here came off CD. L8r, MiKe Quoting 'Ceri Storey, cez@pkl.net' On Sun, Mar 11, 2001 at 10:59:45AM -0800, mike.mcclain@shakeyjakes.com wrote: > This makes me think the kernal is not seeing the controller at boot. what version are you crurrently running? i think that wd is now known as ad. so you want > controller wdc0 at isa? port "IO_WD1" bio irq 14 > controller wdc1 at isa? port "IO_WD2" bio irq 15 i think you want: device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives -- Ceri Storey http://pkl.net/~cez/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 11:48: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id 24F8F37B719 for ; Mon, 12 Mar 2001 11:48:06 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.0/8.11.0) id f2CJjEq67818 for hackers@freebsd.org; Mon, 12 Mar 2001 13:45:14 -0600 (CST) (envelope-from jlemon) Date: Mon, 12 Mar 2001 13:45:14 -0600 From: Jonathan Lemon To: hackers@freebsd.org Subject: non-working fxp cards Message-ID: <20010312134514.S78851@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would like anyone who has a fxp card which doesn't work with the current driver to contact me in order to test out an alternate driver. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 12:48:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 92B2A37B719 for ; Mon, 12 Mar 2001 12:48:13 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2CKm0I73801; Mon, 12 Mar 2001 12:48:00 -0800 (PST) (envelope-from dillon) Date: Mon, 12 Mar 2001 12:48:00 -0800 (PST) From: Matt Dillon Message-Id: <200103122048.f2CKm0I73801@earth.backplane.com> To: Charles Randall Cc: Andrew Gallatin , freebsd-hackers@FreeBSD.ORG Subject: Re: RE: RE: Machines are getting too damn fast References: <5FE9B713CCCDD311A03400508B8B30130828E882@bdr-xcln.is.matchlogic.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :Noted. : :Is there a gcc PR associated with this? : :http://gcc.gnu.org/cgi-bin/gnatsweb.pl : :A GNATS searc for "freebsd kernel" didn't return anything. : :-Charles No idea. Somewhere around 4.1 my -O2 and -Os kernel compiles just stopped working. There was a bunch of stuff on the list about it. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 13:29:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id B13BB37B719 for ; Mon, 12 Mar 2001 13:29:46 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id QAA01080; Mon, 12 Mar 2001 16:42:18 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010312164346.0437ceb0@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 12 Mar 2001 16:44:38 -0500 To: Jonathan Lemon , hackers@FreeBSD.ORG From: Dennis Subject: Re: non-working fxp cards In-Reply-To: <20010312134514.S78851@prism.flugsvamp.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 02:45 PM 03/12/2001, Jonathan Lemon wrote: > I would like anyone who has a fxp card which doesn't work with >the current driver to contact me in order to test out an alternate >driver. >-- >Jonathan in case you havent read my posts, I've fixed the problem with mine. Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 13:32:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv13-poa.poa.terra.com.br (srv13-poa.poa.zaz.com.br [200.248.149.91]) by hub.freebsd.org (Postfix) with ESMTP id BA91537B719 for ; Mon, 12 Mar 2001 13:32:48 -0800 (PST) (envelope-from rafael.tonin@terra.com.br) Received: from srv8-poa.poa.terra.com.br (srv8-poa.poa.terra.com.br [200.248.149.15]) by srv13-poa.poa.terra.com.br (8.9.3/8.9.3) with ESMTP id SAA27688; Mon, 12 Mar 2001 18:32:41 -0300 Received: from bohr (dl-tnt5-C8B01053.poa.terra.com.br [200.176.16.83]) by srv8-poa.poa.terra.com.br (8.11.0/8.11.1) with SMTP id f2CLWa201587; Mon, 12 Mar 2001 18:32:40 -0300 Message-ID: <000701c0ab3a$cad23300$5310b0c8@bohr> From: "Rafael Tonin" To: "Richard Hodges" Cc: References: Subject: Re: Intel PRO/100+ PCI problem Date: Mon, 12 Mar 2001 18:24:11 -0300 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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Turning PNP on into the BIOS and recompiling the Kernel with options PNPBIOS brings the problem back: fxp0: could not map memory ! Rafael Tonin ----- Original Message ----- From: "Richard Hodges" To: "Dag-Erling Smorgrav" Cc: Sent: Sunday, March 11, 2001 3:33 PM Subject: Re: Intel PRO/100+ PCI problem > On 11 Mar 2001, Dag-Erling Smorgrav wrote: > > > Richard Hodges writes: > > > On Thu, 8 Mar 2001, Rafael Tonin wrote: > > > > Anyone knows how to get this card to work? > > > > Go into your BIOS config and turn off the option > > > for "PLUG & PLAY OS". It should be with the PCI menu. > > > No, turn "PLUG & PLAY OS" *on* and add 'options PNPBIOS' to your > > kernel. If that doesn't solve your problem, we have a bug. > > Even better :-) That is good to know, especially when the BIOS > wants to assign multiple interrupts to a 4-port ethernet card. > > -Richard > > ------------------------------------------- > Richard Hodges | Matriplex, inc. > Product Manager | 769 Basque Way > rh@matriplex.com | Carson City, NV 89706 > 775-886-6477 | www.matriplex.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 Mar 12 13:41: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 2DF3537B719 for ; Mon, 12 Mar 2001 13:40:57 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f2CLgk102778; Mon, 12 Mar 2001 13:43:30 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200103122143.f2CLgk102778@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Rafael Tonin" Cc: "Richard Hodges" , freebsd-hackers@freebsd.org Subject: Re: Intel PRO/100+ PCI problem In-reply-to: Your message of "Mon, 12 Mar 2001 18:24:11 -0300." <000701c0ab3a$cad23300$5310b0c8@bohr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 12 Mar 2001 13:42:46 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Turning PNP on into the BIOS and recompiling the Kernel with options PNPBIOS > brings the problem back: > > fxp0: could not map memory ! Turn "PnP OS" off in your BIOS. We're not ready to deal with this yet. DES unfortunately doesn't really understand the issues here. > Rafael Tonin > > ----- Original Message ----- > From: "Richard Hodges" > To: "Dag-Erling Smorgrav" > Cc: > Sent: Sunday, March 11, 2001 3:33 PM > Subject: Re: Intel PRO/100+ PCI problem > > > > On 11 Mar 2001, Dag-Erling Smorgrav wrote: > > > > > Richard Hodges writes: > > > > On Thu, 8 Mar 2001, Rafael Tonin wrote: > > > > > Anyone knows how to get this card to work? > > > > > > Go into your BIOS config and turn off the option > > > > for "PLUG & PLAY OS". It should be with the PCI menu. > > > > > No, turn "PLUG & PLAY OS" *on* and add 'options PNPBIOS' to your > > > kernel. If that doesn't solve your problem, we have a bug. > > > > Even better :-) That is good to know, especially when the BIOS > > wants to assign multiple interrupts to a 4-port ethernet card. > > > > -Richard > > > > ------------------------------------------- > > Richard Hodges | Matriplex, inc. > > Product Manager | 769 Basque Way > > rh@matriplex.com | Carson City, NV 89706 > > 775-886-6477 | www.matriplex.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 -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 13:47:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id C962537B71C for ; Mon, 12 Mar 2001 13:47:10 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.0/8.11.0) id f2CLiHn72109; Mon, 12 Mar 2001 15:44:17 -0600 (CST) (envelope-from jlemon) Date: Mon, 12 Mar 2001 15:44:17 -0600 From: Jonathan Lemon To: Dennis Cc: Jonathan Lemon , hackers@FreeBSD.ORG Subject: Re: non-working fxp cards Message-ID: <20010312154417.V78851@prism.flugsvamp.com> References: <20010312134514.S78851@prism.flugsvamp.com> <5.0.0.25.0.20010312164346.0437ceb0@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <5.0.0.25.0.20010312164346.0437ceb0@mail.etinc.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 12, 2001 at 04:44:38PM -0500, Dennis wrote: > At 02:45 PM 03/12/2001, Jonathan Lemon wrote: > > I would like anyone who has a fxp card which doesn't work with > >the current driver to contact me in order to test out an alternate > >driver. > >-- > >Jonathan > > in case you havent read my posts, I've fixed the problem with mine. Glad to hear it. In that case, I expect you _NOT_ to use my new driver. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 13:56: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mclean.mail.mindspring.net (mclean.mail.mindspring.net [207.69.200.57]) by hub.freebsd.org (Postfix) with ESMTP id 3ABB737B71A for ; Mon, 12 Mar 2001 13:56:01 -0800 (PST) (envelope-from cbsears@ix.netcom.com) Received: from ix.netcom.com (user-2ivfkof.dsl.mindspring.com [165.247.211.15]) by mclean.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id QAA07492 for ; Mon, 12 Mar 2001 16:55:57 -0500 (EST) Message-ID: <3AAD46D1.B24B6562@ix.netcom.com> Date: Mon, 12 Mar 2001 13:59:45 -0800 From: Chris Sears X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Subject: ecc kld for FreeBSD 4.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Linux has some support for ECC error detection: http://www.anime.net/~goemon/linux-ecc/ I've ported ECC 0.12 to a FreeBSD kld and it seems to work. A couple of minor changes: commented out probe_450gx because the compiler was giving some plausible warnings check if ecc_mode == ECC_NONE before installing the timer I've attached it and would welcome any comments. I've also posted it back to the Linux ECC people. Chris Sears cbsears@ix.netcom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 13:58:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mclean.mail.mindspring.net (mclean.mail.mindspring.net [207.69.200.57]) by hub.freebsd.org (Postfix) with ESMTP id 1A1FB37B719 for ; Mon, 12 Mar 2001 13:58:12 -0800 (PST) (envelope-from cbsears@ix.netcom.com) Received: from ix.netcom.com (user-2ivfkof.dsl.mindspring.com [165.247.211.15]) by mclean.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id QAA21705 for ; Mon, 12 Mar 2001 16:58:06 -0500 (EST) Message-ID: <3AAD4752.9C40CE34@ix.netcom.com> Date: Mon, 12 Mar 2001 14:01:54 -0800 From: Chris Sears X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Subject: ecc kld for FreeBSD 4.2 Content-Type: multipart/mixed; boundary="------------C829E1A7414D319B6C2A655A" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------C829E1A7414D319B6C2A655A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Linux has some support for ECC error detection: http://www.anime.net/~goemon/linux-ecc/ I've ported ECC 0.12 to a FreeBSD kld and it seems to work. A couple of minor changes: commented out probe_450gx because the compiler was giving some plausible warnings check if ecc_mode == ECC_NONE before installing the timer I've attached it and would welcome any comments. I've also posted it back to the Linux ECC people. (sorry, the previous post didn't include the attachments) Chris Sears cbsears@ix.netcom.com --------------C829E1A7414D319B6C2A655A Content-Type: text/plain; charset=us-ascii; name="ecc.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ecc.c" /* * ECC kernel module (C) 1998, 1999 Dan Hollis * Portions thanks to * Michael O'Reilly * Osma Ahvenlampi * Martin Maney * Ported to FreeBSD 4.2 * Chris Sears */ #define ECC_VER "0.13 (Mar 8 2001)" #ifdef linux #define __KERNEL__ #define MODULE #define DEBUG 0 #include #include #include #include #include #include #include #include static struct timer_list ecctimer; static struct pci_dev *bridge = NULL; void checkecc(void); void cleanup_module(void); int init_module(void); #endif #ifdef __FreeBSD__ #include #include #include #include #include #include #include #include #include #include #include #define u8 u_int8_t #define u16 u_int16_t #define u32 u_int32_t static pcicfgregs pci_cfg; static struct callout_handle ecc_ch = CALLOUT_HANDLE_INITIALIZER(&ecc_ch); static int ecc_modevent(module_t mod, int type, void* data); static void ecc_check(void*); #endif void generic_check(void); void probe_via(void); void probe_450gx(void); void probe_440bx(void); void probe_440lx(void); void probe_440fx(void); void probe_430hx(void); void check_amd751(void); void probe_amd751(void); void probe_sis(void); void probe_aladdin4(void); void probe_aladdin5(void); int find_chipset(void); unsigned int pci_byte(int offset); unsigned int pci_word(int offset); unsigned int pci_dword(int offset); static u16 vendor, device; static int scrub_needed; static int scrub_row; #ifdef __FreeBSD__ #define pci_read_config_byte(bridge, offset, addr) \ *(addr) = pci_cfgread(&pci_cfg, (offset), 1) #define pci_read_config_word(bridge, offset, addr) \ *(addr) = pci_cfgread(&pci_cfg, (offset), 2) #define pci_read_config_dword(bridge, offset, addr) \ *(addr) = pci_cfgread(&pci_cfg, (offset), 4) #define pci_write_config_byte(bridge, offset, value) \ pci_cfgwrite(&pci_cfg, (offset), (value), 1) #define pci_write_config_word(bridge, offset, value) \ pci_cfgwrite(&pci_cfg, (offset), (value), 2) #define pci_write_config_dword(bridge, offset, value) \ pci_cfgwrite(&pci_cfg, (offset), (value), 4) #define printk printf #endif /* memory types */ #define BANK_EMPTY 0 /* Empty bank */ #define BANK_RESERVED 1 /* Reserved bank type */ #define BANK_FPM 2 /* Fast page mode */ #define BANK_EDO 3 /* Extended data out */ #define BANK_BEDO 4 /* Burst Extended data out */ #define BANK_SDR 5 /* Single data rate SDRAM */ #define BANK_DDR 6 /* Double data rate SDRAM */ #define BANK_RDR 7 /* Registered SDRAM */ /* * Memory bank info */ static struct bankstruct { u32 endaddr; /* bank ending address */ u8 mbecount; /* total number of MBE errors */ u8 sbecount; /* total number of SBE errors */ u8 eccmode; /* ECC enabled for this bank? */ u8 mtype; /* memory bank type */ } bank[8]; /* do any chipsets support more? */ /* chipset ECC capabilities and mode */ #define ECC_NONE 0 /* Doesnt support ECC (or is BIOS disabled) */ #define ECC_RESERVED 1 /* Reserved ECC type */ #define ECC_PARITY 2 /* Detects parity errors */ #define ECC_DETECT 3 /* Detects ECC errors */ #define ECC_CORRECT 4 /* Detects ECC errors and corrects SBE */ #define ECC_AUTO 5 /* Detects ECC errors and has hardware scrubber */ static struct ChipsetInfo { int ecc_cap; /* chipset ECC capabilities */ int ecc_mode; /* current ECC mode */ void (*check)(void); /* pointer to ecc checking routine */ #if 0 /* * I dont think we care about SERR at the moment. * We may if/when we hook into an NMI handler. */ int SERR; /* SERR enabled? */ int SERR_MBE; /* SERR on multi-bit error? */ int SERR_SBE; /* SERR on single-bit error? */ #endif int MBE_flag_address; /* pci offset for mbe register */ int MBE_flag_shift; /* bits to shift for mbe flag */ int MBE_flag_mask; /* mask for mbe flag */ int MBE_row_shift; /* bits to shift for mbe row flag */ int MBE_row_mask; /* mask for mbe register (shifted) */ int SBE_flag_address; /* pci offset for sbe register */ int SBE_flag_shift; /* bits to shift for sbe flag */ int SBE_flag_mask; /* mask for sbe flag */ int SBE_row_shift; /* bits to shift for sbe row flag */ int SBE_row_mask; /* mask for sbe register (shifted) */ int MBE_err_address1; /* pci offset for mbe address register */ int MBE_err_shift1; /* bits to shift for mbe address register */ int MBE_err_address2; /* pci offset for mbe address register */ int MBE_err_shift2; /* bits to shift for mbe address register */ u32 MBE_err_mask; /* mask for mbe address register */ int MBE_err_flag; /* MBE error flag */ int MBE_err_row; /* MBE row */ u32 MBE_addr; /* address of last MBE */ int SBE_err_address1; /* pci offset for mbe address register */ int SBE_err_shift1; /* bits to shift for mbe address register */ int SBE_err_address2; /* pci offset for mbe address register */ int SBE_err_shift2; /* bits to shift for mbe address register */ u32 SBE_err_mask; /* mask for mbe address register */ int SBE_err_flag; /* SBE error flag */ int SBE_err_row; /* SBE row */ u32 SBE_addr; /* address of last SBE */ } cs; unsigned int pci_byte(int offset) { u8 value; pci_read_config_byte(bridge, offset, &value); return value & 0xFF; } unsigned int pci_word(int offset) { u16 value; pci_read_config_word(bridge, offset, &value); return value; } unsigned int pci_dword(int offset) { u32 value; pci_read_config_dword(bridge, offset, &value); return value; } /* * generic ECC check routine * * This routine assumes that the MBE and SBE error status consist of: * * one or more bits in a status byte that are non-zero on error * * zero or more bits in a status byte that encode the row * It accomodates both the case where both the MBE and SBE data are * packed into a single byte (all chipsets currently known to me) as * well as the case where the MBE and SBE information are contained in * separate locations. The status byte is read only once for the packed * case in case the status value should be altered by being read. */ void generic_check(void) { int status = pci_byte(cs.MBE_flag_address); if ((status >> cs.MBE_flag_shift) & cs.MBE_flag_mask) { int row = (status >> cs.MBE_row_shift) & cs.MBE_row_mask; printk("<1>ECC: MBE detected in DRAM row %d\n", row); if (cs.MBE_err_address1) { cs.MBE_addr = ( pci_word(cs.MBE_err_address1 << cs.MBE_err_shift1) | pci_word(cs.MBE_err_address2 << cs.MBE_err_shift2) ) & cs.MBE_err_mask; printk("<1>ECC: MBE at memory address %lx\n", (long unsigned int)cs.MBE_addr); } scrub_needed = 2; scrub_row = row; bank[row].mbecount++; } if (cs.SBE_flag_address != cs.MBE_flag_address) status = pci_byte(cs.SBE_flag_address); if ((status >> cs.SBE_flag_shift) & cs.SBE_flag_mask) { int row = (status >> cs.SBE_row_shift) & cs.SBE_row_mask; printk("<1>ECC: SBE detected in DRAM row %d\n", row); if (cs.SBE_err_address1) { cs.SBE_addr = ( pci_word(cs.SBE_err_address1 << cs.SBE_err_shift1) | pci_word(cs.SBE_err_address2 << cs.SBE_err_shift2) ) & cs.SBE_err_mask; printk("<1>ECC: SBE at memory address %lx\n", (long unsigned int)cs.SBE_addr); } scrub_needed = 1; scrub_row = row; bank[row].sbecount++; } } /* unified VIA probe */ void probe_via(void) { int loop, ecc_ctrl, dimmslots = 3, bankshift = 23; int m_mem[] = { BANK_FPM, BANK_EDO, BANK_DDR, BANK_SDR }; switch (device) { case 0x0305: /* VIA VT8363 - KT133 */ case 0x0391: /* VIA VT8371 - KX133 */ dimmslots = 4; bankshift = 24; bank[6].endaddr=(unsigned long)pci_byte(0x56)<<24; bank[7].endaddr=(unsigned long)pci_byte(0x57)<<24; case 0x0595: /* VIA VT82C595 - VP2,VP2/97 */ m_mem[2] = BANK_RESERVED; cs.ecc_cap = ECC_CORRECT; break; case 0x0501: /* VIA VT8501 - MVP4 */ case 0x0597: /* VIA VT82C597 - VP3 */ case 0x0598: /* VIA VT82C598 - MVP3 */ case 0x0691: /* VIA VT82C691 - Apollo PRO */ case 0x0693: /* VIA VT82C693 - Apollo PRO-Plus */ cs.ecc_cap = ECC_CORRECT; break; case 0x0585: /* VIA VT82C585 - VP,VPX,VPX/97 */ default: cs.ecc_cap = ECC_NONE; return; } ecc_ctrl = pci_byte(0x6E); cs.ecc_mode = (ecc_ctrl>>7)&1 ? ECC_CORRECT : ECC_NONE; cs.check = generic_check; cs.MBE_flag_address = 0x6F; cs.MBE_flag_shift = 7; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 4; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0x6F; cs.SBE_flag_shift = 3; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 0; cs.SBE_row_mask = 7; for(loop=0;loop<6;loop++) bank[loop].endaddr = (unsigned long)pci_byte(0x5a+loop)<>(loop*2))&3]; bank[(loop*2)+1].mtype = m_mem[(pci_byte(0x60)>>(loop*2))&3]; bank[loop*2].eccmode = (ecc_ctrl>>(loop))&1; bank[(loop*2)+1].eccmode = (ecc_ctrl>>(loop))&1; } } /* * 450gx probing is buggered at the moment. */ void probe_450gx(void) { #if 0 int loop, dramc, merrcmd; u32 nbxcfg; int m_mem[] = { BANK_EDO, BANK_SDR, BANK_RDR, BANK_RESERVED }; int ddim[] = { ECC_NONE, ECC_DETECT, ECC_CORRECT, ECC_AUTO }; /* nbxcfg = pci_word(0x50) | (pci_word(0x52)<<16); */ /* dramc = pci_byte(0x57); */ merrcmd = pci_word(0xC0); /* printk("<1>DRAM Data Integrity Mode : %s\n", ddim[(nbxcfg>>7)&3]); */ for(loop=0;loop<8;loop++) { bank[loop].endaddr=(unsigned long)pci_byte(0x60+loop)<<23; /* 450gx doesnt allow mixing memory types. bleah. */ bank[loop].mtype = m_mem[(dramc>>3)&3]; /* yes, bit is _zero_ if ecc is _enabled_. */ bank[loop].eccmode = !((nbxcfg>>(loop+24))&1); } cs.ecc_cap = ECC_AUTO; /* cs.ecc_mode = (merrcmd>>1)&1 ? ECC_AUTO : ECC_DETECT; printk("<1>Correction of SBE %s\n", (merrcmd>>1)&1 ? "Enabled" : "Disabled"); */ cs.check = generic_check; cs.MBE_flag_address = 0xC2; cs.MBE_flag_shift = 0; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 5; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0xC2; cs.SBE_flag_shift = 1; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 1; cs.SBE_row_mask = 7; cs.MBE_err_address1 = 0xA8; cs.MBE_err_shift1 = 0; cs.MBE_err_address2 = 0xAA; cs.MBE_err_shift2 = 16; cs.MBE_err_mask = 0xFFFFFFFC; cs.SBE_err_address1 = 0x74; cs.SBE_err_shift1 = 0; cs.SBE_err_address2 = 0x76; cs.SBE_err_shift2 = 16; cs.SBE_err_mask = 0xFFFFFFFC; #endif } /* there seems to be NO WAY to distinguish 440zx from 440bx!! >B( */ void probe_440bx(void) { int loop, dramc, errcmd; u32 nbxcfg; int m_mem[] = { BANK_EDO, BANK_SDR, BANK_RDR, BANK_RESERVED }; int ddim[] = { ECC_NONE, ECC_DETECT, ECC_CORRECT, ECC_AUTO }; nbxcfg = pci_word(0x50) | (pci_word(0x52)<<16); dramc = pci_byte(0x57); errcmd = pci_byte(0x90); cs.ecc_cap = ECC_AUTO; cs.ecc_mode = ddim[(nbxcfg>>7)&3]; cs.check = generic_check; cs.MBE_flag_address = 0x91; cs.MBE_flag_shift = 4; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 5; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0x91; cs.SBE_flag_shift = 0; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 1; cs.SBE_row_mask = 7; cs.MBE_err_address1 = 80; cs.MBE_err_shift1 = 0; cs.MBE_err_address2 = 82; cs.MBE_err_shift2 = 16; cs.MBE_err_mask = 0xFFFFF000; cs.SBE_err_address1 = 80; cs.SBE_err_shift1 = 0; cs.SBE_err_address2 = 82; cs.SBE_err_shift2 = 16; cs.SBE_err_mask = 0xFFFFF000; for(loop=0;loop<8;loop++) { bank[loop].endaddr=(unsigned long)pci_byte(0x60+loop)<<23; /* 440bx doesnt allow mixing memory types. bleah. */ bank[loop].mtype = m_mem[(dramc>>3)&3]; /* yes, bit is _zero_ if ecc is _enabled_. */ bank[loop].eccmode = !((nbxcfg>>(loop+24))&1); } } /* no way to tell 440ex from 440lx!? grr. */ void probe_440lx(void) { int loop, drt, paccfg, errcmd; int m_mem[] = { BANK_EDO, BANK_RESERVED, BANK_SDR, BANK_EMPTY }; int ddim[] = { ECC_NONE, ECC_DETECT, ECC_RESERVED, ECC_CORRECT } ; paccfg = pci_word(0x50); drt = pci_byte(0x55) | (pci_byte(0x56)<<8); errcmd = pci_byte(0x90); /* 440ex doesnt support ecc, but no way to tell if its 440ex! */ cs.ecc_cap = ECC_CORRECT; cs.ecc_mode = ddim[(paccfg>>7)&3]; cs.check = generic_check; cs.MBE_flag_address = 0x91; cs.MBE_flag_shift = 4; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 5; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0x91; cs.SBE_flag_shift = 0; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 1; cs.SBE_row_mask = 7; for(loop=0;loop<8;loop++) { bank[loop].endaddr = (unsigned long)pci_byte(0x60+loop)<<23; bank[loop].mtype = m_mem[(drt>>(loop*2))&3]; bank[loop].eccmode = (cs.ecc_mode != 0); } } void probe_440fx(void) { int loop, drt, pmccfg, errcmd; int m_mem[] = { BANK_FPM, BANK_EDO, BANK_BEDO, BANK_EMPTY }; int ddim[] = { ECC_NONE, ECC_PARITY, ECC_DETECT, ECC_CORRECT }; pmccfg = pci_word(0x50); drt = pci_byte(0x55) | (pci_byte(0x56)<<8); errcmd = pci_byte(0x90); for(loop=0;loop<8;loop++) { bank[loop].endaddr=(unsigned long)pci_byte(0x60+loop)<<23; bank[loop].mtype = m_mem[(drt>>(loop*2))&3]; } cs.ecc_cap = ECC_CORRECT; cs.ecc_mode = ddim[(pmccfg>>4)&3]; cs.check = generic_check; cs.MBE_flag_address = 0x91; cs.MBE_flag_shift = 4; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 5; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0x91; cs.SBE_flag_shift = 0; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 1; cs.SBE_row_mask = 7; } void probe_430hx(void) { int pcicmd, pcon, errcmd, drt, loop; pcicmd = pci_word(0x4); pcon = pci_byte(0x50); drt = pci_byte(0x68); errcmd = pci_byte(0x90); cs.ecc_cap = ECC_CORRECT; cs.ecc_mode = (pcon>>7)&1 ? ECC_CORRECT : ECC_PARITY; cs.check = generic_check; cs.MBE_flag_address = 0x91; cs.MBE_flag_shift = 4; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 5; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0x91; cs.SBE_flag_shift = 0; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 1; cs.SBE_row_mask = 7; for(loop=0;loop<8;loop++) { bank[loop].endaddr=(unsigned long)pci_byte(0x60+loop)<<22; bank[loop].mtype = (drt>>loop)&1 ? BANK_EDO : BANK_FPM; bank[loop].eccmode = cs.ecc_mode; } } void check_amd751(void) { int eccstat = pci_word(0x58); if(((eccstat>>8)&3) == 1) { /* bits 5-0 of eccstat indicate the row the ecc error occurred. bit 0 = row 0, bit 1 = row 1 etc */ int row = 0; printk("<1>ECC: MBE Detected in DRAM row %d\n", row); scrub_needed=2; bank[row].mbecount++; } if(((eccstat>>8)&3) == 2) { int row = 0; printk("<1>ECC: SBE Detected in DRAM row %d\n", row); scrub_needed=1; bank[row].sbecount++; } if(((eccstat>>8)&3) == 3) { int row = 0; printk("<1>ECC: SBE and MBE Detected in DRAM row %d\n", row); scrub_needed=1; bank[row].sbecount++; } if (scrub_needed) { /* * clear error flag bits that were set by writing 0 to them * we hope the error was a fluke or something :) */ int value = eccstat & 0xFCFF; pci_write_config_word(bridge, 0x58, value); scrub_needed = 0; } } /* * The 751 appears to be a bit of a rush job. It seems to only support * pc100 sdram, and no memory mixing is allowed eg its all ecc ram or none. */ void probe_amd751(void) { int loop; cs.ecc_cap = ECC_CORRECT; cs.ecc_mode = (pci_byte(0x5a)>>2)&1 ? ECC_CORRECT : ECC_NONE; cs.check = check_amd751; for(loop=0;loop<6;loop++) { bank[loop].endaddr=(unsigned long)pci_byte(0x41+(loop*2))<<23; /* suprisingly, only pc100 sdram appears to be supported */ bank[loop].mtype = pci_byte(0x40+(loop*2))&1 ? BANK_SDR : BANK_EMPTY; /* no per-bank register, assumed same for all banks? */ bank[loop].eccmode = (pci_byte(0x5a)>>2)&1; } } /* SiS */ void probe_sis(void) { int loop; u32 endaddr; int m_mem[] = { BANK_FPM, BANK_EDO, BANK_RESERVED, BANK_SDR }; int dramsize[] = { 256, 1024, 4096, 16384, 1024, 2048, 4096, 8192, 512, 1024, 2048, 0, 0, 0, 0, 0 }; int sdramsize[] = { 1024, 4096, 4096, 8192, 2048, 8192, 8192, 16384, 4096, 16384, 16384, 32768, 2048, 0, 0, 0 }; cs.ecc_cap = ECC_CORRECT; cs.check = generic_check; cs.MBE_flag_address = 0x64; cs.MBE_flag_shift = 4; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 5; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0x64; cs.SBE_flag_shift = 3; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 5; cs.SBE_row_mask = 7; cs.MBE_err_address1 = 0x64; cs.MBE_err_shift1 = 0; cs.MBE_err_address2 = 0x66; cs.MBE_err_shift2 = 16; cs.MBE_err_mask = 0xFFFFF000; cs.SBE_err_address1 = 0x64; cs.SBE_err_shift1 = 0; cs.SBE_err_address2 = 0x66; cs.SBE_err_shift2 = 16; cs.MBE_err_mask = 0xFFFFF000; endaddr = 0; for(loop=0;loop<3;loop++) { /* populated bank? */ if ((pci_byte(0x63)>>loop)&1) { u32 banksize; int mtype = pci_byte(0x60+loop); bank[loop*2].mtype = m_mem[(mtype>>6)&3]; if(bank[loop*2].mtype == BANK_SDR) { banksize = sdramsize[mtype&15]*1024; } else { banksize = dramsize[mtype&15]*1024; } endaddr += banksize; bank[loop*2].endaddr = endaddr; /* double sided dimm? */ if ((mtype>>5)&1) { bank[(loop*2)+1].mtype = bank[loop*2].mtype; endaddr += banksize; bank[(loop*2)+1].endaddr = endaddr; } } else { bank[loop*2].mtype = BANK_EMPTY; bank[(loop*2)+1].mtype = BANK_EMPTY; bank[loop*2].endaddr = endaddr; bank[(loop*2)+1].endaddr = endaddr; } } cs.ecc_mode = ECC_NONE; for(loop=0;loop<6;loop++) { int eccmode = (pci_byte(0x74)>>loop)&1; bank[loop].eccmode = eccmode; if(eccmode) cs.ecc_mode = ECC_CORRECT; } } /* ALi */ void probe_aladdin4(void) { int loop; int m_mem[] = { BANK_FPM, BANK_EDO, BANK_RESERVED, BANK_SDR }; cs.ecc_cap = ECC_CORRECT; cs.ecc_mode = pci_byte(0x49)&1 ? ECC_CORRECT : ECC_PARITY; cs.check = generic_check; cs.MBE_flag_address = 0x4a; cs.MBE_flag_shift = 4; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 5; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0x4a; cs.SBE_flag_shift = 0; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 1; cs.SBE_row_mask = 7; for(loop=0;loop<8;loop++) { bank[loop].endaddr = (unsigned long)(pci_byte(0x61+(loop*2))&15)<<27|(pci_byte(0x60+(loop*2))<<20); bank[loop].mtype = m_mem[(pci_byte(0x61+(loop*2))>>1)&3]; if (cs.ecc_mode == ECC_CORRECT) { bank[loop].eccmode = 1; } else { bank[loop].eccmode = 0; } } } void probe_aladdin5(void) { int loop; int m_mem[] = { BANK_FPM, BANK_EDO, BANK_RDR, BANK_SDR }; cs.ecc_cap = ECC_CORRECT; cs.ecc_mode = pci_byte(0x50)&1 ? ECC_CORRECT : ECC_PARITY; cs.check = generic_check; cs.MBE_flag_address = 0x51; cs.MBE_flag_shift = 4; cs.MBE_flag_mask = 1; cs.MBE_row_shift = 5; cs.MBE_row_mask = 7; cs.SBE_flag_address = 0x51; cs.SBE_flag_shift = 0; cs.SBE_flag_mask = 1; cs.SBE_row_shift = 1; cs.SBE_row_mask = 7; for(loop=0;loop<8;loop++) { /* DBxCII not disabled address mapping? */ if(pci_byte(0x61+(loop*2))&0xF0) { /* endaddr always 1 unit low, granularity 1mb */ bank[loop].endaddr = (unsigned long)((pci_byte(0x61+(loop*2))&15)<<27|(pci_byte(0x60+(loop*2))<<20))+1048576; bank[loop].mtype = m_mem[(pci_byte(0x61+(loop*2))>>1)&3]; if (cs.ecc_mode == ECC_CORRECT) { bank[loop].eccmode = 1; } else { bank[loop].eccmode = 0; } } } } #if 0 /* * memory scrubber routines, not ready to be used yet... */ /* start at 16mb */ unsigned long start = 4096; unsigned long pages = 1; /* other architectures have different page sizes... */ unsigned long step = 4096; char buff[8192] = {0,}; /* * Michael's page scrubber routine */ void scrub_page(unsigned long volatile * p) { int i; int len, err = 0; unsigned long *q; q = (unsigned long *) ((((int)buff)+4095) & ~4095); if (((int)p) >= 640 * 1024 && ((int)p) < 1024 * 1024) return; cli(); /* kill interrupts */ err = pci_byte(0x91); outb(0x11, PCI_DATA + 1); /* clear the memory error indicator */ for (i = 0; i < step / 4 ; ++i) q[i] = p[i]; for (i = 0; i < step / 4 ; ++i) p[i] = q[i]; err = inb(PCI_DATA + 1); sti(); if (err & 0x11) { printk("<1>ECC: Memory error @ %08x (0x%02x)\n", p, err); return 1; } return 0; } void scrub(void) { int i,j = 0; for (i = 0; i < pages; ++i) { j = scrub_page(start); start += step; } if (!j) { /* * Hmm... This is probably a very bad situation. */ printk("<1>ECC: Scrubbed, no errors found?!\n"); scrub_needed=0; return; } if (scrub_needed=2) { /* * TODO: We should determine what process owns the memory * and send a SIGBUS to it. We should also printk something * along the lines of * "ECC: Process (PID) killed with SIGBUS due to uncorrectable memory error at 0xDEADBEEF" */ scrub_needed=0; } } #endif #ifdef linux /* * Check ECC status every second. * SMP safe, doesn't use NMI, and auto-rate-limits. */ void checkecc(void) { if (!scrub_needed) if (cs.check) cs.check(); /* if there is an ECC controller but no ECC memory ... */ if (cs.ecc_mode == ECC_NONE) return; init_timer(&ecctimer); ecctimer.expires = jiffies + HZ; ecctimer.function = (void *)&checkecc; add_timer(&ecctimer); } #ifdef CONFIG_PROC_FS int procfile_read(char *buffer, char **buffer_location, off_t offset, int buffer_length, int *eof, void *data) { char *ecc[] = { "None", "Reserved", "Parity checking", "ECC detection", "ECC detection and correction", "ECC with hardware scrubber" }; char *dram[] = { "Empty", "Reserved", "FPM", "EDO", "BEDO", "SDR", "DDR", "RDR" }; static char memstat[120*4]; unsigned long mem_end = 0; unsigned long last_mem = 0; int loop; int len = 0; if (offset) return 0; len += sprintf(memstat, "Chipset ECC capability : %s\n", ecc[cs.ecc_cap]); len += sprintf(memstat + len, "Current ECC mode : %s\n", ecc[cs.ecc_mode]); len += sprintf(memstat + len, "Bank\tSize\tType\tECC\tSBE\tMBE\n"); for (loop=0;loop<8;loop++){ last_mem=bank[loop].endaddr; if (last_mem>mem_end) { len += sprintf(memstat + len, "%d\t", loop); len += sprintf(memstat + len, "%dM\t", (int)(last_mem-mem_end)/1048576); len += sprintf(memstat + len, "%s\t", dram[bank[loop].mtype]); len += sprintf(memstat + len, "%s\t", bank[loop].eccmode ? "Y" : "N"); len += sprintf(memstat + len, "%d\t", bank[loop].sbecount); len += sprintf(memstat + len, "%d\n", bank[loop].mbecount); mem_end=last_mem; } } len += sprintf(memstat + len, "Total\t%dM\n", (int)mem_end/1048576); *buffer_location = memstat; if (len <= buffer_length) *eof = 1; else len = buffer_length; return len; } #endif #endif struct pci_probe_matrix { int vendor; /* pci vendor id */ int device; /* pci device id */ void (*check)(void); /* pointer to chipset probing routine */ }; static struct pci_probe_matrix probe_matrix[] = { /* AMD */ { 0x1022, 0x7006, probe_amd751 }, /* Motorola */ { 0x1057, 0x4802, 0 }, /* falcon - not yet supported */ /* Apple */ { 0x106b, 0x0001, 0 }, /* bandit - not yet supported */ /* SiS */ { 0x1039, 0x0600, probe_sis }, /* 600 programatically same as 5600 */ { 0x1039, 0x0620, 0 }, /* 620 doesnt support ecc */ { 0x1039, 0x5600, probe_sis }, /* ALi */ { 0x10b9, 0x1531, probe_aladdin4 }, { 0x10b9, 0x1541, probe_aladdin5 }, /* VIA */ { 0x1106, 0x0391, probe_via }, { 0x1106, 0x0501, probe_via }, { 0x1106, 0x0585, probe_via }, { 0x1106, 0x0595, probe_via }, { 0x1106, 0x0597, probe_via }, { 0x1106, 0x0598, probe_via }, { 0x1106, 0x0691, probe_via }, { 0x1106, 0x0693, probe_via }, /* Intel */ { 0x8086, 0x122d, 0 }, /* 430fx doesnt support ecc */ { 0x8086, 0x1237, probe_440fx }, { 0x8086, 0x1250, probe_430hx }, { 0x8086, 0x7030, 0 }, /* 430vx doesnt support ecc */ { 0x8086, 0x7120, 0 }, /* 810 doesnt support ecc */ { 0x8086, 0x7122, 0 }, { 0x8086, 0x7124, 0 }, /* 810e doesnt support ecc */ { 0x8086, 0x7180, probe_440lx }, /* also 440ex */ { 0x8086, 0x7190, probe_440bx }, /* also 440zx */ { 0x8086, 0x7192, probe_440bx }, /* also 440zx */ { 0x8086, 0x71A0, probe_440bx }, /* also 440gx */ { 0x8086, 0x71A2, probe_440bx }, /* also 440gx */ { 0x8086, 0x84C5, probe_450gx }, { 0, 0, 0 } }; #ifdef linux int find_chipset(void) { if (!pci_present()) { printk("<1>ECC: No PCI bus.\n"); return 0; } while ((bridge = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, bridge))) { int loop = 0; pci_read_config_word(bridge, PCI_VENDOR_ID, &vendor); pci_read_config_word(bridge, PCI_DEVICE_ID, &device); while(probe_matrix[loop].vendor) { if( (vendor == probe_matrix[loop].vendor) && (device == probe_matrix[loop].device) ) { if(probe_matrix[loop].check) { probe_matrix[loop].check(); return 1; } else { printk("<1>ECC: Unsupported device %x:%x.\n", vendor, device); return 0; } } loop++; } printk("<1>ECC: Unknown device %x:%x.\n", vendor, device); } printk("<1>ECC: Can't find host bridge.\n"); return 0; } void cleanup_module(void) { del_timer(&ecctimer); #ifdef CONFIG_PROC_FS remove_proc_entry("ram", 0); #endif printk("<1>ECC: unloaded.\n"); } int init_module(void) { int loop; #ifdef CONFIG_PROC_FS struct proc_dir_entry *ent; #endif printk("<1>ECC: monitor version %s\n", ECC_VER); for (loop=0;loop<8;loop++) { bank[loop].endaddr = 0; bank[loop].sbecount = 0; bank[loop].mbecount = 0; bank[loop].eccmode = 0; bank[loop].mtype = ECC_RESERVED; } if (!find_chipset()) return -ENODEV; #ifdef CONFIG_PROC_FS ent = create_proc_entry("ram", S_IFREG | S_IRUGO, 0); if (ent) { ent->nlink = 1; ent->read_proc = procfile_read; } #endif init_timer(&ecctimer); ecctimer.expires = jiffies + HZ; ecctimer.function = (void *)&checkecc; add_timer(&ecctimer); return 0; } #endif #ifdef __FreeBSD__ int find_chipset(void) { int v, d, chip; if (pci_numdevs == 0) { printf("ECC: No PCI bus.\n"); return 0; } bzero(&pci_cfg, sizeof(pci_cfg)); for (pci_cfg.slot = 0; pci_cfg.slot <= PCI_SLOTMAX; pci_cfg.slot++) { for (pci_cfg.func = 0; pci_cfg.func <= PCI_FUNCMAX; pci_cfg.func++) { if (pci_cfgread(&pci_cfg, PCIR_SUBCLASS, 2) != ((PCIC_BRIDGE << 8) | PCIS_BRIDGE_HOST)) continue; if (((v = pci_cfgread(&pci_cfg, PCIR_VENDOR, 2)) < 0) || ((d = pci_cfgread(&pci_cfg, PCIR_DEVICE, 2)) < 0)) continue; vendor = (u16) v; device = (u16) d; for (chip = 0; probe_matrix[chip].vendor; chip++) { if ((vendor == probe_matrix[chip].vendor) && (device == probe_matrix[chip].device)) { if (probe_matrix[chip].check) { probe_matrix[chip].check(); return 1; } else { printf("ECC: Unsupported device %x:%x.\n", vendor, device); return 0; } } } } printf("ECC: Unknown device %x:%x.\n", vendor, device); } printf("ECC: Can't find host bridge.\n"); return 0; } static void ecc_check(void* arg) { if (!scrub_needed) if (cs.check) cs.check(); /* if there is an ECC controller but no ECC memory ... */ if (cs.ecc_mode == ECC_NONE) return; ecc_ch = timeout(ecc_check, NULL, hz); } static int ecc_modevent( module_t mod, int type, void* data) { static int attached = 0; int loop; switch (type) { case MOD_LOAD: printf("ECC: monitor version %s\n", ECC_VER); if (attached) return EEXIST; for (loop = 0; loop < 8; loop++) { bank[loop].endaddr = 0; bank[loop].sbecount = 0; bank[loop].mbecount = 0; bank[loop].eccmode = 0; bank[loop].mtype = ECC_RESERVED; } if (!find_chipset()) return -ENODEV; printf("ECC: vendor 0x%x\n", vendor); printf("ECC: device 0x%x\n", device); /* if there is an ECC controller but no ECC memory ... */ ecc_check(NULL); if (cs.ecc_mode == ECC_NONE) { printf("ECC: no ECC memory\n"); return -ENODEV; } attached = 1; break; case MOD_UNLOAD: untimeout(ecc_check, NULL, ecc_ch); attached = 0; printf("ECC: unloaded.\n"); break; case MOD_SHUTDOWN: default: return EOPNOTSUPP; } return 0; } DEV_MODULE(ecc, ecc_modevent, NULL); #endif --------------C829E1A7414D319B6C2A655A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 14:11:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 5509337B71A for ; Mon, 12 Mar 2001 14:11:28 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id RAA01294; Mon, 12 Mar 2001 17:24:04 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010312172416.03b25e50@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 12 Mar 2001 17:26:25 -0500 To: Jonathan Lemon From: Dennis Subject: Re: non-working fxp cards Cc: Jonathan Lemon , hackers@FreeBSD.ORG In-Reply-To: <20010312154417.V78851@prism.flugsvamp.com> References: <5.0.0.25.0.20010312164346.0437ceb0@mail.etinc.com> <20010312134514.S78851@prism.flugsvamp.com> <5.0.0.25.0.20010312164346.0437ceb0@mail.etinc.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 04:44 PM 03/12/2001, Jonathan Lemon wrote: >On Mon, Mar 12, 2001 at 04:44:38PM -0500, Dennis wrote: > > At 02:45 PM 03/12/2001, Jonathan Lemon wrote: > > > I would like anyone who has a fxp card which doesn't work with > > >the current driver to contact me in order to test out an alternate > > >driver. > > >-- > > >Jonathan > > > > in case you havent read my posts, I've fixed the problem with mine. > >Glad to hear it. In that case, I expect you _NOT_ to use my new driver. And why is that? I thought you just might like some guidance. Feel free to beat on it on your own. DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 14:16:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.biographix.com (mail.biographix.com [207.236.111.133]) by hub.freebsd.org (Postfix) with ESMTP id 7EF8A37B719 for ; Mon, 12 Mar 2001 14:16:17 -0800 (PST) (envelope-from eperrin@bigorbit.com) Received: from bottleneck2000 ([192.168.1.12]) by mail.biographix.com (8.11.1/8.11.1) with SMTP id f2CMHZ322602 for ; Mon, 12 Mar 2001 17:17:35 -0500 (EST) Message-ID: <031c01c0ab43$2bb27c90$0c01a8c0@bottleneck2000> From: "Elliott Perrin" To: Subject: Kernel compile problems Date: Mon, 12 Mar 2001 17:24:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just did a cvs of src-all this morning, remade the world and am trying to compile a new kernel. I am able to make depend, but I just tried to do the make and got the following errors cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototype s -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../ .. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../netinet/tcp_usrreq.c ../../netinet/tcp_usrreq.c: In function `tcp_usr_accept': ../../netinet/tcp_usrreq.c:424: syntax error before `int' ../../netinet/tcp_usrreq.c:424: `ostate' undeclared (first use in this function) ../../netinet/tcp_usrreq.c:424: (Each undeclared identifier is reported only once ../../netinet/tcp_usrreq.c:424: for each function it appears in.) ../../netinet/tcp_usrreq.c:418: warning: `tp' might be used uninitialized in this function ../../netinet/tcp_usrreq.c: In function `tcp6_usr_accept': ../../netinet/tcp_usrreq.c:442: syntax error before `int' ../../netinet/tcp_usrreq.c:442: `ostate' undeclared (first use in this function) ../../netinet/tcp_usrreq.c:436: warning: `tp' might be used uninitialized in this function *** Error code 1 Was wondering if anyone else has seen this and if they have a quick solution. ________________________________________ Elliott Perrin Systems Administrator Big Orbit - Specializing in new media for youth web: http://www.bigorbit.com email: eperrin@bigorbit.com [t] 416.516.0705 ext 25 [f] 416.516.9256 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 14:33:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.biographix.com (mail.biographix.com [207.236.111.133]) by hub.freebsd.org (Postfix) with ESMTP id 5A82737B72D; Mon, 12 Mar 2001 14:33:29 -0800 (PST) (envelope-from eperrin@bigorbit.com) Received: from bottleneck2000 ([192.168.1.12]) by mail.biographix.com (8.11.1/8.11.1) with SMTP id f2CMXn323050; Mon, 12 Mar 2001 17:33:49 -0500 (EST) Message-ID: <034201c0ab45$92d04630$0c01a8c0@bottleneck2000> From: "Elliott Perrin" To: , Subject: RE: Kernel Compile Problems -- fixed Date: Mon, 12 Mar 2001 17:41:26 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay I solved my kernel compile problem. In /usr/src/sys/netinet/tcp_usrreq.c I commented out lines 420 to 423 and lines 438 to 441 I noticed this was a change from a FreeBSD 4.2-STABLE machine that i looked at a couple minutes ago. Here are lines 412 to 446 of the above mentioned file with the commented out lines. static int tcp_usr_accept(struct socket *so, struct sockaddr **nam) { int s = splnet(); int error = 0; struct inpcb *inp = sotoinpcb(so); struct tcpcb *tp; /* if (so->so_state & SS_ISDISCONNECTED) { error = ECONNABORTED; goto out; } */ COMMON_START(); in_setpeeraddr(so, nam); COMMON_END(PRU_ACCEPT); } #ifdef INET6 static int tcp6_usr_accept(struct socket *so, struct sockaddr **nam) { int s = splnet(); int error = 0; struct inpcb *inp = sotoinpcb(so); struct tcpcb *tp; /* if (so->so_state & SS_ISDISCONNECTED) { error = ECONNABORTED; goto out; } */ COMMON_START(); in6_mapped_peeraddr(so, nam); COMMON_END(PRU_ACCEPT); } #endif /* INET6 */ ________________________________________ Elliott Perrin Systems Administrator Big Orbit - Specializing in new media for youth web: http://www.bigorbit.com email: eperrin@bigorbit.com [t] 416.516.0705 ext 25 [f] 416.516.9256 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 15:50:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gandalf.vi.bravenet.com (gandalf.bravenet.com [139.142.105.50]) by hub.freebsd.org (Postfix) with SMTP id 8FA2D37B719 for ; Mon, 12 Mar 2001 15:50:37 -0800 (PST) (envelope-from dphoenix@bravenet.com) Received: (qmail 12645 invoked by uid 1000); 12 Mar 2001 23:47:43 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Mar 2001 23:47:43 -0000 Date: Mon, 12 Mar 2001 15:47:43 -0800 (PST) From: Dan Phoenix To: freebsd-hackers@FreeBSD.ORG Subject: optimizing apache with php and nfs mounts 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 CC="gcc -O6 -fomit-frame-pointer" OPTIM="-O2 -DBUFFERED_LOGS" could some c guru tell me if this would be bad to use to an apache optimization? I need to compile apache on my own not with ports.... looking at makefile in apache13 in ports collection i see these optimization flags. along with --mmap-static module. can you use both -06 and -02 for optmization at the same time? -fomit-frame-pointer as well? this is my full config line so far CC="gcc -O6 -fomit-frame-pointer" OPTIM="-O2 -DBUFFERED_LOGS" ./configure --prefix=/usr/local/apache --enable-module=rewrite --activate-module=src/modules/php4/libphp4.a alot of other crap modules get thrown into httpd.conf as well i have noticed....slowly researching each and disabling what i don;t need. INterested in talking with some c experts and apache experts on this issue. -- Dan +------------------------------------------------------+ | BRAVENET WEB SERVICES | | dan@bravenet.com | | make installworld | | ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail | | ln -s /var/qmail/bin/newaliases /usr/sbin/newaliases | +______________________________________________________+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 16:56:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from relay2.net.com (relay2.net.com [134.56.3.108]) by hub.freebsd.org (Postfix) with ESMTP id 8038137B718 for ; Mon, 12 Mar 2001 16:56:37 -0800 (PST) (envelope-from shankar_agarwal@net.com) Received: from isis.net.com (fremont-ns1.net.com [134.56.112.20]) by relay2.net.com (8.9.3/8.9.3) with ESMTP id OAA20546 for ; Tue, 13 Mar 2001 14:13:12 -0800 (PST) Received: from west-mail.net.com by isis.net.com (8.9.3/SMI-SVR4) id QAA09500; Mon, 12 Mar 2001 16:56:22 -0800 (PST) Received: from net.com ([134.56.103.239]) by west-mail.net.com (Netscape Messaging Server 3.6) with ESMTP id AAA275 for ; Mon, 12 Mar 2001 16:57:38 -0800 Message-ID: <3AAD7114.A01DE452@net.com> Date: Mon, 12 Mar 2001 17:00:04 -0800 From: Shankar Agarwal Organization: N.E.T. http://www.net.com X-Mailer: Mozilla 4.61C-NETv45 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en, en-GB, fr, de MIME-Version: 1.0 To: bsd hackers Subject: Question regarding the funcation socket()... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am trying to find out where the function socket() is actually defined. I did a search on the sources and i kind of could not locate this function. Also i could not find the code for the funcation bind() connect() etc. I think i might be missing something here as i am directly looking for a function with a name socket, bind and connect. So if that wrong then i will be grateful to you if you let me know the correct way to do it. Moreover is see __P with all the function prototypes. Can anyone tell me what do they mean. I am right now assuming for my work that they just mean blank. Thanks Regards Shankar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 17: 6:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from vieo.com (vieo.com [216.30.79.131]) by hub.freebsd.org (Postfix) with ESMTP id 156D137B719 for ; Mon, 12 Mar 2001 17:06:49 -0800 (PST) (envelope-from johng@vieo.com) Received: (from johng@localhost) by vieo.com (8.11.2/8.11.2) id f2D16lZ02260; Mon, 12 Mar 2001 19:06:47 -0600 (CST) (envelope-from johng) Date: Mon, 12 Mar 2001 19:06:47 -0600 (CST) From: John Gregor Message-Id: <200103130106.f2D16lZ02260@vieo.com> To: freebsd-hackers@FreeBSD.ORG, shankar_agarwal@net.com Subject: Re: Question regarding the funcation socket()... In-Reply-To: <3AAD7114.A01DE452@net.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am trying to find out where the function socket() is actually defined. sys/kern/uipc_syscalls.c cscope is your friend. > Moreover is see __P with all the function prototypes. Can anyone > tell me what do they mean. I am right now assuming for my work that > they just mean blank. Bad assumption. Depending on the compiler, __P either returns the argument passed to the macro or '()'. This is because pre-ANSI C didn't support function prototypes. pre-ANSI int foo(); ANSI int foo(char *, int *, int, int); Again, cscope is your friend. -JohnG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 17:18:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 3B1FA37B71B for ; Mon, 12 Mar 2001 17:18:30 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2D1ITE29313; Mon, 12 Mar 2001 17:18:29 -0800 (PST) Date: Mon, 12 Mar 2001 17:18:29 -0800 From: Alfred Perlstein To: Shankar Agarwal Cc: bsd hackers Subject: Re: Question regarding the funcation socket()... Message-ID: <20010312171828.Q18351@fw.wintelcom.net> References: <3AAD7114.A01DE452@net.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AAD7114.A01DE452@net.com>; from shankar_agarwal@net.com on Mon, Mar 12, 2001 at 05:00:04PM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try breaking up emails into paragraph sized individual questions. :) * Shankar Agarwal [010312 16:57] wrote: > Hi, > I am trying to find out where the function socket() is actually defined. > I did a search on the sources and i kind of could not locate this > function. If you want to see the userland "stub", then do a "make world" and pipe the output into a file, then look at how "libc" is built. If you want to find the kernel function you can usually do this: cd /usr/src/sys ; grep ^functioname */* yes, the '^' is there on purpose. You can also look at some tools like cscope or gtags to index the code for you. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 17:19: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from relay2.net.com (relay2.net.com [134.56.3.108]) by hub.freebsd.org (Postfix) with ESMTP id 420F937B719 for ; Mon, 12 Mar 2001 17:18:55 -0800 (PST) (envelope-from shankar_agarwal@net.com) Received: from isis.net.com (fremont-ns1.net.com [134.56.112.20]) by relay2.net.com (8.9.3/8.9.3) with ESMTP id OAA21915 for ; Tue, 13 Mar 2001 14:34:12 -0800 (PST) Received: from west-mail.net.com by isis.net.com (8.9.3/SMI-SVR4) id RAA10103; Mon, 12 Mar 2001 17:18:46 -0800 (PST) Received: from net.com ([134.56.103.239]) by west-mail.net.com (Netscape Messaging Server 3.6) with ESMTP id AAA8D7; Mon, 12 Mar 2001 17:20:02 -0800 Message-ID: <3AAD7654.AD45B74C@net.com> Date: Mon, 12 Mar 2001 17:22:28 -0800 From: Shankar Agarwal Organization: N.E.T. http://www.net.com X-Mailer: Mozilla 4.61C-NETv45 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en, en-GB, fr, de MIME-Version: 1.0 To: John Gregor , bsd hackers Subject: Re: Question regarding the funcation socket()... References: <200103130106.f2D16lZ02260@vieo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi John, Thanks a lot for this fast reply. One more quick question i don't see any function socket(int,int,int) in uipc_syscalls.c though i see sys_socket function in this file. From what i understand socket libraby function should call trap which should call syscall function which in turn should call this sys_socket function. What i am looking for is the source code for this libraby function socket() whose prototype is defined in socket.h. I tried using cscope on the source files and i could not locate it through that also. Thanks Regards Shankar John Gregor wrote: > > > I am trying to find out where the function socket() is actually defined. > > sys/kern/uipc_syscalls.c > > cscope is your friend. > > > Moreover is see __P with all the function prototypes. Can anyone > > tell me what do they mean. I am right now assuming for my work that > > they just mean blank. > > Bad assumption. Depending on the compiler, __P either returns the > argument passed to the macro or '()'. This is because pre-ANSI C > didn't support function prototypes. > > pre-ANSI > > int foo(); > > ANSI > > int foo(char *, int *, int, int); > > Again, cscope is your friend. > > -JohnG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 17:25:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 8F50537B71A for ; Mon, 12 Mar 2001 17:25:21 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 53375 invoked by uid 100); 13 Mar 2001 01:25:20 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15021.30464.432285.451736@guru.mired.org> Date: Mon, 12 Mar 2001 19:25:20 -0600 To: doc@freebsd.org, hackers@freebsd.org Subject: PR docs/25496 X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Could I get somebody to please commit this patch? It makes the doc project treat PREFIX/LOCALBASE the same way the ports do, so that the makefiles actually *work* if you don't have LOCALBASE set to /usr/local. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 17:33:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from relay1.net.com (relay1.net.com [134.56.3.107]) by hub.freebsd.org (Postfix) with ESMTP id 3A30E37B719 for ; Mon, 12 Mar 2001 17:33:24 -0800 (PST) (envelope-from shankar_agarwal@net.com) Received: from isis.net.com (fremont-ns1.net.com [134.56.112.20]) by relay1.net.com (8.9.3/8.9.3) with ESMTP id RAA25518 for ; Mon, 12 Mar 2001 17:32:34 -0800 (PST) Received: from west-mail.net.com by isis.net.com (8.9.3/SMI-SVR4) id RAA10512; Mon, 12 Mar 2001 17:33:17 -0800 (PST) Received: from net.com ([134.56.103.239]) by west-mail.net.com (Netscape Messaging Server 3.6) with ESMTP id AAAC7F; Mon, 12 Mar 2001 17:34:33 -0800 Message-ID: <3AAD79BB.F2B53814@net.com> Date: Mon, 12 Mar 2001 17:36:59 -0800 From: Shankar Agarwal Organization: N.E.T. http://www.net.com X-Mailer: Mozilla 4.61C-NETv45 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en, en-GB, fr, de MIME-Version: 1.0 To: Alfred Perlstein Cc: bsd hackers Subject: Re: Question regarding the funcation socket()... References: <3AAD7114.A01DE452@net.com> <20010312171828.Q18351@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Alfred, I took your advice and did a search for the function socket, bind ,connect but i did not get any thing file which contains the code for this functions. So i am still stuck in the same place. Thanks Regards Shankar Alfred Perlstein wrote: > > Try breaking up emails into paragraph sized individual questions. :) > > * Shankar Agarwal [010312 16:57] wrote: > > Hi, > > I am trying to find out where the function socket() is actually defined. > > I did a search on the sources and i kind of could not locate this > > function. > > If you want to see the userland "stub", then do a "make world" and > pipe the output into a file, then look at how "libc" is built. > > If you want to find the kernel function you can usually do this: > > cd /usr/src/sys ; grep ^functioname */* > > yes, the '^' is there on purpose. > > You can also look at some tools like cscope or gtags to index the > code for you. > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 17:50:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 5CC2237B718 for ; Mon, 12 Mar 2001 17:50:07 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2D1o6h00555; Mon, 12 Mar 2001 17:50:06 -0800 (PST) Date: Mon, 12 Mar 2001 17:50:05 -0800 From: Alfred Perlstein To: Shankar Agarwal Cc: bsd hackers Subject: Re: Question regarding the funcation socket()... Message-ID: <20010312175005.B29888@fw.wintelcom.net> References: <3AAD7114.A01DE452@net.com> <20010312171828.Q18351@fw.wintelcom.net> <3AAD79BB.F2B53814@net.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AAD79BB.F2B53814@net.com>; from shankar_agarwal@net.com on Mon, Mar 12, 2001 at 05:36:59PM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Alfred Perlstein wrote: > > > > Try breaking up emails into paragraph sized individual questions. :) > > > > * Shankar Agarwal [010312 16:57] wrote: > > > Hi, > > > I am trying to find out where the function socket() is actually defined. > > > I did a search on the sources and i kind of could not locate this > > > function. > > > > If you want to see the userland "stub", then do a "make world" and > > pipe the output into a file, then look at how "libc" is built. > > > > If you want to find the kernel function you can usually do this: > > > > cd /usr/src/sys ; grep ^functioname */* > > > > yes, the '^' is there on purpose. > > > > You can also look at some tools like cscope or gtags to index the > > code for you. * Shankar Agarwal [010312 17:33] wrote: > Hi Alfred, > I took your advice and did a search for the function socket, bind > ,connect but i did not get any thing file which contains the code for > this functions. So i am still stuck in the same place. Sorry, this mail leaves me unable to help you any further. Can you explain _why_ this isn't working, like an error message, maybe? This will only work if you have the source code installed on your machine. I also doubt you've had time to do a "make world" and search through the output to find where these functions are defined in libc. I'm also confused, if you're saying there's a sys_socket function, where did you find it? The sys_ prefix has me worried that for some reason you've choosen to email the FreeBSD-hackers list with questions about either Linux or some other BSD other than FreeBSD. Are you sure you're in the right place? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 22:34:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sdmail0.sd.bmarts.com (sdmail0.sd.bmarts.com [209.247.77.155]) by hub.freebsd.org (Postfix) with ESMTP id 289B237B71C for ; Mon, 12 Mar 2001 22:34:43 -0800 (PST) (envelope-from gordont@bluemtn.net) Received: from localhost (gordont@localhost) by sdmail0.sd.bmarts.com (8.11.3/8.11.2/BMA1.1) with ESMTP id f2D6YWq91369; Mon, 12 Mar 2001 22:34:32 -0800 (PST) Date: Mon, 12 Mar 2001 22:34:32 -0800 (PST) From: Gordon Tetlow X-X-Sender: To: Dan Phoenix Cc: Subject: Re: optimizing apache with php and nfs mounts 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 Mon, 12 Mar 2001, Dan Phoenix wrote: > CC="gcc -O6 -fomit-frame-pointer" OPTIM="-O2 -DBUFFERED_LOGS" > > could some c guru tell me if this would be bad to use to an apache > optimization? I need to compile apache on my own not with ports.... > looking at makefile > in apache13 in ports collection i see these optimization flags. > along with --mmap-static module. > > > can you use both -06 and -02 for optmization at the same time? > -fomit-frame-pointer as well? -O6 and -O2 do seem a bit contradictory. I'm guessing it just uses -O6. -fomit-frame-pointer is not enabled per the -O flags so that does do something, but it does make it rather difficult to track down problems without a frame pointer. > this is my full config line so far > CC="gcc -O6 -fomit-frame-pointer" OPTIM="-O2 -DBUFFERED_LOGS" ./configure > --prefix=/usr/local/apache --enable-module=rewrite > --activate-module=src/modules/php4/libphp4.a > > alot of other crap modules get thrown into httpd.conf as well i have > noticed....slowly researching each and disabling what i don;t need. Unless you really need mod_rewrite, I suggest you don't use it. It's rather black-magicish, difficult to get working, and as I recall, I think it's had some security issues about it. > INterested in talking with some c experts and apache experts on this > issue. I probably qualify for the latter.... Optimizations are good and all, but I look at it this way: It's a mission critical webserver, I don't want it crashing. As a result, we compile ours with nothing higher that -O2 and no unusual optimizations. Sure, it might be a bit slower than it could have been, but we don't have to worry about chasing down compiler bugs that interact strangly with the webserver code. Also, I think anything higher than -O2 actually produces a larger binary (it inlines functions whenever possible). Again, I don't like living on the bleeding edge when it comes to revenue streams. Hope this helps, -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 23:17:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 296E437B71A for ; Mon, 12 Mar 2001 23:17:45 -0800 (PST) (envelope-from dima@unixfreak.org) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id C988C3E09 for ; Mon, 12 Mar 2001 23:17:44 -0800 (PST) To: hackers@freebsd.org Subject: Patch to fix panic when detaching a mounted md device Date: Mon, 12 Mar 2001 23:17:44 -0800 From: Dima Dorfman Message-Id: <20010313071744.C988C3E09@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello -hackers Right now, if you try to detach an md device that's currently mounted, you will get a panic (maybe not immedietely, but it will come, esp. if you ever try to use that mountpoint again). I'm pretty sure this is a known problem, with the solution--or workaround--being, "then don't do that." The problem is, someone will invariably do it. The fix is to make md complain if you try to detach a device that's currently opened. Below is a patch that implements this by keeping track of the number of times a device has been opened. Comments? Thanks Dima Dorfman dima@unixfreak.org Index: md.c =================================================================== RCS file: /st/src/FreeBSD/src/sys/dev/md/md.c,v retrieving revision 1.26 diff -u -r1.26 md.c --- md.c 2001/03/09 20:06:30 1.26 +++ md.c 2001/03/13 07:04:43 @@ -122,11 +122,12 @@ static d_strategy_t mdstrategy; static d_open_t mdopen; +static d_close_t mdclose; static d_ioctl_t mdioctl, mdctlioctl; static struct cdevsw md_cdevsw = { /* open */ mdopen, - /* close */ nullclose, + /* close */ mdclose, /* read */ physread, /* write */ physwrite, /* ioctl */ mdioctl, @@ -169,6 +170,7 @@ unsigned nsect; unsigned secsize; unsigned flags; + unsigned opencnt; /* MD_MALLOC related fields */ u_char **secp; @@ -205,6 +207,18 @@ dl->d_secpercyl = dl->d_nsectors * dl->d_ntracks; dl->d_secperunit = sc->nsect; dl->d_ncylinders = dl->d_secperunit / dl->d_secpercyl; + sc->opencnt++; + return (0); +} + +static int +mdclose(dev_t dev, int flag, int fmt, struct proc *p) +{ + struct md_s *sc; + + sc = dev->si_drv1; + KASSERT(sc->opencnt > 0, ("md: closing an unopened device")); + sc->opencnt--; return (0); } @@ -824,6 +838,8 @@ sc = mdfind(mdio->md_unit); if (sc == NULL) return (ENOENT); + if (sc->opencnt != 0) + return (EBUSY); switch(sc->type) { case MD_VNODE: case MD_SWAP: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Mar 12 23:24: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-59.dsl.lsan03.pacbell.net [63.207.60.59]) by hub.freebsd.org (Postfix) with ESMTP id 88C4937B719 for ; Mon, 12 Mar 2001 23:24:02 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 242F166B6C; Mon, 12 Mar 2001 23:24:02 -0800 (PST) Date: Mon, 12 Mar 2001 23:24:02 -0800 From: Kris Kennaway To: Elliott Perrin Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel compile problems Message-ID: <20010312232402.A6495@mollari.cthul.hu> References: <031c01c0ab43$2bb27c90$0c01a8c0@bottleneck2000> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <031c01c0ab43$2bb27c90$0c01a8c0@bottleneck2000>; from eperrin@bigorbit.com on Mon, Mar 12, 2001 at 05:24:14PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 12, 2001 at 05:24:14PM -0500, Elliott Perrin wrote: > I just did a cvs of src-all this morning, remade the world and am trying= to compile a new > kernel. I am able to make depend, but I just tried to do the make and got= the following > errors >=20 > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W= missing-prototype > s -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostd= inc -I- -I. -I../ > .. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-= stack-boundary=3D2 > ../../netinet/tcp_usrreq.c > ../../netinet/tcp_usrreq.c: In function `tcp_usr_accept': > ../../netinet/tcp_usrreq.c:424: syntax error before `int' > ../../netinet/tcp_usrreq.c:424: `ostate' undeclared (first use in this fu= nction) > ../../netinet/tcp_usrreq.c:424: (Each undeclared identifier is reported o= nly once > ../../netinet/tcp_usrreq.c:424: for each function it appears in.) > ../../netinet/tcp_usrreq.c:418: warning: `tp' might be used uninitialized= in this function > ../../netinet/tcp_usrreq.c: In function `tcp6_usr_accept': > ../../netinet/tcp_usrreq.c:442: syntax error before `int' > ../../netinet/tcp_usrreq.c:442: `ostate' undeclared (first use in this fu= nction) > ../../netinet/tcp_usrreq.c:436: warning: `tp' might be used uninitialized= in this function > *** Error code 1 >=20 > Was wondering if anyone else has seen this and if they have a quick solut= ion. Remove TCPDEBUG from your kernel..you probably don't need it anyway..I dare you to tell me what it does :-) Kris --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6rcsRWry0BWjoQKURAhSFAKDyIDHkZFyhxsLcof74qmQRmnUsGQCcDE3O +LqJW2JMcZoU1ZAIf4U2BSw= =chPT -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 0:17:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 25D8F37B71A for ; Tue, 13 Mar 2001 00:17:18 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2D8HF900574; Tue, 13 Mar 2001 01:17:15 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103130817.f2D8HF900574@harmony.village.org> To: Dima Dorfman Subject: Re: Patch to fix panic when detaching a mounted md device Cc: hackers@FreeBSD.org In-reply-to: Your message of "Mon, 12 Mar 2001 23:17:44 PST." <20010313071744.C988C3E09@bazooka.unixfreak.org> References: <20010313071744.C988C3E09@bazooka.unixfreak.org> Date: Tue, 13 Mar 2001 01:17:15 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010313071744.C988C3E09@bazooka.unixfreak.org> Dima Dorfman writes: : Right now, if you try to detach an md device that's currently mounted, : you will get a panic (maybe not immedietely, but it will come, esp. if : you ever try to use that mountpoint again). I'm pretty sure this is a : known problem, with the solution--or workaround--being, "then don't do : that." The problem is, someone will invariably do it. The fix is to : make md complain if you try to detach a device that's currently : opened. Below is a patch that implements this by keeping track of the : number of times a device has been opened. I'd like to see the kernel deal with this in a more graceful way. The kernel will crash if you have a ata flash mounted and you eject the card... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 0:24:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 0159837B71B for ; Tue, 13 Mar 2001 00:24:29 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 13976 invoked by uid 1000); 13 Mar 2001 08:23:14 -0000 Date: Tue, 13 Mar 2001 10:23:14 +0200 From: Peter Pentchev To: Elliott Perrin Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel compile problems Message-ID: <20010313102314.B12943@ringworld.oblivion.bg> Mail-Followup-To: Elliott Perrin , freebsd-hackers@freebsd.org References: <031c01c0ab43$2bb27c90$0c01a8c0@bottleneck2000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <031c01c0ab43$2bb27c90$0c01a8c0@bottleneck2000>; from eperrin@bigorbit.com on Mon, Mar 12, 2001 at 05:24:14PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 12, 2001 at 05:24:14PM -0500, Elliott Perrin wrote: > I just did a cvs of src-all this morning, remade the world and am trying to compile a new > kernel. I am able to make depend, but I just tried to do the make and got the following > errors [TCPDEBUG compile error log snipped] There's an open PR on this: kern/25651 (actually, I've had to close two more PR's in the last two days, since people post PR's without checking - or maybe they do check, and for some reason miss kern/25651). Anyway, could somebody knowledgeable look into kern/25651? It seems to contain a fix, too.. G'luck, Peter -- The rest of this sentence is written in Thailand, on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 1:30:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from www.aprcity.ru (b.primesite.ru [194.85.132.55]) by hub.freebsd.org (Postfix) with ESMTP id CBA4737B719 for ; Tue, 13 Mar 2001 01:30:27 -0800 (PST) (envelope-from root@aprcity.ru) Received: from infodep01 (me.tvd.net [172.16.0.37]) by www.aprcity.ru (8.11.3/8.11.3) with SMTP id f2D9XDi01484 for ; Tue, 13 Mar 2001 12:33:15 +0300 (MSK) Message-ID: <017401c0aba0$1d76b5d0$250010ac@aprcity.com> From: "Zaitsev Serg" To: Subject: mail.local Date: Tue, 13 Mar 2001 12:29:31 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0171_01C0ABB9.410D6430" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0171_01C0ABB9.410D6430 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable I have upgrade on FreeBSD 3.5 and FreeBSD 4.2 the Sendmail 8.11.3. On FreeBSD 3.5 all is OK. But on FreeBSD 4.2 I got trouble. With /usr/local/bin/mail.local or = /usr/libexec/mail.local . cat /var/log/maillog Mar 13 11:59:24 gate sendmail[82883]: starting daemon (8.11.3): = SMTP+queueing@00:30:00 Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = permitted (r=3D1, e=3D1) Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: to=3Dzaitsev, = ctladdr=3D (0/0), delay=3D19:08:01, xdelay=3D00:00:00, = mailer=3Dlocal, pri=3D120665, dsn=3D5.0.0, stat=3DService unavailable Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: forward = =3D> zaitsev Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: f2D8xOl82884: DSN: = Service unavailable Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = permitted (r=3D1, e=3D1) Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: to=3Dzaitsev, = delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30765, = dsn=3D5.0.0, stat=3DService unavailable Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias MAILER-DAEMON = =3D>postmaster Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster = =3D> root Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = zaitsev Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster = =3D> root Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = zaitsev Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: f2D8xOm82884: return = to sender: Service unavailable Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = permitted (r=3D1, e=3D1) Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: to=3Dzaitsev, = delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30865, = dsn=3D5.0.0, stat=3DService unavailable Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias MAILER-DAEMON = =3D> postmaster Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias postmaster = =3D> root Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: forward root =3D> = zaitsev Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: done; = delay=3D00:00:00, ntries=3D1 Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: Losing = ./qff2D8xOl82884: savemail panic Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: SYSERR(root): = savemail: cannot save rejected email anywhere Help me how to power it returns to normal operations? Any conclusions is very appreciated. Zaitsev Serg, root@aprcity.ru ------=_NextPart_000_0171_01C0ABB9.410D6430 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
I have upgrade on FreeBSD 3.5 and = FreeBSD 4.2 the=20 Sendmail 8.11.3.
On FreeBSD 3.5 all is OK.
But on FreeBSD 4.2 I = got=20 trouble. With /usr/local/bin/mail.local or /usr/libexec/mail.local = .

cat=20 /var/log/maillog
Mar 13 11:59:24 gate sendmail[82883]: starting = daemon=20 (8.11.3): SMTP+queueing@00:30:00
Mar 13 11:59:24 gate mail.local: = setreuid(0,=20 1000): Operation not permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate=20 sendmail[82884]: f2CDpNU76288: to=3Dzaitsev, ctladdr=3D<root@tvd.net> (0/0), = delay=3D19:08:01,=20 xdelay=3D00:00:00, mailer=3Dlocal, pri=3D120665, dsn=3D5.0.0, = stat=3DService=20 unavailable
Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: = forward=20 <root@tvd.net> =3D> = zaitsev
Mar 13=20 11:59:24 gate sendmail[82884]: f2CDpNU76288: f2D8xOl82884: DSN: Service=20 unavailable
Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): = Operation not=20 permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate sendmail[82884]: = f2D8xOl82884:=20 to=3Dzaitsev, delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, = pri=3D30765, dsn=3D5.0.0,=20 stat=3DService unavailable
Mar 13 11:59:24 gate sendmail[82884]: = f2D8xOl82884:=20 alias MAILER-DAEMON =3D>postmaster
Mar 13 11:59:24 gate = sendmail[82884]:=20 f2D8xOl82884: alias postmaster =3D> root
Mar 13 11:59:24 gate=20 sendmail[82884]: f2D8xOl82884: forward root =3D> zaitsev
Mar 13 = 11:59:24=20 gate sendmail[82884]: f2D8xOl82884: alias postmaster =3D> root
Mar = 13=20 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = zaitsev
Mar=20 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: f2D8xOm82884: return to = sender:=20 Service unavailable
Mar 13 11:59:24 gate mail.local: setreuid(0, = 1000):=20 Operation not permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate = sendmail[82884]:=20 f2D8xOm82884: to=3Dzaitsev, delay=3D00:00:00, xdelay=3D00:00:00, = mailer=3Dlocal,=20 pri=3D30865, dsn=3D5.0.0, stat=3DService unavailable
Mar 13 11:59:24 = gate=20 sendmail[82884]: f2D8xOm82884: alias MAILER-DAEMON =3D> = postmaster
Mar 13=20 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias postmaster =3D> = root
Mar=20 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: forward root =3D>=20 zaitsev
Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: done;=20 delay=3D00:00:00, ntries=3D1
Mar 13 11:59:24 gate sendmail[82884]: = f2D8xOl82884:=20 Losing ./qff2D8xOl82884: savemail panic
Mar 13 11:59:24 gate = sendmail[82884]:=20 f2D8xOl82884: SYSERR(root): savemail: cannot save rejected email=20 anywhere

Help me how to power it returns to normal = operations?
Any=20 conclusions is very appreciated.

Zaitsev Serg, root@aprcity.ru

<= /BODY> ------=_NextPart_000_0171_01C0ABB9.410D6430-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 1:39:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id E723537B71A for ; Tue, 13 Mar 2001 01:38:57 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from mobile.wemm.org (mobile.wemm.org [10.0.0.5]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f2D9cvp39212 for ; Tue, 13 Mar 2001 01:38:57 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f2D9cth53673; Tue, 13 Mar 2001 01:38:56 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200103130938.f2D9cth53673@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: "Zaitsev Serg" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: mail.local In-Reply-To: <017401c0aba0$1d76b5d0$250010ac@aprcity.com> Date: Tue, 13 Mar 2001 01:38:55 -0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG First, stop sending html mail.. Second, rebuild /etc/mail/sendmail.cf. Mergemaster is your friend. The newer sendmail configuration passes on root privs to mail.local, which is no longer setuid itself. "Zaitsev Serg" wrote: > This is a multi-part message in MIME format. > > ------=_NextPart_000_0171_01C0ABB9.410D6430 > Content-Type: text/plain; > charset="koi8-r" > Content-Transfer-Encoding: quoted-printable > > I have upgrade on FreeBSD 3.5 and FreeBSD 4.2 the Sendmail 8.11.3. > On FreeBSD 3.5 all is OK. > But on FreeBSD 4.2 I got trouble. With /usr/local/bin/mail.local or = > /usr/libexec/mail.local . > > cat /var/log/maillog > Mar 13 11:59:24 gate sendmail[82883]: starting daemon (8.11.3): = > SMTP+queueing@00:30:00 > Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = > permitted (r=3D1, e=3D1) > Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: to=3Dzaitsev, = > ctladdr=3D (0/0), delay=3D19:08:01, xdelay=3D00:00:00, = > mailer=3Dlocal, pri=3D120665, dsn=3D5.0.0, stat=3DService unavailable > Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: forward = > =3D> zaitsev > Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: f2D8xOl82884: DSN: = > Service unavailable > Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = > permitted (r=3D1, e=3D1) > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: to=3Dzaitsev, = > delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30765, = > dsn=3D5.0.0, stat=3DService unavailable > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias MAILER-DAEMON = > =3D>postmaster > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster = > =3D> root > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = > zaitsev > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster = > =3D> root > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = > zaitsev > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: f2D8xOm82884: return = > to sender: Service unavailable > Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = > permitted (r=3D1, e=3D1) > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: to=3Dzaitsev, = > delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30865, = > dsn=3D5.0.0, stat=3DService unavailable > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias MAILER-DAEMON = > =3D> postmaster > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias postmaster = > =3D> root > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: forward root =3D> = > zaitsev > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: done; = > delay=3D00:00:00, ntries=3D1 > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: Losing = > ./qff2D8xOl82884: savemail panic > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: SYSERR(root): = > savemail: cannot save rejected email anywhere > > Help me how to power it returns to normal operations? > Any conclusions is very appreciated. > > Zaitsev Serg, root@aprcity.ru > > > > ------=_NextPart_000_0171_01C0ABB9.410D6430 > Content-Type: text/html; > charset="koi8-r" > Content-Transfer-Encoding: quoted-printable > > > > > > > > >
I have upgrade on FreeBSD 3.5 and = > FreeBSD 4.2 the=20 > Sendmail 8.11.3.
On FreeBSD 3.5 all is OK.
But on FreeBSD 4.2 I = > got=20 > trouble. With /usr/local/bin/mail.local or /usr/libexec/mail.local = > .

cat=20 > /var/log/maillog
Mar 13 11:59:24 gate sendmail[82883]: starting = > daemon=20 > (8.11.3): SMTP+queueing@00:30:00
Mar 13 11:59:24 gate mail.local: = > setreuid(0,=20 > 1000): Operation not permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate=20 > sendmail[82884]: f2CDpNU76288: to=3Dzaitsev, ctladdr=3D< href=3D"mailto:root@tvd.net">root@tvd.net> (0/0), = > delay=3D19:08:01,=20 > xdelay=3D00:00:00, mailer=3Dlocal, pri=3D120665, dsn=3D5.0.0, = > stat=3DService=20 > unavailable
Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: = > forward=20 > <root@tvd.net> =3D> = > zaitsev
Mar 13=20 > 11:59:24 gate sendmail[82884]: f2CDpNU76288: f2D8xOl82884: DSN: Service=20 > unavailable
Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): = > Operation not=20 > permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate sendmail[82884]: = > f2D8xOl82884:=20 > to=3Dzaitsev, delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, = > pri=3D30765, dsn=3D5.0.0,=20 > stat=3DService unavailable
Mar 13 11:59:24 gate sendmail[82884]: = > f2D8xOl82884:=20 > alias MAILER-DAEMON =3D>postmaster
Mar 13 11:59:24 gate = > sendmail[82884]:=20 > f2D8xOl82884: alias postmaster =3D> root
Mar 13 11:59:24 gate=20 > sendmail[82884]: f2D8xOl82884: forward root =3D> zaitsev
Mar 13 = > 11:59:24=20 > gate sendmail[82884]: f2D8xOl82884: alias postmaster =3D> root
Mar = > 13=20 > 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = > zaitsev
Mar=20 > 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: f2D8xOm82884: return to = > sender:=20 > Service unavailable
Mar 13 11:59:24 gate mail.local: setreuid(0, = > 1000):=20 > Operation not permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate = > sendmail[82884]:=20 > f2D8xOm82884: to=3Dzaitsev, delay=3D00:00:00, xdelay=3D00:00:00, = > mailer=3Dlocal,=20 > pri=3D30865, dsn=3D5.0.0, stat=3DService unavailable
Mar 13 11:59:24 = > gate=20 > sendmail[82884]: f2D8xOm82884: alias MAILER-DAEMON =3D> = > postmaster
Mar 13=20 > 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias postmaster =3D> = > root
Mar=20 > 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: forward root =3D>=20 > zaitsev
Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: done;=20 > delay=3D00:00:00, ntries=3D1
Mar 13 11:59:24 gate sendmail[82884]: = > f2D8xOl82884:=20 > Losing ./qff2D8xOl82884: savemail panic
Mar 13 11:59:24 gate = > sendmail[82884]:=20 > f2D8xOl82884: SYSERR(root): savemail: cannot save rejected email=20 > anywhere

Help me how to power it returns to normal = > operations?
Any=20 > conclusions is very appreciated.

Zaitsev Serg, href=3D"mailto:root@aprcity.ru">root@aprcity.ru

<= > /BODY> > > ------=_NextPart_000_0171_01C0ABB9.410D6430-- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 2:55:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.86.136]) by hub.freebsd.org (Postfix) with ESMTP id D5C7037B723 for ; Tue, 13 Mar 2001 02:55:14 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by phk.freebsd.dk (8.9.3/8.9.3) with ESMTP id LAA40335; Tue, 13 Mar 2001 11:55:12 +0100 (CET) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f2DAtVp05665; Tue, 13 Mar 2001 11:55:31 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Dima Dorfman Cc: hackers@FreeBSD.ORG Subject: Re: Patch to fix panic when detaching a mounted md device In-Reply-To: Your message of "Mon, 12 Mar 2001 23:17:44 PST." <20010313071744.C988C3E09@bazooka.unixfreak.org> Date: Tue, 13 Mar 2001 11:55:31 +0100 Message-ID: <5663.984480931@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010313071744.C988C3E09@bazooka.unixfreak.org>, Dima Dorfman write s: >Hello -hackers > >Right now, if you try to detach an md device that's currently mounted, >you will get a panic (maybe not immedietely, but it will come, esp. This is intentional, I want md(4) to mimic the behaviour of "real" disks as closely as possible, including the fact that it may disappear without notice or caution. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 3:34:31 2001 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 18F5437B725 for ; Tue, 13 Mar 2001 03:34:27 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 13 Mar 2001 11:34:26 +0000 (GMT) Date: Tue, 13 Mar 2001 11:34:26 +0000 From: David Malone To: Alfred Perlstein Cc: Shankar Agarwal , bsd hackers Subject: Re: Question regarding the funcation socket()... Message-ID: <20010313113426.A44321@walton.maths.tcd.ie> References: <3AAD7114.A01DE452@net.com> <20010312171828.Q18351@fw.wintelcom.net> <3AAD79BB.F2B53814@net.com> <20010312175005.B29888@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010312175005.B29888@fw.wintelcom.net>; from bright@wintelcom.net on Mon, Mar 12, 2001 at 05:50:05PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 12, 2001 at 05:50:05PM -0800, Alfred Perlstein wrote: > Can you explain _why_ this isn't working, like an error message, maybe? It doesn't work 'cos the socket library call is not written in C, so grepping/cscoping won't find it. It is generated from socket.S, which seems to be produced by a line in src/lib/libc/sys/Makefile.inc which does: printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' > ${.TARGET} That make file includes various other makefiles which produce the list of syscalls which should be compiled into the library. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 3:45:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 834D837B725 for ; Tue, 13 Mar 2001 03:45:47 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2DBjfb15061; Tue, 13 Mar 2001 03:45:41 -0800 (PST) Date: Tue, 13 Mar 2001 03:45:41 -0800 From: Alfred Perlstein To: David Malone Cc: Shankar Agarwal , bsd hackers Subject: Re: Question regarding the funcation socket()... Message-ID: <20010313034541.R29888@fw.wintelcom.net> References: <3AAD7114.A01DE452@net.com> <20010312171828.Q18351@fw.wintelcom.net> <3AAD79BB.F2B53814@net.com> <20010312175005.B29888@fw.wintelcom.net> <20010313113426.A44321@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010313113426.A44321@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Tue, Mar 13, 2001 at 11:34:26AM +0000 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * David Malone [010313 03:34] wrote: > On Mon, Mar 12, 2001 at 05:50:05PM -0800, Alfred Perlstein wrote: > > > Can you explain _why_ this isn't working, like an error message, maybe? > > It doesn't work 'cos the socket library call is not written in C, > so grepping/cscoping won't find it. It is generated from socket.S, > which seems to be produced by a line in src/lib/libc/sys/Makefile.inc > which does: > > printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' > ${.TARGET} > > That make file includes various other makefiles which produce the > list of syscalls which should be compiled into the library. David, I was asking Shankar to give more reasonable explanations as to why things weren't working. If you check my first message to him there's the suggestion to do a "make world" and pipe the output to a file to look for this. y'know, teach a man to fish... :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 3:49:32 2001 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 BFEE337B722 for ; Tue, 13 Mar 2001 03:49:29 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 13 Mar 2001 11:48:43 +0000 (GMT) Date: Tue, 13 Mar 2001 11:48:43 +0000 From: David Malone To: Alfred Perlstein Cc: Shankar Agarwal , bsd hackers Subject: Re: Question regarding the funcation socket()... Message-ID: <20010313114843.A47627@walton.maths.tcd.ie> References: <3AAD7114.A01DE452@net.com> <20010312171828.Q18351@fw.wintelcom.net> <3AAD79BB.F2B53814@net.com> <20010312175005.B29888@fw.wintelcom.net> <20010313113426.A44321@walton.maths.tcd.ie> <20010313034541.R29888@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010313034541.R29888@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Mar 13, 2001 at 03:45:41AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 13, 2001 at 03:45:41AM -0800, Alfred Perlstein wrote: > David, I was asking Shankar to give more reasonable explanations > as to why things weren't working. If you check my first message > to him there's the suggestion to do a "make world" and pipe the > output to a file to look for this. I just reckoned it was a tricky one to find - it took me a few minutes and I knew what I was looking for... > y'know, teach a man to fish... :) Good point - we don't want to set anyone on fire though ;-) David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 3:57:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id CA67437B72D for ; Tue, 13 Mar 2001 03:57:08 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K15DDGX4C0000KQI@research.kpn.com> for hackers@FreeBSD.ORG; Tue, 13 Mar 2001 12:57:07 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Mar 2001 12:57:06 +0100 Content-return: allowed Date: Tue, 13 Mar 2001 12:57:05 +0100 From: "Koster, K.J." Subject: RE: non-working fxp cards To: 'Dennis' Cc: hackers@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E452205FD9A55@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Dennis, > > > > in case you havent read my posts, I've fixed the problem > > > with mine. > > > >Glad to hear it. In that case, I expect you _NOT_ to use my > >new driver. > > And why is that? I thought you just might like some guidance. > Feel free to beat on it on your own. > I think John made what some cultures would refer to as a "joke". You're supposed to laugh (you know, the "ha, ha"--kind'a sound). Yours, Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 6:32:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from internethelp.ru (wh.internethelp.ru [212.113.112.145]) by hub.freebsd.org (Postfix) with ESMTP id BA8A937B72A for ; Tue, 13 Mar 2001 06:32:11 -0800 (PST) (envelope-from nkritsky@internethelp.ru) Received: from ibmka ([192.168.0.6]) by internethelp.ru (8.9.3/8.9.3) with SMTP id RAA18519 for ; Tue, 13 Mar 2001 17:32:08 +0300 (MSK) Message-ID: <00b701c0abca$624b7630$0600a8c0@ibmka.internethelp.ru> From: "Nickolay A. Kritsky" To: Subject: FreeBSD asm problem Date: Tue, 13 Mar 2001 17:32:07 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all! It seems to me that you guys are my last hope, but if i am asking in the wrong place - sorry. I wrote my first asm program for FreeBSD: section .code global _start _start: push dword envp push dword argvp push dword fname mov eax,59 ; execve int 80h hlt ; i should never get here section .data fname db '/bin/sh',0 envp dd 0 argvp dd 0 ;End of program after compiling and linking i run it and got SIGBUS error when run under gdb i can see that int 80h returns with eax=2 (ENOENT? does it mean file not found?) I have a feeling that i have missed something very important. Thank you. NKritsky - SysAdmin InternetHelp.Ru http://www.internethelp.ru e-mail: nkritsky@internethelp.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 6:42:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 6909E37B719 for ; Tue, 13 Mar 2001 06:42:40 -0800 (PST) (envelope-from flashelp@pacbell.net) Received: from flashelp ([64.168.103.35]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with SMTP id <0GA500GC64UKVF@mta5.snfc21.pbi.net> for freebsd-hackers@FreeBSD.org; Tue, 13 Mar 2001 06:42:20 -0800 (PST) Date: Tue, 13 Mar 2001 06:41:24 -0800 From: Rick Malik Subject: join To: freebsd-hackers@FreeBSD.org Message-id: MIME-version: 1.0 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: application/pkcs7-mime; name="smime.p7m"; smime-type=signed-data Content-disposition: attachment; filename="smime.p7m" Content-transfer-encoding: base64 Importance: Normal X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Priority: 3 (Normal) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEVUNvbnRl bnQtVHlwZTogdGV4dC9wbGFpbjsNCgljaGFyc2V0PSJpc28tODg1OS0xIg0KQ29udGVudC1UcmFu c2Zlci1FbmNvZGluZzogN2JpdA0KDQoAAAAAAACgggjkMIICgjCCAeugAwIBAgIDBDpfMA0GCSqG SIb3DQEBBAUAMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQH EwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2Vydmlj ZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAwLjguMzAwHhcNMDEwMjIwMTgx MTE0WhcNMDIwMjIwMTgxMTE0WjBGMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSMw IQYJKoZIhvcNAQkBFhRmbGFzaGVscEBwYWNiZWxsLm5ldDCBnzANBgkqhkiG9w0BAQEFAAOBjQAw gYkCgYEA6EG8C/4xJcPunE7MvnieFYdSV6oEXtUovKq6/+kgSSHS8pOcG5uAbpf8vb7CVL7ubHhz h3RTD3axdjgiwXBfzgaQHQsit4fuT02CfVH4KXEPJ07ZW2MEQuGDJu6dCD5NpLZtcolK+8rEV2Ot VHoBStcd8Zgd5Hz36nPZt7DNt/cCAwEAAaMxMC8wHwYDVR0RBBgwFoEUZmxhc2hlbHBAcGFjYmVs bC5uZXQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQAEWwFbqVFHARhIMlyFW4b+5oR9 Zy/3BTk3kkGWfolDjbLUZ1v1kUUBv17eD5dEgoQRs1vZhS7HAtrbVGYLq4b0uWu8o3kziGxHvTX8 X9mNQEA7pjex32xy/AaEIYMY0vvApJg5FL9Vk2neKWUPbtD4AuMrI+EJvPwYW5zCLLjqVjCCAykw ggKSoAMCAQICAQwwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0 ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcx KDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0 ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxA dGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAwMDBaFw0wMjA4MjkyMzU5NTlaMIGSMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRo YXd0ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZy ZWVtYWlsIFJTQSAyMDAwLjguMzAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN4zMqZjxwkl RT7SbngnZ4HF2ogZgpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0caCjbZjxw0+iZdsN+kvx1t1h pfmFzVWaNRqdknWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M88Dm0m1SKE4f/s5udSWYALQmJ 7JRr6aFpAgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwxLTI5 NzASBgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQQFAAOBgQBzG28m ZYv/FTRLWWKK7US+ScfoDbuPuQ1qJipihB+4h2N0HG23zxpTkUvhzeY42e1Q9DpsNJKs5pKcbsEj AcIJp+9LrnLdBmf1UG8uWLi2C8FQV7XsHNfvF7bViJu3ooga7TlbOX00/LaWGCVNavSdxcORL6mW uAU8Uvzd6WIDSDCCAy0wggKWoAMCAQICAQAwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNVBAYTAlpB MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24x JDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVy c29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw05NjAxMDEwMDAwMDBaFw0yMDEyMzEyMzU5NTla MIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRv d24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNl cnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzAp BgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wgZ8wDQYJKoZIhvcNAQEB BQADgY0AMIGJAoGBANRp19SwlGRbcelH2AxRtupykbCEXn0tDY97Et+FJXUodDpCLGMnn5V7S+9+ GYcdhuqj3bnOlmQawhRuRKx85o/oTQ9xH0A4pgCjh3j2+ZSGXq3qwF5269kUo11uenwMpUtVfwYZ KX+emibVars4JAhqmMex2qOYkf152+VaxBy5AgMBAAGjEzARMA8GA1UdEwEB/wQFMAMBAf8wDQYJ KoZIhvcNAQEEBQADgYEAx+ySfk749ZalZ2IqpPBNEWDQb41gWGGsJrtSNVwIzzD7qEqWih9iQiOM Fw/0umScF6xHKd+dmF7SbGBxXKKs3Hnj524ARx+1DSjoAp3kmv0T9KbZfLH43F8jJgmRgHPQFBve Q6mDJfLmnC8Vyv6mq4oHdYsM3VGEa+T40c53ooExggKqMIICpgIBATCBmjCBkjELMAkGA1UEBhMC WkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZU aGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBG cmVlbWFpbCBSU0EgMjAwMC44LjMwAgMEOl8wCQYFKw4DAhoFAKCCAWUwGAYJKoZIhvcNAQkDMQsG CSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDEwMzEzMTQ0MTI0WjAjBgkqhkiG9w0BCQQxFgQU fm8A1I8Aj0aW0L8BDkZSJ52xvmwwWAYJKoZIhvcNAQkPMUswSTAKBggqhkiG9w0DBzAOBggqhkiG 9w0DAgICAIAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwgasG CSsGAQQBgjcQBDGBnTCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTES MBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRl IFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMEOl8w DQYJKoZIhvcNAQEBBQAEgYB58xxzLaThbRl0oPz9CTpbIdGEDP+5TdZDgz1MMytpaK1M7+t4+WJZ MWB8ZU93xqTynG66VKWn3y/TloOnjSGLf0DYbZu1n8Cvte0vHEUdTlUz7DQl5RGJuNKEZRbUg6ab YREYAKl/np6rEco1lpPyYuKUbUeAqqtSlnAbtAdXoAAAAAAAAA== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 6:55:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cr66388-a.rchrd1.on.wave.home.com (cr66388-a.rchrd1.on.wave.home.com [24.114.165.24]) by hub.freebsd.org (Postfix) with ESMTP id 5E71637B72C for ; Tue, 13 Mar 2001 06:55:39 -0800 (PST) (envelope-from jburkholder0829@home.com) Received: from cr66388-a.rchrd1.on.wave.home.c (localhost [127.0.0.1]) by cr66388-a.rchrd1.on.wave.home.com (Postfix) with ESMTP id 4791EBA69; Tue, 13 Mar 2001 09:55:38 -0500 (EST) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "Nickolay A. Kritsky" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD asm problem In-Reply-To: Message from "Nickolay A. Kritsky" of "Tue, 13 Mar 2001 17:32:07 +0300." <00b701c0abca$624b7630$0600a8c0@ibmka.internethelp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Mar 2001 09:55:38 -0500 From: Jake Burkholder Message-Id: <20010313145538.4791EBA69@cr66388-a.rchrd1.on.wave.home.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi all! > It seems to me that you guys are my last hope, but if i am asking in the > wrong place - sorry. > > I wrote my first asm program for FreeBSD: > > section .code > global _start > _start: > push dword envp > push dword argvp > push dword fname > mov eax,59 ; execve > int 80h > hlt ; i should never get here > > section .data > fname db '/bin/sh',0 > envp dd 0 > argvp dd 0 > ;End of program > > after compiling and linking i run it and got SIGBUS error > when run under gdb i can see that int 80h returns with eax=2 (ENOENT? does > it mean file not found?) > > I have a feeling that i have missed something very important. > www.int80h.org is a good reference for this kind of stuff. You need to push an additional dword onto the stack after fname. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 7:15: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from internethelp.ru (wh.internethelp.ru [212.113.112.145]) by hub.freebsd.org (Postfix) with ESMTP id A540837B721 for ; Tue, 13 Mar 2001 07:14:57 -0800 (PST) (envelope-from nkritsky@internethelp.ru) Received: from ibmka ([192.168.0.6]) by internethelp.ru (8.9.3/8.9.3) with SMTP id SAA19205; Tue, 13 Mar 2001 18:14:43 +0300 (MSK) Message-ID: <00f301c0abd0$547624f0$0600a8c0@ibmka.internethelp.ru> From: "Nickolay A. Kritsky" To: "Jake Burkholder" Cc: Subject: Re: FreeBSD asm problem Date: Tue, 13 Mar 2001 18:13:55 +0300 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 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks a lot for your help! Now i see that i have read int80h.org's manual not enough well :( (i'm so stupid!) RTFM and again RTFM! NKritsky - SysAdmin InternetHelp.Ru http://www.internethelp.ru e-mail: nkritsky@internethelp.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 7:23:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from primo.verat.net (primo.verat.net [217.26.64.130]) by hub.freebsd.org (Postfix) with ESMTP id B3AA037B718 for ; Tue, 13 Mar 2001 07:23:08 -0800 (PST) (envelope-from milunovic@sendmail.ru) Received: from scorpion.cosmos.all.net (ppp-108.verat.net [217.26.65.108]) by primo.verat.net (x.y.z/1.1.1) with ESMTP id QAA29073; Tue, 13 Mar 2001 16:22:52 +0100 Received: from scorpion.cosmos.all.net (scorpion.cosmos.all.net [127.0.0.1]) by scorpion.cosmos.all.net (8.11.3/8.11.3) with ESMTP id f2DFTmr01057; Tue, 13 Mar 2001 16:29:50 +0100 (CET) Date: Tue, 13 Mar 2001 16:29:44 +0100 (CET) From: milunovic X-Sender: milunovic@scorpion.cosmos.all.net To: "Nickolay A. Kritsky" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD asm problem In-Reply-To: <00b701c0abca$624b7630$0600a8c0@ibmka.internethelp.ru> 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 -----BEGIN PGP SIGNED MESSAGE----- On Tue, 13 Mar 2001, Nickolay A. Kritsky wrote: > Hi all! > It seems to me that you guys are my last hope, but if i am asking in the > wrong place - sorry. > > I wrote my first asm program for FreeBSD: > > section .code > global _start > _start: > push dword envp > push dword argvp > push dword fname > mov eax,59 ; execve Here you must push long (dword) because int 0x80 expects EIP main : pushl 3rd pushl 2nd pushl 1st call execve <--- call will push EIP on stack execve : leal $0x3b,%eax int $0x80 Stack should be -> [EIP][1st][2nd][3rd] but instead EIP you can just push anything you want. Vojislav Milunovic milunovic@sendmail.ru -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOq486y3gPLld8IkLAQEy2gf9HLvwmii7QTyNuHBt6qQqf5jBqMPFPw8j kcW/5Oss05kfayh6tmrLVRCzP3MYNYXXKSgxjAKzH+OmN/FHlaTsZIIfQFnU561z a1Qau+CWjJ5hUuIfE1xGPPVDaWC8e3MF83ZwH9CN3pnIZVUh/3OectyiTGwgwyEV iGo65HAlgW9GBZznmzYK7PXOkWrRV3olcflIverL1dKMZbow0MCOQ57LMLnNY4ck Kl6dt8lVLd+K1sHnXdO09eqogiyXPmJEmIJJGRiR2iKMo3Zl5ptGfN/pb00NnNiT 5eNeOQbVEmDJg0swig6VrY2kSqUsMjCpWFW2TDItvtUp8nW9uJ1mtA== =6Qs3 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 7:28: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sivka.carrier.kiev.ua (sivka.carrier.kiev.ua [193.193.193.101]) by hub.freebsd.org (Postfix) with ESMTP id 7215837B729 for ; Tue, 13 Mar 2001 07:27:53 -0800 (PST) (envelope-from diman@asd-g.com) Received: from core.is.kiev.ua (p187.is.kiev.ua [62.244.5.187] (may be forged)) by sivka.carrier.kiev.ua (8/Kilkenny_is_better) with ESMTP id RKA16233; Tue, 13 Mar 2001 17:26:00 +0200 (EET) (envelope-from diman@asd-g.com) Received: from ergo.local ([10.203.1.10]) by core.is.kiev.ua (8.11.1/ASDG-2.3-NR) with ESMTP id f2DFPxJ69866; Tue, 13 Mar 2001 17:25:59 +0200 (EET) (envelope-from diman@asd-g.com) Date: Tue, 13 Mar 2001 17:23:13 +0200 (EET) From: diman X-Sender: diman@portal.none.ua To: "Nickolay A. Kritsky" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD asm problem In-Reply-To: <00b701c0abca$624b7630$0600a8c0@ibmka.internethelp.ru> 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 --------ex.S------------ #include .globl main main: popl %eax /* cick ret */ popl %eax /* cick argc */ movl (%esp),%eax /* eax=av */ movl $fname, %ebx /* ebx=fname */ movl %ebx,(%eax) /* av[0]=fname */ pushl %ebx /* needs to be on the stack too */ movl $SYS_execve,%eax /* execve */ call syscall movl $SYS_exit,%eax /* exit */ call syscall syscall: int $0x80 ret fname: .asciz "/bin/sh" On Tue, 13 Mar 2001, Nickolay A. Kritsky wrote: > Hi all! > It seems to me that you guys are my last hope, but if i am asking in the > wrong place - sorry. > > I wrote my first asm program for FreeBSD: > > section .code > global _start > _start: > push dword envp > push dword argvp > push dword fname > mov eax,59 ; execve > int 80h > hlt ; i should never get here > > section .data > fname db '/bin/sh',0 > envp dd 0 > argvp dd 0 > ;End of program > > after compiling and linking i run it and got SIGBUS error > when run under gdb i can see that int 80h returns with eax=2 (ENOENT? does > it mean file not found?) > > I have a feeling that i have missed something very important. > > Thank you. > NKritsky - SysAdmin InternetHelp.Ru > http://www.internethelp.ru > e-mail: nkritsky@internethelp.ru > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 7:27:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from www.aprcity.ru (b.primesite.ru [194.85.132.55]) by hub.freebsd.org (Postfix) with ESMTP id 5687537B722 for ; Tue, 13 Mar 2001 07:27:48 -0800 (PST) (envelope-from root@aprcity.ru) Received: from infodep01 (me.tvd.net [172.16.0.37]) by www.aprcity.ru (8.11.3/8.11.3) with SMTP id f2DFUCi03441 for ; Tue, 13 Mar 2001 18:30:13 +0300 (MSK) Message-ID: <01dd01c0abd1$fa874ee0$250010ac@aprcity.com> From: "Zaitsev Serg" To: Subject: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Date: Tue, 13 Mar 2001 18:26:29 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01DA_01C0ABEB.1F4677B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_01DA_01C0ABEB.1F4677B0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable I got perfect advice and my problem is no more. I have upgrade the Sendmail 8.11.3 on FreeBSD 4.2. But on FreeBSD 4.2 I got trouble with /usr/libexec/mail.local . Filling up /var/spool/mqueue a lot of files. /var/mail/user was empty. Mail stopped. chmod u+s /usr/libexec/mail.local Now mail works again. Zaitsev Serg, root@aprcity.ru P.S.: I had the Tones of messages like this: cat /var/log/maillog Mar 13 11:59:24 gate sendmail[82883]: starting daemon (8.11.3): = SMTP+queueing@00:30:00 Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = permitted (r=3D1, e=3D1) Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: to=3Dzaitsev, = ctladdr=3D (0/0), delay=3D19:08:01, xdelay=3D00:00:00, = mailer=3Dlocal, pri=3D120665, dsn=3D5.0.0, stat=3DService unavailable Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: forward = =3D> zaitsev Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: f2D8xOl82884: DSN: = Service unavailable Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = permitted (r=3D1, e=3D1) Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: to=3Dzaitsev, = delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30765, = dsn=3D5.0.0, stat=3DService unavailable Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias MAILER-DAEMON = =3D>postmaster Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster = =3D> root Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = zaitsev Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster = =3D> root Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = zaitsev Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: f2D8xOm82884: return = to sender: Service unavailable Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = permitted (r=3D1, e=3D1) Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: to=3Dzaitsev, = delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30865, = dsn=3D5.0.0, stat=3DService unavailable Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias MAILER-DAEMON = =3D> postmaster Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias postmaster = =3D> root Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: forward root =3D> = zaitsev Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: done; = delay=3D00:00:00, ntries=3D1 Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: Losing = ./qff2D8xOl82884: savemail panic Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: SYSERR(root): = savemail: cannot save rejected email anywhere ------=_NextPart_000_01DA_01C0ABEB.1F4677B0 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
I got perfect advice and my problem is = no=20 more.
I have upgrade the Sendmail 8.11.3 on = FreeBSD=20 4.2.
But on FreeBSD 4.2 I got trouble with /usr/libexec/mail.local=20 .
Filling up /var/spool/mqueue a lot of files.
/var/mail/user was empty.
Mail stopped.
 
chmod u+s /usr/libexec/mail.local
 
Now mail works again.
 
Zaitsev Serg, root@aprcity.ru
P.S.: I had the = Tones of messages=20 like this:
cat /var/log/maillog
Mar 13 11:59:24 gate=20 sendmail[82883]: starting daemon (8.11.3): SMTP+queueing@00:30:00
Mar = 13=20 11:59:24 gate mail.local: setreuid(0, 1000): Operation not permitted = (r=3D1,=20 e=3D1)
Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: = to=3Dzaitsev,=20 ctladdr=3D<root@tvd.net> = (0/0),=20 delay=3D19:08:01, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D120665, = dsn=3D5.0.0,=20 stat=3DService unavailable
Mar 13 11:59:24 gate sendmail[82884]: = f2CDpNU76288:=20 forward <root@tvd.net> =3D> = zaitsev
Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: = f2D8xOl82884:=20 DSN: Service unavailable
Mar 13 11:59:24 gate mail.local: setreuid(0, = 1000):=20 Operation not permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate = sendmail[82884]:=20 f2D8xOl82884: to=3Dzaitsev, delay=3D00:00:00, xdelay=3D00:00:00, = mailer=3Dlocal,=20 pri=3D30765, dsn=3D5.0.0, stat=3DService unavailable
Mar 13 11:59:24 = gate=20 sendmail[82884]: f2D8xOl82884: alias MAILER-DAEMON = =3D>postmaster
Mar 13=20 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster =3D> = root
Mar=20 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D>=20 zaitsev
Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias = postmaster=20 =3D> root
Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: = forward root=20 =3D> zaitsev
Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884:=20 f2D8xOm82884: return to sender: Service unavailable
Mar 13 11:59:24 = gate=20 mail.local: setreuid(0, 1000): Operation not permitted (r=3D1, = e=3D1)
Mar 13=20 11:59:24 gate sendmail[82884]: f2D8xOm82884: to=3Dzaitsev, = delay=3D00:00:00,=20 xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30865, dsn=3D5.0.0, = stat=3DService=20 unavailable
Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias = MAILER-DAEMON =3D> postmaster
Mar 13 11:59:24 gate = sendmail[82884]:=20 f2D8xOm82884: alias postmaster =3D> root
Mar 13 11:59:24 gate=20 sendmail[82884]: f2D8xOm82884: forward root =3D> zaitsev
Mar 13 = 11:59:24=20 gate sendmail[82884]: f2D8xOm82884: done; delay=3D00:00:00, = ntries=3D1
Mar 13=20 11:59:24 gate sendmail[82884]: f2D8xOl82884: Losing ./qff2D8xOl82884: = savemail=20 panic
Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: = SYSERR(root):=20 savemail: cannot save rejected email=20 anywhere
------=_NextPart_000_01DA_01C0ABEB.1F4677B0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 7:32:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id D21DB37B71D for ; Tue, 13 Mar 2001 07:32:11 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2DFW1975173; Tue, 13 Mar 2001 07:32:01 -0800 (PST) (envelope-from obrien) Date: Tue, 13 Mar 2001 07:32:00 -0800 From: "David O'Brien" To: Zaitsev Serg Cc: hackers@freebsd.org Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Message-ID: <20010313073200.A75117@dragon.nuxi.com> Reply-To: hackers@freebsd.org References: <01dd01c0abd1$fa874ee0$250010ac@aprcity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01dd01c0abd1$fa874ee0$250010ac@aprcity.com>; from root@aprcity.ru on Tue, Mar 13, 2001 at 06:26:29PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 13, 2001 at 06:26:29PM +0300, Zaitsev Serg wrote: > I have upgrade the Sendmail 8.11.3 on FreeBSD 4.2. > But on FreeBSD 4.2 I got trouble with /usr/libexec/mail.local . > Filling up /var/spool/mqueue a lot of files. > /var/mail/user was empty. > Mail stopped. > > chmod u+s /usr/libexec/mail.local > > Now mail works again. Perhaps you should read the documentation we supplied on this issue. bash$ cat /usr/src/UPDATING Updating Information for FreeBSD STABLE users This file is maintained by imp@village.org. Please send new entries directly to him. See end of file for further details. A reverse chronology since 4.0 was released is included, followed by the common items quick how-tos, followed by entries for versions of -current prior to 4.0 Release. ..snip.. 20001020: ****************************** WARNING ****************************** Sendmail has been updated. ****************************** WARNING ****************************** o mail.local(8) is no longer installed as a set-user-id binary. ..snip.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 7:41:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id D4CE437B71B for ; Tue, 13 Mar 2001 07:41:49 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2DFffi75304; Tue, 13 Mar 2001 07:41:41 -0800 (PST) (envelope-from obrien) Date: Tue, 13 Mar 2001 07:41:40 -0800 From: "David O'Brien" To: Gordon Tetlow , Dan Phoenix Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: optimizing apache with php and nfs mounts Message-ID: <20010313074140.B75117@dragon.nuxi.com> Reply-To: freebsd-hackers@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gordont@bluemtn.net on Mon, Mar 12, 2001 at 10:34:32PM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 12, 2001 at 10:34:32PM -0800, Gordon Tetlow wrote: > On Mon, 12 Mar 2001, Dan Phoenix wrote: > > > CC="gcc -O6 -fomit-frame-pointer" OPTIM="-O2 -DBUFFERED_LOGS" > > > > could some c guru tell me if this would be bad to use to an apache > > optimization? I need to compile apache on my own not with ports.... > > looking at makefile > > in apache13 in ports collection i see these optimization flags. > > along with --mmap-static module. > > > > > > can you use both -06 and -02 for optmization at the same time? > > -fomit-frame-pointer as well? > > -O6 and -O2 do seem a bit contradictory. I'm guessing it just uses -O6. > -fomit-frame-pointer is not enabled per the -O flags so that does do > something, but it does make it rather difficult to track down problems > without a frame pointer. _ _ __/\__ ___ (_) __ _ | |__ __/\__ \ / / __| | | / _` | | '_ \ \ / /_ _\ \__ \ | | | (_| | | | | | /_ _\ \/ |___/ |_| \__, | |_| |_| \/ |___/ Where did you even get the idea "-O6" did *_ANYTHING_*?? Don't people ever read the documentation anymore. 1. The highest -O setting GCC accepts is "-O3". 2. The base, system C compiler is known to produce bad code with -O2. We have been proclaiming this since as long as I have been with the Project. > I probably qualify for the latter.... Optimizations are good and all, but > I look at it this way: It's a mission critical webserver, I don't want it > crashing. As a result, we compile ours with nothing higher that -O2 and no > unusual optimizations. Sure, it might be a bit slower than it could have > been, Do people ever actually test this? Or is there just the assumption that the more "optimizations" on the `cc' command line is a Great Thing(tm)? People do realize that for some code, -O2 is much worse than -O? Also for much code there is no difference in performance. Rather than do what you "think" will give the best results, why not actually benchmark it? > but we don't have to worry about chasing down compiler bugs that > interact strangly with the webserver code. Also, I think anything higher > than -O2 actually produces a larger binary (it inlines functions whenever > possible). 1. You need to use -O if you don't want to chase bugs 2. It is -O2 and above (ie, _includes_ -O2) that produces a larger binary. See -Os if you want smaller. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 7:41:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from www.aprcity.ru (b.primesite.ru [194.85.132.55]) by hub.freebsd.org (Postfix) with ESMTP id DCBAD37B722 for ; Tue, 13 Mar 2001 07:41:50 -0800 (PST) (envelope-from root@aprcity.ru) Received: from infodep01 (me.tvd.net [172.16.0.37]) by www.aprcity.ru (8.11.3/8.11.3) with SMTP id f2DFigi03538 for ; Tue, 13 Mar 2001 18:44:42 +0300 (MSK) Message-ID: <01f101c0abd4$00604720$250010ac@aprcity.com> From: "Zaitsev Serg" To: References: <01dd01c0abd1$fa874ee0$250010ac@aprcity.com> <20010313073200.A75117@dragon.nuxi.com> Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Date: Tue, 13 Mar 2001 18:40:59 +0300 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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You right. But I spend more time than I wish for detection, analyzing, consulting and solving problem. "mail.local is no longer installed as a set-user-id binary" Is it good? Is it bad? Who knows I get it some way. Thanks, Zaitsev Serg, root@aprcity.ru > > chmod u+s /usr/libexec/mail.local > > Perhaps you should read the documentation we supplied on this issue. > > > bash$ cat /usr/src/UPDATING > Updating Information for FreeBSD STABLE users > > This file is maintained by imp@village.org. Please send new entries > directly to him. See end of file for further details. A reverse > chronology since 4.0 was released is included, followed by the common > items quick how-tos, followed by entries for versions of -current > prior to 4.0 Release. > > ..snip.. > > 20001020: > ****************************** WARNING ****************************** > Sendmail has been updated. > ****************************** WARNING ****************************** > o mail.local(8) is no longer installed as a set-user-id binary. > > ..snip.. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 8: 9:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id BF10037B71F for ; Tue, 13 Mar 2001 08:09:15 -0800 (PST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.2/8.11.0) with ESMTP id f2DG9EX71672; Tue, 13 Mar 2001 09:09:14 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.2/8.8.3) with ESMTP id f2DG6QZ13532; Tue, 13 Mar 2001 09:06:26 -0700 (MST) Message-Id: <200103131606.f2DG6QZ13532@billy-club.village.org> To: Poul-Henning Kamp Subject: Re: Patch to fix panic when detaching a mounted md device Cc: Dima Dorfman , hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 13 Mar 2001 11:55:31 +0100." <5663.984480931@critter> References: <5663.984480931@critter> Date: Tue, 13 Mar 2001 09:06:26 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <5663.984480931@critter> Poul-Henning Kamp writes: : In message <20010313071744.C988C3E09@bazooka.unixfreak.org>, Dima Dorfman write : s: : >Hello -hackers : > : >Right now, if you try to detach an md device that's currently mounted, : >you will get a panic (maybe not immedietely, but it will come, esp. : : This is intentional, I want md(4) to mimic the behaviour of "real" : disks as closely as possible, including the fact that it may disappear : without notice or caution. We should then fix the rest of the system to deal with disks that disappear without notice. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 8:15:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id B556437B720 for ; Tue, 13 Mar 2001 08:15:41 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K15MF05R1M000JBX@research.kpn.com> for freebsd-hackers@FreeBSD.ORG; Tue, 13 Mar 2001 17:15:39 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Mar 2001 17:15:39 +0100 Content-return: allowed Date: Tue, 13 Mar 2001 17:15:38 +0100 From: "Koster, K.J." Subject: RE: optimizing apache with php and nfs mounts To: "'freebsd-hackers@FreeBSD.ORG'" Message-id: <59063B5B4D98D311BC0D0001FA7E452205FD9A57@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > _ _ > __/\__ ___ (_) __ _ | |__ __/\__ > \ / / __| | | / _` | | '_ \ \ / > /_ _\ \__ \ | | | (_| | | | | | /_ _\ > \/ |___/ |_| \__, | |_| |_| \/ > |___/ > > :-) > > Where did you even get the idea "-O6" did *_ANYTHING_*?? Don't people > ever read the documentation anymore. > On top of that: the subject line suggests that NFS is involved in the equation. Are you sure you're cpu-bound and aren't losing lots of time getting files from the NFS server? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 8:34:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.86.136]) by hub.freebsd.org (Postfix) with ESMTP id 060AE37B718 for ; Tue, 13 Mar 2001 08:34:08 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by phk.freebsd.dk (8.9.3/8.9.3) with ESMTP id RAA45346; Tue, 13 Mar 2001 17:34:06 +0100 (CET) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f2DGYNp08775; Tue, 13 Mar 2001 17:34:23 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Warner Losh Cc: Dima Dorfman , hackers@FreeBSD.ORG Subject: Re: Patch to fix panic when detaching a mounted md device In-Reply-To: Your message of "Tue, 13 Mar 2001 09:06:26 MST." <200103131606.f2DG6QZ13532@billy-club.village.org> Date: Tue, 13 Mar 2001 17:34:23 +0100 Message-ID: <8773.984501263@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200103131606.f2DG6QZ13532@billy-club.village.org>, Warner Losh writ es: >In message <5663.984480931@critter> Poul-Henning Kamp writes: >: In message <20010313071744.C988C3E09@bazooka.unixfreak.org>, Dima Dorfman write >: s: >: >Hello -hackers >: > >: >Right now, if you try to detach an md device that's currently mounted, >: >you will get a panic (maybe not immedietely, but it will come, esp. >: >: This is intentional, I want md(4) to mimic the behaviour of "real" >: disks as closely as possible, including the fact that it may disappear >: without notice or caution. > >We should then fix the rest of the system to deal with disks that >disappear without notice. That was the point yes :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 8:42: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id A242337B718 for ; Tue, 13 Mar 2001 08:42:00 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2DGfY903956; Tue, 13 Mar 2001 09:41:34 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103131641.f2DGfY903956@harmony.village.org> To: Poul-Henning Kamp Subject: Re: Patch to fix panic when detaching a mounted md device Cc: Dima Dorfman , hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 13 Mar 2001 17:34:23 +0100." <8773.984501263@critter> References: <8773.984501263@critter> Date: Tue, 13 Mar 2001 09:41:34 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <8773.984501263@critter> Poul-Henning Kamp writes: : >We should then fix the rest of the system to deal with disks that : >disappear without notice. : : That was the point yes :-) Cool. When this happens, the forgetful ata flash ejectors of the world will be happy :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 8:52:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 8987C37B71A for ; Tue, 13 Mar 2001 08:52:43 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id RAA08577; Tue, 13 Mar 2001 17:50:36 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200103131650.RAA08577@freebsd.dk> Subject: Re: Patch to fix panic when detaching a mounted md device In-Reply-To: <200103131641.f2DGfY903956@harmony.village.org> from Warner Losh at "Mar 13, 2001 09:41:34 am" To: imp@harmony.village.org (Warner Losh) Date: Tue, 13 Mar 2001 17:50:36 +0100 (CET) Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), dima@unixfreak.org (Dima Dorfman), hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Warner Losh wrote: > In message <8773.984501263@critter> Poul-Henning Kamp writes: > : >We should then fix the rest of the system to deal with disks that > : >disappear without notice. > : > : That was the point yes :-) > > Cool. When this happens, the forgetful ata flash ejectors of the > world will be happy :-) The next commit to the ATA driver will take care off this, either by the user doing 'atacontrol detach dev' or by the timeout code discovering that a divice went missing and proberly fail all the outstanding bio requests.. This all needed the patch to subr_disk.c that I made earlier today, but now we can actually do it, however some of the cleanup action should be done by the higher levels and not by the device driver... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 9: 6: 8 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 7C45237B718 for ; Tue, 13 Mar 2001 09:06:05 -0800 (PST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.2/8.11.0) with ESMTP id f2DH62X71906; Tue, 13 Mar 2001 10:06:03 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.2/8.8.3) with ESMTP id f2DH3FZ13777; Tue, 13 Mar 2001 10:03:15 -0700 (MST) Message-Id: <200103131703.f2DH3FZ13777@billy-club.village.org> To: Soren Schmidt Subject: Re: Patch to fix panic when detaching a mounted md device Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), dima@unixfreak.org (Dima Dorfman), hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 13 Mar 2001 17:50:36 +0100." <200103131650.RAA08577@freebsd.dk> References: <200103131650.RAA08577@freebsd.dk> Date: Tue, 13 Mar 2001 10:03:14 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200103131650.RAA08577@freebsd.dk> Soren Schmidt writes: : This all needed the patch to subr_disk.c that I made earlier today, : but now we can actually do it, however some of the cleanup action : should be done by the higher levels and not by the device driver... Most of the crashes I've seen are in the higher levels... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 10: 8:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sdmail0.sd.bmarts.com (sdmail0.sd.bmarts.com [209.247.77.155]) by hub.freebsd.org (Postfix) with ESMTP id 03E3537B719 for ; Tue, 13 Mar 2001 10:08:16 -0800 (PST) (envelope-from gordont@bluemtn.net) Received: from localhost (gordont@localhost) by sdmail0.sd.bmarts.com (8.11.3/8.11.2/BMA1.1) with ESMTP id f2DI80094698; Tue, 13 Mar 2001 10:08:00 -0800 (PST) Date: Tue, 13 Mar 2001 10:08:00 -0800 (PST) From: Gordon Tetlow X-X-Sender: To: Cc: Dan Phoenix Subject: Re: optimizing apache with php and nfs mounts In-Reply-To: <20010313074140.B75117@dragon.nuxi.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, 13 Mar 2001, David O'Brien wrote: > On Mon, Mar 12, 2001 at 10:34:32PM -0800, Gordon Tetlow wrote: > _ _ > __/\__ ___ (_) __ _ | |__ __/\__ > \ / / __| | | / _` | | '_ \ \ / > /_ _\ \__ \ | | | (_| | | | | | /_ _\ > \/ |___/ |_| \__, | |_| |_| \/ > |___/ Woohoo! ASCII art! > > I probably qualify for the latter.... Optimizations are good and all, but > > I look at it this way: It's a mission critical webserver, I don't want it > > crashing. As a result, we compile ours with nothing higher that -O2 and no > > unusual optimizations. Sure, it might be a bit slower than it could have > > been, > > Do people ever actually test this? Or is there just the assumption that > the more "optimizations" on the `cc' command line is a Great Thing(tm)? > People do realize that for some code, -O2 is much worse than -O? Also > for much code there is no difference in performance. Rather than do what > you "think" will give the best results, why not actually benchmark it? I was just trying to illustrate that any gains (real or not) realized by using -O1000 -fomit-everything is generally a trade off between stability and speed. > > but we don't have to worry about chasing down compiler bugs that > > interact strangly with the webserver code. Also, I think anything higher > > than -O2 actually produces a larger binary (it inlines functions whenever > > possible). > > 1. You need to use -O if you don't want to chase bugs > 2. It is -O2 and above (ie, _includes_ -O2) that produces a larger > binary. See -Os if you want smaller. Actually, we did. Of course, our production stuff is still compiled with gcc 2.7.2.1. I think. Whatever the standard system compiler for FreeBSD-3.2 is. And that was at a time when the world was still compiled with -O2, wasn't it? -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 10:10:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id E858437B74A for ; Tue, 13 Mar 2001 10:10:31 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id TAA28304; Tue, 13 Mar 2001 19:10:25 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200103131810.TAA28304@freebsd.dk> Subject: Re: Patch to fix panic when detaching a mounted md device In-Reply-To: <200103131703.f2DH3FZ13777@billy-club.village.org> from Warner Losh at "Mar 13, 2001 10:03:14 am" To: imp@village.org (Warner Losh) Date: Tue, 13 Mar 2001 19:10:25 +0100 (CET) Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), dima@unixfreak.org (Dima Dorfman), hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Warner Losh wrote: > In message <200103131650.RAA08577@freebsd.dk> Soren Schmidt writes: > : This all needed the patch to subr_disk.c that I made earlier today, > : but now we can actually do it, however some of the cleanup action > : should be done by the higher levels and not by the device driver... > > Most of the crashes I've seen are in the higher levels... Where ? I havn't seen any here for quite some time... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 10:20:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id F046537B719 for ; Tue, 13 Mar 2001 10:20:46 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2DIJI904735; Tue, 13 Mar 2001 11:19:18 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103131819.f2DIJI904735@harmony.village.org> To: Soren Schmidt Subject: Re: Patch to fix panic when detaching a mounted md device Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), dima@unixfreak.org (Dima Dorfman), hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 13 Mar 2001 19:10:25 +0100." <200103131810.TAA28304@freebsd.dk> References: <200103131810.TAA28304@freebsd.dk> Date: Tue, 13 Mar 2001 11:19:18 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200103131810.TAA28304@freebsd.dk> Soren Schmidt writes: : It seems Warner Losh wrote: : > In message <200103131650.RAA08577@freebsd.dk> Soren Schmidt writes: : > : This all needed the patch to subr_disk.c that I made earlier today, : > : but now we can actually do it, however some of the cleanup action : > : should be done by the higher levels and not by the device driver... : > : > Most of the crashes I've seen are in the higher levels... : : Where ? I havn't seen any here for quite some time... The ones I've been seeing on "eject ata when mounted on /foo" are in the vm code or file system code. I'll try it again after your changes to see where we're at. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 10:36: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.dvart.com (mail.dvart.com [64.79.2.12]) by hub.freebsd.org (Postfix) with ESMTP id ACEC437B718 for ; Tue, 13 Mar 2001 10:36:04 -0800 (PST) (envelope-from bschwand@dvart.com) Received: from dvart.com (pipin.dvart.com [64.79.2.4]) by mail.dvart.com (Postfix) with ESMTP id 222C9CCE6 for ; Tue, 13 Mar 2001 10:36:45 +0000 (GMT) Message-ID: <3AAE688E.42A59DEE@dvart.com> Date: Tue, 13 Mar 2001 10:35:58 -0800 From: bruno schwander X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Re: examining the environment References: <200103060208.f2628PT49635@earth.backplane.com> <20010308213722.A83857@skriver.dk> <3AA7EF0B.434B8D8F@dvart.com> <3AA883DE.BBCBDD09@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks everybody, I checked the code and the magic function is kvm_getenvv() bruno Wes Peters wrote: > bruno schwander wrote: > > > > Hi everybody, > > > > How can I examine an other process environment ? > > > > I have a daemon that needs to do something according to an environment > > variable set in a different process. Can I open an other process and lookup > > environment variables set in his space ? > > ps can do this, check it's code. > > -- > Where am I, and what am I doing in this handbasket? > > Wes Peters wes@softweyr.com -- ########################################################################### Bruno Schwander Senior Software Engineer Worldgate Communications, Inc email: bschwand@dvart.com ############################################################################ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 10:52:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bdr-xcon.matchlogic.com (mail.matchlogic.com [205.216.147.127]) by hub.freebsd.org (Postfix) with ESMTP id 39F6337B718 for ; Tue, 13 Mar 2001 10:52:11 -0800 (PST) (envelope-from crandall@matchlogic.com) Received: by mail.matchlogic.com with Internet Mail Service (5.5.2653.19) id ; Tue, 13 Mar 2001 11:51:21 -0700 Message-ID: <5FE9B713CCCDD311A03400508B8B30130828E8F7@bdr-xcln.corp.matchlogic.com> From: Charles Randall To: "'freebsd-hackers@FreeBSD.ORG'" Subject: gcc optimization problems (RE: optimizing apache with php and nfs mounts) Date: Tue, 13 Mar 2001 11:51:16 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: David O'Brien [mailto:obrien@FreeBSD.ORG] >2. The base, system C compiler is known to produce bad code with -O2. > We have been proclaiming this since as long as I have been with the > Project. Is this an issue with FreeBSD's gcc's or gcc in general? If gcc in general, are there open PRs on this issue? Charles To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 11: 0:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 1130B37B71B for ; Tue, 13 Mar 2001 11:00:45 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2DJ0dA31509; Tue, 13 Mar 2001 11:00:40 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103131606.f2DG6QZ13532@billy-club.village.org> Date: Tue, 13 Mar 2001 11:00:16 -0800 (PST) From: John Baldwin To: Warner Losh Subject: Re: Patch to fix panic when detaching a mounted md device Cc: hackers@FreeBSD.org, Dima Dorfman , Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 13-Mar-01 Warner Losh wrote: > In message <5663.984480931@critter> Poul-Henning Kamp writes: >: In message <20010313071744.C988C3E09@bazooka.unixfreak.org>, Dima Dorfman >: write >: s: >: >Hello -hackers >: > >: >Right now, if you try to detach an md device that's currently mounted, >: >you will get a panic (maybe not immedietely, but it will come, esp. >: >: This is intentional, I want md(4) to mimic the behaviour of "real" >: disks as closely as possible, including the fact that it may disappear >: without notice or caution. > > We should then fix the rest of the system to deal with disks that > disappear without notice. At the very least the md code should propagate an error back up to the top level and not panic. > Warner -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/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 Tue Mar 13 11:48:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from burns.conectiva (brutus.conectiva.com.br [200.250.58.146]) by hub.freebsd.org (Postfix) with SMTP id 5030F37B72A for ; Tue, 13 Mar 2001 11:48:19 -0800 (PST) (envelope-from riel@conectiva.com.br) Received: (qmail 3242 invoked by uid 0); 13 Mar 2001 19:47:15 -0000 Received: from dial14.ras.conectiva (HELO imladris.rielhome.conectiva) (root@10.0.8.14) by burns.conectiva with SMTP; 13 Mar 2001 19:47:15 -0000 Received: from localhost (IDENT:riel@localhost [127.0.0.1]) by imladris.rielhome.conectiva (8.11.1/8.11.1) with ESMTP id f2DJfcn02734; Tue, 13 Mar 2001 16:41:38 -0300 Date: Tue, 13 Mar 2001 16:41:38 -0300 (BRST) From: Rik van Riel X-Sender: riel@imladris.rielhome.conectiva To: Charles Randall Cc: "'freebsd-hackers@FreeBSD.ORG'" Subject: Re: gcc optimization problems (RE: optimizing apache with php and nfs mounts) In-Reply-To: <5FE9B713CCCDD311A03400508B8B30130828E8F7@bdr-xcln.corp.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 Tue, 13 Mar 2001, Charles Randall wrote: > From: David O'Brien [mailto:obrien@FreeBSD.ORG] > >2. The base, system C compiler is known to produce bad code with -O2. > > We have been proclaiming this since as long as I have been with the > > Project. > > Is this an issue with FreeBSD's gcc's or gcc in general? If gcc in > general, are there open PRs on this issue? It's a gcc thing. Linux is having the same problems every once in a while (currently there only seem to be _2_ gcc versions which generate correct code for the Linux kernel ...). OTOH, it is possible to work around gcc problems in the code and code which was initially written for older gcc versions often rely on things which were true in older gcc versions but are no longer true currently ... (especially things depending on certain ordering of instructions and the (non-)presence of memory barriers) regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com.br/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 11:55: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 8078437B726 for ; Tue, 13 Mar 2001 11:54:55 -0800 (PST) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f2DJsSQ85948; Wed, 14 Mar 2001 08:54:28 +1300 (NZDT) (envelope-from jonc) Date: Wed, 14 Mar 2001 08:54:28 +1300 From: Jonathan Chen To: Zaitsev Serg Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Message-ID: <20010314085428.B85342@itouchnz.itouch> References: <01dd01c0abd1$fa874ee0$250010ac@aprcity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01dd01c0abd1$fa874ee0$250010ac@aprcity.com>; from root@aprcity.ru on Tue, Mar 13, 2001 at 06:26:29PM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 13, 2001 at 06:26:29PM +0300, Zaitsev Serg wrote: > I got perfect advice and my problem is no more. > I have upgrade the Sendmail 8.11.3 on FreeBSD 4.2. > But on FreeBSD 4.2 I got trouble with /usr/libexec/mail.local . > Filling up /var/spool/mqueue a lot of files. > /var/mail/user was empty. > Mail stopped. > > chmod u+s /usr/libexec/mail.local That's not the right fix. Incidentally, the right place to ask this is freebsd-questions@freebsd.org; and this question has been answered quite a few times by me. Check out the archives. -- Jonathan Chen ---------------------------------------------------------------------- If you're right 90% of the time, why quibble about the remaining 3%? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 12:25:21 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 4108A37B719 for ; Tue, 13 Mar 2001 12:25:18 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.pacbell.net ([207.214.149.171]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GA5007ZHKIZ49@mta5.snfc21.pbi.net> for freebsd-hackers@FreeBSD.ORG; Tue, 13 Mar 2001 12:21:01 -0800 (PST) Received: by zippy.pacbell.net (Postfix, from userid 1000) id 8DAEF18C6; Tue, 13 Mar 2001 12:20:53 -0800 (PST) Date: Tue, 13 Mar 2001 12:20:53 -0800 From: Alex Zepeda Subject: Re: optimizing apache with php and nfs mounts In-reply-to: <20010313074140.B75117@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Tue, Mar 13, 2001 at 07:41:40AM -0800 To: freebsd-hackers@FreeBSD.ORG Message-id: <20010313122053.A1339@zippy.mybox.zip> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <20010313074140.B75117@dragon.nuxi.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 13, 2001 at 07:41:40AM -0800, David O'Brien wrote: > Where did you even get the idea "-O6" did *_ANYTHING_*?? Don't people > ever read the documentation anymore. Well, yes. But I think that with the pgcc patches floating around that do use -ON N <= 9 or so.. people might get confused. > Do people ever actually test this? Or is there just the assumption that > the more "optimizations" on the `cc' command line is a Great Thing(tm)? Yes. > People do realize that for some code, -O2 is much worse than -O? Also > for much code there is no difference in performance. Rather than do what > you "think" will give the best results, why not actually benchmark it? Well, yes. I was actually curious about this, and if you search the gcc ml archives (gcc.gnu.org) there are people who've been working on this. There was an interesting example of some fp code compiled with -O, -O2, -O2 -fomit-frame-pointer. With the extra register saved with -fomit-frame-pointer -O2 was able to do some neat stuff. Of course -O2 turns on most of the optimizations, but I wonder which ones are causing incorrect code generation, and which ones really do help. Hmm. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 12:51:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 62F9537B721 for ; Tue, 13 Mar 2001 12:51:20 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2DKpJN29574; Tue, 13 Mar 2001 12:51:19 -0800 (PST) Date: Tue, 13 Mar 2001 12:51:19 -0800 From: Alfred Perlstein To: Alex Zepeda Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: optimizing apache with php and nfs mounts Message-ID: <20010313125119.X29888@fw.wintelcom.net> References: <20010313074140.B75117@dragon.nuxi.com> <20010313122053.A1339@zippy.mybox.zip> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010313122053.A1339@zippy.mybox.zip>; from jazepeda@pacbell.net on Tue, Mar 13, 2001 at 12:20:53PM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alex Zepeda [010313 12:25] wrote: > On Tue, Mar 13, 2001 at 07:41:40AM -0800, David O'Brien wrote: > > > Where did you even get the idea "-O6" did *_ANYTHING_*?? Don't people > > ever read the documentation anymore. > > Well, yes. But I think that with the pgcc patches floating around that do > use -ON N <= 9 or so.. people might get confused. > > > Do people ever actually test this? Or is there just the assumption that > > the more "optimizations" on the `cc' command line is a Great Thing(tm)? > > Yes. Well... when you 'gzip -9' something, it just takes longer, it doesn't sometimes corrupt your data (afaik). So it sort of makes sense for people to assume that when the compiler advertises certain things that it's going to do it perhaps not in the most effecient manner, but at least correctly. > Of course -O2 turns on most of the optimizations, but I wonder which ones > are causing incorrect code generation, and which ones really do help. > Hmm. SO are the gcc developers i imagine. :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 13:59:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 9F9B837B718 for ; Tue, 13 Mar 2001 13:58:59 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2DLstk84320; Tue, 13 Mar 2001 13:54:55 -0800 (PST) (envelope-from obrien) Date: Tue, 13 Mar 2001 13:53:33 -0800 From: "David O'Brien" To: Gordon Tetlow Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: optimizing apache with php and nfs mounts Message-ID: <20010313135333.A84277@dragon.nuxi.com> Reply-To: freebsd-hackers@FreeBSD.ORG References: <20010313074140.B75117@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gordont@bluemtn.net on Tue, Mar 13, 2001 at 10:08:00AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 13, 2001 at 10:08:00AM -0800, Gordon Tetlow wrote: > Actually, we did. Of course, our production stuff is still compiled with > gcc 2.7.2.1. I think. Whatever the standard system compiler for > FreeBSD-3.2 is. And that was at a time when the world was still compiled > with -O2, wasn't it? The world has _NEVER_ been compiled at -O2 by default, nor has it ever been officially recommended. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 14:44:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id BFC3637B718 for ; Tue, 13 Mar 2001 14:44:40 -0800 (PST) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id QAA57360; Tue, 13 Mar 2001 16:44:27 -0600 (CST) (envelope-from cdillon@wolves.k12.mo.us) Date: Tue, 13 Mar 2001 16:44:27 -0600 (CST) From: Chris Dillon To: Chris Sears Cc: Subject: Re: ecc kld for FreeBSD 4.2 In-Reply-To: <3AAD4752.9C40CE34@ix.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 12 Mar 2001, Chris Sears wrote: > > Linux has some support for ECC error detection: > > http://www.anime.net/~goemon/linux-ecc/ > > I've ported ECC 0.12 to a FreeBSD kld and it seems to work. > > A couple of minor changes: > > commented out probe_450gx because the compiler was > giving some plausible warnings > > check if ecc_mode == ECC_NONE before installing the timer > > I've attached it and would welcome any comments. I've also > posted it back to the Linux ECC people. Excellent!! I've just compiled it and loaded it on my 4.2-STABLE system with a 440BX-based board. I even have an enhancement already, which is pretty much just a cut-n-paste from the Linux bits with a little bit of style enhancement, though you'll want to change it to your liking, and since I'm not an avid C programmer, make sure I've done the right stuff... (it DOES work, at least): --- ecc.c.orig Tue Mar 13 15:17:57 2001 +++ ecc.c Tue Mar 13 16:31:02 2001 @@ -1040,6 +1040,26 @@ int type, void* data) { + char *ecc[] = { + "None", + "Reserved", + "Parity checking", + "ECC detection", + "ECC detection and correction", + "ECC with hardware scrubber" + }; + char *dram[] = { + "Empty", + "Reserved", + "FPM", + "EDO", + "BEDO", + "SDR", + "DDR", + "RDR" + }; + unsigned long mem_end = 0; + unsigned long last_mem = 0; static int attached = 0; int loop; @@ -1068,6 +1088,25 @@ if (cs.ecc_mode == ECC_NONE) { printf("ECC: no ECC memory\n"); return -ENODEV; + } else { + printf("ECC: Chipset ECC capability - %s\n", + ecc[cs.ecc_cap]); + printf("ECC: Current ECC mode - %s\n", + ecc[cs.ecc_mode]); + printf("ECC:\tBank\tSize\tType\tECC\tSBE\tMBE\n"); + for (loop = 0; loop < 8; loop++) { + last_mem = bank[loop].endaddr; + if (last_mem > mem_end) { + printf("ECC:\t%d\t", loop); + printf("%dM\t", (int)(last_mem - mem_end) / 1048576); + printf("%s\t", dram[bank[loop].mtype]); + printf("%s\t", bank[loop].eccmode ? "Y" : "N"); + printf("%d\t", bank[loop].sbecount); + printf("%d\n", bank[loop].mbecount); + mem_end = last_mem; + } + } + printf("ECC: Total\t%dM\n", (int)mem_end / 1048576); } attached = 1; break; I also have something that I can hopefully just plug the bits into to get this working for the ServerWorks III chipset, as well, assuming I can find the right info about it... -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64, PPC, and ARM under development. 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 Tue Mar 13 14:50:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id A717B37B71A for ; Tue, 13 Mar 2001 14:50:26 -0800 (PST) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id QAA57473; Tue, 13 Mar 2001 16:50:24 -0600 (CST) (envelope-from cdillon@wolves.k12.mo.us) Date: Tue, 13 Mar 2001 16:50:24 -0600 (CST) From: Chris Dillon To: Chris Sears Cc: Subject: Re: ecc kld for FreeBSD 4.2 In-Reply-To: <3AAD4752.9C40CE34@ix.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 12 Mar 2001, Chris Sears wrote: > I've ported ECC 0.12 to a FreeBSD kld and it seems to work. Oh yeah, I don't see a license on this file. If the author has no problems with putting a BSD license on this, this would be great to stick in RELENG_4 and HEAD for the many of us who actually use ECC systems. :-) -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64, PPC, and ARM under development. 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 Tue Mar 13 17:41:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.cs.umn.edu (mail.cs.umn.edu [128.101.34.200]) by hub.freebsd.org (Postfix) with ESMTP id 7551E37B718 for ; Tue, 13 Mar 2001 17:41:51 -0800 (PST) (envelope-from rakshe@cs.umn.edu) Received: from mercury.cs.umn.edu (mercury.cs.umn.edu [128.101.34.120]) by mail.cs.umn.edu (8.9.3/8.9.3) with ESMTP id TAA16144 for ; Tue, 13 Mar 2001 19:41:50 -0600 (CST) Received: from localhost (rakshe@localhost) by mercury.cs.umn.edu (8.9.3/8.9.0) with ESMTP id TAA21606 for ; Tue, 13 Mar 2001 19:41:50 -0600 (CST) X-Authentication-Warning: mercury.cs.umn.edu: rakshe owned process doing -bs Date: Tue, 13 Mar 2001 19:41:50 -0600 (CST) From: Rohit Rakshe To: Subject: Copying user <---> kernel 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, I am sure people have thought about this one, but just that I could not find any discussions about it: Consider a server which receives data over network, does some operations on the data and sends it back over the network. The kernel could spent most of its time copying data to and from user space. (the operations are performed in the user space). The following can be done to avoid this overhead: Say, I want to copy a page from user space to kernel, I can just pin it in physical memory; then attach it to kernel page table. (similar thing for other way round). Is this kinda thing implemented ? If not, is it feasible ? Thanks everyone ! - Rohit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 17:46:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id A940937B718 for ; Tue, 13 Mar 2001 17:46:56 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id SAA92240; Tue, 13 Mar 2001 18:46:54 -0700 (MST) (envelope-from ken) Date: Tue, 13 Mar 2001 18:46:54 -0700 From: "Kenneth D. Merry" To: Rohit Rakshe Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Copying user <---> kernel Message-ID: <20010313184654.A92223@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from rakshe@cs.umn.edu on Tue, Mar 13, 2001 at 07:41:50PM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 13, 2001 at 19:41:50 -0600, Rohit Rakshe wrote: > Hello, > > I am sure people have thought about this one, but just that I could not > find any discussions about it: > > Consider a server which receives data over network, does some operations > on the data and sends it back over the network. The kernel could spent > most of its time copying data to and from user space. (the operations are > performed in the user space). > > The following can be done to avoid this overhead: > > Say, I want to copy a page from user space to kernel, I can just pin it in > physical memory; then attach it to kernel page table. (similar thing for > other way round). > > Is this kinda thing implemented ? If not, is it feasible ? Yes, it has been done. See: http://people.FreeBSD.org/~ken/zero_copy/ The version of the patches linked off the page isn't the latest, the latest is here: http://people.FreeBSD.org/~ken/zero_copy/zero_copy.diffs.20010124 Those diffs are against -current as of January 24th. I can probably supply diffs against a newer version of -current if you need 'em. The NFS code isn't ready for prime time, I need to rip that out and clean up some mutex issues before the code can go into -current. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 17:57:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.24.22.66]) by hub.freebsd.org (Postfix) with SMTP id 48F1037B718 for ; Tue, 13 Mar 2001 17:57:54 -0800 (PST) (envelope-from gjb@gbch.net) Received: (qmail 49084 invoked by uid 1001); 14 Mar 2001 11:57:51 +1000 User-Agent: GJB-Post 2.13 17-Feb-2001 X-Operating-System: FreeBSD 4.1-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 X-PGP-Public-Key: http://www.gbch.net/keys/gjb-pgpkey.asc Message-Id: Date: Wed, 14 Mar 2001 11:57:51 +1000 From: Greg Black To: hackers@freebsd.org Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 References: <01dd01c0abd1$fa874ee0$250010ac@aprcity.com> <20010313073200.A75117@dragon.nuxi.com> In-reply-to: <20010313073200.A75117@dragon.nuxi.com> of Tue, 13 Mar 2001 07:32:00 PST Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "David O'Brien" writes: | Perhaps you should read the documentation we supplied on this issue. | | bash$ cat /usr/src/UPDATING Hmmm... $ uname -rs FreeBSD 4.2-RELEASE $ cat /usr/src/UPDATING cat: /usr/src/UPDATING: No such file or directory Perhaps the documentation should be installed more thoroughly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 17:59:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.unixathome.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 2DC7737B719 for ; Tue, 13 Mar 2001 17:59:29 -0800 (PST) (envelope-from dan@langille.org) Received: from wocker (dan@wocker.int.nz.freebsd.org [192.168.0.99]) by ns1.unixathome.org (8.11.3/8.11.3) with ESMTP id f2E1xR208605 for ; Wed, 14 Mar 2001 14:59:28 +1300 (NZDT) (envelope-from dan@langille.org) Message-Id: <200103140159.f2E1xR208605@ns1.unixathome.org> From: "Dan Langille" Organization: novice in training To: hackers@FreeBSD.ORG Date: Wed, 14 Mar 2001 14:59:27 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Reply-To: dan@langille.org In-reply-to: References: <20010313073200.A75117@dragon.nuxi.com> of Tue, 13 Mar 2001 07:32:00 PST X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 14 Mar 2001, at 11:57, Greg Black wrote: > "David O'Brien" writes: > > | Perhaps you should read the documentation we supplied on this issue. > | > | bash$ cat /usr/src/UPDATING > > Hmmm... > > $ uname -rs > FreeBSD 4.2-RELEASE > $ cat /usr/src/UPDATING > cat: /usr/src/UPDATING: No such file or directory > > Perhaps the documentation should be installed more thoroughly. Perhaps you should install the documentation. -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php got any work? I'm looking for some. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 18: 5:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.24.22.66]) by hub.freebsd.org (Postfix) with SMTP id 94EBC37B71C for ; Tue, 13 Mar 2001 18:05:17 -0800 (PST) (envelope-from gjb@gbch.net) Received: (qmail 49255 invoked by uid 1001); 14 Mar 2001 12:05:15 +1000 User-Agent: GJB-Post 2.13 17-Feb-2001 X-Operating-System: FreeBSD 4.1-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 X-PGP-Public-Key: http://www.gbch.net/keys/gjb-pgpkey.asc Message-Id: Date: Wed, 14 Mar 2001 12:05:14 +1000 From: Greg Black To: dan@langille.org Cc: hackers@FreeBSD.ORG Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 References: <20010313073200.A75117@dragon.nuxi.com> of Tue, 13 Mar 2001 07:32:00 PST <200103140159.f2E1xR208605@ns1.unixathome.org> In-reply-to: <200103140159.f2E1xR208605@ns1.unixathome.org> of Wed, 14 Mar 2001 14:59:27 +1300 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Dan Langille" writes: | On 14 Mar 2001, at 11:57, Greg Black wrote: | | > "David O'Brien" writes: | > | > | Perhaps you should read the documentation we supplied on this issue. | > | | > | bash$ cat /usr/src/UPDATING | > | > Hmmm... | > | > $ uname -rs | > FreeBSD 4.2-RELEASE | > $ cat /usr/src/UPDATING | > cat: /usr/src/UPDATING: No such file or directory | > | > Perhaps the documentation should be installed more thoroughly. | | Perhaps you should install the documentation. I chose something that implied documentation on the sysinstall menu; it didn't install that file. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 18:20: 8 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.unixathome.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 5481E37B71A for ; Tue, 13 Mar 2001 18:20:03 -0800 (PST) (envelope-from dan@langille.org) Received: from wocker (dan@wocker.int.nz.freebsd.org [192.168.0.99]) by ns1.unixathome.org (8.11.3/8.11.3) with ESMTP id f2E2Jt208772; Wed, 14 Mar 2001 15:19:55 +1300 (NZDT) (envelope-from dan@langille.org) Message-Id: <200103140219.f2E2Jt208772@ns1.unixathome.org> From: "Dan Langille" Organization: novice in training To: Greg Black Date: Wed, 14 Mar 2001 15:19:54 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Reply-To: dan@langille.org Cc: hackers@FreeBSD.ORG In-reply-to: References: <200103140159.f2E1xR208605@ns1.unixathome.org> of Wed, 14 Mar 2001 14:59:27 +1300 X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 14 Mar 2001, at 12:05, Greg Black wrote: > "Dan Langille" writes: > > | On 14 Mar 2001, at 11:57, Greg Black wrote: > | > | > "David O'Brien" writes: > | > > | > | Perhaps you should read the documentation we supplied on this issue. > | > | > | > | bash$ cat /usr/src/UPDATING > | > > | > Hmmm... > | > > | > $ uname -rs > | > FreeBSD 4.2-RELEASE > | > $ cat /usr/src/UPDATING > | > cat: /usr/src/UPDATING: No such file or directory > | > > | > Perhaps the documentation should be installed more thoroughly. > | > | Perhaps you should install the documentation. > > I chose something that implied documentation on the sysinstall > menu; it didn't install that file. There is more documentation than what sysinstall gives you. The documentation in question is useful for people who are updating their system, say from 4.2-RELEASE to 4.2-STABLE. Hence the name of the file in question. You don't have that file because you don't need it. If you were upgrading to 4.2-STABLE, this file would be installed as part of the cvsup step of your upgrade. If you are still interested in this file, you can obtain the latest version of this file at: http://www.FreeBSD.org/cgi/cvsweb.cgi/~checkout~/src/UPDATING?rev =HEAD That's what you want. When I said "the", I meant /usr/src/UPDATING. That's what David O'Brien was referring to. -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php got any work? I'm looking for some. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 18:27:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.24.22.66]) by hub.freebsd.org (Postfix) with SMTP id B4B1337B718 for ; Tue, 13 Mar 2001 18:27:04 -0800 (PST) (envelope-from gjb@gbch.net) Received: (qmail 49706 invoked by uid 1001); 14 Mar 2001 12:27:02 +1000 User-Agent: GJB-Post 2.13 17-Feb-2001 X-Operating-System: FreeBSD 4.1-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 X-PGP-Public-Key: http://www.gbch.net/keys/gjb-pgpkey.asc Message-Id: Date: Wed, 14 Mar 2001 12:27:02 +1000 From: Greg Black To: dan@langille.org Cc: hackers@FreeBSD.ORG Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 References: <200103140159.f2E1xR208605@ns1.unixathome.org> of Wed, 14 Mar 2001 14:59:27 +1300 <200103140219.f2E2Jt208772@ns1.unixathome.org> In-reply-to: <200103140219.f2E2Jt208772@ns1.unixathome.org> of Wed, 14 Mar 2001 15:19:54 +1300 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Dan Langille" writes: | On 14 Mar 2001, at 12:05, Greg Black wrote: | | > "Dan Langille" writes: | > | > | On 14 Mar 2001, at 11:57, Greg Black wrote: | > | | > | > "David O'Brien" writes: | > | > | > | > | Perhaps you should read the documentation we supplied on this issue. | > | > | | > | > | bash$ cat /usr/src/UPDATING | > | > | > | > Hmmm... | > | > | > | > $ uname -rs | > | > FreeBSD 4.2-RELEASE | > | > $ cat /usr/src/UPDATING | > | > cat: /usr/src/UPDATING: No such file or directory | > | > | > | > Perhaps the documentation should be installed more thoroughly. | > | | > | Perhaps you should install the documentation. | > | > I chose something that implied documentation on the sysinstall | > menu; it didn't install that file. | | There is more documentation than what sysinstall gives you. The | documentation in question is useful for people who are updating their | system, say from 4.2-RELEASE to 4.2-STABLE. Hence the name of | the file in question. You don't have that file because you don't need it. This is the point where we disagree. The information in this file is in fact of interest to somebody who does a fresh install from CD as the simple way to upgrade from an earlier release. I'm saying that I think this information should be included as part of any installation, not just in the limited cases that are the case at present. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 18:50:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id F25F137B718 for ; Tue, 13 Mar 2001 18:50:21 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2E2lLo88596; Tue, 13 Mar 2001 18:47:21 -0800 (PST) (envelope-from obrien) Date: Tue, 13 Mar 2001 18:45:01 -0800 From: "David O'Brien" To: Greg Black Cc: hackers@freebsd.org Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Message-ID: <20010313184500.A88509@dragon.nuxi.com> Reply-To: freebsd-hackers@freebsd.org References: <01dd01c0abd1$fa874ee0$250010ac@aprcity.com> <20010313073200.A75117@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gjb@gbch.net on Wed, Mar 14, 2001 at 11:57:51AM +1000 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 11:57:51AM +1000, Greg Black wrote: > $ uname -rs > FreeBSD 4.2-RELEASE > $ cat /usr/src/UPDATING > cat: /usr/src/UPDATING: No such file or directory > > Perhaps the documentation should be installed more thoroughly. If one is building and installing a new [latest] sendmail, they have /usr/src populated. Or was the new Sendmail compiled manually and installed using sources downloaded manually from ftp.sendmail.org? If so, then this whole discussion should be on a sendmail.org list, not FreeBSD one. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 18:52: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id A3FA237B718 for ; Tue, 13 Mar 2001 18:51:56 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2E2n3588611; Tue, 13 Mar 2001 18:49:03 -0800 (PST) (envelope-from obrien) Date: Tue, 13 Mar 2001 18:47:36 -0800 From: "David O'Brien" To: Greg Black Cc: hackers@FreeBSD.ORG Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Message-ID: <20010313184736.B88509@dragon.nuxi.com> Reply-To: hackers@FreeBSD.ORG References: <200103140159.f2E1xR208605@ns1.unixathome.org> <200103140219.f2E2Jt208772@ns1.unixathome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gjb@gbch.net on Wed, Mar 14, 2001 at 12:27:02PM +1000 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 12:27:02PM +1000, Greg Black wrote: > This is the point where we disagree. The information in this > file is in fact of interest to somebody who does a fresh install > from CD as the simple way to upgrade from an earlier release. Huh??? If you do a fresh install from CD, you will get a sendmail+sendmail.cf+mail.local that are all in sync and setup properly. This thread (unless I majorly misunderstood it), is about someone taking a 4.x-RELEASE system and upgrading the sendmail to the latest 4-STABLE version. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 18:55:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.24.22.66]) by hub.freebsd.org (Postfix) with SMTP id 5BFD237B71A for ; Tue, 13 Mar 2001 18:55:27 -0800 (PST) (envelope-from gjb@gbch.net) Received: (qmail 50084 invoked by uid 1001); 14 Mar 2001 12:55:25 +1000 User-Agent: GJB-Post 2.13 17-Feb-2001 X-Operating-System: FreeBSD 4.1-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 X-PGP-Public-Key: http://www.gbch.net/keys/gjb-pgpkey.asc Message-Id: Date: Wed, 14 Mar 2001 12:55:25 +1000 From: Greg Black To: hackers@FreeBSD.ORG Cc: "David O'Brien" Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 References: <200103140159.f2E1xR208605@ns1.unixathome.org> <200103140219.f2E2Jt208772@ns1.unixathome.org> <20010313184736.B88509@dragon.nuxi.com> In-reply-to: <20010313184736.B88509@dragon.nuxi.com> of Tue, 13 Mar 2001 18:47:36 PST Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "David O'Brien" writes: | On Wed, Mar 14, 2001 at 12:27:02PM +1000, Greg Black wrote: | > This is the point where we disagree. The information in this | > file is in fact of interest to somebody who does a fresh install | > from CD as the simple way to upgrade from an earlier release. | | Huh??? If you do a fresh install from CD, you will get a | sendmail+sendmail.cf+mail.local that are all in sync and setup properly. I'm sure that's true; my point was that you don't get the useful information that you pointed out in "/usr/src/UPDATING", since that file only gets installed in some situations. I'm trying to make a case for that file (or the information it contains) to be part of every fresh install. | This thread (unless I majorly misunderstood it), is about someone taking | a 4.x-RELEASE system and upgrading the sendmail to the latest 4-STABLE | version. It was about that, but has drifted a bit since then. I'm sorry if I allowed this to become unclear. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 19:33:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout2-0.nyroc.rr.com (mailout2-1.nyroc.rr.com [24.92.226.165]) by hub.freebsd.org (Postfix) with ESMTP id 7E2D037B719 for ; Tue, 13 Mar 2001 19:33:15 -0800 (PST) (envelope-from James_Bond_79@yahoo.com) Received: from halstead007 (roc-24-161-70-254.rochester.rr.com [24.161.70.254]) by mailout2-0.nyroc.rr.com (8.11.2/RoadRunner 1.03) with SMTP id f2E3UPm11072 for ; Tue, 13 Mar 2001 22:30:25 -0500 (EST) Message-ID: <000e01c0ac37$6af51800$0601a8c0@halstead.com> Reply-To: "James Halstead" From: "James Halstead" To: Subject: pcm audio wierdness on via mobo Date: Tue, 13 Mar 2001 22:32:37 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG System has a via 686A southbridge with the integrated sound hardware. It gets detected properly by the pcm driver, however the playback is slightly fast. Is there some type of adjustment to slow it down a little bit? I can gather whatever info needed on request, Just tell me what to get.The sound does work fine in winblows 98. Intel pIII 733, via 694x north bridge, 686A south bridge Freebsd 4.3-BETA from a couple days ago Happens no matter how I am playing audio (xmms, mp3blaster, or directly playing a wav file) Thanks for any help. James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 20:37:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from shakeyjakes.com (cx658371-a.elcjn1.sdca.home.com [24.13.29.199]) by hub.freebsd.org (Postfix) with SMTP id BDC8E37B718 for ; Tue, 13 Mar 2001 20:37:38 -0800 (PST) (envelope-from mike.mcclain@shakeyjakes.com) Received: by shakeyjakes.com (wcMail) id 12542W Tue, 13 Mar 2001 20:37:11 -0800 From: mike.mcclain@shakeyjakes.com Subject: Help!!! 2nd HD gone Date: Tue, 13 Mar 2001 20:37:10 -0800 Message-Id: <1885280421@shakeyjakes.com> Organization: Shakey Jake's Free BBS from Santee, Ca... To: freebsd-hackers@freebsd.org X-Mailer: wcMail v5.4.449.1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy, fbsd:~> uname -a FreeBSD playground 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Sun Mar 26 16:56:35 PST 2000 root@:/usr/src/sys/compile/McKERNEL i386 From dmesg: CPU: Pentium/P55C (167.05-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 33554432 (32768K bytes) chip0: rev 0x01 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip2: rev 0x01 on pci0.7.3 wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc1 not found at 0x170 This makes me think the kernal is not seeing the controller at boot. from /sys/i386/conf/McKERNEL: controller wdc0 at isa? port "IO_WD1" bio irq 14 controller wdc1 at isa? port "IO_WD2" bio irq 15 from /usr/src/sys/i386/isa/isa.h: #define IO_WD1 0x1F0 /* Primary Fixed Disk Controller */ #define IO_WD2 0x170 /* Secondary Fixed Disk Controller */ wd2 aka D: aka /dev/hdc is visible from dos and I'm writing this from Slackware 7.0 mounted on /dev/hdc8. This from Slackware's /var/log/messages: Mar 7 13:28:39 playground kernel: hda: WDC AC24300L, 4112MB w/256kB Cache, CHS=524/255/63, UDMA Mar 7 13:28:39 playground kernel: hdc: WDC AC26400R, 6149MB w/512kB Cache, CHS=13328/15/63, (U)DMA I once had several slices on wd2s* mounted in /etc/fstab but that doesn't work today. I'm fairly this is something I broke in FreeBSD but can't discover where. I really don't want to re-install. I've tried various configurations in BIOS with no luck. I'm stumped. All suggestions welcome. TIA, MiKe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 22:27:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id AA3E437B71A for ; Tue, 13 Mar 2001 22:27:50 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@dhcp152.geekhouse.net [192.168.1.152]) by moby.geekhouse.net (8.11.0/8.9.3) with ESMTP id f2E6TI169175; Tue, 13 Mar 2001 22:29:23 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 13 Mar 2001 22:27:03 -0800 (PST) From: John Baldwin To: Greg Black Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 Cc: "David O'Brien" , hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 14-Mar-01 Greg Black wrote: > "David O'Brien" writes: > >| On Wed, Mar 14, 2001 at 12:27:02PM +1000, Greg Black wrote: >| > This is the point where we disagree. The information in this >| > file is in fact of interest to somebody who does a fresh install >| > from CD as the simple way to upgrade from an earlier release. >| >| Huh??? If you do a fresh install from CD, you will get a >| sendmail+sendmail.cf+mail.local that are all in sync and setup properly. > > I'm sure that's true; my point was that you don't get the useful > information that you pointed out in "/usr/src/UPDATING", since > that file only gets installed in some situations. I'm trying to > make a case for that file (or the information it contains) to be > part of every fresh install. Er, and how does that help someone who cvsups a newer part of the tree and doesn't get the newer UPDATING? :) UPDATING only makes sense within the context it lives in right now. If you install sbase (or maybe ssrc, whatever the "base source" dist is) you should get this file during sysinstall with the version applicable to that release. I think what you want is probably that some of the info in src/UPDATING be duplicated in the release notes, which is where the info you are referring to really belongs. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/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 Tue Mar 13 22:29:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from barry.mail.mindspring.net (barry.mail.mindspring.net [207.69.200.25]) by hub.freebsd.org (Postfix) with ESMTP id D895837B718 for ; Tue, 13 Mar 2001 22:29:41 -0800 (PST) (envelope-from cbsears@ix.netcom.com) Received: from ix.netcom.com (user-38lc13b.dialup.mindspring.com [209.86.4.107]) by barry.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id BAA07615; Wed, 14 Mar 2001 01:29:38 -0500 (EST) Message-ID: <3AAF10B9.43280512@ix.netcom.com> Date: Tue, 13 Mar 2001 22:33:29 -0800 From: Chris Sears X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: Chris Dillon Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ecc kld for FreeBSD 4.2 References: Content-Type: multipart/mixed; boundary="------------4F91238AF5DB039FD209D5D4" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------4F91238AF5DB039FD209D5D4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Chris THANKS! and compliments on your name. It was a quick and simple port to see if people were interested. I've sent it to the author/maintainer Dan Hollis but I haven't gotten a response yet. He has an email list on Yahoo/Groups and there is occasional traffic so it isn't dead code. Yes, I did notice that there was no licensing. I will broach that with him. I can live with GPL since I see this as being a KLD which can be installed from source. But I prefer BSD. DEV_MODULE vs DRIVER_MODULE. It is true that DEV_MODULE is much less common but it is minimally sufficient. If it were a DRIVER_MODULE, then it would just be allocating a bunch of structures and entry points and noop'ing them out. But perhaps someone else could lend an opinion. Thanks for the 440BX patch, I'll add it. As far as the ServerWorks III chipset, the necessary documentation has *not* been available. I think they are a small company and a little paranoid WRT intellectual property. If you have it, or if you can get it, this would be great. Basically, I would like to break the file into Linux, BSD and ecc sections. This would simplify things for the author who has expressed interest in a kernel patch as well as a module. The reason for kernel was that module support can be config'd out on Linux. I'm not sure how kld's are distributed as there don't seem to be any in the ports collection. And I wouldn't mind cleaning it up a bit. Chris BTW, attached is the Makefile I used. --------------4F91238AF5DB039FD209D5D4 Content-Type: text/plain; charset=us-ascii; name="Makefile.bsd" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile.bsd" BINDIR = /tmp SRCS = ecc.c device_if.h bus_if.h pci_if.h KMOD = ecc NOMAN = t KLDMOD = t KLDLOAD = /sbin/kldload KLDUNLOAD = /sbin/kldunload CLEANFILES+= ${KMOD} load: ${KMOD}.ko ${KLDLOAD} -v ./${KMOD}.ko unload: ${KLDUNLOAD} -v -n ${KMOD} .include --------------4F91238AF5DB039FD209D5D4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 22:37:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.24.22.66]) by hub.freebsd.org (Postfix) with SMTP id 9B1BA37B718 for ; Tue, 13 Mar 2001 22:37:20 -0800 (PST) (envelope-from gjb@gbch.net) Received: (qmail 51172 invoked by uid 1001); 14 Mar 2001 16:37:09 +1000 User-Agent: GJB-Post 2.13 17-Feb-2001 X-Operating-System: FreeBSD 4.1-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 X-PGP-Public-Key: http://www.gbch.net/keys/gjb-pgpkey.asc Message-Id: Date: Wed, 14 Mar 2001 16:37:09 +1000 From: Greg Black To: John Baldwin Cc: hackers@FreeBSD.org Subject: Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2 References: In-reply-to: of Tue, 13 Mar 2001 22:27:03 PST Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Baldwin writes: | On 14-Mar-01 Greg Black wrote: | > "David O'Brien" writes: | >| On Wed, Mar 14, 2001 at 12:27:02PM +1000, Greg Black wrote: | >| > This is the point where we disagree. The information in this | >| > file is in fact of interest to somebody who does a fresh install | >| > from CD as the simple way to upgrade from an earlier release. | >| | >| Huh??? If you do a fresh install from CD, you will get a | >| sendmail+sendmail.cf+mail.local that are all in sync and setup properly. | > | > I'm sure that's true; my point was that you don't get the useful | > information that you pointed out in "/usr/src/UPDATING", since | > that file only gets installed in some situations. I'm trying to | > make a case for that file (or the information it contains) to be | > part of every fresh install. | | Er, and how does that help someone who cvsups a newer part of the tree and | doesn't get the newer UPDATING? :) Sorry, I don't understand the question. I don't use cvsup and have no plans to, so maybe I am missing something, but I don't see why cvsup would not give you the right version of a file. | UPDATING only makes sense within the | context it lives in right now. If you install sbase (or maybe ssrc, whatever | the "base source" dist is) you should get this file during sysinstall with the | version applicable to that release. I think what you want is probably that | some of the info in src/UPDATING be duplicated in the release notes, which is | where the info you are referring to really belongs. So you agree with me, the way I read this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Mar 13 22:46:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id BA62C37B718 for ; Tue, 13 Mar 2001 22:46:32 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f2E6l3n02105; Tue, 13 Mar 2001 22:47:03 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200103140647.f2E6l3n02105@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Chris Sears Cc: Chris Dillon , freebsd-hackers@FreeBSD.ORG Subject: Re: ecc kld for FreeBSD 4.2 In-reply-to: Your message of "Tue, 13 Mar 2001 22:33:29 PST." <3AAF10B9.43280512@ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Mar 2001 22:47:03 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > THANKS! and compliments on your name. It was a quick and simple port > to see if people were interested. I've sent it to the author/maintainer > Dan Hollis but I haven't gotten a response yet. He has an email list > on Yahoo/Groups and there is occasional traffic so it isn't dead code. > > Yes, I did notice that there was no licensing. I will broach that with him. > I can live with GPL since I see this as being a KLD which can be installed > from source. But I prefer BSD. > > DEV_MODULE vs DRIVER_MODULE. It is true that DEV_MODULE is much less common > but it is minimally sufficient. If it were a DRIVER_MODULE, then it would > just be allocating a bunch of structures and entry points and noop'ing > them out. But perhaps someone else could lend an opinion. I'm fixing this so that it doesn't use the 2.x PCI compatibility interface; there's a lot of other real ugliness in here, some of which is probably worth throwing out. The lack of an NMI handler is actually really poor, but fortunately, easy to deal with. There's a decision to be made here with regards to this code. If it's OK to relicense it under the BSDL, it should be integrated with the i386 hostbridge code (ie. not a KLD at all). If we do that, tracking the Linux module is going to be a little bit more work (but not a lot). If it's not OK, then it'll need to be maintained separately (or rewritten, which wouldn't be too hard). At any rate, I'll contact you once I've fixed the attachment code; it's pretty simple. You might also want to talk to Paul Saab (ps@freebsd.org) who has ECC code for FreeBSD already, including some NMI support. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 1:28:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 8F19037B71A for ; Wed, 14 Mar 2001 01:28:35 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.pacbell.net ([207.214.149.161]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GA600GB9KKJS8@mta6.snfc21.pbi.net> for hackers@freebsd.org; Wed, 14 Mar 2001 01:19:36 -0800 (PST) Received: by zippy.pacbell.net (Postfix, from userid 1000) id B000D1816; Wed, 14 Mar 2001 01:19:31 -0800 (PST) Date: Wed, 14 Mar 2001 01:19:31 -0800 From: Alex Zepeda Subject: Re: optimizing apache with php and nfs mounts In-reply-to: <20010313125119.X29888@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Mar 13, 2001 at 12:51:19PM -0800 To: Alfred Perlstein , hackers@freebsd.org Message-id: <20010314011931.D549@zippy.mybox.zip> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <20010313074140.B75117@dragon.nuxi.com> <20010313122053.A1339@zippy.mybox.zip> <20010313125119.X29888@fw.wintelcom.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 13, 2001 at 12:51:19PM -0800, Alfred Perlstein wrote: > Well... when you 'gzip -9' something, it just takes longer, it doesn't > sometimes corrupt your data (afaik). Hmm. gzip seems to be pretty good about those things. I guess it's one of the few GNU programs to be that way. :^) > So it sort of makes sense for people to assume that when the compiler > advertises certain things that it's going to do it perhaps not > in the most effecient manner, but at least correctly. Yes, hello pipe dream. However, even the pgcc web page describes -O2 as safe. I guess I'll be playing around to see which bits generate incorrect code soon, since this is all so tempting. What just popped into my mind was that maybe some sort of check for stuff like "-fomit-frame-pointer" in CFLAGS should be made in buildworld, since it will cause failure if you build profiling libs. Other thoughts include how -O2 is bombing out make world. I know in my dealings with kde I've had lots of trouble getting gcc to emit decent debug info (depending on the code, -gstabs+, -ggdb3, etc would spit out internal errors). > SO are the gcc developers i imagine. :) Pfft. Damnit I want software that I don't have to pay for, to work perfectly every time, and that I don't have to contribute to.... erm.. Yes, scanning thru the ML leads me to believe some of these optimizations are pretty much untested. Which is kinda funny, since the ia32 bits are the most used ones or so it seems. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 3: 3: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 4BCCD37B718 for ; Wed, 14 Mar 2001 03:02:59 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2EB03f93109; Wed, 14 Mar 2001 03:00:03 -0800 (PST) (envelope-from obrien) Date: Wed, 14 Mar 2001 02:58:40 -0800 From: "David O'Brien" To: Alex Zepeda Cc: hackers@freebsd.org Subject: Re: optimizing apache with php and nfs mounts Message-ID: <20010314025840.A93046@dragon.nuxi.com> Reply-To: hackers@freebsd.org References: <20010313074140.B75117@dragon.nuxi.com> <20010313122053.A1339@zippy.mybox.zip> <20010313125119.X29888@fw.wintelcom.net> <20010314011931.D549@zippy.mybox.zip> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010314011931.D549@zippy.mybox.zip>; from jazepeda@pacbell.net on Wed, Mar 14, 2001 at 01:19:31AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 01:19:31AM -0800, Alex Zepeda wrote: > However, even the pgcc web page describes -O2 as safe. I won't even to there... > Yes, scanning thru the ML leads me to believe some of these optimizations > are pretty much untested. Which is kinda funny, since the ia32 bits are > the most used ones or so it seems. Not untested -- but you should go grab a graduate text on compiler optimizations and familiarize yourself with the complexity of the problem. If hello_world.c showed a problem with an optimization, I guarantee it would be fixed. The current test case of holding up the entire FreeBSD kernel as showing an optimization problem doesn't cut it. If you care to trim it down to a single module showing the problem.... -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 3:38:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from garm.bart.nl (garm.bart.nl [194.158.170.13]) by hub.freebsd.org (Postfix) with ESMTP id A75E937B718 for ; Wed, 14 Mar 2001 03:38:42 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by garm.bart.nl (8.10.1/8.10.1) with ESMTP id f2EBcar97827; Wed, 14 Mar 2001 12:38:36 +0100 (CET) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2EBZ3h75829; Wed, 14 Mar 2001 12:35:03 +0100 (CET) (envelope-from asmodai) Date: Wed, 14 Mar 2001 12:35:03 +0100 From: Jeroen Ruigrok/Asmodai To: Lyndon Nerenberg Cc: hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314123503.C74704@daemon.ninth-circle.org> References: <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200103092332.f29NW4785782@gollum.esys.ca>; from lyndon@messagingdirect.com on Fri, Mar 09, 2001 at 04:32:04PM -0700 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [20010310 01:00], Lyndon Nerenberg (lyndon@messagingdirect.com) wrote: >Perhaps a first step towards leaning on the vendors for documentation >is to publically declare our support for those vendors who *do* >release documentation under reasonable terms. One way to do this >is to acknowledge those vendors in the hardware section of the >handbook, and encourage people to support them by buying thier >products. That's what Soeren and me did. HighPoint was very forthcoming with documentation and as part of that synergy they put the FreeBSD Hardware logo on their frontpage and us mentioning it on our webpages as well as being a primary recommendation over other vendors back when we got little information out of other vendors. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 What is history but a fable agreed 'pon? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 4:23:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 1151E37B718 for ; Wed, 14 Mar 2001 04:23:28 -0800 (PST) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01K16SLG0VF0000K6X@research.kpn.com> for freebsd-hackers@freebsd.org; Wed, 14 Mar 2001 13:23:26 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Mar 2001 13:23:26 +0100 Content-return: allowed Date: Wed, 14 Mar 2001 13:23:24 +0100 From: "Koster, K.J." Subject: OP make import? To: 'FreeBSD Hackers mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E452205FD9A60@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear All, In the interest of a unified BSD ports tree, is anyone working to integrate the diffs for the make from openpackages into the FreeBSD codebase? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 4:46:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.unixathome.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 19CE037B718 for ; Wed, 14 Mar 2001 04:46:32 -0800 (PST) (envelope-from dan@langille.org) Received: from wocker (dan@wocker.int.nz.freebsd.org [192.168.0.99]) by ns1.unixathome.org (8.11.3/8.11.3) with ESMTP id f2ECkH215209; Thu, 15 Mar 2001 01:46:17 +1300 (NZDT) (envelope-from dan@langille.org) Message-Id: <200103141246.f2ECkH215209@ns1.unixathome.org> From: "Dan Langille" Organization: novice in training To: "Koster, K.J." Date: Thu, 15 Mar 2001 01:46:16 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: OP make import? Reply-To: dan@langille.org Cc: freebsd-hackers@freebsd.org In-reply-to: <59063B5B4D98D311BC0D0001FA7E452205FD9A60@l04.research.kpn.com> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 14 Mar 2001, at 13:23, Koster, K.J. wrote: > In the interest of a unified BSD ports tree, is anyone working to integrate > the diffs for the make from openpackages into the FreeBSD codebase? I think people might be waiting for us go get to the point where our work is actually usable. -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php got any work? I'm looking for some. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 4:51:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gg.genua.de (gg.genua.de [151.136.100.2]) by hub.freebsd.org (Postfix) with ESMTP id 103E637B71C for ; Wed, 14 Mar 2001 04:51:30 -0800 (PST) (envelope-from Vlad_Manilici@genua.de) Received: by gg.genua.de (8.9.3/8.9.3) id NAA06820 for freebsd-hackers@freebsd.org; Wed, 14 Mar 2001 13:51:23 +0100 (CET) Received: (from localhost) by gg.genua.de (MSCAN) id 2/gg.genua.de/smtp-gw/mscan; Wed Mar 14 13:51:23 2001 Message-Id: <200103141251.NAA10073@auryn.genua.de> X-Mailer: exmh version 2.2 06/23/2000 with version: MH 6.8.3 #1[UCI] To: freebsd-hackers@freebsd.org Cc: Vlad_Manilici@genua.de Subject: subscribe Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 Mar 2001 13:48:25 +0100 From: Vlad Manilici Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 5:49:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from lombardiacom.it (mail.lombardiacom.it [212.34.224.130]) by hub.freebsd.org (Postfix) with ESMTP id B7B7B37B718 for ; Wed, 14 Mar 2001 05:49:40 -0800 (PST) (envelope-from p.losi@lombardiacom.it) Received: from [10.1.255.1] (HELO lombardiacom.it) by lombardiacom.it (CommuniGate Pro SMTP 3.3) with SMTP id 3848161; Wed, 14 Mar 2001 14:49:34 +0100 Message-ID: <3AAF76EB.42D070F9@lombardiacom.it> Date: Wed, 14 Mar 2001 14:49:31 +0100 From: Paolo Losi Organization: Lombardia.com S.p.A. X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG, dillon@earth.backplane.com Subject: Re: systat -vmstat or iostat IO help Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, >:Mem: 138M Active, 661M Inact, 114M Wired, 48M Cache, 112M Buf, 44M Free >:Swap: 1612M Total, 16K Used, 1612M Free >: >:Yes I know it has too much memory, but I'm surprised why more isn't used >:for disk caching .... It will use all available memory for disk caching if possible, but it only caches things you've accessed at least once so I would say you simply haven't accessed more then 650MB or so worth of file data. Is it correct to say that cached file data (file content) is taken into account in Active/Inactive/Cached page counters if and only if accessed through the mmap interface? What does it happen when a process access file data through the filesystem interface (open/read/close)? Is it correct to say that in this case the Buffer counter gives you the detail on how much file data is cached? This should be how the old 4.4BSD works.... I know that the buffer cache management has been merged with the paging system in FreeBSD but I do not know if the above statements still hold true. Thanks Paolo P.S. Matt, your mentoring job is invaluable :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 7:10:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 52F0A37B71A for ; Wed, 14 Mar 2001 07:10:01 -0800 (PST) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id JAA68648; Wed, 14 Mar 2001 09:09:51 -0600 (CST) (envelope-from cdillon@wolves.k12.mo.us) Date: Wed, 14 Mar 2001 09:09:51 -0600 (CST) From: Chris Dillon To: Chris Sears Cc: Subject: Re: ecc kld for FreeBSD 4.2 In-Reply-To: <3AAF10B9.43280512@ix.netcom.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, 13 Mar 2001, Chris Sears wrote: > THANKS! and compliments on your name. It was a quick and simple > port to see if people were interested. I've sent it to the > author/maintainer Dan Hollis but I haven't gotten a response yet. > He has an email list on Yahoo/Groups and there is occasional > traffic so it isn't dead code. I'm sure there would be much interest, especially since FreeBSD is run on many systems with ECC memory subsystems. I, for one, don't build a server without ECC memory and a chipset that does auto-correction/scrubbing. It would be taboo. Even my workstations have it. :-) > Yes, I did notice that there was no licensing. I will broach that > with him. I can live with GPL since I see this as being a KLD > which can be installed from source. But I prefer BSD. Since not everybody would want to use a module, or even could use a module, a BSD license would be ideal so that it could be compiled directly into the kernel. It is entirely up to the author what he wants to use, of course. > DEV_MODULE vs DRIVER_MODULE. It is true that DEV_MODULE is much > less common but it is minimally sufficient. If it were a > DRIVER_MODULE, then it would just be allocating a bunch of > structures and entry points and noop'ing them out. But perhaps > someone else could lend an opinion. Looking at the differences, DEV_MODULE did look quite a bit easier to use. :-) > Thanks for the 440BX patch, I'll add it. As far as the > ServerWorks III chipset, the necessary documentation has *not* > been available. I think they are a small company and a little > paranoid WRT intellectual property. If you have it, or if you can > get it, this would be great. It wasn't really a 440BX-related patch, just some pretty-print information when the module was loaded, some of which is probably irrelevant and could be removed (such as the SBE/MBE stuff). Just saying that the ECC module was loaded was a little bit too light on the information side. :-) On a similar note, how can we go about getting similar run-time information out of this, such as the current count of SBEs and MBEs? Some sysctls perhaps? The current code uses procfs under Linux, but that seems ugly to me. > Basically, I would like to break the file into Linux, BSD and ecc > sections. This would simplify things for the author who has > expressed interest in a kernel patch as well as a module. The > reason for kernel was that module support can be config'd out on > Linux. I talked to Daniel O'Connor on IRC, and he mentioned he would like to clean it up a bit. Splitting it into OS-specific and OS-independant parts would be a good idea, I think. > I'm not sure how kld's are distributed as there don't seem to be > any in the ports collection. And I wouldn't mind cleaning it up a > bit. Actually, I can think of at least two -- ports/emulators/rtc, depended on by the ports/emulators/vmware2 port, which has yet another kernel module in it. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64, PPC, and ARM under development. 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 Wed Mar 14 8:14:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 252B237B719 for ; Wed, 14 Mar 2001 08:14:32 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id LAA10111; Wed, 14 Mar 2001 11:27:17 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 14 Mar 2001 11:28:56 -0500 To: Jeroen Ruigrok/Asmodai , Lyndon Nerenberg From: Dennis Subject: Re: if_fxp - the real point Cc: hackers@FreeBSD.ORG In-Reply-To: <20010314123503.C74704@daemon.ninth-circle.org> References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> 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 06:35 AM 03/14/2001, Jeroen Ruigrok/Asmodai wrote: >-On [20010310 01:00], Lyndon Nerenberg (lyndon@messagingdirect.com) wrote: > >Perhaps a first step towards leaning on the vendors for documentation > >is to publically declare our support for those vendors who *do* > >release documentation under reasonable terms. One way to do this > >is to acknowledge those vendors in the hardware section of the > >handbook, and encourage people to support them by buying thier > >products. Typically companies that are quick to release docs are the weaker companies, because they need sales or dont have a clear target market. Plus the best technologies are usually proprietary at least in the beginning of their deployment. So your strategy will guarantee alignment with many mediocre products and few of the best, which doesnt seem to be in the best interests of anyone. Telling people that they cant use Intel or 3com cards will more likely drive them to other OSes then hurt either of the fore mentioned companies. A better strategy would be to welcome ALL vendors AND binary distributions (who may release source under NDA if they chose) so that the best products could be available for FreeBSD without the adversity of the "geek-revolution" that you propose. >That's what Soeren and me did. HighPoint was very forthcoming with >documentation and as part of that synergy they put the FreeBSD Hardware >logo on their frontpage and us >mentioning it on our webpages as well as being a primary recommendation >over other vendors back when we got little information out of other >vendors. I'm sure that High-point's competitors are shivering in their boots over this powerful alliance. DB Emerging Technologies, Inc. ------------------------------------------------------------------------------------- http://www.etinc.com ISA and PCI T1/T3/V35/HSSI Cards for FreeBSD and LINUX Multiport T1 and HSSI/T3 UNIX-based Routers Bandwidth Management Standalone Systems Bandwidth Management software for LINUX and FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 9: 9:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 164E937B718 for ; Wed, 14 Mar 2001 09:09:23 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2EH9Fi00671; Wed, 14 Mar 2001 09:09:15 -0800 (PST) Date: Wed, 14 Mar 2001 09:09:15 -0800 From: Alfred Perlstein To: Dennis Cc: Jeroen Ruigrok/Asmodai , Lyndon Nerenberg , hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314090915.D29888@fw.wintelcom.net> References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com>; from dennis@etinc.com on Wed, Mar 14, 2001 at 11:28:56AM -0500 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dennis [010314 08:14] wrote: > > A better strategy would be to welcome ALL vendors AND binary distributions > (who may release source under NDA if they chose) so that the best products > could be available for FreeBSD without the adversity of the > "geek-revolution" that you propose. I don't know about that: how many times does windows crash because of poorly written drivers rather than flaws in the core OS? (*) how many hardware vendors say "sure dude, just buy _any_ disk and stick it in my SAN box, we'll still support you!" (*) win9x has a "feature" they expect thier driver coders to be brain dead enough to exhaust the kernel stack (either that or the driver arch demands this), they have a guard page on the stack that catches overruns and performs a "fixup" do a search on "MinSP" (maybe plural) to see what I mean. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 9:18:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 3A10737B719 for ; Wed, 14 Mar 2001 09:18:40 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id MAA10514; Wed, 14 Mar 2001 12:31:36 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010314121316.02988c30@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 14 Mar 2001 12:33:21 -0500 To: "Andresen,Jason R." From: Dennis Subject: Re: if_fxp - the real point Cc: hackers@FreeBSD.ORG In-Reply-To: <3AAF9D0A.C188E390@mitre.org> References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.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 11:32 AM 03/14/2001, you wrote: >Dennis wrote: > > > > At 06:35 AM 03/14/2001, Jeroen Ruigrok/Asmodai wrote: > > >-On [20010310 01:00], Lyndon Nerenberg (lyndon@messagingdirect.com) wrote: > > > >Perhaps a first step towards leaning on the vendors for documentation > > > >is to publically declare our support for those vendors who *do* > > > >release documentation under reasonable terms. One way to do this > > > >is to acknowledge those vendors in the hardware section of the > > > >handbook, and encourage people to support them by buying thier > > > >products. > > > > Typically companies that are quick to release docs are the weaker > > companies, because they need sales or dont have a clear target market. Plus > > the best technologies are usually proprietary at least in the beginning of > > their deployment. > > > > So your strategy will guarantee alignment with many mediocre products and > > few of the best, which doesnt seem to be in the best interests of anyone. > > > > Telling people that they cant use Intel or 3com cards will more likely > > drive them to other OSes then hurt either of the fore mentioned companies. > > > > A better strategy would be to welcome ALL vendors AND binary distributions > > (who may release source under NDA if they chose) so that the best products > > could be available for FreeBSD without the adversity of the > > "geek-revolution" that you propose. > >I think you underestimate the number of faceless servers thoughout the >world >running FreeBSD or Linux. The jobs they do aren't glamourous, but they >have >to be done (cheap), so they don't get the front page accolades that Sun >UE10ks get, but they do get used. My point is that it will have no impact, so you will only hurt the FreeBSD community. You cant strong-arm companies into making their intellectual properly rights publicly available. its a losing argument. > > >That's what Soeren and me did. HighPoint was very forthcoming with > > >documentation and as part of that synergy they put the FreeBSD Hardware > > >logo on their frontpage and us > > >mentioning it on our webpages as well as being a primary recommendation > > >over other vendors back when we got little information out of other > > >vendors. > > > > I'm sure that High-point's competitors are shivering in their boots over > > this powerful alliance. > >Probably not, but they might wonder why High-points sales are stronger >than >they should be, and why there is so much positive material about >High-point >cards on the web (while their own cards are barely mentioned). People >who >want to get work done don't want to mess with a company that tries to >stop them (by not releasing specs or drivers for the OS you're using) >and will instead go with the open-minded competetor. selling to geeks is not most companies marketing strategy. What you fail to understand is the negative impact on sales when some taiwanese company clones the hardware and you effectively end up cannibalizing your own business with your efforts. Your also just as likely to get negative press because the guy that writes the driver for your hardware does a lousy job, and the resulting driver sucks and people then think your hardware sucks because most geeks can't separate the hardware from the driver. Your logic is backwards. You think that rewarding mediocre companies will scare good companies into wanting a piece of the pie. The only thing that it will do is consume these companies so that the good companies can have a larger share of the more profitable sun/NT market, and convince them that they want no part of the "free" market if they have to compete with cut-rate hardware from hungry companies. Driving away companies with good products because you dont like their policies is counterproductive. the only reason people use windows is because of their relationships with vendors who sell products that people want. its not about the OS, its about what you can do with it. dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 9:21:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 0496937B71A for ; Wed, 14 Mar 2001 09:21:24 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id MAA10529; Wed, 14 Mar 2001 12:34:21 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010314123346.01f13260@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 14 Mar 2001 12:36:06 -0500 To: Alfred Perlstein From: Dennis Subject: Re: if_fxp - the real point Cc: Jeroen Ruigrok/Asmodai , Lyndon Nerenberg , hackers@FreeBSD.ORG In-Reply-To: <20010314090915.D29888@fw.wintelcom.net> References: <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.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 12:09 PM 03/14/2001, Alfred Perlstein wrote: >* Dennis [010314 08:14] wrote: > > > > A better strategy would be to welcome ALL vendors AND binary distributions > > (who may release source under NDA if they chose) so that the best products > > could be available for FreeBSD without the adversity of the > > "geek-revolution" that you propose. > >I don't know about that: > >how many times does windows crash because of poorly written drivers >rather than flaws in the core OS? (*) Im not sure of what the difference is. There are many poorly written drivers in FreeBSD and linux also. The fact that you have source may be soothing, but it doesnt help the 99% of people that cant fix it themselves. db To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 9:24:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 9CAEC37B718 for ; Wed, 14 Mar 2001 09:24:11 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2EHO5v01114; Wed, 14 Mar 2001 09:24:05 -0800 (PST) Date: Wed, 14 Mar 2001 09:24:05 -0800 From: Alfred Perlstein To: Dennis Cc: Jeroen Ruigrok/Asmodai , Lyndon Nerenberg , hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314092405.E29888@fw.wintelcom.net> References: <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> <5.0.0.25.0.20010314123346.01f13260@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.0.25.0.20010314123346.01f13260@mail.etinc.com>; from dennis@etinc.com on Wed, Mar 14, 2001 at 12:36:06PM -0500 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dennis [010314 09:21] wrote: > At 12:09 PM 03/14/2001, Alfred Perlstein wrote: > >* Dennis [010314 08:14] wrote: > > > > > > A better strategy would be to welcome ALL vendors AND binary distributions > > > (who may release source under NDA if they chose) so that the best products > > > could be available for FreeBSD without the adversity of the > > > "geek-revolution" that you propose. > > > >I don't know about that: > > > >how many times does windows crash because of poorly written drivers > >rather than flaws in the core OS? (*) > > > Im not sure of what the difference is. There are many poorly written > drivers in FreeBSD and linux also. The fact that you have source may be > soothing, but it doesnt help the 99% of people that cant fix it themselves. At least we can point at the driver and call it a honking bunch of poo rather than allowing the blame to hit the core OS. Honestly, I'd love to see vendors able to work out shipping drivers for FreeBSD, even in binary form, it would make users happy. I would just be pretty hard pressed to use them though. :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 10: 5:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 3DBD437B718 for ; Wed, 14 Mar 2001 10:05:40 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2EI5WJ19838; Wed, 14 Mar 2001 10:05:32 -0800 (PST) (envelope-from dillon) Date: Wed, 14 Mar 2001 10:05:32 -0800 (PST) From: Matt Dillon Message-Id: <200103141805.f2EI5WJ19838@earth.backplane.com> To: Paolo Losi Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: systat -vmstat or iostat IO help References: <3AAF76EB.42D070F9@lombardiacom.it> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : It will use all available memory for disk caching if possible, but it : only caches things you've accessed at least once so I would say you : simply haven't accessed more then 650MB or so worth of file data. : :Is it correct to say that cached file data (file content) :is taken into account in Active/Inactive/Cached page counters if and only if :accessed through the mmap interface? What does it happen when a process :access file data through the filesystem interface (open/read/close)? It doesn't matter how the data is accessed... either through read/write or mmap, it will be cached the same in the system. FreeBSD does have a sequential detection heuristic and will attempt to throw away data earlier that it believes will not be accessed again soon, but the heuristic is implemented both for the VM system (mmap) and for read/write so there actually isn't much of a distinction between the two. :Is it correct to say that in this case the Buffer counter gives you :the detail on how much file data is cached? :This should be how the old 4.4BSD works.... FreeBSD has what is known as a 'unified buffer cache', as you note below. This means that the data mapped by the buffer cache is in fact the same data in the VM page queues, without any duplication. The buffer cache can be thought of as a 'quick lookup' mechanism, making it easier for the kernel to manipulate file data and also holding file block -> disk block translations for the I/O subsystem. If a data buffer is not in the buffer cache it may still be in the VM page queues. The buffer cache is typically limited to a few dozen megabytes worth of mappings. The VM page queues are not limited in any way. So even though the buffer counter might indicate that, say, 20MB of data is in the buffer cache, you could still really have hundreds of megabytes of cached file data in the VM page queues. The buffer counter does not really represent anything. :I know that the buffer cache management has been merged with :the paging system in FreeBSD but I do not know if the above :statements still hold true. : : Thanks : Paolo : :P.S. Matt, your mentoring job is invaluable :) Heh. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 10:19: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from toman.time.net.my (pop.time.net.my [203.121.16.80]) by hub.freebsd.org (Postfix) with ESMTP id 393C137B718; Wed, 14 Mar 2001 10:18:57 -0800 (PST) (envelope-from skywizard@time.net.my) Received: from kelah.time.net.my ([203.121.16.89]) by toman.time.net.my (Netscape Messaging Server 4.15) with ESMTP id GA79FD00.D6I; Thu, 15 Mar 2001 02:16:25 +0800 Received: from time.net.my ([203.121.16.89]) by kelah.time.net.my (Netscape Messaging Server 4.15) with ESMTP id GA79KS00.D25; Thu, 15 Mar 2001 02:19:40 +0800 From: "Ariff Abdullah" To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Cc: obrien@freebsd.org Message-ID: <1b23a1ce14.1ce141b23a@time.net.my> Date: Thu, 15 Mar 2001 02:19:40 +0800 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: en Subject: aout assembler: anybody still cares about it? X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG greet. anybody? I end up compilling kde2.1 on 2.2.x with few strange sigsegv from the aout assembler. I took the hint and try to repeat the same manner using 4.x and -CURRENT Seems like it's deal with pic generated code. ( /usr/libexec/aout/as , using gcc-2.95.2 and egcs-1.1.2 ) I already fix it , (expr.c and tc-i386.c from /usr/src/gnu/usr.bin/as so , anybody cares about it? (go away aout!) http://www.hobbiton.org/~skywzrd/FreeBSD-as pic generated test from cc -S (perhaps the patch is questionable) anyway, 2.2.x still survive , even with kde-2.1 regards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 10:21: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 106ED37B718 for ; Wed, 14 Mar 2001 10:20:57 -0800 (PST) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA15820; Wed, 14 Mar 2001 11:20:19 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA25399; Wed, 14 Mar 2001 11:20:13 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15023.46685.298641.769645@nomad.yogotech.com> Date: Wed, 14 Mar 2001 11:20:13 -0700 (MST) To: Dennis Cc: "Andresen,Jason R." , hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point In-Reply-To: <5.0.0.25.0.20010314121316.02988c30@mail.etinc.com> References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <5.0.0.25.0.20010314121316.02988c30@mail.etinc.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > You cant strong-arm companies into making their intellectual properly > rights publicly available. its a losing argument. Strange, in that it worked for a number of video-card vendors when XFree86 either dropped support and/or never supported the card in question. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 10:47:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 9784B37B718 for ; Wed, 14 Mar 2001 10:47:51 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2EIlnT31296; Wed, 14 Mar 2001 10:47:49 -0800 (PST) (envelope-from obrien) Date: Wed, 14 Mar 2001 10:47:49 -0800 From: "David O'Brien" To: Alfred Perlstein Cc: hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314104748.A31046@dragon.nuxi.com> Reply-To: hackers@FreeBSD.ORG References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010314090915.D29888@fw.wintelcom.net>; from bright@wintelcom.net on Wed, Mar 14, 2001 at 09:09:15AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 09:09:15AM -0800, Alfred Perlstein wrote: > how many times does windows crash because of poorly written drivers > rather than flaws in the core OS? (*) ALL the time. Microsoft has given the UC-Davis security and formal verification lab a multi-year grant to look at this problem. (the approach being researched is "model checking") -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 11:37:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id C511537B719 for ; Wed, 14 Mar 2001 11:37:34 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2EJbYd05357 for hackers@FreeBSD.ORG; Wed, 14 Mar 2001 11:37:34 -0800 (PST) Date: Wed, 14 Mar 2001 11:37:34 -0800 From: Alfred Perlstein To: hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314113734.G29888@fw.wintelcom.net> References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> <20010314104748.A31046@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010314104748.A31046@dragon.nuxi.com>; from TrimYourCc@NUXI.com on Wed, Mar 14, 2001 at 10:47:49AM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * David O'Brien [010314 10:47] wrote: > On Wed, Mar 14, 2001 at 09:09:15AM -0800, Alfred Perlstein wrote: > > how many times does windows crash because of poorly written drivers > > rather than flaws in the core OS? (*) > > ALL the time. Microsoft has given the UC-Davis security and formal > verification lab a multi-year grant to look at this problem. > (the approach being researched is "model checking") How does one get the forms for these sort of grants? :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 11:38:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from njord.bart.nl (njord.bart.nl [194.158.170.15]) by hub.freebsd.org (Postfix) with ESMTP id A26C537B718 for ; Wed, 14 Mar 2001 11:38:45 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by njord.bart.nl (8.10.1/8.10.1) with ESMTP id f2EJcbm19355; Wed, 14 Mar 2001 20:38:38 +0100 (CET) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2EJVsm80000; Wed, 14 Mar 2001 20:31:54 +0100 (CET) (envelope-from asmodai) Date: Wed, 14 Mar 2001 20:31:53 +0100 From: Jeroen Ruigrok/Asmodai To: Dennis Cc: Lyndon Nerenberg , hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314203153.A76685@daemon.ninth-circle.org> References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com>; from dennis@etinc.com on Wed, Mar 14, 2001 at 11:28:56AM -0500 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [20010314 17:38], Dennis (dennis@etinc.com) wrote: >At 06:35 AM 03/14/2001, Jeroen Ruigrok/Asmodai wrote: > >>That's what Soeren and me did. HighPoint was very forthcoming with >>documentation and as part of that synergy they put the FreeBSD Hardware >>logo on their frontpage and us >>mentioning it on our webpages as well as being a primary recommendation >>over other vendors back when we got little information out of other >>vendors. > >I'm sure that High-point's competitors are shivering in their boots over >this powerful alliance. Well Dennis, I congratulate you. Be assured that with this attitude you just displayed you made me decide never to recommend ET Inc., for any of my present and future projects. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 If dreams are like movies, then memories are films about ghosts... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 12:50:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from johnson.mail.mindspring.net (johnson.mail.mindspring.net [207.69.200.177]) by hub.freebsd.org (Postfix) with ESMTP id 1E6DA37B71A; Wed, 14 Mar 2001 12:50:15 -0800 (PST) (envelope-from cbsears@ix.netcom.com) Received: from ix.netcom.com (user-2ivfkdo.dialup.mindspring.com [165.247.209.184]) by johnson.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id PAA12561; Wed, 14 Mar 2001 15:50:12 -0500 (EST) Message-ID: <3AAFDA6E.47AE2BAF@ix.netcom.com> Date: Wed, 14 Mar 2001 12:54:06 -0800 From: Chris Sears X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith Cc: freebsd-hackers@freebsd.org, ps@freebsd.org Subject: Re: ecc kld for FreeBSD 4.2 References: <200103140647.f2E6l3n02105@mass.dis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike (and Paul) > I'm fixing this so that it doesn't use the 2.x PCI compatibility > interface; there's a lot of other real ugliness in here, some of which is > probably worth throwing out. I'm not exactly sure what you meant here. Do you mean the pci_readcfg calls? I thought they were low-level rather than compatibility. If not that, what? > The lack of an NMI handler is actually really poor, but fortunately, easy > to deal with. Linux has the same problem: adding an NMI handler from a module is a little tricky. It has been on the TODO list. If logging the ECC NMI (sans address) is sufficient, then the ECC NMI handler could be made generic and can be written/check-in in parallel with this effort. (In fact, I think that minimal patch should be done now.) Otherwise you have to install a more specific handler. In any case, I want to see Paul Saab's code. > There's a decision to be made here with regards to this code. > > If it's OK to relicense it under the BSDL, it should be integrated with > the i386 hostbridge code (ie. not a KLD at all). If we do that, tracking > the Linux module is going to be a little bit more work (but not a lot). > > If it's not OK, then it'll need to be maintained separately (or > rewritten, which wouldn't be too hard). Yuck, I hate dueling license issues but I guess I've signed up for this. I'll contact/work with Dan Hollis about this. I'm somewhat bi-lingual. > At any rate, I'll contact you once I've fixed the attachment code; it's > pretty simple. You might also want to talk to Paul Saab (ps@freebsd.org) > who has ECC code for FreeBSD already, including some NMI support. I looked in ~ps but unfortunately didn't see anything ECC related. But I will send him a note. In fact, I'll copy him on this. thanks, Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 13: 2:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 5708A37B718 for ; Wed, 14 Mar 2001 13:02:44 -0800 (PST) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id QAA08329; Wed, 14 Mar 2001 16:02:31 -0500 (EST) (envelope-from mwlucas) Date: Wed, 14 Mar 2001 16:02:31 -0500 From: Michael Lucas To: Dan Langille Cc: "Koster, K.J." , freebsd-hackers@FreeBSD.ORG Subject: Re: OP make import? Message-ID: <20010314160231.A8243@blackhelicopters.org> References: <59063B5B4D98D311BC0D0001FA7E452205FD9A60@l04.research.kpn.com> <200103141246.f2ECkH215209@ns1.unixathome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200103141246.f2ECkH215209@ns1.unixathome.org>; from dan@langille.org on Thu, Mar 15, 2001 at 01:46:16AM +1300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 15, 2001 at 01:46:16AM +1300, Dan Langille wrote: > On 14 Mar 2001, at 13:23, Koster, K.J. wrote: > > > In the interest of a unified BSD ports tree, is anyone working to integrate > > the diffs for the make from openpackages into the FreeBSD codebase? > > I think people might be waiting for us go get to the point where our work > is actually usable. Also, I believe that Will Andrews has expressed a firm desire to do this. IIRC, his fingers have been in make lately. ==ml -- Michael Lucas mwlucas@blackhelicopters.org http://www.blackhelicopters.org/~mwlucas/ Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 13:10:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 7115C37B71D for ; Wed, 14 Mar 2001 13:10:35 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2ELAYS03357 for freebsd-hackers@freebsd.org; Wed, 14 Mar 2001 13:10:34 -0800 (PST) (envelope-from obrien) Date: Wed, 14 Mar 2001 13:10:34 -0800 From: "David O'Brien" To: freebsd-hackers@freebsd.org Subject: Re: if_fxp - the real point Message-ID: <20010314131034.A3308@dragon.nuxi.com> Reply-To: freebsd-hackers@freebsd.org References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> <20010314104748.A31046@dragon.nuxi.com> <20010314113734.G29888@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010314113734.G29888@fw.wintelcom.net>; from bright@wintelcom.net on Wed, Mar 14, 2001 at 11:37:34AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 11:37:34AM -0800, Alfred Perlstein wrote: > > ALL the time. Microsoft has given the UC-Davis security and formal > > verification lab a multi-year grant to look at this problem. > > (the approach being researched is "model checking") > > How does one get the forms for these sort of grants? :) Write white paper, submit to M$. Or network at conference, have M$ friend tell you a proposal would be meet open arms. The typical University/research way of getting [commercial] grants. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 13:26:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ncmail.netcentralen.dk (ncmail.netcentralen.dk [195.24.7.103]) by hub.freebsd.org (Postfix) with ESMTP id 6B99B37B718 for ; Wed, 14 Mar 2001 13:26:31 -0800 (PST) (envelope-from mar@netcentralen.dk) Received: from mother.netcentralen.dk (mother.netcentralen.dk [195.24.7.107]) by ncmail.netcentralen.dk (8.9.3/8.9.3) with ESMTP id WAA90956 for ; Wed, 14 Mar 2001 22:29:02 +0100 (CET) (envelope-from mar@netcentralen.dk) Received: by mother.netcentralen.dk with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Mar 2001 22:33:34 +0100 Message-ID: <9164771DDCABD3118333005004E9446E43260D@mother.netcentralen.dk> From: Michael Aronsen To: "'hackers@freebsd.org'" Subject: Upgrade gone BAD! Date: Wed, 14 Mar 2001 22:33:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey not sure this is the right list but here we go: bladerunner:~ $ftp ftp.freebsd.org Bad system call (core dumped) keeps comming with most commands after i used the 4.1-REL -> 4.x-STABLE upgrade kit - any ideas how to salvage this system ? Michael Aronsen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 13:34:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 4AB5637B718 for ; Wed, 14 Mar 2001 13:34:52 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id QAA11785; Wed, 14 Mar 2001 16:47:51 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010314164857.03dcbeb0@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 14 Mar 2001 16:49:32 -0500 To: Jeroen Ruigrok/Asmodai From: Dennis Subject: Re: if_fxp - the real point Cc: Lyndon Nerenberg , hackers@FreeBSD.ORG In-Reply-To: <20010314203153.A76685@daemon.ninth-circle.org> References: <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.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 02:31 PM 03/14/2001, Jeroen Ruigrok/Asmodai wrote: >-On [20010314 17:38], Dennis (dennis@etinc.com) wrote: > >At 06:35 AM 03/14/2001, Jeroen Ruigrok/Asmodai wrote: > > > >>That's what Soeren and me did. HighPoint was very forthcoming with > >>documentation and as part of that synergy they put the FreeBSD Hardware > >>logo on their frontpage and us > >>mentioning it on our webpages as well as being a primary recommendation > >>over other vendors back when we got little information out of other > >>vendors. > > > >I'm sure that High-point's competitors are shivering in their boots over > >this powerful alliance. > >Well Dennis, > >I congratulate you. Be assured that with this attitude you just >displayed you made me decide never to recommend ET Inc., for any of my >present and future projects. Clearly you dont get it. Its like teaching a fish to fly. LOL To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 13:36:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id A984937B71A for ; Wed, 14 Mar 2001 13:36:28 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id QAA11793 for ; Wed, 14 Mar 2001 16:49:32 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010314165014.03dcb7b0@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 14 Mar 2001 16:51:14 -0500 To: hackers@FreeBSD.ORG From: Dennis Subject: Re: if_fxp - the real point In-Reply-To: <20010314104748.A31046@dragon.nuxi.com> References: <20010314090915.D29888@fw.wintelcom.net> <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> 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 01:47 PM 03/14/2001, you wrote: >On Wed, Mar 14, 2001 at 09:09:15AM -0800, Alfred Perlstein wrote: > > how many times does windows crash because of poorly written drivers > > rather than flaws in the core OS? (*) > >ALL the time. Microsoft has given the UC-Davis security and formal >verification lab a multi-year grant to look at this problem. >(the approach being researched is "model checking") Why would they need to do that? Every time you load a program it updates the libraries, breaking older programs. Its a philosophical problem. You dont need a grant to figure it out. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 13:37:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id B97F237B718 for ; Wed, 14 Mar 2001 13:37:14 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id QAA11804; Wed, 14 Mar 2001 16:50:16 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010314165132.03dd2740@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 14 Mar 2001 16:51:58 -0500 To: Jeroen Ruigrok/Asmodai From: Dennis Subject: Re: if_fxp - the real point Cc: Lyndon Nerenberg , hackers@FreeBSD.ORG In-Reply-To: <20010314203153.A76685@daemon.ninth-circle.org> References: <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.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 02:31 PM 03/14/2001, Jeroen Ruigrok/Asmodai wrote: >-On [20010314 17:38], Dennis (dennis@etinc.com) wrote: > >At 06:35 AM 03/14/2001, Jeroen Ruigrok/Asmodai wrote: > > > >>That's what Soeren and me did. HighPoint was very forthcoming with > >>documentation and as part of that synergy they put the FreeBSD Hardware > >>logo on their frontpage and us > >>mentioning it on our webpages as well as being a primary recommendation > >>over other vendors back when we got little information out of other > >>vendors. > > > >I'm sure that High-point's competitors are shivering in their boots over > >this powerful alliance. > >Well Dennis, > >I congratulate you. Be assured that with this attitude you just >displayed you made me decide never to recommend ET Inc., for any of my >present and future projects. Im sure that we will survive quite nicely without your recommendations. DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 13:43:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1F38837B718 for ; Wed, 14 Mar 2001 13:43:16 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2ELhET09570; Wed, 14 Mar 2001 13:43:14 -0800 (PST) Date: Wed, 14 Mar 2001 13:43:14 -0800 From: Alfred Perlstein To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314134314.M29888@fw.wintelcom.net> References: <20010314090915.D29888@fw.wintelcom.net> <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> <20010314104748.A31046@dragon.nuxi.com> <5.0.0.25.0.20010314165014.03dcb7b0@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.0.25.0.20010314165014.03dcb7b0@mail.etinc.com>; from dennis@etinc.com on Wed, Mar 14, 2001 at 04:51:14PM -0500 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dennis [010314 13:36] wrote: > At 01:47 PM 03/14/2001, you wrote: > >On Wed, Mar 14, 2001 at 09:09:15AM -0800, Alfred Perlstein wrote: > > > how many times does windows crash because of poorly written drivers > > > rather than flaws in the core OS? (*) > > > >ALL the time. Microsoft has given the UC-Davis security and formal > >verification lab a multi-year grant to look at this problem. > >(the approach being researched is "model checking") > > Why would they need to do that? Every time you load a program it updates > the libraries, breaking older programs. Its a philosophical problem. You > dont need a grant to figure it out. I think the money is for the solution. :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 13:46:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id DE42E37B719 for ; Wed, 14 Mar 2001 13:46:23 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id QAA25799; Wed, 14 Mar 2001 16:46:23 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f2ELjrj06154; Wed, 14 Mar 2001 16:45:53 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15023.59024.971346.229242@grasshopper.cs.duke.edu> Date: Wed, 14 Mar 2001 16:45:52 -0500 (EST) To: freebsd-hackers@freebsd.org Subject: Giganet Clan VIA support.. X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been working on getting Giganet Clan VI adapters working on FreeBSD. My driver seems solid, but I have run into some snags with the connection manager. Giganet recently hinted that somebody else was working on this as well. If you're working on Clan support for FreeBSD & you're reading this, I'd love to compare notes with you. Thanks, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 14:41:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from level3.dynacom.net (level3.dynacom.net [206.107.213.213]) by hub.freebsd.org (Postfix) with SMTP id 58B8A37B718 for ; Wed, 14 Mar 2001 14:41:55 -0800 (PST) (envelope-from kstewart@urx.com) Received: (qmail 20801 invoked by uid 0); 14 Mar 2001 22:41:54 -0000 Received: from unknown (HELO urx.com) (206.159.132.160) by mail.urx.com with SMTP; 14 Mar 2001 22:41:54 -0000 Message-ID: <3AAFF3B1.A4C759D8@urx.com> Date: Wed, 14 Mar 2001 14:41:53 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: Dennis , hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point References: <20010314090915.D29888@fw.wintelcom.net> <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> <20010314104748.A31046@dragon.nuxi.com> <5.0.0.25.0.20010314165014.03dcb7b0@mail.etinc.com> <20010314134314.M29888@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > > * Dennis [010314 13:36] wrote: > > At 01:47 PM 03/14/2001, you wrote: > > >On Wed, Mar 14, 2001 at 09:09:15AM -0800, Alfred Perlstein wrote: > > > > how many times does windows crash because of poorly written drivers > > > > rather than flaws in the core OS? (*) > > > > > >ALL the time. Microsoft has given the UC-Davis security and formal > > >verification lab a multi-year grant to look at this problem. > > >(the approach being researched is "model checking") > > > > Why would they need to do that? Every time you load a program it updates > > the libraries, breaking older programs. Its a philosophical problem. You > > dont need a grant to figure it out. > > I think the money is for the solution. :) With 2000 and above, your system will check for non-digitally signed dll's and etc. The rule is pretty well enforced but will let you install around it. If you do, you may have shot yourself in the foot. You can recover but you have to run sfc from a command prompt window. That doesn't help you with the product built around the old dll's and with the stupid install. You also really need to have the source entry for the registry pointing to your HD. Otherwise, you are constantly switch the install CD and the sp-1 CDs. The checking takes hours on large systems but is massively longer if you have to spent the time switching CD's. I think Whistler is heading towards including dll's and etc. in the install program's space. You can't read too much about it right now. That gets around the problem with multiple copies because you can have your own, which people assume you have tested your product against and not affect a different product. That is very similar to the problem we are seeing right now with getopt.h. Libgnugetopt installed a terrible version of getopt.h into /usr/local/include. It wasn't a terrible product to libgnugetopt but to anything else that pointed their header includes to that directory. Then products such as KDE-2.1 come along and try to use it. The KDE-2.1 build bombed because the else clause in the old gnu getopt.h has no arguments defined for non-gnu libraries and tight checking kills the compile. Kent > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 15:15:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 7224E37B71D for ; Wed, 14 Mar 2001 15:15:49 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.pacbell.net ([207.214.149.193]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GA7000OWN59QV@mta6.snfc21.pbi.net> for hackers@FreeBSD.ORG; Wed, 14 Mar 2001 15:12:46 -0800 (PST) Received: by zippy.pacbell.net (Postfix, from userid 1000) id 8BF01189D; Wed, 14 Mar 2001 15:12:41 -0800 (PST) Date: Wed, 14 Mar 2001 15:12:41 -0800 From: Alex Zepeda Subject: Re: optimizing apache with php and nfs mounts In-reply-to: <20010314025840.A93046@dragon.nuxi.com>; from TrimYourCc@NUXI.com on Wed, Mar 14, 2001 at 02:58:40AM -0800 To: hackers@FreeBSD.ORG Message-id: <20010314151241.B62712@zippy.mybox.zip> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <20010313074140.B75117@dragon.nuxi.com> <20010313122053.A1339@zippy.mybox.zip> <20010313125119.X29888@fw.wintelcom.net> <20010314011931.D549@zippy.mybox.zip> <20010314025840.A93046@dragon.nuxi.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 02:58:40AM -0800, David O'Brien wrote: > I won't even to there... Well, the only reason I mentioned it.. was that the pgcc folks don't seem to be too delusioned about the dangers. -ON (N > 2) is regarded as at least possibly in danger of generating incorrect code. > Not untested -- but you should go grab a graduate text on compiler > optimizations and familiarize yourself with the complexity of the problem. Care to recommend any starting places. You've piqued my interest. > If hello_world.c showed a problem with an optimization, I guarantee it > would be fixed. Of course depending on the problem. > The current test case of holding up the entire FreeBSD > kernel as showing an optimization problem doesn't cut it. If you care to > trim it down to a single module showing the problem.... Well I've just made buildworld with CFLAGS = "-O2 -march=pentiumpro -malign-double" from a world built with the same flags. Not so sure of any performance impact however. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 15:35:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 2998837B718 for ; Wed, 14 Mar 2001 15:35:31 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2ENZSH05802; Wed, 14 Mar 2001 15:35:28 -0800 (PST) (envelope-from obrien) Date: Wed, 14 Mar 2001 15:35:27 -0800 From: "David O'Brien" To: Kent Stewart Cc: hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314153527.A5471@dragon.nuxi.com> Reply-To: hackers@FreeBSD.ORG References: <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> <20010314104748.A31046@dragon.nuxi.com> <5.0.0.25.0.20010314165014.03dcb7b0@mail.etinc.com> <20010314134314.M29888@fw.wintelcom.net> <3AAFF3B1.A4C759D8@urx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AAFF3B1.A4C759D8@urx.com>; from kstewart@urx.com on Wed, Mar 14, 2001 at 02:41:53PM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 02:41:53PM -0800, Kent Stewart wrote: > With 2000 and above, your system will check for non-digitally signed > dll's and etc. Being signed has nothing to do with correctly working. The project I was speaking about wanted to be able to do something about you buying that wonderful new video card, or ATA-100 card -- receving the vendor's device driver and finding it decreases the stability of your system. Windows has a specification and convention of how drivers should be written. How do you know some driver actually follows it? That is the basic problem this grant is researching. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 15:36:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id C97D437B718 for ; Wed, 14 Mar 2001 15:36:29 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2ENaLN05819; Wed, 14 Mar 2001 15:36:21 -0800 (PST) (envelope-from obrien) Date: Wed, 14 Mar 2001 15:36:21 -0800 From: "David O'Brien" To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: if_fxp - the real point Message-ID: <20010314153621.B5471@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20010314090915.D29888@fw.wintelcom.net> <200103092332.f29NW4785782@gollum.esys.ca> <20010309221250.2384337B71B@hub.freebsd.org> <200103092332.f29NW4785782@gollum.esys.ca> <20010314123503.C74704@daemon.ninth-circle.org> <5.0.0.25.0.20010314110743.02373a00@mail.etinc.com> <20010314090915.D29888@fw.wintelcom.net> <20010314104748.A31046@dragon.nuxi.com> <5.0.0.25.0.20010314165014.03dcb7b0@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.0.25.0.20010314165014.03dcb7b0@mail.etinc.com>; from dennis@etinc.com on Wed, Mar 14, 2001 at 04:51:14PM -0500 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 04:51:14PM -0500, Dennis wrote: > Why would they need to do that? Every time you load a program it updates > the libraries, breaking older programs. Its a philosophical problem. You > dont need a grant to figure it out. You JUST DON'T GET IT [academic research]. And any attempt to explain it to you will obviously be wasted time. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 15:40:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 6861237B720 for ; Wed, 14 Mar 2001 15:40:40 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2ENeRv05943; Wed, 14 Mar 2001 15:40:27 -0800 (PST) (envelope-from obrien) Date: Wed, 14 Mar 2001 15:40:27 -0800 From: "David O'Brien" To: Alex Zepeda Cc: hackers@FreeBSD.ORG Subject: Re: optimizing apache with php and nfs mounts Message-ID: <20010314154027.C5471@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20010313074140.B75117@dragon.nuxi.com> <20010313122053.A1339@zippy.mybox.zip> <20010313125119.X29888@fw.wintelcom.net> <20010314011931.D549@zippy.mybox.zip> <20010314025840.A93046@dragon.nuxi.com> <20010314151241.B62712@zippy.mybox.zip> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010314151241.B62712@zippy.mybox.zip>; from jazepeda@pacbell.net on Wed, Mar 14, 2001 at 03:12:41PM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 03:12:41PM -0800, Alex Zepeda wrote: > > Not untested -- but you should go grab a graduate text on compiler > > optimizations and familiarize yourself with the complexity of the problem. > > Care to recommend any starting places. You've piqued my interest. http://www.amazon.com/exec/obidos/ASIN/1558603204/ref=sim_books/107-1570516-8126104 Advanced Compiler Design and Implementation by Steven S. Muchnick (typical graduate text cost of $93.00!) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 16:11: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp2.mbox.com.au (smtp2.mbox.com.au [203.103.80.178]) by hub.freebsd.org (Postfix) with ESMTP id 2995937B71D; Wed, 14 Mar 2001 16:10:59 -0800 (PST) (envelope-from das@mbox.com.au) Received: from mbox.com.au (webmail.i7mail.com.au [192.168.20.4]) by smtp2.mbox.com.au (Sun Internet Mail Server sims.4.0.2000.05.17.04.13.p6) with ESMTP id <0GA700LOGP8YNR@smtp2.mbox.com.au>; Thu, 15 Mar 2001 07:58:10 +0800 (WST) Date: Thu, 15 Mar 2001 11:10:17 +1100 From: das@mbox.com.au Subject: Parallel Programing in FreeBSD To: freebsd-hardware@FreeBSD.ORG Cc: hackers@FreeBSD.ORG Message-id: <3eb86b3f2779.3f27793eb86b@mbox.com.au> MIME-version: 1.0 X-Mailer: Netscape Webmail Content-type: text/plain; charset=us-ascii Content-language: en Content-disposition: inline Content-transfer-encoding: 7BIT X-Accept-Language: en Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, i'm trying to do some programming on freebsd and i can't find 'asm/io.h'. this must be for security reasons. so how do i talk to the parallel port? Thanks, Dave Seddon here's the really simple bit of code i'm trying to use: #include #include /* needed for ioperm() */ #include /* for outb() and inb() */ #define DATA 0x378 #define STATUS DATA+1 #define CONTROL DATA+2 int main(void) { int x = 0x32; int y = 0x08; if (ioperm(DATA,3,1)) { printf("Sorry, you were not able to gain access to the ports\n"); printf("You must be root to run this program\n"); exit(1); } outb(DATA, x); /* Sends 0011 0010 to the Data Port */ outb(CONTROL, y^0x0b); /* SELECT_IN = 1, INIT = 0, /AUTO_FEED = 0, /STROBE = 0 */ return (0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 16:13:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 89CA637B718; Wed, 14 Mar 2001 16:13:12 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2F0D9j14537; Wed, 14 Mar 2001 16:13:09 -0800 (PST) Date: Wed, 14 Mar 2001 16:13:09 -0800 From: Alfred Perlstein To: das@mbox.com.au Cc: freebsd-hardware@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Parallel Programing in FreeBSD Message-ID: <20010314161309.P29888@fw.wintelcom.net> References: <3eb86b3f2779.3f27793eb86b@mbox.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3eb86b3f2779.3f27793eb86b@mbox.com.au>; from das@mbox.com.au on Thu, Mar 15, 2001 at 11:10:17AM +1100 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * das@mbox.com.au [010314 16:11] wrote: > Hi, > > i'm trying to do some programming on freebsd and i can't > find 'asm/io.h'. this must be for security reasons. > > so how do i talk to the parallel port? > > Thanks, > > Dave Seddon Generally it's a good idea to use "man -k" with a few choice keywords before mailing the lists: ~ % man -k ioperm i386_get_ioperm(2), i386_set_ioperm(2) - manage per-process access to the i386 I /O port space -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 16:18:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id EC8BD37B71D; Wed, 14 Mar 2001 16:18:29 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f2F0KLF04434; Wed, 14 Mar 2001 16:20:21 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200103150020.f2F0KLF04434@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: das@mbox.com.au Cc: freebsd-hardware@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Parallel Programing in FreeBSD In-reply-to: Your message of "Thu, 15 Mar 2001 11:10:17 +1100." <3eb86b3f2779.3f27793eb86b@mbox.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 Mar 2001 16:20:21 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > i'm trying to do some programming on freebsd and i can't > find 'asm/io.h'. this must be for security reasons. > > so how do i talk to the parallel port? See /usr/share/examples/ppi, and the ppi(4) manpage. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 16:46:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.arc.nasa.gov (pony1.arc.nasa.gov [143.232.48.201]) by hub.freebsd.org (Postfix) with ESMTP id 575C137B718 for ; Wed, 14 Mar 2001 16:46:13 -0800 (PST) (envelope-from jtoung@arc.nasa.gov) Received: from arc.nasa.gov (jthuong.arc.nasa.gov [128.102.132.211]) by mail.arc.nasa.gov (8.9.3/8.9.3) with ESMTP id QAA28876 for ; Wed, 14 Mar 2001 16:46:12 -0800 (PST) Message-ID: <3AB010D5.8FC78D0F@arc.nasa.gov> Date: Wed, 14 Mar 2001 16:46:34 -0800 From: Jerry Toung Reply-To: jtoung@arc.nasa.gov X-Mailer: Mozilla 4.7 (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: device driver dev. book Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Readers, Does anyone of you know about a book that would deal specifically with FreeBSD device drivers dev.? If yes let me know. Most of the books in the field are written for Linux and so on. Thanks. Jerry. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 17:16: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from chopper.Poohsticks.ORG (chopper.poohsticks.org [63.227.60.73]) by hub.freebsd.org (Postfix) with ESMTP id 5CFB737B718; Wed, 14 Mar 2001 17:16:03 -0800 (PST) (envelope-from drew@chopper.Poohsticks.ORG) Received: from chopper.Poohsticks.ORG (drew@localhost.poohsticks.org [127.0.0.1]) by chopper.Poohsticks.ORG (8.10.1/8.10.1) with ESMTP id f2F1FEn16879; Wed, 14 Mar 2001 18:15:14 -0700 Message-Id: <200103150115.f2F1FEn16879@chopper.Poohsticks.ORG> To: Alfred Perlstein Cc: das@mbox.com.au, freebsd-hardware@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Parallel Programing in FreeBSD In-reply-to: Your message of "Wed, 14 Mar 2001 16:13:09 PST." <20010314161309.P29888@fw.wintelcom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16875.984618914.1@chopper.Poohsticks.ORG> Date: Wed, 14 Mar 2001 18:15:14 -0700 From: Drew Eckhardt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010314161309.P29888@fw.wintelcom.net>, bright@wintelcom.net write s: >* das@mbox.com.au [010314 16:11] wrote: >> i'm trying to do some programming on freebsd and i can't >> find 'asm/io.h'. this must be for security reasons. >> >> so how do i talk to the parallel port? >Generally it's a good idea to use "man -k" with a few choice >keywords before mailing the lists: It's also wise to use the unix metaphor when one is available. In this case, it probably means using the ppi(4) device. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 18:20:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 65A2837B719 for ; Wed, 14 Mar 2001 18:20:30 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 20597 invoked by uid 666); 15 Mar 2001 02:21:40 -0000 Received: from i077-094.nv.iinet.net.au (HELO elischer.org) (203.59.77.94) by mail.m.iinet.net.au with SMTP; 15 Mar 2001 02:21:40 -0000 Message-ID: <3AB026C4.F37F6567@elischer.org> Date: Wed, 14 Mar 2001 18:19:48 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Chris Dillon Cc: Chris Sears , freebsd-hackers@FreeBSD.ORG Subject: Re: ecc kld for FreeBSD 4.2 References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Dillon wrote: > > On Tue, 13 Mar 2001, Chris Sears wrote: > > > Yes, I did notice that there was no licensing. I will broach that > > with him. I can live with GPL since I see this as being a KLD > > which can be installed from source. But I prefer BSD. > > Since not everybody would want to use a module, or even could use a > module, a BSD license would be ideal so that it could be compiled > directly into the kernel. It is entirely up to the author what he > wants to use, of course. don't forget it is possible for it to be simultaniously released under both copyrights. The linux kernel may not take it if it were BSD I think, so if he sends us a copy with the BSD copyright tacked on the front he can still send one with a GPL to the linux people. -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 23: 3:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 84F5737B718; Wed, 14 Mar 2001 23:03:10 -0800 (PST) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id OAA04004; Thu, 15 Mar 2001 14:59:42 +0800 Date: Thu, 15 Mar 2001 15:04:27 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Reply-To: David Xu Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <424452460.20010315150427@21cn.com> To: freebsd-hackers@freebsd.org Cc: freebsd-current@freebsd.org Subject: status of KSE? 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 wonder status of KSE, I am dreaming rewrite our application server using kqueue+pthread(KSE), current, we use poll()+pthread because pthread does not work with kqueue at present. -- Best regards, David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 23:39:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 9825C37B718 for ; Wed, 14 Mar 2001 23:39:18 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from FreeBSD.org (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id XAA63033 for ; Wed, 14 Mar 2001 23:39:17 -0800 (PST) (envelope-from DougB@FreeBSD.org) Message-ID: <3AB071A4.8C6D9511@FreeBSD.org> Date: Wed, 14 Mar 2001 23:39:16 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Subject: Needs some autoconf + pthread + etc. clue Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to reduce the number of patches in one of my ports, but neither I nor the author of the software knows the solution to this problem. The patch I'm trying to eliminate is: http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/xscreensaver/files/patch-ab?rev=1.7 that refers to -lXmu -lXt and -lcom_err. I inherited that patch, so I'm not sure it's strictly necessary, but I'm also not sure how to prove conclusively that it isn't since the patch is kerberos related. The other hack I'm trying to get rid of is in the Makefile: post-patch: @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched @ ${SED} -e 's#-lpthread#-pthread#g' \ ${WRKSRC}/configure.Patched > ${WRKSRC}/configure The author of xscreensaver is receptive to suggestions, and I'd hate for my lack of clue in this area to hold back the effort to make this product compile clean on freebsd. Thanks, Doug -- Perhaps the greatest damage the American system of education has done to its children is to teach them that their opinions are relevant simply because they are their opinions. Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Mar 14 23:56:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 8D72837B719 for ; Wed, 14 Mar 2001 23:56:18 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 13120 invoked by uid 1000); 15 Mar 2001 07:55:33 -0000 Date: Thu, 15 Mar 2001 09:55:33 +0200 From: Peter Pentchev To: Kris Kennaway Cc: hackers@FreeBSD.org, fs@FreeBSD.org Subject: Re: httpfs Message-ID: <20010315095533.C12432@ringworld.oblivion.bg> Mail-Followup-To: Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org References: <20010310031515.A8998@mollari.cthul.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010310031515.A8998@mollari.cthul.hu>; from kris@obsecurity.org on Sat, Mar 10, 2001 at 03:15:15AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 10, 2001 at 03:15:15AM -0800, Kris Kennaway wrote: > A few of us were talking on IRC tonight about how cool it would be to > have an httpfs filesystem -- then it occurred to me we almost have > this already, in the form of the (under-utilised) portalfs. Portalfs > works by handing off everything to a userland daemon which handles the > actual transaction request, so you could easily imagine extending it > to provide an http method similar to the tcp method it currently has > for initiating tcp connections. > > One could probably make this more generic and finish implementing the > undocumented 'exec' method (which currently exists as a stub): this > would run an administrator-specified command (i.e. fixed in > /etc/portal.conf) and pipe the output back to the user. > > A fully navigable httpfs (e.g. one you can ls and cd around in) is > more work and probably requires a full stacking layer, but this would > still be pretty cool. > > Is anyone feeling inspired to implement this? :-) OK, as I've mentioned in a private mail to Kris several hours after he sent out this message, I've done some initial hacking on mount_portal which lets me put: http/ exec http/ /usr/bin/fetch fetch -q -o - http://$1- into /etc/portal.conf, and then do cat /p/http/www.FreeBSD.org/handbook/ (the $1- part refers to path components below /p/http/; $1- means 'path components from 1 to last, separated by /') The code still needs a lot of cleanup before I would dare submit it for review and comments; my question is, should I bother^W^W^Wdoes this look like a reasonable extension to mount_portal, or are there other ways/places that such functionality should be implemented, if at all? G'luck, Peter -- If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be false. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 0:45:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 813C437B719; Thu, 15 Mar 2001 00:45:45 -0800 (PST) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f2F8iQH09975; Thu, 15 Mar 2001 00:44:26 -0800 (PST) (envelope-from jkh@osd.bsdi.com) To: roam@orbitel.bg Cc: kris@obsecurity.org, hackers@FreeBSD.ORG, fs@FreeBSD.ORG Subject: Re: httpfs In-Reply-To: <20010315095533.C12432@ringworld.oblivion.bg> References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010315004426A.jkh@osd.bsdi.com> Date: Thu, 15 Mar 2001 00:44:26 -0800 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd say it would be an excellent example of how to use portals if nothing else, given that almost nobody understands them. :) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 2:39:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailgate.Cadence.COM (mailgate.Cadence.COM [158.140.2.1]) by hub.freebsd.org (Postfix) with ESMTP id C6A3137B719; Thu, 15 Mar 2001 02:39:17 -0800 (PST) (envelope-from dmlb@dmlb.org) Received: from symnt3.Cadence.COM (symnt3.Cadence.COM [194.32.101.100]) by mailgate.Cadence.COM (8.9.3/8.9.3) with ESMTP id CAA25326; Thu, 15 Mar 2001 02:38:34 -0800 (PST) Received: from pc610cam (pc610-cam.cadence.com [194.32.96.210]) by symnt3.Cadence.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id GM9QP9LQ; Thu, 15 Mar 2001 10:37:38 -0000 Message-ID: <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> From: "Duncan Barclay" To: "Peter Pentchev" , "Kris Kennaway" Cc: , References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> Subject: Re: httpfs Date: Thu, 15 Mar 2001 10:38:21 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Received: By mailgate.Cadence.COM as CAA25326 at Thu Mar 15 02:38:34 2001 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi A thing to keep in mind about the portal file system is that it designed to provide a means of getting a file handle to an object that could be obtained by a call to open(2). It does not then provide a means of reading/writing etc. to that object. If you take a look at the example portal.conf then you can see how this can be used to open a socket via a pathname. Operations on the socket are then make using write(2) etc. I don't really think that portalfs is the right thing to use to build an httpfs with, but I would like to see how you managed to get your example to work. Are you using stdout to create an anonymous file handle? What happens if two processes concurrently read from /p/http/*? Duncan -- _____________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@dmlb.org | the alcoholics, and the permanently stoned. dmlb@freebsd.org| Steven King > On Sat, Mar 10, 2001 at 03:15:15AM -0800, Kris Kennaway wrote: > > A few of us were talking on IRC tonight about how cool it would be to > > have an httpfs filesystem -- then it occurred to me we almost have > > this already, in the form of the (under-utilised) portalfs. Portalfs > > works by handing off everything to a userland daemon which handles the > > actual transaction request, so you could easily imagine extending it > > to provide an http method similar to the tcp method it currently has > > for initiating tcp connections. > > > > One could probably make this more generic and finish implementing the > > undocumented 'exec' method (which currently exists as a stub): this > > would run an administrator-specified command (i.e. fixed in > > /etc/portal.conf) and pipe the output back to the user. > > > > A fully navigable httpfs (e.g. one you can ls and cd around in) is > > more work and probably requires a full stacking layer, but this would > > still be pretty cool. > > > > Is anyone feeling inspired to implement this? :-) > > OK, as I've mentioned in a private mail to Kris several hours after he > sent out this message, I've done some initial hacking on mount_portal > which lets me put: > > http/ exec http/ /usr/bin/fetch fetch -q -o - http://$1- > > into /etc/portal.conf, and then do cat /p/http/www.FreeBSD.org/handbook/ > (the $1- part refers to path components below /p/http/; $1- means > 'path components from 1 to last, separated by /') > > The code still needs a lot of cleanup before I would dare submit it for > review and comments; my question is, should I bother^W^W^Wdoes this look > like a reasonable extension to mount_portal, or are there other ways/places > that such functionality should be implemented, if at all? > > G'luck, > Peter > > -- > If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be false. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-fs" 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 Mar 15 2:42:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ntua.gr (achilles.noc.ntua.gr [147.102.222.210]) by hub.freebsd.org (Postfix) with ESMTP id 23ED237B718; Thu, 15 Mar 2001 02:42:27 -0800 (PST) (envelope-from past@netmode.ntua.gr) Received: from netmode.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ntua.gr (8.9.3/8.9.3) with ESMTP id MAA21782; Thu, 15 Mar 2001 12:42:20 +0200 (EET) Received: (from past@localhost) by netmode.ntua.gr (8.11.1/8.11.1) id f2FAq0t31042; Thu, 15 Mar 2001 12:52:00 +0200 (EET) (envelope-from past) Date: Thu, 15 Mar 2001 12:52:00 +0200 From: Panagiotis Astithas To: Doug Barton Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Needs some autoconf + pthread + etc. clue Message-ID: <20010315125200.A30393@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr Mail-Followup-To: Panagiotis Astithas , Doug Barton , freebsd-hackers@FreeBSD.ORG References: <3AB071A4.8C6D9511@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3AB071A4.8C6D9511@FreeBSD.org>; from DougB@FreeBSD.ORG on Wed, Mar 14, 2001 at 11:39:16PM -0800 X-Organizational-Unit: Network Management and Optimal Design Laboratory X-Organization: National Technical University of Athens, GREECE X-Work-Phone: +30-1-772-1-450 X-Work-FAX: +30-1-772-1-452 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 11:39:16PM -0800, Doug Barton wrote: > The other hack I'm trying to get rid of is in the Makefile: > > post-patch: > @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched > @ ${SED} -e 's#-lpthread#-pthread#g' \ > ${WRKSRC}/configure.Patched > ${WRKSRC}/configure I haven't looked at xscreensaver's configure.in file, but you could find the location of the pthread library with something like this: PTHREAD_LIBS=error dnl The Linux case: AC_CHECK_LIB(pthread, pthread_attr_init, [ PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT" PTHREAD_LIBS="-lpthread" ]) dnl The FreeBSD case: if test "x$PTHREAD_LIBS" = xerror; then AC_CHECK_LIB(c_r, pthread_attr_init, [ PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_THREAD_SAFE" PTHREAD_LIBS="-pthread" ]) fi if test "x$PTHREAD_LIBS" = xerror; then AC_CHECK_FUNC(pthread_attr_init, PTHREAD_LIBS="", AC_MSG_ERROR(not found library: pthread !!!)) fi Then of course you'd have to regenerate configure with autoconf. HTH. -past To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 2:43:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id A9FF037B71A for ; Thu, 15 Mar 2001 02:43:25 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 1019 invoked by uid 1000); 15 Mar 2001 10:42:44 -0000 Date: Thu, 15 Mar 2001 12:42:44 +0200 From: Peter Pentchev To: Duncan Barclay Cc: Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org Subject: Re: httpfs Message-ID: <20010315124244.A442@ringworld.oblivion.bg> Mail-Followup-To: Duncan Barclay , Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM>; from dmlb@dmlb.org on Thu, Mar 15, 2001 at 10:38:21AM -0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 15, 2001 at 10:38:21AM -0000, Duncan Barclay wrote: > Hi > > A thing to keep in mind about the portal file system is that it > designed to provide a means of getting a file handle to an object that > could be obtained by a call to open(2). It does not then provide > a means of reading/writing etc. to that object. > > If you take a look at the example portal.conf then you can see how > this can be used to open a socket via a pathname. Operations on the > socket are then make using write(2) etc. > > I don't really think that portalfs is the right thing to use to build > an httpfs with, but I would like to see how you managed to get your example > to work. Are you using stdout to create an anonymous file handle? What happens > if two processes concurrently read from /p/http/*? What I did was implement an 'exec' portal method, which executes a program with given arguments, obtained from the path components and portal.conf rules, and returns a - basically read-only - descriptor connected to its stdout and stderr. Kind of simple, pipe(), fork(), dup2(), exec().. the main trouble was with parsing the argument rules :) I'll clean it up in a few hours, and post it somewhere.. G'luck, Peter -- If there were no counterfactuals, this sentence would not have been paradoxical. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 6:43: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.gutatelecom.ru (ns.gutatelecom.ru [195.7.161.13]) by hub.freebsd.org (Postfix) with ESMTP id BEF9537B718 for ; Thu, 15 Mar 2001 06:43:07 -0800 (PST) (envelope-from kate@gutatelecom.ru) Received: from hub.all.yans.ru (unknown [10.123.0.5]) by ns.gutatelecom.ru (Postfix) with ESMTP id 51B8E6E702 for ; Thu, 15 Mar 2001 17:43:01 +0300 (MSK) Received: by hub.all.yans.ru (Postfix, from userid 300) id 9333518C9C; Thu, 15 Mar 2001 17:42:57 +0300 (MSK) Date: Thu, 15 Mar 2001 17:42:57 +0300 From: Ekaterina Ivannikova To: freebsd-hackers@freebsd.org Subject: Re: systat -vmstat or iostat IO help Message-ID: <20010315174257.A98316@hub.all.yans.ru> References: <3AAF76EB.42D070F9@lombardiacom.it> <200103141805.f2EI5WJ19838@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200103141805.f2EI5WJ19838@earth.backplane.com>; from dillon@earth.backplane.com on Wed, Mar 14, 2001 at 10:05:32AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've been following this thread with great interest (many thanks to Matt!), and it reminded me of some rumours of a book being written by Kirk McKusick and some other people on the design of FreeBSD OS. Hopefully this book will cover the subject of VM in great detail. Does anybody know if the book is going to be published soon ? Or does it still make sense to buy "The Design and Implementation of the 4.4BSD Operating System" ? Regards, Ekaterina Ivannikova To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 7:40: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from primo.verat.net (primo.verat.net [217.26.64.130]) by hub.freebsd.org (Postfix) with ESMTP id 3765437B71A for ; Thu, 15 Mar 2001 07:39:57 -0800 (PST) (envelope-from milunovic@sendmail.ru) Received: from scorpion.cosmos.all.net (ppp-103.verat.net [217.26.65.103]) by primo.verat.net (x.y.z/1.1.1) with ESMTP id QAA26051 for ; Thu, 15 Mar 2001 16:39:53 +0100 Received: from scorpion.cosmos.all.net (scorpion.cosmos.all.net [127.0.0.1]) by scorpion.cosmos.all.net (8.11.3/8.11.3) with ESMTP id f2FFkoJ01320 for ; Thu, 15 Mar 2001 16:46:52 +0100 (CET) Date: Thu, 15 Mar 2001 16:46:46 +0100 (CET) From: milunovic X-Sender: milunovic@scorpion.cosmos.all.net To: hackers@freebsd.org Subject: Little confused 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 -----BEGIN PGP SIGNED MESSAGE----- I'm reading kernel source,but I don't understand something like this -> example: #define GG(x,y) \ static void * const blabla_##x_blabla_##y = &y; As I see this should make something like this GG(foo,bar) should make static void * const blabla_foo_blabla_bar = &bar; I never saw something like this in programs.Does anybody have any link where I could find more about this kind of making macros? Vojislav Milunovic milunovic@sendmail.ru -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOrDj6i3gPLld8IkLAQHu0AgAhYj8Rr2rdj4JENBMczExysebFi3MzzX3 Ca31TFfCD5DJAVksrzhmszHKFiCAA76Ry+n4aWnsnh92JKFdplI7jDHjzgWYiHJd GyjsiSOnhizdalznDNarz2MwEn+/P5U96cX+/meNkK0DZ+Q4kJdd2e8WLiJboKFw 5w739DIFXCpJVpJ7dHTltbI8DzwTvJiFHRH1QpbCz4fsoyuOGr8DvrFTCvQp4v7X fJqqAb7wNDHPc5UfG8rmDFKrjASPvsA6RMlkB+DOPfs5dZdqQrJJbauyaZvsvfHY lE78PX/MAvukl5U88rDGGidFlWOpuEgvnGHLVZx2UbPJu5WEbqYUZw== =m13h -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 9:25:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hpux46.dc.engr.scu.edu (hpux46.dc.engr.scu.edu [129.210.16.46]) by hub.freebsd.org (Postfix) with ESMTP id 15EB937B718; Thu, 15 Mar 2001 09:25:26 -0800 (PST) (envelope-from dclark@applmath.scu.edu) Received: from localhost (dclark@localhost) by hpux46.dc.engr.scu.edu (8.10.2/8.10.2) with ESMTP id f2FHPDx17711; Thu, 15 Mar 2001 09:25:14 -0800 (PST) Date: Thu, 15 Mar 2001 09:25:13 -0800 (PST) From: "Dorr H. Clark" To: freebsd-hackers@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: MP & 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 Hi- I have some questions about multi-processing and FreeBSD. If I am using the wrong list(s) to ask this, please let me know. All these questions pertain to the x86 variant of FreeBSD. I am interested in booting and running FreeBSD on a two-processor Tyan motherboard. I would like to know the following information: 1) According to the release notes for 4.1.1, SMP is not considered a base capability of the OS. Is there a separate baseline which is an experimental SMP, or are the changes hidden behind a particular build flag? If there is a baseline & it is open, can I find out a link for downloads? 2) What is the earliest revision of FreeBSD which will boot both CPUs on a dual CPU board? Are the changes coherently archived, or do they need to be extracted from CVS somewhere? 3) Is there an individual or group leading the SMP development? What are the issues which keep this from being a mainstream capability? I can't promise any useful output from my work but I'd be happy to help with forward progress if possible. Thanks in advance for any useful information, -Dorr H. Clark Santa Clara University To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 10:27:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id E7FB137B71A; Thu, 15 Mar 2001 10:27:45 -0800 (PST) (envelope-from wkb@freebie.demon.nl) Received: from [212.238.54.101] (helo=freebie.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.14 #2) id 14dcTQ-0006Ci-00; Thu, 15 Mar 2001 18:27:44 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.2/8.11.2) id f2FITvE01037; Thu, 15 Mar 2001 19:29:57 +0100 (CET) (envelope-from wkb) Date: Thu, 15 Mar 2001 19:29:57 +0100 From: Wilko Bulte To: "Dorr H. Clark" Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: MP & FreeBSD Message-ID: <20010315192957.B1013@freebie.demon.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from dclark@applmath.scu.edu on Thu, Mar 15, 2001 at 09:25:13AM -0800 X-OS: FreeBSD 4.2-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 15, 2001 at 09:25:13AM -0800, Dorr H. Clark wrote: > > Hi- > > I have some questions about multi-processing > and FreeBSD. If I am using the wrong list(s) > to ask this, please let me know. All these > questions pertain to the x86 variant of FreeBSD. > > I am interested in booting and running FreeBSD > on a two-processor Tyan motherboard. I would > like to know the following information: > > 1) According to the release notes for 4.1.1, > SMP is not considered a base capability of the OS. > Is there a separate baseline which is an > experimental SMP, or are the changes hidden > behind a particular build flag? If there > is a baseline & it is open, can I find out > a link for downloads? Although there is a lot of new SMP work being done on -current (what will eventually become 5.0) the 4.x runs SMP quite nicely. You will have to build a kernel with SMP support though. Check /sys/i386/conf/LINT for more information. W/ -- | / o / / _ Arnhem, The Netherlands email: wilko@freebsd.org |/|/ / / /( (_) Bulte http://www.freebsd.org http://www.nlfug.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 10:49:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from VL-MS-MR003.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by hub.freebsd.org (Postfix) with ESMTP id 73DBE37B718; Thu, 15 Mar 2001 10:49:52 -0800 (PST) (envelope-from vente@go4job.net) Received: from go4job.net ([24.203.23.43]) by VL-MS-MR003.sc1.videotron.ca (Netscape Messaging Server 4.15) with SMTP id GA941H04.J0V; Thu, 15 Mar 2001 13:15:17 -0500 From: vente@go4job.net Reply-To: vente@go4job.net To: vente@go4job.net Subject: Go4job.net, la plus grande banque d'emplois au Québec Message-Id: <20010315184952.73DBE37B718@hub.freebsd.org> Date: Thu, 15 Mar 2001 10:49:52 -0800 (PST) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG LES AVANTAGES D'ANNONCER VOS OFFRES D'EMPLOIS SUR GO4JOB.NET NOS TARIFS : FORFAIT D'ESSAIS : 199.95 $ pour 15 jours, maximum 100 cv (plusieurs autres forfaits disponibles) 3,000,000 de pages visitées en cinq mois 3,500 candidats disponibles en ligne 900 emplois de disponibles 650 entreprises inscrites Go4job.net, la plus grande banque d'emplois au Québec Pour plus d'informations contactez Alain St-Jean Tél. 450-430-0050 Sans frais 1-877-430-0050 Télécopieur 450-430-0014 Courriel : info@go4job.net Site Internet : WWW.GO4JOB.NET _________________________________________________________ Si vous désirez être retirer de notre liste d'envois, s.v.p. retourner nous cette publicité en inscrivant REMOVE dans la section sujet et notre logiciel vous retirera AUTOMATIQUEMENT de notre prochaine envois. ------------------------------------------------------------------------------------------------------------------------------------------------------------ If you wish to be removed from this advertiser's future mailings, please reply with the subject "Remove" and our software will automatically block you from their future mailings. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 10:59: 2 2001 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 D091437B718 for ; Thu, 15 Mar 2001 10:58:55 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p60-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.125]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id DAA25054; Fri, 16 Mar 2001 03:58:45 +0900 (JST) Message-ID: <3AB1102F.D7190894@newsguy.com> Date: Fri, 16 Mar 2001 03:55:43 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: milunovic Cc: hackers@FreeBSD.ORG Subject: Re: Little confused References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG milunovic wrote: > > I'm reading kernel source,but I don't understand something like this -> > > example: > #define GG(x,y) \ > static void * const blabla_##x_blabla_##y = &y; > > As I see this should make something like this > > GG(foo,bar) should make > static void * const blabla_foo_blabla_bar = &bar; > > I never saw something like this in programs.Does anybody have any link > where I could find more about this kind of making macros? That's standard C. Kernighan&Ritchie (double sp?) comes to mind. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.secret.bsdconspiracy.net It's a rewarding life, but hey, somebody has to have all the fun, right? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 10:59:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from tantalum.btinternet.com (tantalum.btinternet.com [194.73.73.80]) by hub.freebsd.org (Postfix) with ESMTP id 6B3C837B719 for ; Thu, 15 Mar 2001 10:59:22 -0800 (PST) (envelope-from oh@btinternet.com) Received: from [213.1.77.238] (helo=adelie.btinternet.com) by tantalum.btinternet.com with esmtp (Exim 3.03 #83) id 14dcxy-0003g0-00 for freebsd-hackers@freebsd.org; Thu, 15 Mar 2001 18:59:18 +0000 Received: from btinternet.com (localhost [127.0.0.1]) by adelie.btinternet.com (8.11.1/8.11.1) with ESMTP id f2FIx2i03080 for ; Thu, 15 Mar 2001 18:59:04 GMT (envelope-from oh@btinternet.com) Message-Id: <200103151859.f2FIx2i03080@adelie.btinternet.com> To: freebsd-hackers@freebsd.org From: Orion Hodson Subject: bus_space_alloc (formerly bus_space_foo) Date: Thu, 15 Mar 2001 18:59:02 +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I've been writing a driver for the S3 Sonicvibes audio card. The card is PCI, but has 7 io ports. The PCI initialization stops after 5 ports have been mapped out (constants are hardcoded in sys/pci so reasonable to assume this fits with PCI spec). The netbsd version of this driver uses bus_space_alloc to deal with the other two ports, but that function never made it from NetBSD to FreeBSD. Is there a workaround or equivalent? Or a driver that deals with the same problem? [ What the code does just now is examine the initial 5 io port allocations and then pick 2 non-overlapping port spaces between them for the unallocated ports. This is gross, but works for the time being (likely not future proof, but assumptions could be hardcoded to prevent driver loading if not met). A snapshot of the driver is at http://www.cs.ucl.ac.uk/staff/O.Hodson/misc/s3vibes.c - playback works, recording maybe, XXX marks the spot of resource fun. Feedback appreciated. ] Kind Regards - Orion. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 12:15:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from manta.mayn.de (big.endian.de [194.145.150.69]) by hub.freebsd.org (Postfix) with ESMTP id 832C537B784 for ; Thu, 15 Mar 2001 12:15:40 -0800 (PST) (envelope-from alex@fump.cichlids.com) Received: from fump.cichlids.com (big.endian.de [194.145.150.69]) by manta.mayn.de (Postfix) with ESMTP id 265179B007; Thu, 15 Mar 2001 21:17:10 +0100 (CET) Received: by fump.cichlids.com (Postfix, from userid 1001) id 2FA457BEF; Thu, 15 Mar 2001 21:03:22 +0100 (CET) Date: Thu, 15 Mar 2001 21:03:22 +0100 From: Alexander Langer To: Jerry Toung Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: device driver dev. book Message-ID: <20010315210322.E804@fump.cichlids.com> References: <3AB010D5.8FC78D0F@arc.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB010D5.8FC78D0F@arc.nasa.gov>; from jtoung@arc.nasa.gov on Wed, Mar 14, 2001 at 04:46:34PM -0800 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Jerry Toung (jtoung@arc.nasa.gov): > Does anyone of you know about a book that would deal specifically > with FreeBSD device drivers dev.? > If yes let me know. Not books, but there are some tutorials/manpages available. See: http://www.FreeBSD.org/tutorials/ and section 9 of the manual pages. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 12:25:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.3]) by hub.freebsd.org (Postfix) with ESMTP id 046DD37B718 for ; Thu, 15 Mar 2001 12:25:43 -0800 (PST) (envelope-from watchman@ludd.luth.se) Received: from d1o906.telia.com (d1o906.telia.com [195.252.36.241]) by maild.telia.com (8.9.3/8.9.3) with ESMTP id VAA19137; Thu, 15 Mar 2001 21:25:34 +0100 (CET) Received: from ludd.luth.se (h15n1fls20o906.telia.com [213.64.92.15]) by d1o906.telia.com (8.8.8/8.8.8) with ESMTP id VAA14708; Thu, 15 Mar 2001 21:25:26 +0100 (CET) Message-ID: <3AB12532.5018B343@ludd.luth.se> Date: Thu, 15 Mar 2001 21:25:22 +0100 From: Joachim =?iso-8859-1?Q?Str=F6mbergson?= Organization: Acne X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en-US MIME-Version: 1.0 To: Peter Jeremy Cc: Jordan DeLong , Farooq Mela , freebsd-hackers@FreeBSD.ORG Subject: Re: Kernel area libmish stuff (Cordic algorithm) References: <20010312134812.A14108@gsmx07.alcatel.com.au> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Aloha! Peter Jeremy wrote: > For a totally different approach, try Cordic algorithms. Cordic > algorithms let you implement circular and hyperbolic functions > (including exponential, log and sqrt) using add, subtract, shift and > table lookup. (An n-bit result needs an n-entry x n-bit table, 2n > shifts and 3n adds/subtracts). I know there was an article in October > 1990 Dr Dobbs Journal and a web search should probably find plenty > more. Ray Andraka is somewhat of the Cordic guru on the net, albeit usually associated with FPGA-design. He has written several articles that describes Cordic algorithms, bot in general terms and specifically for FPGAs. Check for example his paper "A Survey of CORDIC Algorithms for FPGAs" which can be found here: http://www.andraka.com/papers.htm Also, Behrooz Parhami has written a book called "Computer Arithmetic - Algorithms and Hardware Design" that also contains a good intro to Cordic algorithms. I'm part of starting up a company that (a) builds hardware and (b) uses FreeBSD for different puposes. Albeit my time due to the starting of a company bit is very limited nowadays, I'm willing to at least try to answer questions relating these kinds of problems/areas (Cordics, arithmetic and such fun stuff). -- Cheers! Joachim - Alltid i harmonisk svängning --- FairLight ------ FairLight ------ FairLight ------ FairLight --- Joachim Strömbergson ASIC SoC designer, nice to CUTE animals Phone: +46(0)31 - 27 98 47 Web: http://www.ludd.luth.se/~watchman --------------- Spamfodder: regeringen@regeringen.se --------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 13:35:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.arc.nasa.gov (pony1.arc.nasa.gov [143.232.48.201]) by hub.freebsd.org (Postfix) with ESMTP id 8153837B719 for ; Thu, 15 Mar 2001 13:35:45 -0800 (PST) (envelope-from jtoung@arc.nasa.gov) Received: from arc.nasa.gov (jthuong.arc.nasa.gov [128.102.132.211]) by mail.arc.nasa.gov (8.9.3/8.9.3) with ESMTP id NAA19270; Thu, 15 Mar 2001 13:35:41 -0800 (PST) Message-ID: <3AB135AB.D37E2F3B@arc.nasa.gov> Date: Thu, 15 Mar 2001 13:35:41 -0800 From: Jerry Toung Reply-To: jtoung@arc.nasa.gov X-Mailer: Mozilla 4.7 (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Langer Cc: freebsd-hackers@freebsd.org Subject: Re: device driver dev. book References: <3AB010D5.8FC78D0F@arc.nasa.gov> <20010315210322.E804@fump.cichlids.com> Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Some body just told me that williams Paul from Columbia University (Bill Paul @ Freebsd.org) has written that kind of book. But I can't get his exact email address at FreeBSD.org to ask him the reference. Alexander Langer wrote: > Thus spake Jerry Toung (jtoung@arc.nasa.gov): > > > Does anyone of you know about a book that would deal specifically > > with FreeBSD device drivers dev.? > > If yes let me know. > > Not books, but there are some tutorials/manpages available. > See: > http://www.FreeBSD.org/tutorials/ > and section 9 of the manual pages. > > Alex -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jerry Toung NASA Ames Research Center phone : (650) 604-1310 NASA Research & Education Network Fax : (650) 604-3080 Mail Stop 233-21 Email : jtoung@mail.arc.nasa.gov Moffet Field, CA 94035-1000 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 14:46: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f120.pav1.hotmail.com [64.4.31.120]) by hub.freebsd.org (Postfix) with ESMTP id 2677137B718; Thu, 15 Mar 2001 14:46:00 -0800 (PST) (envelope-from numofbeast@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 15 Mar 2001 14:45:59 -0800 Received: from 207.225.18.124 by pv1fd.pav1.hotmail.msn.com with HTTP; Thu, 15 Mar 2001 22:45:59 GMT X-Originating-IP: [207.225.18.124] From: "Saikat Kanjilal" To: freebsd-hackers@FreeBSD.org, eivind@FreeBSD.org Subject: Request Date: Thu, 15 Mar 2001 22:45:59 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 15 Mar 2001 22:45:59.0411 (UTC) FILETIME=[B4632430:01C0ADA1] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To Whom It May Concern: I am writing this letter to volunteer my time to the following areas of the freeBSD project.... Implement Int13 vm86 disk driver. Port existing ISA drivers to new architecture. Move all interrupt-management code to appropriate parts of the bus drivers. Port PCI subsystem to new architecture Kernel issues. Add more pro-active security infrastructure. Security and cryptography Please let me know how and why I can immediately get involved with code. Thanks Saikat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 15: 8:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) by hub.freebsd.org (Postfix) with ESMTP id 820FA37B71D for ; Thu, 15 Mar 2001 15:08:46 -0800 (PST) (envelope-from mtaylor@bytecraft.com.au) Received: from melexc01.bytecraft.com.au ([203.9.250.249]) by online.tmx.com.au (8.9.3/8.8.8) with ESMTP id KAA12652 for Fri, 16 Mar 2001 10:08:43 +1100 (EST) Received: by MELEXC01 with Internet Mail Service (5.5.2448.0) id ; Fri, 16 Mar 2001 10:10:27 +1100 Message-ID: <710709BB8B02D311942E00606744181054429A@MELEXC01> From: Murray Taylor To: "'freebsd-hackers@freebsd.org'" Subject: What are 'compatibility shims" ? Date: Fri, 16 Mar 2001 10:09:42 +1100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When using 4.3-BETA cvsupped 23/mar and config'ed options NETGRAPH and added the sr and sppp drivers for the frame relay link we are establishing. Dmesg gives me this line src0: dirver is using old-style compatibility shims What are these shims? mjt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 15:26:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (s014.dhcp212-24.cybercable.fr [212.198.24.14]) by hub.freebsd.org (Postfix) with ESMTP id 7236837B718; Thu, 15 Mar 2001 15:26:51 -0800 (PST) (envelope-from thierry@herbelot.com) Received: from herbelot.com (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id AAA54255; Fri, 16 Mar 2001 00:26:46 +0100 (CET) (envelope-from thierry@herbelot.com) Message-ID: <3AB14FB6.6F3F2A7F@herbelot.com> Date: Fri, 16 Mar 2001 00:26:46 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Saikat Kanjilal Cc: freebsd-hackers@FreeBSD.ORG, eivind@FreeBSD.ORG Subject: Re: Request References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The recommended work for any new developper of FreeBSD (did I say welcome ?) is to search in the PR (problem reports) database on the FreeBSD web site, to take one problem and then give a solution (generally as a patch to the sources of the OS) when you are done, find some committer of FreeBSD and bother him until he/she will integrate your changes in the core OS (then, take another problem) TfH Saikat Kanjilal wrote: > > To Whom It May Concern: > I am writing this letter to volunteer my time to the following areas of the > freeBSD project.... > > Implement Int13 vm86 disk driver. > Port existing ISA drivers to new architecture. > Move all interrupt-management code to appropriate parts of the bus drivers. > Port PCI subsystem to new architecture > Kernel issues. > Add more pro-active security infrastructure. > Security and cryptography > > Please let me know how and why I can immediately get involved with code. > > Thanks > Saikat > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 16:38:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) by hub.freebsd.org (Postfix) with ESMTP id 3A61237B71A; Thu, 15 Mar 2001 16:38:31 -0800 (PST) (envelope-from mtaylor@bytecraft.com.au) Received: from melexc01.bytecraft.com.au ([203.9.250.249]) by online.tmx.com.au (8.9.3/8.8.8) with ESMTP id LAA07821; Fri, 16 Mar 2001 11:38:27 +1100 (EST) Received: by MELEXC01 with Internet Mail Service (5.5.2448.0) id ; Fri, 16 Mar 2001 11:39:43 +1100 Message-ID: <710709BB8B02D311942E00606744181054429B@MELEXC01> From: Murray Taylor To: "'freebsd-net@freebsd.org'" , "'freebsd-hackers@freebsd.org'" Subject: Netgraph error message Date: Fri, 16 Mar 2001 11:39:10 +1100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I get the following messages when I fire up ngctl module_register: module netgraph already exists and linker_file_sysinit: "netgraph.ko" failed to register 17 I am using 4.3-BETA as at 13/mar and have options NETGRAPH in my kernel config I am using the ngctl command to configure a frame relay system (yes the hardware is here ;-) It all seems to run OK and I do get a ng0 interface and the frame relay system seems to be handshaking OK (I ran the script last night too, without the physical connection in place and got tons of timeout errors then, which have gone away now that the hardware is in place, so i am assuming that all is well in there) Murray Taylor Project Engineer Bytecraft P/L +61 3 9587 2555 +61 3 9587 1614 fax mtaylor@bytecraft.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 16:57: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 39A9837B71A for ; Thu, 15 Mar 2001 16:56:55 -0800 (PST) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id UAA17451; Thu, 15 Mar 2001 20:09:53 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.0.25.0.20010315201249.030af110@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Thu, 15 Mar 2001 20:13:28 -0500 To: Murray Taylor From: Dennis Subject: Re: What are 'compatibility shims" ? Cc: hackers@FreeBSD.ORG In-Reply-To: <710709BB8B02D311942E00606744181054429A@MELEXC01> 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 It means that they havent converted the driver to the new "bus" format and are still using 3.x driver types. At 06:09 PM 03/15/2001, you wrote: >When using 4.3-BETA cvsupped 23/mar and >config'ed > >options NETGRAPH > >and added the sr and sppp drivers for the frame relay >link we are establishing. > >Dmesg gives me this line > >src0: dirver is using old-style compatibility shims > > >What are these shims? > >mjt > > > >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 Mar 15 17: 9:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp3.port.ru (mx3.port.ru [194.67.23.37]) by hub.freebsd.org (Postfix) with ESMTP id 9982837B718 for ; Thu, 15 Mar 2001 17:09:23 -0800 (PST) (envelope-from oballet@mail.ru) Received: from p159.bass7.sinor.ru ([217.70.109.159]) by smtp3.port.ru with esmtp (Exim 3.14 #43) id 14diht-0004C0-00 for freebsd-hackers@freebsd.org; Fri, 16 Mar 2001 04:07:06 +0300 Date: Fri, 16 Mar 2001 07:02:17 +0600 From: Oballet X-Mailer: The Bat! (v1.45) Business Reply-To: Oballet Organization: Opera & BALLET X-Priority: 3 (Normal) Message-ID: <6832284104.20010316070217@mail.ru> To: freebsd-hackers@freebsd.org Subject: Subscribe Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: base64 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 8NLJ18XUIQ0KDQrwydvF1CD3wc0g0s/Cz9QsIM/U18XewcDdycog2sEg0sHT09nMy9Ug0yDTwcrU wTogaHR0cDovL29iYWxsZXQuZGEucnUNCvrF0svBzME6IGh0dHA6Ly9vYmFsbGV0LmktYW0ucnUN CiAgICAgICAgIGh0dHA6Ly9vYmFsbGV0LnBsZXgucnUNCiAgICAgICAgIGh0dHA6Ly93d3cuc2lu b3IucnUvfm9iYWxsZXQNCg0K98HbIEUtbWFpbCDBxNLF0yDLxc0t1M8g0M/E0MnTwc4gzsEgyc7G z9LNwcPJz87O1cAg0sHT09nMy9UgzsHbxcfPINPBytTBIQ0K7dkgzsUgyc3Fxc0g0NLB18Eg19nT 2czB1Ngg98HNIM7B28kg0sXLzMHNzs8tyc7Gz9LNwcPJz87O2cUgzcHUxdLJwczZIMLF2iD3wdvF x88g08/HzMHTydEhISENCvDP3NTPzdUsIMTM0SDUz8fPLCDe1M/C2SDQz8zV3sHU2CDOwdvJINLB 09PZzMvJLCD32SDEz8zWztkg0M/E1NfF0sTJ1Ngg0M/E0MnTy9UuDQrkzNEg3NTPx88g2sHKxMnU xSDOwSDOwdsg08HK1CDJINcg0NXOy9TFICLywdPT2czLwSIgDQrX18XEydTFIPfB2yBlLW1haWwg ySDOwdbNydTFIMvOz9DP3svVICLwz8TU18XSxMnU2CIhDQoNCuXTzMkg99kgz9vJws/ezs8g0M/E 0MnTwc7ZIM7BINzU1SDSwdPT2czL1SwgDQrMycLPIM7FIMjP1MnUxSDXIMTBzNjOxcrbxc0g0M/M 1d7B1Nggz9QgzsHTIMnOxs/SzcHDycAgLSANCs7FIM/U18XewcrUxSDOwSDc1M8g08/Pwt3FzsnF IC0gzdkg0NLJzs/Tyc0gydrXyc7FzsnRIQ0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNCuvP0s/Uy886DQp+fn5+fn5+fg0K7sHbINPBytQg 0M/T19Hdxc4g3MvTy8zA2snXzs/N1SDLyc7PLCDN1drZy8UsIM/QxdLOzy3CwczF1M7PzdUgydPL 1dPT1NfVLg0KDQr3wdvFzdUg187JzcHOycAg0NLFxMzBx8HF1NPROg0K68zB09PJy8EgySDh18HO x8HSxCwg5sXT1MnXwczJLCD7z9UsIPTBzsPZLCDyxdTSzy3LzMHT08nLwSwgDQr3xczJy8nFIM/Q xdLO2cUgySDCwczF1M7ZxSDJ09DPzM7J1MXMySwgDQrVzsnLwczYztnFINrB0MnTySDiz8zY28/H zyDJIO3B0snJztPLz8fPINTFwdTSz9csIA0K9czBzs/Xz8osIO7V0snF18EsIOLB0tnbzsnLz9fB LCDrz87DxdDU1cHM2M7ZyCDl19LP0MXK08vJyCDJ09DPzM7J1MXMxcosIA0KwdfUz9LTy8/FIMkg 3MzJ1MHSzs/FIMvJzs8sIMvPzsPF0tTZLCDc1M7J3sXTy8HRIM3V2tnLwSwgDQrE1sHaIMkgwszA 2iwgz9LLxdPU0tksIMvBzcXSzsHRIMkg08nNxs/Oyd7F08vB0SDN1drZy8EuIA0KDQrrwd7F09TX zzogRElHSVRBTCBIaS1GaSBEVkQsIENELCBWSFMNCijJ08vMwN7FzsnRINPP09TB18zRwNQg0sXE y8nFINLB0snUxdTO2cUgzcHUxdLJwczZLCANCs/U087R1NnFIMzAwsnUxczY08vJzSDPwtLB2s/N IMkgxM/bxcTbycUgxM8gzsHTIMnaIN7B09TO2cggwdLIydfP1yANCtTPzNjLzyDXINTBy8/NINfJ xMUpLg0K78LbydLO2cogy8HUwczPxy4gDQoNCu/T1d3F09TXzNHFzSDEz9PUwdfL1SDQzyDtz9PL 18UgKNcgxNLVx8nFINLFx8nPztkg0M/e1M/KKS4gDQr6wcvB2tkgySDXz9DSz9PZINDSydPZzMHK 1MUg0M8gwcTSxdPVOg0KR2FsYVZpZGVvMTVATWFpbFJ1LkNvbQ0KDQrz0s/LIMnT0M/MzsXOydEg 2sHLwdrBIDItMyDEztEgKMvSz83FINTPx88sIN7UzyDV1sUgyc3FxdTT0SDXIM7BzMneyckpLg0K DQr3INDJ09jNxSDVy8HWydTFIPfB28Ugyc3RLCDUxczFxs/OLCDQz8zO2cogwcTSxdMsIM7PzcXS wSDMz9TP1yDX2cLSwc7O2cggzcHUxdLJwczP1y4NCvDSySDP1NDSwdfLxSDQz97Uz8ogzsXPwsjP xMnNwSDQ0sXEz9DMwdTBLg0K99PFIM3B1MXSycHM2SDXINDPxMHSz97Oz8og09XQxdLPwszP1svF IMkg1dDBy8/Xy8UuDQrwzyDWxczBzsnAIMvMycXO1MEg18/azc/Wzs8g19nQz8zOydTYINrBy8Ha IMLF2iDPwszP1svJLCANCt7UzyDC1cTF1CDOxdPLz8zYy88gxMXbxdfMxSDJIMLZ09TSxcUuDQoN Ci0tDQrzINXXwdbFzsnFzSwg0s/Cz9QgV2ViLc3B09TF0sEu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 19:44:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 7931137B718 for ; Thu, 15 Mar 2001 19:44:26 -0800 (PST) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f2G3mOS07879 for ; Thu, 15 Mar 2001 21:48:28 -0600 (CST) (envelope-from nick@rogness.net) Date: Thu, 15 Mar 2001 21:48:24 -0600 (CST) From: Nick Rogness X-Sender: nick@cody.jharris.com To: freebsd-hackers@freebsd.org Subject: natd divert injecting clarifications Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just to be sure I have it right. When the kernel diverts the packet to natd, via ipfw: 1) kernel sends packet to natd 2) natd read() the packet 3) natd screws with it (changes dest addr,etc) 4) natd write() the packet 5) kernel reinjects the packet back into the firewall That's what I could get out of divert(4) and some of the natd source. Bare with me...I'm a novice programmer. Is this correct? Nick Rogness - Keep on routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 20:19: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 7F8B937B718 for ; Thu, 15 Mar 2001 20:18:58 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 30328 invoked by uid 666); 16 Mar 2001 04:20:11 -0000 Received: from i080-148.nv.iinet.net.au (HELO elischer.org) (203.59.80.148) by mail.m.iinet.net.au with SMTP; 16 Mar 2001 04:20:11 -0000 Message-ID: <3AB19407.222CAC7C@elischer.org> Date: Thu, 15 Mar 2001 20:18:15 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: David Xu Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: status of KSE? References: <424452460.20010315150427@21cn.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Xu wrote: > > I wonder status of KSE, I am dreaming rewrite our application > server using kqueue+pthread(KSE), current, we use poll()+pthread > because pthread does not work with kqueue at present. > > -- > Best regards, > David Xu KSE is not into coding yet. we have a basic design and have soem documents but have been waiting for the SMPng stuff to settle a bit before we hit the kernel with a second huge change. It will not be ready for a long time. do not assume that it will be ready for when you need it becasue it will not. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 20:56:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id BA4EB37B718; Thu, 15 Mar 2001 20:56:38 -0800 (PST) (envelope-from bsddiy@21cn.com) Received: from William ([192.168.1.98]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id MAA10268; Fri, 16 Mar 2001 12:49:16 +0800 Date: Fri, 16 Mar 2001 12:59:24 +0800 From: David Xu X-Mailer: The Bat! (v1.48f) Personal Reply-To: David Xu Organization: Viasoft X-Priority: 3 (Normal) Message-ID: <3715226734.20010316125924@21cn.com> To: freebsd-hackers@freebsd.org Cc: freebsd-current@freebsd.org Subject: Re[2]: status of KSE? In-reply-To: <3AB19407.222CAC7C@elischer.org> References: <424452460.20010315150427@21cn.com> <3AB19407.222CAC7C@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Julian, Friday, March 16, 2001, 12:18:15 PM, you wrote: JE> David Xu wrote: >> >> I wonder status of KSE, I am dreaming rewrite our application >> server using kqueue+pthread(KSE), current, we use poll()+pthread >> because pthread does not work with kqueue at present. >> >> -- >> Best regards, >> David Xu JE> KSE is not into coding yet. JE> we have a basic design and have soem documents but JE> have been waiting for the SMPng stuff to settle a bit before we JE> hit the kernel with a second huge change. JE> It will not be ready for a long time. do not assume that it JE> will be ready for when you need it becasue it will not. I know KSE is not related to SMP and will run on UP. my primary idea is want to run parellel I/O task in same process with pthread, simply because FreeBSD pthread does not allow me to do multipile I/O tasks at same time on disk file, of course, it is also conflicted with SYSV IPC, so I think of KSE. I don't care about SMP, CPU is enough fast now, I have already seen 1.3G hz CPU, how fast! I think Intel and AMD can very easy to double their CPU clock, hope I can see 3Ghz CPU in next year. I really do think KSE should work before SMP, but it is obvious not. think about Apache 2.0, it is already multi-threaded, FreeBSD pthread will be blocked at disk I/O, it is very bad for Apache 2.0 . -- Best regards, David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 21:50:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 83AF537B718 for ; Thu, 15 Mar 2001 21:50:36 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 1191 invoked by uid 666); 16 Mar 2001 05:51:49 -0000 Received: from i080-148.nv.iinet.net.au (HELO elischer.org) (203.59.80.148) by mail.m.iinet.net.au with SMTP; 16 Mar 2001 05:51:49 -0000 Message-ID: <3AB1A981.BBFADF65@elischer.org> Date: Thu, 15 Mar 2001 21:49:53 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Murray Taylor Cc: "'freebsd-hackers@freebsd.org'" Subject: Re: What are 'compatibility shims" ? References: <710709BB8B02D311942E00606744181054429A@MELEXC01> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Murray Taylor wrote: > > When using 4.3-BETA cvsupped 23/mar and > config'ed > > options NETGRAPH > > and added the sr and sppp drivers for the frame relay > link we are establishing. > > Dmesg gives me this line > > src0: dirver is using old-style compatibility shims > > What are these shims? > > mjt As Dennis says, it lets you know that this driver is not converted to the new bus format. The one in -current is converted (it's in /sys/dev/if_sr I think) it also can be compiled as a netgraph module (/sys/modules/netgraph/sync_sr/) you may try seeing if it can be run under 4.x > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 22:37: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id B307A37B718 for ; Thu, 15 Mar 2001 22:37:01 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.1/8.11.1) id f2G6aC293490; Fri, 16 Mar 2001 08:36:12 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200103160636.f2G6aC293490@zibbi.icomtek.csir.co.za> Subject: Re: What are 'compatibility shims" ? In-Reply-To: <710709BB8B02D311942E00606744181054429A@MELEXC01> from Murray Taylor at "Mar 16, 2001 10:09:42 am" To: mtaylor@bytecraft.com.au (Murray Taylor) Date: Fri, 16 Mar 2001 08:36:12 +0200 (SAT) Cc: freebsd-hackers@FreeBSD.ORG ('freebsd-hackers@freebsd.org') X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > When using 4.3-BETA cvsupped 23/mar and > config'ed > > options NETGRAPH > > and added the sr and sppp drivers for the frame relay > link we are establishing. > > Dmesg gives me this line > > src0: dirver is using old-style compatibility shims > > > What are these shims? It is just the older driver interface. Don't worry it still works just fine. If you are using NETGRAPH in the kernel, you don't need to have sppp in the kernel, it won't be used. John -- John Hay -- John.Hay@icomtek.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 22:42:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.ruhr.de (in-ruhr4.ruhr.de [212.23.134.2]) by hub.freebsd.org (Postfix) with SMTP id E6E0937B719 for ; Thu, 15 Mar 2001 22:42:39 -0800 (PST) (envelope-from ue@nathan.ruhr.de) Received: (qmail 30124 invoked by uid 10); 16 Mar 2001 06:42:38 -0000 Received: (from ue@localhost) by nathan.ruhr.de (8.11.3/8.11.2) id f2G6gdU02541; Fri, 16 Mar 2001 07:42:39 +0100 (CET) (envelope-from ue) Date: Fri, 16 Mar 2001 07:42:39 +0100 From: Udo Erdelhoff To: freebsd-net Cc: Murray Taylor , "'freebsd-hackers@freebsd.org'" Subject: Re: Netgraph error message Message-ID: <20010316074239.R83336@nathan.ruhr.de> Reply-To: freebsd-net Mail-Followup-To: freebsd-net , Murray Taylor , "'freebsd-hackers@freebsd.org'" References: <710709BB8B02D311942E00606744181054429B@MELEXC01> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <710709BB8B02D311942E00606744181054429B@MELEXC01>; from mtaylor@bytecraft.com.au on Fri, Mar 16, 2001 at 11:39:10AM +1100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001 at 11:39:10AM +1100, Murray Taylor wrote: > I get the following messages when I fire up ngctl > > module_register: module netgraph already exists > linker_file_sysinit: "netgraph.ko" failed to register 17 > > I am using 4.3-BETA as at 13/mar > and have options NETGRAPH in my kernel config > > I am using the ngctl command to configure a frame relay system I assume that you are also using the netgraph nodes for frame relay. In that case, the error messages are probably mostly harmless. I've had similar messages when I tried to use mpd-netgraph on a box that had options NETGRAPH/NETGRAPH_ETHER/NETGRAPH_SOCKET/NETGRAPH_PPPOE in the kernel config. As far as I understand it, you have to use an all-or-nothing approach when it comes to netgraph. If you do not include any netgraph modules in your kernel, the system will load your modules and everything is fine. If you include all neccessary modules into the kernel, things will work as well. Things start to go downhill if some of the modules have been included in the kernel and some others have to be loaded. The system gets the information that the module NETGRAPH_FOO depends on NETGRAPH. The system ignores that netgraph.ko is already present in the kernel and will try to load the module. It's no big surprise that the operation fails. I managed to work around the problem by loading the additional modules manually (kldload ng_foo;kldload ng_bar;...). The correct fix is to include all neccessary modules in your kernel. Use a second shell while you are running ngctl and run kldstat. If you see any netgraph modules in the output, add them to your kernel config. NOTE: This was on a 4.1-stable system, things may have changed since then. /s/Udo -- "I don't want to run a company. I'm not good at managing people. You have a problem with the guy in the next cubicle? I don't care. Shoot him or something." -- Marc Andreesen, founder of Netscape, Rolling Stone, May 97 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Mar 15 23:56:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 7385337B718; Thu, 15 Mar 2001 23:56:43 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2G7uRb64573; Fri, 16 Mar 2001 09:56:27 +0200 (EET) (envelope-from ru) Date: Fri, 16 Mar 2001 09:56:27 +0200 From: Ruslan Ermilov To: Nick Rogness Cc: net@FreeBSD.org Subject: Re: natd divert injecting clarifications Message-ID: <20010316095627.C62097@sunbay.com> Mail-Followup-To: Nick Rogness , net@FreeBSD.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from nick@rogness.net on Thu, Mar 15, 2001 at 09:48:24PM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Redirected to -net] On Thu, Mar 15, 2001 at 09:48:24PM -0600, Nick Rogness wrote: > > Just to be sure I have it right. When the kernel diverts the packet to > natd, via ipfw: > > 1) kernel sends packet to natd > 2) natd read() the packet > 3) natd screws with it (changes dest addr,etc) > 4) natd write() the packet > 5) kernel reinjects the packet back into the firewall > > That's what I could get out of divert(4) and some of the natd source. > Bare with me...I'm a novice programmer. > > Is this correct? > Pretty much correct. 1) kernel sends packet to divert socket 2) natd reads from divert socket 3) natd screws with it 4) natd writes the packet to divert socket; the packet is treated as a completely new entity 5) divert socket's output routine reinjects the packet back "into the normal kernel IP packet processing", not into firewall Such questions are best answered on -net Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 7:41:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hand.dotat.at (inch.demon.co.uk [194.222.223.128]) by hub.freebsd.org (Postfix) with ESMTP id 7294B37B718; Fri, 16 Mar 2001 07:41:15 -0800 (PST) (envelope-from fanf@dotat.at) Received: from fanf by hand.dotat.at with local (Exim 3.20 #3) id 14dn4b-0000AF-00; Fri, 16 Mar 2001 05:46:49 +0000 Date: Fri, 16 Mar 2001 05:46:49 +0000 From: Tony Finch To: Peter Pentchev Cc: Duncan Barclay , Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org Subject: Re: httpfs Message-ID: <20010316054649.F385@hand.dotat.at> References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM>; <20010315124244.A442@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010315124244.A442@ringworld.oblivion.bg> Organization: Covalent Technologies, Inc Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev wrote: > >What I did was implement an 'exec' portal method, which executes a program >with given arguments, obtained from the path components and portal.conf >rules, and returns a - basically read-only - descriptor connected to its >stdout and stderr. Kind of simple, pipe(), fork(), dup2(), exec().. Nice. Is there any reason not to add some bidirectional support by connecting the descriptor to stdin as well? Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 7:45:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 17FE237B718 for ; Fri, 16 Mar 2001 07:45:08 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 3455 invoked by uid 1000); 16 Mar 2001 15:44:24 -0000 Date: Fri, 16 Mar 2001 17:44:24 +0200 From: Peter Pentchev To: Tony Finch Cc: Duncan Barclay , Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org Subject: Re: httpfs Message-ID: <20010316174424.A428@ringworld.oblivion.bg> Mail-Followup-To: Tony Finch , Duncan Barclay , Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM>; <20010315124244.A442@ringworld.oblivion.bg> <20010316054649.F385@hand.dotat.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010316054649.F385@hand.dotat.at>; from dot@dotat.at on Fri, Mar 16, 2001 at 05:46:49AM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001 at 05:46:49AM +0000, Tony Finch wrote: > Peter Pentchev wrote: > > > >What I did was implement an 'exec' portal method, which executes a program > >with given arguments, obtained from the path components and portal.conf > >rules, and returns a - basically read-only - descriptor connected to its > >stdout and stderr. Kind of simple, pipe(), fork(), dup2(), exec().. > > Nice. Is there any reason not to add some bidirectional support by > connecting the descriptor to stdin as well? There was at the time - socketpair(2) had totally slipped my mind ;) G'luck, Peter -- This sentence contradicts itself - or rather - well, no, actually it doesn't! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 8:33:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.cs.umn.edu (mail.cs.umn.edu [128.101.34.200]) by hub.freebsd.org (Postfix) with ESMTP id BE2F137B718 for ; Fri, 16 Mar 2001 08:33:52 -0800 (PST) (envelope-from rakshe@cs.umn.edu) Received: from melchizedek.cs.umn.edu (rakshe@melchizedek.cs.umn.edu [128.101.35.51]) by mail.cs.umn.edu (8.9.3/8.9.3) with ESMTP id KAA24168 for ; Fri, 16 Mar 2001 10:33:51 -0600 (CST) Received: from localhost (rakshe@localhost) by melchizedek.cs.umn.edu (8.9.3/8.9.0) with ESMTP id KAA22308 for ; Fri, 16 Mar 2001 10:31:40 -0600 (CST) X-Authentication-Warning: melchizedek.cs.umn.edu: rakshe owned process doing -bs Date: Fri, 16 Mar 2001 10:31:40 -0600 (CST) From: Rohit Rakshe To: Subject: Remote boot, but not diskless operation 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, I am running FreeBSD 4.1 on an Intel-III box. It is not a diskless machine, so root fs is still local, but I need to boot kernel over ethernet. Reason for such a requirement: I am doing some kernel debugging and it is relatively quicker (after a panic) to recompile kernel on a server and reboot the test machine with the kernel on the server. Currently available info doesn't seem to help me a lot. Any suggestions ? Thanks a lot !! - Rohit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 8:40:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id A300137B718 for ; Fri, 16 Mar 2001 08:40:39 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 24957 invoked by uid 666); 16 Mar 2001 16:41:54 -0000 Received: from i078-113.nv.iinet.net.au (HELO elischer.org) (203.59.78.113) by mail.m.iinet.net.au with SMTP; 16 Mar 2001 16:41:54 -0000 Message-ID: <3AB1C2E4.576D2760@elischer.org> Date: Thu, 15 Mar 2001 23:38:12 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Nick Rogness Cc: freebsd-hackers@freebsd.org Subject: Re: natd divert injecting clarifications References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nick Rogness wrote: > > Just to be sure I have it right. When the kernel diverts the packet to > natd, via ipfw: > > 1) kernel sends packet to natd > 2) natd read() the packet > 3) natd screws with it (changes dest addr,etc) > 4) natd write() the packet > 5) kernel reinjects the packet back into the firewall > > That's what I could get out of divert(4) and some of the natd source. > Bare with me...I'm a novice programmer. > > Is this correct? yes there are some extra bits: there is some extra information hidden in the 'address' field that natd gets alongside the data. That includes the rule number that did the divert. If the same information is fed back then the data is reinjected just after the rule that caused the divert. > > Nick Rogness > - Keep on routing in a Free World... > "FreeBSD: The Power to Serve!" > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 8:54:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by hub.freebsd.org (Postfix) with ESMTP id ECED337B71A for ; Fri, 16 Mar 2001 08:54:24 -0800 (PST) (envelope-from watchman@ludd.luth.se) Received: from d1o906.telia.com (d1o906.telia.com [195.252.36.241]) by mailg.telia.com (8.9.3/8.9.3) with ESMTP id RAA12807 for ; Fri, 16 Mar 2001 17:54:23 +0100 (CET) Received: from ludd.luth.se (h15n1fls20o906.telia.com [213.64.92.15]) by d1o906.telia.com (8.8.8/8.8.8) with ESMTP id RAA04101 for ; Fri, 16 Mar 2001 17:54:22 +0100 (CET) Message-ID: <3AB24538.1DC1A6B@ludd.luth.se> Date: Fri, 16 Mar 2001 17:54:16 +0100 From: Joachim =?iso-8859-1?Q?Str=F6mbergson?= Organization: Acne X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en-US MIME-Version: 1.0 Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Machines are getting too damn fast References: <200103060013.f260DHY46910@earth.backplane.com> <15013.2238.953211.516979@grasshopper.cs.duke.edu> <20010306110754.A23400@panzer.kdm.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Aloha! In an earlier mail to the thread I pointed to the STREAM benchmark for memory sub systems. Additionally, I wrote that I knew there were another benchmark that tries to analyze word sizes, access latencies for the different memories in the mem sub system. I know can name that benchmark (or at least one such benchmark): MOB. Check out: http://steamboat.cs.ucsb.edu/mob/ The benchmark is currently not in the ports, but it has been tested (see the mob home page) on FreeBSD. I have downloaded it, compiled it and are measuring my own system while writing this. [1] Additionally, the following page is a pretty comprehensive list of links to tools and documentation relating to performance measurement, analysis and optimization. http://www.cs.virginia.edu/~clc5q/perflinks.html [1] MOB reported the following for my Dual Celeron 533 system: Allocated 64MB of memory for benchmarking Performing benchmark: Cache Size/Levels Data Caches: Found L1: [16384] Found L2: [131072] Found L3: [8388608] Instruction Caches: Found L1: [16384] Found L2: [131072] Performing benchmark: Cache Share Level 1 cache is not shared Level 2 cache is shared Performing benchmark: Cache Line Size Data Caches: Elected line size: 32 Elected line size: 28 Elected line size: 108 Instruction Caches: Elected line size: 100 Performing benchmark: Cache Associativity Data Caches: Detected L1 is 8-way associative. Detected L2 is 4-way associative. Detected L3 is 4-way associative. Instruction Caches: Detected L1 is 4-way associative. Performing benchmark: Cache Replacement Policy Data Caches: Detected L1 is random replacement policy Detected L2 is random replacement policy Detected L3 is random replacement policy Instruction Caches: Detected L1 has LRU replacement policy Performing benchmark: Cache Write Policy Data Caches: Found L1 replacement policy is write-back/allocate Found L2 replacement policy is write-back/allocate Found L3 replacement policy is write-through/no-allocate Performing benchmark: Cache Indexing (Virtual/Physical) Performing benchmark: TLB Page Size Data TLBs: Instruction TLBs: Performing benchmark: TLB Entry Count Data TLBs: Num entries: 10 Instruction TLBs: Number of entries not detected Performing benchmark: TLB Associativity Data TLBs: Found associativity 32 Instruction TLBs: Found associativity 32 # MOB Config file # Date Fri Mar 16 17:50:35 2001 # Host: fetis.ninja.se # Run params: trials=3 runTime=1000000 verbosity=2 [CACHE] level = 1 type = Data size = 16384 lineSize = 32 associativity = 8 replacement = random writeMode = writeBack-alloc latency = [CACHE] level = 2 type = Shared size = 131072 lineSize = 28 associativity = 4 replacement = random writeMode = writeBack-alloc latency = 1.0869 [CACHE] level = 3 type = Data size = 8388608 lineSize = 108 associativity = 4 replacement = random writeMode = writeThrough-noalloc latency = 235.7955 [CACHE] level = 1 type = Instruction size = 16384 lineSize = 100 associativity = 4 replacement = lru writeMode = latency = 1.0397 [TLB] type = Data pageSize = 524288 numEntries = 10 associativity = 32 latency = [TLB] type = Instruction pageSize = 1024 numEntries = associativity = 32 latency = -- Cheers! Joachim - Alltid i harmonisk svängning --- FairLight ------ FairLight ------ FairLight ------ FairLight --- Joachim Strömbergson ASIC SoC designer, nice to CUTE animals Phone: +46(0)31 - 27 98 47 Web: http://www.ludd.luth.se/~watchman --------------- Spamfodder: regeringen@regeringen.se --------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 9:11:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id C859137B71C for ; Fri, 16 Mar 2001 09:11:29 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 5334 invoked by uid 1000); 16 Mar 2001 17:10:46 -0000 Date: Fri, 16 Mar 2001 19:10:46 +0200 From: Peter Pentchev To: David Xu Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: status of KSE? Message-ID: <20010316191046.B428@ringworld.oblivion.bg> Mail-Followup-To: David Xu , freebsd-hackers@freebsd.org, freebsd-current@freebsd.org References: <424452460.20010315150427@21cn.com> <3AB19407.222CAC7C@elischer.org> <3715226734.20010316125924@21cn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3715226734.20010316125924@21cn.com>; from bsddiy@21cn.com on Fri, Mar 16, 2001 at 12:59:24PM +0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001 at 12:59:24PM +0800, David Xu wrote: > Hello Julian, > > Friday, March 16, 2001, 12:18:15 PM, you wrote: > > JE> David Xu wrote: > >> > >> I wonder status of KSE, I am dreaming rewrite our application > >> server using kqueue+pthread(KSE), current, we use poll()+pthread > >> because pthread does not work with kqueue at present. > >> > >> -- > >> Best regards, > >> David Xu > > JE> KSE is not into coding yet. > JE> we have a basic design and have soem documents but > JE> have been waiting for the SMPng stuff to settle a bit before we > JE> hit the kernel with a second huge change. > > JE> It will not be ready for a long time. do not assume that it > JE> will be ready for when you need it becasue it will not. > > I know KSE is not related to SMP and will run on UP. my primary > idea is want to run parellel I/O task in same process with pthread, > simply because FreeBSD pthread does not allow me to do multipile > I/O tasks at same time on disk file, of course, it is also conflicted > with SYSV IPC, so I think of KSE. I don't care about SMP, CPU is > enough fast now, I have already seen 1.3G hz CPU, how fast! I think > Intel and AMD can very easy to double their CPU clock, hope I can see > 3Ghz CPU in next year. I really do think KSE should work before SMP, > but it is obvious not. think about Apache 2.0, it is already > multi-threaded, FreeBSD pthread will be blocked at disk I/O, it is very > bad for Apache 2.0 . I believe Julian's SMP-related comments were referring to the fact that SMP development has rendered the -current kernel somewhat unstable at times (to say the least). KSE-related work would introduce yet another probable path for instabilities, and the developers prefer dealing with one huge monster at a time. There is also the fact that KSE work shall most probably touch many places in the kernel that SMP development also touches - yet another reason to postpone KSE until SMP is kind-of done. G'luck, Peter -- You have, of course, just begun reading the sentence that you have just finished reading. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 9:31:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 80BBB37B718 for ; Fri, 16 Mar 2001 09:31:08 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 26908 invoked by uid 666); 16 Mar 2001 17:32:22 -0000 Received: from i078-113.nv.iinet.net.au (HELO elischer.org) (203.59.78.113) by mail.m.iinet.net.au with SMTP; 16 Mar 2001 17:32:22 -0000 Message-ID: <3AB24DAF.7A26F40@elischer.org> Date: Fri, 16 Mar 2001 09:30:23 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Peter Pentchev Cc: David Xu , freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: status of KSE? References: <424452460.20010315150427@21cn.com> <3AB19407.222CAC7C@elischer.org> <3715226734.20010316125924@21cn.com> <20010316191046.B428@ringworld.oblivion.bg> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev wrote: > > On Fri, Mar 16, 2001 at 12:59:24PM +0800, David Xu wrote: > > Hello Julian, > > > > Friday, March 16, 2001, 12:18:15 PM, you wrote: > > > > JE> David Xu wrote: > > >> > > >> I wonder status of KSE, I am dreaming rewrite our application > > >> server using kqueue+pthread(KSE), current, we use poll()+pthread > > >> because pthread does not work with kqueue at present. > > >> > > >> -- > > >> Best regards, > > >> David Xu > > > > JE> KSE is not into coding yet. > > JE> we have a basic design and have soem documents but > > JE> have been waiting for the SMPng stuff to settle a bit before we > > JE> hit the kernel with a second huge change. > > > > JE> It will not be ready for a long time. do not assume that it > > JE> will be ready for when you need it becasue it will not. > > > > I know KSE is not related to SMP and will run on UP. my primary > > idea is want to run parellel I/O task in same process with pthread, > > simply because FreeBSD pthread does not allow me to do multipile > > I/O tasks at same time on disk file, of course, it is also conflicted > > with SYSV IPC, so I think of KSE. I don't care about SMP, CPU is > > enough fast now, I have already seen 1.3G hz CPU, how fast! I think > > Intel and AMD can very easy to double their CPU clock, hope I can see > > 3Ghz CPU in next year. I really do think KSE should work before SMP, > > but it is obvious not. think about Apache 2.0, it is already > > multi-threaded, FreeBSD pthread will be blocked at disk I/O, it is very > > bad for Apache 2.0 . > > I believe Julian's SMP-related comments were referring to the fact that > SMP development has rendered the -current kernel somewhat unstable at > times (to say the least). KSE-related work would introduce yet another > probable path for instabilities, and the developers prefer dealing with > one huge monster at a time. There is also the fact that KSE work shall > most probably touch many places in the kernel that SMP development also > touches - yet another reason to postpone KSE until SMP is kind-of do That is it. Having said that, Jason and I have patches that start on the first steps towards KSE. That is, the breaking up of the present monolithic 'process' structure. given current slight increases in stablility in -current/SMP I am currently thiunking about whether these changes can start to be added soon. I will also be looking at updating and expanding the KSE documant that Jason put out. > > G'luck, > Peter > > -- > You have, of course, just begun reading the sentence that you have just finished reading. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 10:13:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cx420564-b.tucson1.az.home.com (cx420564-b.tucson1.az.home.com [24.21.112.225]) by hub.freebsd.org (Postfix) with ESMTP id 98C1637B718 for ; Fri, 16 Mar 2001 10:13:09 -0800 (PST) (envelope-from fracture@cx420564-b.tucson1.az.home.com) Received: (from fracture@localhost) by cx420564-b.tucson1.az.home.com (8.11.1/8.11.1) id f2GB4rt20128 for freebsd-hackers@freebsd.org; Fri, 16 Mar 2001 11:04:53 GMT (envelope-from fracture) Date: Fri, 16 Mar 2001 11:04:43 +0000 From: Jordan DeLong To: freebsd-hackers@freebsd.org Subject: /bin/ps thing Message-ID: <20010316110443.A20103@cx420564-b.tucson1.az.home.com> Mail-Followup-To: Jordan DeLong , freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline First let me state that I really don't know the proper place to be putting this. If this is the wrong list, I appologize, please let me know the prefered method for submitting minor patches. It seemed that send-pr was just for reporting issues, not for fixing them also, if this should've gone through send-pr....well...oops :P this is just a fix for this: a common way to look for pids ps aux | grep myps but even though stdout isn't a tty ps tries to use 79 col, and I don't like typeing ps wwaux | grep myps. so this patch just checks if stdout is a tty, if not it defaults to UNLIMITED. -Jordan --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ps.diff" diff -crN /usr/src/bin/ps/ps.c ps/ps.c *** /usr/src/bin/ps/ps.c Sat Jul 8 05:14:43 2000 --- ps/ps.c Fri Mar 16 10:56:18 2001 *************** *** 127,139 **** (void) setlocale(LC_ALL, ""); ! if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) == -1 && ! ioctl(STDERR_FILENO, TIOCGWINSZ, (char *)&ws) == -1 && ! ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&ws) == -1) || ! ws.ws_col == 0) ! termwidth = 79; ! else ! termwidth = ws.ws_col - 1; if (argc > 1) argv[1] = kludge_oldps_options(argv[1]); --- 127,143 ---- (void) setlocale(LC_ALL, ""); ! if (isatty(STDOUT_FILENO)) { ! if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) == -1 && ! ioctl(STDERR_FILENO, TIOCGWINSZ, (char *)&ws) == -1 && ! ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&ws) == -1) || ! ws.ws_col == 0) ! termwidth = 79; ! else ! termwidth = ws.ws_col - 1; ! } else { ! termwidth = UNLIMITED; ! } if (argc > 1) argv[1] = kludge_oldps_options(argv[1]); --qDbXVdCdHGoSgWSk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 10:22:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 3918137B718 for ; Fri, 16 Mar 2001 10:22:55 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.1) id f2GIMnI22694; Fri, 16 Mar 2001 12:22:49 -0600 (CST) (envelope-from dan) Date: Fri, 16 Mar 2001 12:22:48 -0600 From: Dan Nelson To: Joachim =?iso-8859-1?Q?Str=F6mbergson?= Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Machines are getting too damn fast Message-ID: <20010316122248.A21483@dan.emsphone.com> References: <200103060013.f260DHY46910@earth.backplane.com> <15013.2238.953211.516979@grasshopper.cs.duke.edu> <20010306110754.A23400@panzer.kdm.org> <3AB24538.1DC1A6B@ludd.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.14i In-Reply-To: <3AB24538.1DC1A6B@ludd.luth.se>; from "Joachim Strmbergson" on Fri Mar 16 17:54:16 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Mar 16), Joachim Strmbergson said: > In an earlier mail to the thread I pointed to the STREAM benchmark > for memory sub systems. Additionally, I wrote that I knew there were > another benchmark that tries to analyze word sizes, access latencies > for the different memories in the mem sub system. I know can name > that benchmark (or at least one such benchmark): MOB. Check out: > > http://steamboat.cs.ucsb.edu/mob/ > > The benchmark is currently not in the ports, but it has been tested > (see the mob home page) on FreeBSD. I have downloaded it, compiled it > and are measuring my own system while writing this. [1] It's sort of misfiled: $ cat /usr/ports/devel/mob/pkg-descr This is a port of mob, that tries to figure out memory system characteristics at run-time. $ -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 10:58:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (s014.dhcp212-24.cybercable.fr [212.198.24.14]) by hub.freebsd.org (Postfix) with ESMTP id 4FC3837B71E for ; Fri, 16 Mar 2001 10:58:24 -0800 (PST) (envelope-from thierry@herbelot.com) Received: from herbelot.com (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id TAA55452; Fri, 16 Mar 2001 19:57:49 +0100 (CET) (envelope-from thierry@herbelot.com) Message-ID: <3AB2622D.E6E3DE2C@herbelot.com> Date: Fri, 16 Mar 2001 19:57:49 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Rohit Rakshe Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Remote boot, but not diskless operation References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, One way to boot the kernel over the network is to use PXE (if your machine is recent enough to support it *well* : that is with a recent version of the PXE firmware) there is no real document on PXE booting you can read a note by Alfred Perlstein on , the manpage for pxeboot, the code in rc.diskless{1,2}, the configuration of the boot server with dhcp and tftp/nfs (you may have to tweak /etc/fstab in order to mount a root partition which was not used to load /kernel ?) there is also somme documentation on Intel's web site I'm trying to use PXE, but it's not completly reliable (sometimes pxeboot just crashes) TfH Rohit Rakshe wrote: > > Hello, > > I am running FreeBSD 4.1 on an Intel-III box. It is not a diskless > machine, so root fs is still local, but I need to boot kernel over > ethernet. > > Reason for such a requirement: I am doing some kernel debugging and it is > relatively quicker (after a panic) to recompile kernel on a server and > reboot the test machine with the kernel on the server. > > Currently available info doesn't seem to help me a lot. Any suggestions ? > Thanks a lot !! > > - Rohit > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 11:35:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id E4D3B37B71A for ; Fri, 16 Mar 2001 11:35:43 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2GJZTU95801; Fri, 16 Mar 2001 11:35:29 -0800 (PST) (envelope-from obrien) Date: Fri, 16 Mar 2001 11:35:29 -0800 From: "David O'Brien" To: Jordan DeLong Cc: freebsd-hackers@freebsd.org Subject: Re: /bin/ps thing Message-ID: <20010316113529.A95746@dragon.nuxi.com> Reply-To: freebsd-hackers@freebsd.org References: <20010316110443.A20103@cx420564-b.tucson1.az.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010316110443.A20103@cx420564-b.tucson1.az.home.com>; from fracture@allusion.net on Fri, Mar 16, 2001 at 11:04:43AM +0000 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001 at 11:04:43AM +0000, Jordan DeLong wrote: > It seemed that send-pr was just for reporting issues, not for fixing > them also Nope. At the bottom of the send-pr form, is a "How to fix" section. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 11:44:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cx420564-b.tucson1.az.home.com (cx420564-b.tucson1.az.home.com [24.21.112.225]) by hub.freebsd.org (Postfix) with ESMTP id 8516937B719 for ; Fri, 16 Mar 2001 11:44:17 -0800 (PST) (envelope-from fracture@cx420564-b.tucson1.az.home.com) Received: (from fracture@localhost) by cx420564-b.tucson1.az.home.com (8.11.1/8.11.1) id f2GCa2u22240 for freebsd-hackers@freebsd.org; Fri, 16 Mar 2001 12:36:02 GMT (envelope-from fracture) Date: Fri, 16 Mar 2001 12:36:02 +0000 From: Jordan DeLong To: freebsd-hackers@freebsd.org Subject: Re: /bin/ps thing Message-ID: <20010316123602.A22213@cx420564-b.tucson1.az.home.com> Mail-Followup-To: Jordan DeLong , freebsd-hackers@freebsd.org References: <20010316110443.A20103@cx420564-b.tucson1.az.home.com> <20010316113529.A95746@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010316113529.A95746@dragon.nuxi.com>; from TrimYourCc@NUXI.com on Fri, Mar 16, 2001 at 11:35:29AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001 at 11:35:29AM -0800, David O'Brien wrote: > On Fri, Mar 16, 2001 at 11:04:43AM +0000, Jordan DeLong wrote: > > It seemed that send-pr was just for reporting issues, not for fixing > > them also > > Nope. At the bottom of the send-pr form, is a "How to fix" section. > > -- > -- David (obrien@FreeBSD.org) > GNU is Not Unix / Linux Is Not UniX ahh, I see. I'll put it in with send-pr then, heheh. -Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 13:34:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 844A037B718; Fri, 16 Mar 2001 13:34:32 -0800 (PST) Subject: Re: device driver dev. book In-Reply-To: <3AB135AB.D37E2F3B@arc.nasa.gov> from Jerry Toung at "Mar 15, 2001 01:35:41 pm" To: jtoung@arc.nasa.gov Date: Fri, 16 Mar 2001 13:34:32 -0800 (PST) Cc: freebsd-hackers@freebsd.org, alex@big.endian.de X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20010316213432.844A037B718@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Some body just told me that williams Paul from Columbia University (Bill > Paul @ Freebsd.org) has written that > kind of book. But I can't get his exact email address at FreeBSD.org to > ask him the reference. GRRRRRRRRR. Look, I have not now nor have I *ever* written a book of any kind. Whoever told you I had was wrong! Dead wrong, okay? Let me repeat: there is no book. Alright? Satisfied? Understand now? Good. Let us never speak of this again. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 14:19:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [207.154.226.10]) by hub.freebsd.org (Postfix) with ESMTP id 0928437B718 for ; Fri, 16 Mar 2001 14:19:29 -0800 (PST) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 8B0CD81D01; Fri, 16 Mar 2001 16:19:18 -0600 (CST) Date: Fri, 16 Mar 2001 14:19:18 -0800 From: Paul Saab To: Thierry Herbelot Cc: Rohit Rakshe , freebsd-hackers@FreeBSD.ORG Subject: Re: Remote boot, but not diskless operation Message-ID: <20010316141918.A46855@elvis.mu.org> References: <3AB2622D.E6E3DE2C@herbelot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB2622D.E6E3DE2C@herbelot.com>; from thierry@herbelot.com on Fri, Mar 16, 2001 at 07:57:49PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thierry Herbelot (thierry@herbelot.com) wrote: > Hi, > > One way to boot the kernel over the network is to use PXE (if your > machine is recent enough to support it *well* : that is with a recent > version of the PXE firmware) > > there is no real document on PXE booting > you can read a note by Alfred Perlstein on > , the manpage for pxeboot, > the code in rc.diskless{1,2}, the configuration of the boot server with > dhcp and tftp/nfs (you may have to tweak /etc/fstab in order to mount a > root partition which was not used to load /kernel ?) > > there is also somme documentation on Intel's web site > > I'm trying to use PXE, but it's not completly reliable (sometimes > pxeboot just crashes) Upgrade the PXE rom http://people.freebsd.org/~ps/pxeroms/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 14:32:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (s014.dhcp212-24.cybercable.fr [212.198.24.14]) by hub.freebsd.org (Postfix) with ESMTP id ADA6637B71A for ; Fri, 16 Mar 2001 14:32:13 -0800 (PST) (envelope-from thierry@herbelot.com) Received: from herbelot.com (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id XAA55633; Fri, 16 Mar 2001 23:31:37 +0100 (CET) (envelope-from thierry@herbelot.com) Message-ID: <3AB29449.2AB0A3B2@herbelot.com> Date: Fri, 16 Mar 2001 23:31:37 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Paul Saab Cc: Rohit Rakshe , freebsd-hackers@FreeBSD.ORG Subject: Re: Remote boot, but not diskless operation References: <3AB2622D.E6E3DE2C@herbelot.com> <20010316141918.A46855@elvis.mu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul Saab wrote: > Hi, My problem is that the NIC I'm trying to boot from is an on-board fxp on a Motorola p-III M/B (I assume there is no specific "PXE rom", as PXE may be included in the BIOS) will your "intel board" upgrade .exe work in this setup ? TfH > Upgrade the PXE rom > http://people.freebsd.org/~ps/pxeroms/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 15: 0:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [207.154.226.10]) by hub.freebsd.org (Postfix) with ESMTP id 193AF37B718 for ; Fri, 16 Mar 2001 15:00:10 -0800 (PST) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id B1A6281D01; Fri, 16 Mar 2001 17:00:09 -0600 (CST) Date: Fri, 16 Mar 2001 15:00:09 -0800 From: Paul Saab To: Thierry Herbelot Cc: Rohit Rakshe , freebsd-hackers@FreeBSD.ORG Subject: Re: Remote boot, but not diskless operation Message-ID: <20010316150009.A48045@elvis.mu.org> References: <3AB2622D.E6E3DE2C@herbelot.com> <20010316141918.A46855@elvis.mu.org> <3AB29449.2AB0A3B2@herbelot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB29449.2AB0A3B2@herbelot.com>; from thierry@herbelot.com on Fri, Mar 16, 2001 at 11:31:37PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thierry Herbelot (thierry@herbelot.com) wrote: > Paul Saab wrote: > > > > Hi, > > My problem is that the NIC I'm trying to boot from is an on-board fxp on > a Motorola p-III M/B (I assume there is no specific "PXE rom", as PXE > may be included in the BIOS) > > will your "intel board" upgrade .exe work in this setup ? You need to get an updated bios which contains a newer PXE rom. Motorola should contact Intel for the updated ROM. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 15:25:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 1EEE037B71A for ; Fri, 16 Mar 2001 15:25:20 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f2GNP9r00104 for freebsd-hackers@FreeBSD.ORG.AVP; Sat, 17 Mar 2001 00:25:09 +0100 (CET) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f2GNP8E99988; Sat, 17 Mar 2001 00:25:08 +0100 (CET) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.3/8.11.0) with ESMTP id f2GNOvl66310; Sat, 17 Mar 2001 00:25:01 +0100 (CET) (envelope-from leifn@neland.dk) Date: Sat, 17 Mar 2001 00:24:57 +0100 (CET) From: Leif Neland To: Bill Paul Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: device driver dev. book In-Reply-To: <20010316213432.844A037B718@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 Fri, 16 Mar 2001, Bill Paul wrote: > > Some body just told me that williams Paul from Columbia University (Bill > > Paul @ Freebsd.org) has written that > > kind of book. But I can't get his exact email address at FreeBSD.org to > > ask him the reference. > > GRRRRRRRRR. > > Look, I have not now nor have I *ever* written a book of any kind. Whoever > told you I had was wrong! Dead wrong, okay? Let me repeat: there is no > book. Alright? Satisfied? Understand now? Good. Let us never speak of this > again. > Just to get the facts clear: Do you ever intend to write a book? Leif It appears you have been asked this before ... :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 20:24: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id AE10937B719 for ; Fri, 16 Mar 2001 20:23:56 -0800 (PST) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [192.168.2.4]) by bazooka.unixfreak.org (Postfix) with ESMTP id C1B283E23 for ; Fri, 16 Mar 2001 20:23:51 -0800 (PST) To: hackers@freebsd.org Subject: sysctl_kern_proc doesn't handle the case when no procs match given criteria Date: Fri, 16 Mar 2001 20:23:51 -0800 From: Dima Dorfman Message-Id: <20010317042351.C1B283E23@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello -hackers The sysctl_kern_proc routine in kern_proc.c doesn't handle the case when no processes match the given criteria. I.e., if no processes match, it will return 0 even though it never called SYSCTL_OUT; thus, the output data is junk. This can be demonstrated by giving ps(1) arguments such that no processes match. In this example, the user `nobody' isn't running anything: dd@ref5% ps U nobody ps: kinfo_proc size mismatch (expected 648, got -791621424) Obviously, this isn't the desired mode of failure. Attached is a patch that will make sysctl_kern_proc return ESRCH if it didn't find any processes. AFAIK, without the patch, the only way to detect this condition (no processes match search criteria) is to check that a call into this routine via sysctl didn't modify whatever is pointed at by the oldp pointer (see sysctl(3)). Comments? Suggestions? Thanks Dima Dorfman dima@unixfreak.org P.S. libkvm and/or ps(1) should probably be taught to check for this condition and react more gently (on -stable, ps just prints the column labels when this happens). I'll probably do this later. Index: kern_proc.c =================================================================== RCS file: /st/src/FreeBSD/src/sys/kern/kern_proc.c,v retrieving revision 1.89 diff -u -r1.89 kern_proc.c --- kern_proc.c 2001/03/07 06:52:12 1.89 +++ kern_proc.c 2001/03/17 04:20:49 @@ -555,6 +555,7 @@ struct proc *p; int doingzomb; int error = 0; + int match = 0; if (oidp->oid_number == KERN_PROC_PID) { if (namelen != 1) @@ -640,9 +641,12 @@ ALLPROC_LOCK(AP_RELEASE); return (error); } + match = 1; } } ALLPROC_LOCK(AP_RELEASE); + if (!match) + return (ESRCH); return (0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Mar 16 23:21:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.prod.itd.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id AFDD537B718 for ; Fri, 16 Mar 2001 23:21:28 -0800 (PST) (envelope-from fmela0@sm.socccd.cc.ca.us) Received: from sm.socccd.cc.ca.us (pool0506.cvx4-bradley.dialup.earthlink.net [209.178.147.251]) by scaup.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA29595 for ; Fri, 16 Mar 2001 23:21:27 -0800 (PST) Message-ID: <3AB310DF.A43A8BC@sm.socccd.cc.ca.us> Date: Fri, 16 Mar 2001 23:23:11 -0800 From: Farooq Mela Reply-To: fmela0@sm.socccd.cc.ca.us X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD-Hackers@FreeBSD.ORG Subject: GCC Upgrade? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy, GCC 2.95.3 was just released. I did notice that there are some bug fixes in the optimizer, and some various other fixes etc. Considering the recent discussion about incorrect code generation due to -O2 and above, are there any plans to import this new release into the FreeBSD source tree? What is the "plan" for the future, is the compiler going to be upgraded when GCC gets to 3.0 (depending of course on its stability)? Or are we just going to "play it by ear"? -- farooq "Life's not fair, but the root password helps." -BOFH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 0:26:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (s014.dhcp212-24.cybercable.fr [212.198.24.14]) by hub.freebsd.org (Postfix) with ESMTP id 15B9837B719 for ; Sat, 17 Mar 2001 00:26:36 -0800 (PST) (envelope-from thierry@herbelot.com) Received: from herbelot.com (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id JAA58329; Sat, 17 Mar 2001 09:26:32 +0100 (CET) (envelope-from thierry@herbelot.com) Message-ID: <3AB31FB7.FF6AD0F7@herbelot.com> Date: Sat, 17 Mar 2001 09:26:31 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Paul Saab Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Remote boot, but not diskless operation References: <3AB2622D.E6E3DE2C@herbelot.com> <20010316141918.A46855@elvis.mu.org> <3AB29449.2AB0A3B2@herbelot.com> <20010316150009.A48045@elvis.mu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul Saab wrote: > > Thierry Herbelot (thierry@herbelot.com) wrote: > > Paul Saab wrote: > > > > > > > Hi, > > > > My problem is that the NIC I'm trying to boot from is an on-board fxp on > > a Motorola p-III M/B (I assume there is no specific "PXE rom", as PXE > > may be included in the BIOS) > > > > will your "intel board" upgrade .exe work in this setup ? > > You need to get an updated bios which contains a newer PXE rom. > Motorola should contact Intel for the updated ROM. they've done this, but their newest BIOS (8 days old) still has a 0.78 PXE revision (I've seen more recent DELL machines with a 0.99 - I assume this is better) -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 0:30:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [207.154.226.10]) by hub.freebsd.org (Postfix) with ESMTP id BA93A37B719 for ; Sat, 17 Mar 2001 00:30:09 -0800 (PST) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 60BF481D01; Sat, 17 Mar 2001 02:29:59 -0600 (CST) Date: Sat, 17 Mar 2001 00:29:59 -0800 From: Paul Saab To: Thierry Herbelot Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Remote boot, but not diskless operation Message-ID: <20010317002959.A57769@elvis.mu.org> References: <3AB2622D.E6E3DE2C@herbelot.com> <20010316141918.A46855@elvis.mu.org> <3AB29449.2AB0A3B2@herbelot.com> <20010316150009.A48045@elvis.mu.org> <3AB31FB7.FF6AD0F7@herbelot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB31FB7.FF6AD0F7@herbelot.com>; from thierry@herbelot.com on Sat, Mar 17, 2001 at 09:26:31AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thierry Herbelot (thierry@herbelot.com) wrote: > they've done this, but their newest BIOS (8 days old) still has a 0.78 > PXE revision (I've seen more recent DELL machines with a 0.99 - I assume > this is better) No.. 0.99 is the orginal PXE v1. PXE v2 (build 78) is what you have and is highly buggy. You must request an update of the PXE rom from your motherboard manufacturer. -- Paul Saab Technical Yahoo paul@mu.org - ps@yahoo-inc.com - ps@freebsd.org Do You .. uhh .. Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 0:46:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (s014.dhcp212-24.cybercable.fr [212.198.24.14]) by hub.freebsd.org (Postfix) with ESMTP id DDA4437B719 for ; Sat, 17 Mar 2001 00:46:40 -0800 (PST) (envelope-from thierry@herbelot.com) Received: from herbelot.com (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id JAA58346; Sat, 17 Mar 2001 09:46:38 +0100 (CET) (envelope-from thierry@herbelot.com) Message-ID: <3AB3246D.2EF1D1F0@herbelot.com> Date: Sat, 17 Mar 2001 09:46:37 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Paul Saab Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Remote boot, but not diskless operation References: <3AB2622D.E6E3DE2C@herbelot.com> <20010316141918.A46855@elvis.mu.org> <3AB29449.2AB0A3B2@herbelot.com> <20010316150009.A48045@elvis.mu.org> <3AB31FB7.FF6AD0F7@herbelot.com> <20010317002959.A57769@elvis.mu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul Saab wrote: > > Thierry Herbelot (thierry@herbelot.com) wrote: > > they've done this, but their newest BIOS (8 days old) still has a 0.78 > > PXE revision (I've seen more recent DELL machines with a 0.99 - I assume > > this is better) > > No.. 0.99 is the orginal PXE v1. PXE v2 (build 78) is what you have > and is highly buggy. You must request an update of the PXE rom from > your motherboard manufacturer. I'm not at work, so all is from memory (bad). I'll check once again on monday Thanks for the info -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 2: 6:55 2001 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 6F29B37B718 for ; Sat, 17 Mar 2001 02:06:52 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 17 Mar 2001 10:06:51 +0000 (GMT) Date: Sat, 17 Mar 2001 10:06:51 +0000 From: David Malone To: Dima Dorfman Cc: hackers@freebsd.org Subject: Re: sysctl_kern_proc doesn't handle the case when no procs match given criteria Message-ID: <20010317100651.A24995@walton.maths.tcd.ie> References: <20010317042351.C1B283E23@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010317042351.C1B283E23@bazooka.unixfreak.org>; from dima@unixfreak.org on Fri, Mar 16, 2001 at 08:23:51PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001 at 08:23:51PM -0800, Dima Dorfman wrote: > Obviously, this isn't the desired mode of failure. Attached is a > patch that will make sysctl_kern_proc return ESRCH if it didn't find > any processes. AFAIK, without the patch, the only way to detect this > condition (no processes match search criteria) is to check that a call > into this routine via sysctl didn't modify whatever is pointed at by > the oldp pointer (see sysctl(3)). I went for a much simpler patch that just skipped the struct size check if the amount of data returned was zero. This is what the old code did (effectively) before the the struct size check changed. (Patch just posted to -current). David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 6:24:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by hub.freebsd.org (Postfix) with ESMTP id 64FD337B718 for ; Sat, 17 Mar 2001 06:24:42 -0800 (PST) (envelope-from titus@pleach.de) Received: from fwd02.sul.t-online.com by mailout02.sul.t-online.com with smtp id 14eHcr-00083r-03; Sat, 17 Mar 2001 15:24:13 +0100 Received: from mail.net (340050866639-0001@[62.155.189.248]) by fmrl02.sul.t-online.com with esmtp id 14eHcg-1fNq1wC; Sat, 17 Mar 2001 15:24:02 +0100 Received: from schweinkram.pleach-hamburg.de (localhost [127.0.0.1]) by mail.net (8.11.1/8.9.2) with ESMTP id f2HELVx28655; Sat, 17 Mar 2001 15:21:31 +0100 (CET) (envelope-from titus@pleach-hamburg.de) Received: from pleach-hamburg.de (dialin01.pleachconn.de [192.168.2.10]) by schweinkram.pleach-hamburg.de (8.11.1/8.11.1) with ESMTP id f2HECjv28585; Sat, 17 Mar 2001 15:12:46 +0100 (CET) (envelope-from titus@pleach-hamburg.de) Message-ID: <3AB32686.F4CD3BEA@pleach-hamburg.de> Date: Sat, 17 Mar 2001 09:55:34 +0100 From: Titus von Boxberg X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: de-DE,en MIME-Version: 1.0 To: osa@freebsd.org.ru, fjoe@newst.net Cc: hackers@freebsd.org Subject: c++ exceptions with pthreads Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender: 340050866639-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I just read your reply in the hackers mailing list regarding c++ exceptions. Does that mean that now (or from release 4.3 on) the base system g++ is bugfixed regarding SIGSEGVs with c++ exceptions? What causes the bug in exception handling? Why does the packaged g++ work? Thanks in advance regards titus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 6:39:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id 93A5437B71A; Sat, 17 Mar 2001 06:39:21 -0800 (PST) (envelope-from alex@cichlids.cichlids.com) Received: from fwd01.sul.t-online.com by mailout03.sul.t-online.com with smtp id 14eHrT-0001ZK-02; Sat, 17 Mar 2001 15:39:19 +0100 Received: from neutron.cichlids.com (520050424122-0001@[62.225.195.199]) by fmrl01.sul.t-online.com with esmtp id 14eHrL-0AWG0WC; Sat, 17 Mar 2001 15:39:11 +0100 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (Postfix) with ESMTP id A853EAB44; Sat, 17 Mar 2001 15:40:33 +0100 (CET) Received: by cichlids.cichlids.com (Postfix, from userid 1001) id 967CE14A3B; Sat, 17 Mar 2001 15:39:34 +0100 (CET) Date: Sat, 17 Mar 2001 15:39:34 +0100 To: Leif Neland Cc: Bill Paul , freebsd-hackers@FreeBSD.ORG Subject: Re: device driver dev. book Message-ID: <20010317153934.A2243@cichlids.cichlids.com> References: <20010316213432.844A037B718@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from leifn@neland.dk on Sat, Mar 17, 2001 at 12:24:57AM +0100 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. From: alex@cichlids.cichlids.com (Alexander Langer) X-Sender: 520050424122-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Leif Neland (leifn@neland.dk): > Just to get the facts clear: Do you ever intend to write a book? A "Developers Handbook", which will also cover device driver and kernel module programming is in work under the leadership of Jeroen Ruigrok van der Werven . Once it has more content I can imagine a print version of this. Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 7:20:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id AAF8937B718; Sat, 17 Mar 2001 07:20:43 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [127.0.0.1] (helo=softweyr.com ident=408c05577d7c0e6abb0678f39949df06) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14eI7C-0007DC-00; Sat, 17 Mar 2001 07:55:34 -0700 Message-ID: <3AB37AE6.4224BCD7@softweyr.com> Date: Sat, 17 Mar 2001 07:55:34 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Bill Paul Cc: jtoung@arc.nasa.gov, freebsd-hackers@freebsd.org, alex@big.endian.de Subject: Re: device driver dev. book References: <20010316213432.844A037B718@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 Bill Paul wrote: > > > Some body just told me that williams Paul from Columbia University (Bill > > Paul @ Freebsd.org) has written that > > kind of book. But I can't get his exact email address at FreeBSD.org to > > ask him the reference. > > GRRRRRRRRR. > > Look, I have not now nor have I *ever* written a book of any kind. Whoever > told you I had was wrong! Dead wrong, okay? Let me repeat: there is no > book. Alright? Satisfied? Understand now? Good. Let us never speak of this > again. I think he must've confused you with William Paul *Haiber*, co-author of "A Short, but Foamy, History of Beer : The Drink That Invented Itself". I can't imagine how that would happen. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 7:53:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 8110837B71A; Sat, 17 Mar 2001 07:53:41 -0800 (PST) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id QAA73535; Sat, 17 Mar 2001 16:53:35 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Peter Pentchev Cc: Tony Finch , Duncan Barclay , Kris Kennaway , hackers@FreeBSD.ORG, fs@FreeBSD.ORG Subject: Re: httpfs References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <20010315124244.A442@ringworld.oblivion.bg> <20010316054649.F385@hand.dotat.at> <20010316174424.A428@ringworld.oblivion.bg> From: Dag-Erling Smorgrav Date: 17 Mar 2001 16:53:34 +0100 In-Reply-To: Peter Pentchev's message of "Fri, 16 Mar 2001 17:44:24 +0200" Message-ID: Lines: 8 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev writes: > There was at the time - socketpair(2) had totally slipped my mind ;) Umm, you want pipe(2), not socketpair(2). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 8: 1:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 394E537B71A for ; Sat, 17 Mar 2001 08:01:43 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 911 invoked by uid 1000); 17 Mar 2001 16:00:55 -0000 Date: Sat, 17 Mar 2001 18:00:55 +0200 From: Peter Pentchev To: Dag-Erling Smorgrav Cc: Tony Finch , Duncan Barclay , Kris Kennaway , hackers@FreeBSD.ORG, fs@FreeBSD.ORG Subject: Re: httpfs Message-ID: <20010317180055.A486@ringworld.oblivion.bg> Mail-Followup-To: Dag-Erling Smorgrav , Tony Finch , Duncan Barclay , Kris Kennaway , hackers@FreeBSD.ORG, fs@FreeBSD.ORG References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <20010315124244.A442@ringworld.oblivion.bg> <20010316054649.F385@hand.dotat.at> <20010316174424.A428@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Sat, Mar 17, 2001 at 04:53:34PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 17, 2001 at 04:53:34PM +0100, Dag-Erling Smorgrav wrote: > Peter Pentchev writes: > > There was at the time - socketpair(2) had totally slipped my mind ;) > > Umm, you want pipe(2), not socketpair(2). Actually, I want socketpair(2). pipe(2) was what I used before, and that's the reason I had a read-only file descriptor - the portalfs architecture allows for only one fd to be returned, and pipe(2) provides a one-way pipe. I dup2'd stdout and stderr of the executed program to the child fd, and the parent could read its output, yet not write to its stdin. With socketpair(2), I can dup stdin, too, and have mount_portal return a two-way pipe/fd/socket to whoever requested it. At least, that's the common/standard/easiest way to create a two-way pipe on the same fd, described in APUE :) G'luck, Peter -- This would easier understand fewer had omitted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 8: 3:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 7E84737B719; Sat, 17 Mar 2001 08:03:46 -0800 (PST) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id RAA73593; Sat, 17 Mar 2001 17:03:43 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Peter Pentchev Cc: Tony Finch , Duncan Barclay , Kris Kennaway , hackers@FreeBSD.ORG, fs@FreeBSD.ORG Subject: Re: httpfs References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <20010315124244.A442@ringworld.oblivion.bg> <20010316054649.F385@hand.dotat.at> <20010316174424.A428@ringworld.oblivion.bg> <20010317180055.A486@ringworld.oblivion.bg> From: Dag-Erling Smorgrav Date: 17 Mar 2001 17:03:42 +0100 In-Reply-To: Peter Pentchev's message of "Sat, 17 Mar 2001 18:00:55 +0200" Message-ID: Lines: 15 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev writes: > On Sat, Mar 17, 2001 at 04:53:34PM +0100, Dag-Erling Smorgrav wrote: > > Peter Pentchev writes: > > > There was at the time - socketpair(2) had totally slipped my mind ;) > > Umm, you want pipe(2), not socketpair(2). > Actually, I want socketpair(2). pipe(2) was what I used before, > and that's the reason I had a read-only file descriptor - the portalfs > architecture allows for only one fd to be returned, and pipe(2) > provides a one-way pipe. Not in FreeBSD. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 8:15:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id 0C3F837B719; Sat, 17 Mar 2001 08:15:17 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (guppy.dons.net.au [203.31.81.9]) by midget.dons.net.au (8.11.3/8.9.3) with ESMTP id f2HGF6i12988; Sun, 18 Mar 2001 02:45:06 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010317180055.A486@ringworld.oblivion.bg> Date: Sun, 18 Mar 2001 02:44:00 +1030 (CST) From: "Daniel O'Connor" To: Peter Pentchev Subject: Re: httpfs Cc: fs@FreeBSD.ORG, hackers@FreeBSD.ORG, Kris Kennaway , Duncan Barclay , Tony Finch , Dag-Erling Smorgrav Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 17-Mar-01 Peter Pentchev wrote: > Actually, I want socketpair(2). pipe(2) was what I used before, > and that's the reason I had a read-only file descriptor - the portalfs > architecture allows for only one fd to be returned, and pipe(2) > provides a one-way pipe. I dup2'd stdout and stderr of the executed > program to the child fd, and the parent could read its output, yet > not write to its stdin. pipe's are bidirectional in FreeBSD.. --- 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 Sat Mar 17 8:20:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from relay2.wertep.com (relay2.wertep.com [194.44.90.130]) by hub.freebsd.org (Postfix) with ESMTP id A74F937B719; Sat, 17 Mar 2001 08:20:47 -0800 (PST) (envelope-from petro@She.wertep.com) Received: from She.wertep.com (she-tun-proxy [192.168.252.2]) by relay2.wertep.com (8.9.3/8.9.3) with ESMTP id SAA87674; Sat, 17 Mar 2001 18:20:38 +0200 (EET) (envelope-from petro@She.wertep.com) Received: from localhost (petro@localhost) by She.wertep.com (8.9.3/8.9.3) with ESMTP id SAA24608; Sat, 17 Mar 2001 18:21:00 +0200 (EET) (envelope-from petro@She.wertep.com) Date: Sat, 17 Mar 2001 18:21:00 +0200 (EET) From: petro To: freebsd-hackers@FreeBSD.ORG Cc: freebsd-net@FreeBSD.ORG Subject: Can't install FreeBSD 4.1 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! I try to install FreeBSD 4.1 when the proces of copying begin, (near 20% of /bin copied) I receive such error panic: general protection fault syncing disks ...... 99.. 99 99 99 automatic reboot in 15 seconds, press any key to abort. Thank you very much for any help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 9: 2:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 1C7D537B718 for ; Sat, 17 Mar 2001 09:02:09 -0800 (PST) (envelope-from diwanh@cs.rpi.edu) Received: from cs.rpi.edu (monica.cs.rpi.edu [128.213.7.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id MAA08721; Sat, 17 Mar 2001 12:01:54 -0500 (EST) Message-Id: <200103171701.MAA08721@cs.rpi.edu> To: petro Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Can't install FreeBSD 4.1 In-Reply-To: Message from petro of "Sat, 17 Mar 2001 18:21:00 +0200." Date: Sat, 17 Mar 2001 12:01:54 -0500 From: Hasan Azam Diwan Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sir: It would be helpful to include the output of the boot sequence, a description of your hardware. Followups to -hackers please. > I try to install FreeBSD 4.1 > when the proces of copying begin, (near 20% of /bin copied) > I receive such error > > panic: general protection fault > syncing disks ...... 99.. 99 99 99 > automatic reboot in 15 seconds, press any key to abort. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 10:37:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id A12E537B71A for ; Sat, 17 Mar 2001 10:37:07 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 2129E2D; Sat, 17 Mar 2001 21:37:05 +0300 (MSK) Date: Sat, 17 Mar 2001 21:37:05 +0300 From: "Sergey A. Osokin" To: Titus von Boxberg Cc: hackers@freebsd.org, fjoe@newst.net Subject: Re: c++ exceptions with pthreads Message-ID: <20010317213705.A79489@freebsd.org.ru> Reply-To: osa@FreeBSD.org.ru References: <3AB32686.F4CD3BEA@pleach-hamburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB32686.F4CD3BEA@pleach-hamburg.de>; from titus@pleach.de on Sat, Mar 17, 2001 at 09:55:34AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 17, 2001 at 09:55:34AM +0100, Titus von Boxberg wrote: > Hi, > > I just read your reply in the hackers mailing list regarding c++ > exceptions. > > Does that mean that now (or from release 4.3 on) the base system > g++ is bugfixed regarding SIGSEGVs with c++ exceptions? Bug, which found my friend fixed since 06.01.2001 > What causes the bug in exception handling? > Why does the packaged g++ work? AFAIK some software (like licq) works good. -- Rgdz, /"\ Sergey Osokin aka oZZ, \ / ASCII RIBBON CAMPAIGN osa@freebsd.org.ru X AGAINST HTML MAIL http://freebsd.org.ru/~osa/ / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 10:46:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 2C45737B718 for ; Sat, 17 Mar 2001 10:46:43 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2HIkgh27096; Sat, 17 Mar 2001 10:46:42 -0800 (PST) Date: Sat, 17 Mar 2001 10:46:42 -0800 From: Alfred Perlstein To: Farooq Mela Cc: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: GCC Upgrade? Message-ID: <20010317104642.Y29888@fw.wintelcom.net> References: <3AB310DF.A43A8BC@sm.socccd.cc.ca.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB310DF.A43A8BC@sm.socccd.cc.ca.us>; from fmela0@sm.socccd.cc.ca.us on Fri, Mar 16, 2001 at 11:23:11PM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Farooq Mela [010316 23:21] wrote: > Howdy, > > GCC 2.95.3 was just released. I did notice that there are some bug fixes > in the optimizer, and some various other fixes etc. Considering the > recent discussion about incorrect code generation due to -O2 and above, > are there any plans to import this new release into the FreeBSD source > tree? What is the "plan" for the future, is the compiler going to be > upgraded when GCC gets to 3.0 (depending of course on its stability)? Or > are we just going to "play it by ear"? You're too optimistic. _Every_ gcc release is supposed to "fix some bugs in the optimizer". David will sync our compiler with the latest version when he feels that it's ready for FreeBSD. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 14:36:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 5DD4C37B718 for ; Sat, 17 Mar 2001 14:36:43 -0800 (PST) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id XAA75161; Sat, 17 Mar 2001 23:36:37 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Jordan Hubbard Cc: clash@tasam.com, bright@wintelcom.net, ianc@ednet.co.uk, freebsd-hackers@FreeBSD.ORG Subject: Re: Greater than 2GB per process References: <20010311204130.N18351@fw.wintelcom.net> <003701c0aaaf$a4566ce0$dc02010a@fireduck.com> <20010312012528D.jkh@osd.bsdi.com> From: Dag-Erling Smorgrav Date: 17 Mar 2001 23:36:36 +0100 In-Reply-To: Jordan Hubbard's message of "Mon, 12 Mar 2001 01:25:28 -0800" Message-ID: Lines: 20 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jordan Hubbard writes: > Well, that single 4GB of address space is divided up into kernel data > structures, which are in the address space of the process but subject > to various levels of MMU-provided memory protection, and the process' > own "user data." I believe the break is currently set in the middle > at 2GB, and various attempts to adjust it more aggressively (in user > data's favor) have been interesting but ultimately also proved to > break things like BSD/OS binaries, which have their own assumptions > about the setting of the break. Ahem. The other way around, actually (we increased KVM space from 256 MB to 1 GB - not 2 GB as you claim). And the problem with legacy BSDI binaries (newer ones don't have this problem) was fixed a long time ago, in 3.0 (before 3.0-RELEASE). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 16:42:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.prod.itd.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id 88C1337B719 for ; Sat, 17 Mar 2001 16:42:23 -0800 (PST) (envelope-from fmela0@sm.socccd.cc.ca.us) Received: from sm.socccd.cc.ca.us (pool0122.cvx4-bradley.dialup.earthlink.net [209.178.146.122]) by scaup.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id QAA28680; Sat, 17 Mar 2001 16:42:16 -0800 (PST) Message-ID: <3AB404D1.8B99019D@sm.socccd.cc.ca.us> Date: Sat, 17 Mar 2001 16:44:01 -0800 From: Farooq Mela Reply-To: fmela0@sm.socccd.cc.ca.us X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: GCC Upgrade? References: <3AB310DF.A43A8BC@sm.socccd.cc.ca.us> <20010317104642.Y29888@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > You're too optimistic. _Every_ gcc release is supposed to "fix > some bugs in the optimizer". Yeah, that's given, everything of course isn't fixed, not even close, and there's may even be some new problems introduced. But I was interested in the fixes anyway. What I was hoping to find on gcc.gnu.org were patches for individual bugfixes that were named on the release page. Wasn't able to do so, after poking around for quite a while. Prolly just CVS it and have a look. -- farooq "Life's not fair, but the root password helps." -BOFH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Mar 17 20:35:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 263F437B718 for ; Sat, 17 Mar 2001 20:35:09 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f2I4Z7d57834; Sat, 17 Mar 2001 20:35:07 -0800 (PST) (envelope-from obrien) Date: Sat, 17 Mar 2001 20:35:06 -0800 From: "David O'Brien" To: Cc@FreeBSD.ORG:Farooq Mela , hackers@freebsd.org Subject: Re: GCC Upgrade? Message-ID: <20010317203506.A57756@dragon.nuxi.com> Reply-To: hackers@freebsd.org References: <3AB310DF.A43A8BC@sm.socccd.cc.ca.us> <20010317104642.Y29888@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010317104642.Y29888@fw.wintelcom.net>; from bright@wintelcom.net on Sat, Mar 17, 2001 at 10:46:42AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 17, 2001 at 10:46:42AM -0800, Alfred Perlstein wrote: > > GCC 2.95.3 was just released. I did notice that there are some bug fixes ... > > in the optimizer, and some various other fixes etc. Considering the > > recent discussion about incorrect code generation due to -O2 and above, I really, really don't think these fixes will help -O2. I need to do more testing with GCC 3.0, but I do have [some] hope. > > are there any plans to import this new release into the FreeBSD source ... > some bugs in the optimizer". David will sync our compiler with > the latest version when he feels that it's ready for FreeBSD. I was going to do it Friday, but the distribution file had yet to make it to any of the mirror sites. It probably has by now. So I'll do it Monday. GCC 2.95.3 will hi 4-STABLE after April 1st. Heck, April 1st might actually be the best day to do it. So if RELENG_4 is unfrozen by then, that's when I'll MFC it. ;) -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message