From owner-freebsd-hackers Sun Oct 4 03:14:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12701 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 03:14:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA12663 for ; Sun, 4 Oct 1998 03:12:54 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id DAA17125; Sun, 4 Oct 1998 03:12:17 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Dan Nelson cc: Jason Thorpe , Open Systems Networking , freebsd-hackers@FreeBSD.ORG Subject: Re: Is PPP now being used by all 3 *BSD's? In-reply-to: Your message of "Sat, 03 Oct 1998 22:38:29 CDT." <19981003223829.A27652@emsphone.com> Date: Sun, 04 Oct 1998 03:12:17 -0700 Message-ID: <17121.907495937@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > They're already the same code, Jordan :) There's pretty much one pppd > version, based at ftp://cs.anu.edu.au/pub/software/ppp/ . 2.3.5 was > brought into both 2.2.* and 3.* in June, and claims to do demand-dial > and filtering like user-ppp. It still requires an external chat > program, and doesn't have interactive/online configuration like > user-ppp does though. Ah, I'd hoped/thought they'd upgraded their kernel ppp to look more like BSDI's or something. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 03:38:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA15948 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 03:38:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from post.mail.demon.net (post-11.mail.demon.net [194.217.242.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA15826 for ; Sun, 4 Oct 1998 03:36:11 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from [158.152.46.40] (helo=ragnet.demon.co.uk) by post.mail.demon.net with smtp (Exim 2.03 #1) id 0zPlVu-0003px-00 for freebsd-hackers@freebsd.org; Sun, 4 Oct 1998 10:35:44 +0000 Received: from dmlb by ragnet.demon.co.uk with local (Exim 1.82 #1) id 0zPlVi-0006oR-00; Sun, 4 Oct 1998 11:35:30 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 04 Oct 1998 11:35:30 +0100 (BST) From: Duncan Barclay To: freebsd-hackers@FreeBSD.ORG Subject: Softupdates and 2.2.6 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I've just started doing builds for -3.0BETA on my -stable box. Can I have a disk set up for soft updates under -3.0BETA and still be able to mount it under -2.2.6 (after a reboot of course!) Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 05:01:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27305 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 05:01:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA27135 for ; Sun, 4 Oct 1998 04:59:23 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id MAA03293; Sun, 4 Oct 1998 12:58:08 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id MAA09642; Sun, 4 Oct 1998 12:51:50 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810041151.MAA09642@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Jason Thorpe cc: Open Systems Networking , freebsd-hackers@FreeBSD.ORG Subject: Re: Is PPP now being used by all 3 *BSD's? In-reply-to: Your message of "Sat, 03 Oct 1998 18:02:45 PDT." <199810040102.SAA24516@lestat.nas.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 04 Oct 1998 12:51:49 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sat, 3 Oct 1998 19:14:57 -0400 (EDT) > Open Systems Networking wrote: > > > I got off my ass and am writing an article on creating a dial on demand > > ppp router for small ofices and lans and had "FreeBSD" strewn throughout > > but decided I would rather use "*BSD" instead to show a more united front > > and attempt to include everyone. But I didnt know if all 3 are using the > > brian's ppp work? I assume so but I wanted to know for sure. > > Anyone? > > NetBSD uses in-kernel PPP, not userland PPP. pppd(8) does the PPP connection > setup, and control messages, and stuff... but framing et al are all handled > in the kernel by if_ppp.c > > Note that the PPP package we use also supports demand-dial and whatnot. User-ppp has a few things that (AFAIK) pppd doesn't have. Multi-link is the big one, there's also terminal mode, aliasing (w/ transparent ftp, nbt, irc & cuseeme support), packet filtering, ppp/tcp, ppp/some-arbitrary-program, diagnostic port connections, dynamic IP assignment and DNS negotiation (*client* & server). I've also got some initial mods for radius support, but they need some work (only authentication is there at the moment). Of course pppd has its advantages - less passing of packets in & out of the kernel for a start - and BSD compression. I'm sure it's got others too.... > Jason R. Thorpe thorpej@nas.nasa.gov > NASA Ames Research Center Home: +1 408 866 1912 > NAS: M/S 258-5 Work: +1 650 604 0935 > Moffett Field, CA 94035 Pager: +1 650 940 5942 -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 05:01:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27329 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 05:01:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA27136 for ; Sun, 4 Oct 1998 04:59:25 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id MAA03307; Sun, 4 Oct 1998 12:58:48 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id MAA09595; Sun, 4 Oct 1998 12:39:13 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810041139.MAA09595@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Open Systems Networking cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Is PPP now being used by all 3 *BSD's? In-reply-to: Your message of "Sat, 03 Oct 1998 19:14:57 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 04 Oct 1998 12:39:12 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I got off my ass and am writing an article on creating a dial on demand > ppp router for small ofices and lans and had "FreeBSD" strewn throughout > but decided I would rather use "*BSD" instead to show a more united front > and attempt to include everyone. But I didnt know if all 3 are using the > brian's ppp work? I assume so but I wanted to know for sure. > Anyone? Nope - AFAIK, NetBSD's never picked up the code. There shouldn't actually be any problems with it though - it just needs someone to go through the code and iron out the #ifdefs so that they aren't just FreeBSD/OpenBSD specific. > Chris -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 05:09:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27992 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 05:09:21 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA27846 for ; Sun, 4 Oct 1998 05:08:10 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id KAA02149; Sun, 4 Oct 1998 10:03:35 +0100 From: Luigi Rizzo Message-Id: <199810040903.KAA02149@labinfo.iet.unipi.it> Subject: Re: (mgp-users 00027) graphic tablet experiecne ? To: dmlb@ragnet.demon.co.uk Date: Sun, 4 Oct 1998 10:03:35 +0100 (MET) Cc: itojun@iijlab.net, hackers@FreeBSD.ORG In-Reply-To: <199809300915.CAA08562@mailgate.cadence.com> from "Duncan Barclay" at Sep 30, 98 10:14:49 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > >does anyone have experience with graphic tablets -- particularly with > > >cheap serial units ? > > >i have tried one (a kid's model, "Wacky pad") and it seems not to talk > > >any protocol recognized by moused. ... ok, i managed to modify moused (was relatively simple) to talk to my unit, which happens to be made by "Genius" and has an apparently documented protocol. The mods are at http://www.iet.unipi.it/~luigi/moused.diffs and also include some additions to the moused code for better probing PnP and older non-Pnp mice. They might go in the source tree at some point. > in moused). The only real way of using the pad as the mouse is with > the X input extension. You can get the tablet to be the mouse for ... > PS. Using absolute mode to move around the display is very strange > but you get used to it! you bet! in fact, moused only allows relative mouse motion events which is a bit unconvenient. After 1/2 hour working with it i have the following feelings: * using a pen is WAY more convenient than a mouse and buttons for menu selection etc. And for drawing there is absolutely no comparison. * i think a few buttons on the stylus would be extremely convenient to use. My unit has only one button (the tip) and one near the pad. I am mapping the tip as button 1, which is ok for most things, but double-click etc. are not very easy. Plus, when you put back the stylus, the cursor follows you... * In many occasions, i really miss the ability to map the whole tablet (or a fraction) within a window, so i don't have to "imagine" the boundaries of the working area while drawing. In order to do this, however, i do need two things: + absolute coordinates + feedback from the server on the window's geometry Any idea on how to improve moused communication with its consumers (the X server, or syscons) ? cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 05:20:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29525 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 05:20:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from null.cs.rpi.edu (null.cs.rpi.edu [128.213.8.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29430 for ; Sun, 4 Oct 1998 05:20:12 -0700 (PDT) (envelope-from crossd@null.cs.rpi.edu) Received: from localhost (crossd@localhost) by null.cs.rpi.edu (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id IAA04446 for ; Sun, 4 Oct 1998 08:19:44 -0400 (EDT) Date: Sun, 4 Oct 1998 08:19:39 -0400 From: "David E. Cross" To: freebsd-hackers@FreeBSD.ORG Subject: GRE support in 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 What would be required to add GRE support (IP Protocol 47, RFC 1701,1702) to FreeBSD? -- David Cross To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 05:45:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA03691 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 05:45:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from post.mail.demon.net (post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA03661 for ; Sun, 4 Oct 1998 05:44:41 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from [158.152.46.40] (helo=ragnet.demon.co.uk) by post.mail.demon.net with smtp (Exim 2.03 #1) id 0zPnWL-0001Qp-00; Sun, 4 Oct 1998 12:44:17 +0000 Received: from dmlb by ragnet.demon.co.uk with local (Exim 1.82 #1) id 0zPmg0-0007R2-00; Sun, 4 Oct 1998 12:50:12 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199810040903.KAA02149@labinfo.iet.unipi.it> Date: Sun, 04 Oct 1998 12:50:12 +0100 (BST) From: Duncan Barclay To: Luigi Rizzo Subject: Re: (mgp-users 00027) graphic tablet experiecne ? Cc: hackers@FreeBSD.ORG, itojun@iijlab.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Oct-98 Luigi Rizzo wrote: ... > > ok, i managed to modify moused (was relatively simple) to talk to my > unit, which happens to be made by "Genius" and has an apparently > documented protocol. The mods are at > > http://www.iet.unipi.it/~luigi/moused.diffs I'll have a look at this and see if I can integrate my Wacom code (well most of it is just a wrapper around the code in the XF86 library, but it can be compiled standalone). ... >> PS. Using absolute mode to move around the display is very strange >> but you get used to it! > > you bet! in fact, moused only allows relative mouse motion events > which is a bit unconvenient. After 1/2 hour working with it i have the > following feelings: > > * using a pen is WAY more convenient than a mouse and buttons for > menu selection etc. And for drawing there is absolutely no > comparison. > > * i think a few buttons on the stylus would be extremely convenient to > use. My unit has only one button (the tip) and one near the pad. > I am mapping the tip as button 1, which is ok for most things, > but double-click etc. are not very easy. > Plus, when you put back the stylus, the cursor follows you... The plan I have is to map some regions of the tablet as "function" areas. Pressing the tip generates some user defined event. At present these are function key button presses which I then set up my window manager to fire up xterms etc. on. X allows one to change the mapping of the physical to logical buttons. I have thrown together a small app (in TK) to toggle the settings. > * In many occasions, i really miss the ability to map the whole > tablet (or a fraction) within a window, so i don't have to > "imagine" the boundaries of the working area while drawing. > In order to do this, however, i do need two things: > + absolute coordinates > + feedback from the server on the window's geometry This is already availalbe in X (for the Wacom tablets). A number of virtual tablets can be created. I would suggest that you look at xf86Wacom.c somewhere in the XFree86 source tree. Also look at gsumi-1.0.1 from http://www.gtk.org/~otaylor/i for a application that does this (only for Wacom I think but may be able to do any of the tablets). XFree86 has additions to the X input code, it appears that the standard XsendEvent interface isn't really up to the job of sending the required information. The XIE modules use these extensions to multiplex any number of input devices to the mouse. > Any idea on how to improve moused communication with its consumers > (the X server, or syscons) ? We could pretend to be an extended input device, via a pty?. This can then be opened by any of the XIE devices. The moused code would need to be a pass through to the real device. Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 06:29:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA09408 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 06:29:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA09389 for ; Sun, 4 Oct 1998 06:29:02 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id MAA02292; Sun, 4 Oct 1998 12:26:56 +0100 From: Luigi Rizzo Message-Id: <199810041126.MAA02292@labinfo.iet.unipi.it> Subject: Re: (mgp-users 00027) graphic tablet experiecne ? To: dmlb@ragnet.demon.co.uk (Duncan Barclay) Date: Sun, 4 Oct 1998 12:26:56 +0100 (MET) Cc: hackers@FreeBSD.ORG, itojun@iijlab.net In-Reply-To: from "Duncan Barclay" at Oct 4, 98 12:49:53 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > X allows one to change the mapping of the physical to logical buttons. yes, but i have just one -- the tip! Having 2-3 more on the stilus would just be great. > > * In many occasions, i really miss the ability to map the whole > > tablet (or a fraction) within a window, so i don't have to > > "imagine" the boundaries of the working area while drawing. > > In order to do this, however, i do need two things: > > + absolute coordinates > > + feedback from the server on the window's geometry > > This is already availalbe in X (for the Wacom tablets). A number of > virtual tablets can be created. I would suggest that you look at > xf86Wacom.c somewhere in the XFree86 source tree. Also look at this is what i am doing... in any case my goal was to try to extend the moused/sysmouse interface so that it could at least pass absolute coordinates, and possibly even user-defined events. I really don't want to rebuild a server each time i make a small modification... cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 07:04:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA12595 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 07:04:51 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA12588 for ; Sun, 4 Oct 1998 07:04:47 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id QAA07808; Sun, 4 Oct 1998 16:04:12 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id QAA00984; Sun, 4 Oct 1998 16:04:12 +0200 (MET DST) Message-ID: <19981004160411.16508@follo.net> Date: Sun, 4 Oct 1998 16:04:11 +0200 From: Eivind Eklund To: Duncan Barclay , freebsd-hackers@FreeBSD.ORG Subject: Re: Softupdates and 2.2.6 References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Duncan Barclay on Sun, Oct 04, 1998 at 11:35:30AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 04, 1998 at 11:35:30AM +0100, Duncan Barclay wrote: > Hi > > I've just started doing builds for -3.0BETA on my -stable box. Can I have a disk > set up for soft updates under -3.0BETA and still be able to mount it under > -2.2.6 (after a reboot of course!) Yes. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 08:30:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA19262 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 08:30:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA19256 for ; Sun, 4 Oct 1998 08:30:46 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1a/8.9.1) with ESMTP id RAA23786 for ; Sun, 4 Oct 1998 17:30:20 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by mail.siemens.de (8.9.1a/8.9.1) with ESMTP id RAA17759 for ; Sun, 4 Oct 1998 17:30:21 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id RAA02534 for ; Sun, 4 Oct 1998 17:30:21 +0200 (CEST) From: Andre Albsmeier Message-Id: <199810041530.RAA23757@internal> Subject: Re: Only "fetch -b" works, what am I doing wrong? In-Reply-To: from Marc Slemko at "Oct 2, 1998 8:26:19 am" To: marcs@znep.com (Marc Slemko) Date: Sun, 4 Oct 1998 17:30:09 +0200 (CEST) Cc: andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Fri, 2 Oct 1998, Andre Albsmeier wrote: > > > Hi, > > > > I have written a small programm that serves http requests. > > When using fetch I have to use "fetch -b" because without > > -b fetch complains with: "fetch: empty reply from myserver.org" > > > > While digging around in http.c, I found out that -b > > works around a linux bug. One of the correspondig > > lines is: > > > > if (sendmsg(s, &msg, fs->fs_linux_bug ? 0 : MSG_EOF) < 0) { > > > > This means, my small http server works when setting flags > > (of sendmsg) to 0. I assume, the correct way would be to set > > MSG_EOF but somehow my http server doesn't work with it. > > You are not dealing properly with the case where the client half closes > the connection before the response is fully sent. It shouldn't be too > hard to add some debugging to your code to verify exactly where the > problem is coming up, if your server is incorrectly assuming that if the > socket is half closed it should abort, etc. You were right. I didn't handle my select() loop properly. Thanks for the help, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 09:09:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22275 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 09:09:00 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22268 for hackers; Sun, 4 Oct 1998 09:08:59 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199810041608.JAA22268@hub.freebsd.org> Subject: Upgrading Hackers to VMailer To: hackers Date: Sun, 4 Oct 1998 09:08:59 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL32 (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 Hackers has just been migrated from Sendmail to VMailer for mail delivery. Mail arriving at freebsd.org is handled by Sendmail, Majordomo wand VMailer. Sendmail accepts the mail. Majordomo addresses it to each of the mailing lists' recipients. VMailer performs the final delivery. We have been using VMailer to deliver mail to the freebsd-test list and then to freebsd-chat as well. VMailer has proven itself to be robust and blazingly fast. You can learn more about VMailer at http://www.porcupine.org/vmailer/. The author is Wietse Venema, who wrote TCP Wrappers and co-authored SATAN with Dan Farmer. jmb -- Jonathan M. Bresler FreeBSD Core Team, Postmaster jmb@FreeBSD.ORG FreeBSD--The Power to Serve http://www.freebsd.org/ PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 09:27:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA24104 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 09:27:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from paprika.michvhf.com (paprika.michvhf.com [209.57.60.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA24089 for ; Sun, 4 Oct 1998 09:27:52 -0700 (PDT) (envelope-from vev@michvhf.com) Received: (qmail 23546 invoked by uid 1000); 4 Oct 1998 16:28:40 -0000 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199810041608.JAA22268@hub.freebsd.org> Date: Sun, 04 Oct 1998 12:28:40 -0400 (EDT) From: Vince Vielhaber To: "Jonathan M. Bresler" Subject: RE: Upgrading Hackers to VMailer Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Oct-98 Jonathan M. Bresler wrote: > Hackers has just been migrated from Sendmail to VMailer > for mail delivery. > > Mail arriving at freebsd.org is handled by Sendmail, > Majordomo wand VMailer. Sendmail accepts the mail. > Majordomo addresses it to each of the mailing lists' > recipients. VMailer performs the final delivery. Hmmm. Why sendmail AND vmailer? Qmail with could have done both and with ezmlm (also from qmail) and its majordomo emulation the whole thing would have been compatible with the original setup and a whole lot simpler. Just MHO. Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: vev@michvhf.com flame-mail: /dev/null # include TEAM-OS2 Online Searchable Campground Listings http://www.camping-usa.com "There is no outfit less entitled to lecture me about bloat than the federal government" -- Tony Snow ========================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 09:38:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25297 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 09:38:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25289; Sun, 4 Oct 1998 09:38:41 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199810041638.JAA25289@hub.freebsd.org> Subject: Re: Upgrading Hackers to VMailer In-Reply-To: from Vince Vielhaber at "Oct 4, 98 12:28:40 pm" To: vev@michvhf.com (Vince Vielhaber) Date: Sun, 4 Oct 1998 09:38:41 -0700 (PDT) Cc: jmb@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 Vince Vielhaber wrote: > > On 04-Oct-98 Jonathan M. Bresler wrote: > > Hackers has just been migrated from Sendmail to VMailer > > for mail delivery. > > > > Mail arriving at freebsd.org is handled by Sendmail, > > Majordomo wand VMailer. Sendmail accepts the mail. > > Majordomo addresses it to each of the mailing lists' > > recipients. VMailer performs the final delivery. > > Hmmm. Why sendmail AND vmailer? Qmail with could have done both > and with ezmlm (also from qmail) and its majordomo emulation the > whole thing would have been compatible with the original setup and > a whole lot simpler. Just MHO. i have not migrated our anti-spam measures to VMailer yet. therefore we are using VMailer for outbound only. once all outbound lists are VMailer, we *may* turn sendmail off. please read the web pages concerning the qmail vs VMailer issue. Wietse addresses it better than i can. jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 09:39:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25359 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 09:39:04 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25351; Sun, 4 Oct 1998 09:39:02 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199810041639.JAA25351@hub.freebsd.org> Subject: Re: Upgrading Hackers to VMailer In-Reply-To: from Vince Vielhaber at "Oct 4, 98 12:28:40 pm" To: vev@michvhf.com (Vince Vielhaber) Date: Sun, 4 Oct 1998 09:39:02 -0700 (PDT) Cc: jmb@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 Vince Vielhaber wrote: > > On 04-Oct-98 Jonathan M. Bresler wrote: > > Hackers has just been migrated from Sendmail to VMailer > > for mail delivery. > > > > Mail arriving at freebsd.org is handled by Sendmail, > > Majordomo wand VMailer. Sendmail accepts the mail. > > Majordomo addresses it to each of the mailing lists' > > recipients. VMailer performs the final delivery. > > Hmmm. Why sendmail AND vmailer? Qmail with could have done both > and with ezmlm (also from qmail) and its majordomo emulation the > whole thing would have been compatible with the original setup and > a whole lot simpler. Just MHO. i have not migrated our anti-spam measures to VMailer yet. therefore we are using VMailer for outbound only. once all outbound lists are VMailer, we *may* turn sendmail off. please read the web pages concerning the qmail vs VMailer issue. Wietse addresses it better than i can. jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 09:40:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25538 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 09:40:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25520; Sun, 4 Oct 1998 09:40:23 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199810041640.JAA25520@hub.freebsd.org> Subject: Re: Upgrading Hackers to VMailer In-Reply-To: <199810041639.JAA25351@hub.freebsd.org> from "Jonathan M. Bresler" at "Oct 4, 98 09:39:02 am" To: jmb@FreeBSD.ORG (Jonathan M. Bresler) Date: Sun, 4 Oct 1998 09:40:22 -0700 (PDT) Cc: vev@michvhf.com, jmb@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 to everyone that received my email twice. my error, not vmailer's. i fat fingered the keyboard. ;( jmb Jonathan M. Bresler wrote: > Vince Vielhaber wrote: > > > > On 04-Oct-98 Jonathan M. Bresler wrote: > > > Hackers has just been migrated from Sendmail to VMailer > > > for mail delivery. > > > > > > Mail arriving at freebsd.org is handled by Sendmail, > > > Majordomo wand VMailer. Sendmail accepts the mail. > > > Majordomo addresses it to each of the mailing lists' > > > recipients. VMailer performs the final delivery. > > > > Hmmm. Why sendmail AND vmailer? Qmail with could have done both > > and with ezmlm (also from qmail) and its majordomo emulation the > > whole thing would have been compatible with the original setup and > > a whole lot simpler. Just MHO. > > i have not migrated our anti-spam measures to VMailer yet. > therefore we are using VMailer for outbound only. > once all outbound lists are VMailer, we *may* turn sendmail > off. > > please read the web pages concerning the qmail vs VMailer issue. > Wietse addresses it better than i can. > > jmb > > > 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 Oct 4 10:38:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA29652 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 10:38:18 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA29630 for ; Sun, 4 Oct 1998 10:38:14 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hel.ifi.uio.no (2602@hel.ifi.uio.no [129.240.64.91]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id TAA24700; Sun, 4 Oct 1998 19:37:51 +0200 (MET DST) Received: (from dag-erli@localhost) by hel.ifi.uio.no ; Sun, 4 Oct 1998 19:37:50 +0200 (MET DST) Mime-Version: 1.0 To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: device ex0: suggestion for GENERIC References: <199810031451.OAA12095@etinc.com> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 04 Oct 1998 19:37:49 +0200 In-Reply-To: Dennis's message of "Sat, 03 Oct 1998 15:04:02 -0400" Message-ID: Lines: 11 X-Mailer: Gnus v5.6.44/Emacs 20.3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id KAA29640 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dennis writes: > This device probe consistently hangs the system when ISA > ethernet or com boards are present and should either be > assigned a default address or removed. This had been a > problem for at least 2 releases. I'm holding my breath waiting for your patch to dump into my mailbox. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 10:42:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00323 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 10:42:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00311 for ; Sun, 4 Oct 1998 10:42:31 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hel.ifi.uio.no (2602@hel.ifi.uio.no [129.240.64.91]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id TAA24961; Sun, 4 Oct 1998 19:42:09 +0200 (MET DST) Received: (from dag-erli@localhost) by hel.ifi.uio.no ; Sun, 4 Oct 1998 19:42:09 +0200 (MET DST) Mime-Version: 1.0 To: Duncan Barclay Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Softupdates and 2.2.6 References: Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 04 Oct 1998 19:42:08 +0200 In-Reply-To: Duncan Barclay's message of "Sun, 04 Oct 1998 11:35:30 +0100 (BST)" Message-ID: Lines: 13 X-Mailer: Gnus v5.6.44/Emacs 20.3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id KAA00314 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Duncan Barclay writes: > I've just started doing builds for -3.0BETA on my -stable box. Can I have a disk > set up for soft updates under -3.0BETA and still be able to mount it under > -2.2.6 (after a reboot of course!) Yes. The only change Soft Updates introduce on-disk is a flag set in the superblock to indicate that the file system is to be mounted with Soft Updates enabled. Soft Updates only affect the order in which data is written to disk, not what they look like. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 10:46:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00881 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 10:46:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00869 for hackers; Sun, 4 Oct 1998 10:46:33 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199810041746.KAA00869@hub.freebsd.org> Subject: Sender line To: hackers Date: Sun, 4 Oct 1998 10:46:32 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL32 (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 Eivind pointed out to me that the sender line changed as a result of using VMailer. if your filter is case-sensitive i may have broken it. i have changed a configuration item in VMailer. please check how your mail filter/sort programs repond to the change. should be: > Sender: owner-freebsd-hackers@FreeBSD.ORG erroneously was: > Sender: owner-freebsd-hackers@freebsd.org jmb -- Jonathan M. Bresler FreeBSD Core Team, Postmaster jmb@FreeBSD.ORG FreeBSD--The Power to Serve http://www.freebsd.org/ PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 10:52:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA01819 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 10:52:54 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gilgamesch.bik-gmbh.de (gilgamesch.bik-gmbh.de [194.233.237.91]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA01796 for ; Sun, 4 Oct 1998 10:52:44 -0700 (PDT) (envelope-from cracauer@gilgamesch.bik-gmbh.de) Received: (from cracauer@localhost) by gilgamesch.bik-gmbh.de (8.8.8/8.7.3) id TAA11674; Sun, 4 Oct 1998 19:51:40 +0200 (MET DST) Message-ID: <19981004195139.A11665@cons.org> Date: Sun, 4 Oct 1998 19:51:39 +0200 From: Martin Cracauer To: Dan Strick , freebsd-hackers@FreeBSD.ORG Subject: Re: IEEE floating point arithmetic References: <199810031853.LAA04652@math.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <199810031853.LAA04652@math.berkeley.edu>; from Dan Strick on Sat, Oct 03, 1998 at 11:53:29AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In <199810031853.LAA04652@math.berkeley.edu>, Dan Strick wrote: > I am under the impression that the FreeBSD (gnu) C-compiler does > IEEE 754 compatible floating poing arithmetic and that this means > that floating point operations like (1.0 / 0.0) should return a > special value that means +infinity. What I get is a core dump. > Am I supposed to include some special math library or give some > special cc command option? man fpsetmask(3) Please check the freebsd-current mail archives from the beginning of September, it has lots of material about the issue. Subjects: "Floating Point Exceptions, signal handlers & subsequent ops" "Proposed implementation of trapcodes for SIGFPE" Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer BSD User Group Hamburg, Germany http://www.bsdhh.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 10:57:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02429 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 10:57:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gilgamesch.bik-gmbh.de (gilgamesch.bik-gmbh.de [194.233.237.91]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02383 for ; Sun, 4 Oct 1998 10:57:04 -0700 (PDT) (envelope-from cracauer@gilgamesch.bik-gmbh.de) Received: (from cracauer@localhost) by gilgamesch.bik-gmbh.de (8.8.8/8.7.3) id TAA11684; Sun, 4 Oct 1998 19:56:05 +0200 (MET DST) Message-ID: <19981004195605.B11665@cons.org> Date: Sun, 4 Oct 1998 19:56:05 +0200 From: Martin Cracauer To: Dan Nelson , "Jordan K. Hubbard" , Jason Thorpe Cc: Open Systems Networking , freebsd-hackers@FreeBSD.ORG Subject: Re: Is PPP now being used by all 3 *BSD's? References: <199810040102.SAA24516@lestat.nas.nasa.gov> <15999.907467224@time.cdrom.com> <19981003223829.A27652@emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <19981003223829.A27652@emsphone.com>; from Dan Nelson on Sat, Oct 03, 1998 at 10:38:29PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In <19981003223829.A27652@emsphone.com>, Dan Nelson wrote: > In the last episode (Oct 03), Jordan K. Hubbard said: > > > NetBSD uses in-kernel PPP, not userland PPP. pppd(8) does the PPP > > > connection setup, and control messages, and stuff... but framing et > > > al are all handled in the kernel by if_ppp.c > > > > > > Note that the PPP package we use also supports demand-dial and whatnot. > > > > Hmmm. Sounds like we really need to integrate NetBSD's kernel ppp > > code sometime. :-) If nothing else, it would greatly assist us in > > creating stand-alone ppp router floppies. > > ummm > > They're already the same code, Jordan :) There's pretty much one pppd > version, based at ftp://cs.anu.edu.au/pub/software/ppp/ . 2.3.5 was > brought into both 2.2.* and 3.* in June, and claims to do demand-dial > and filtering like user-ppp. It still requires an external chat > program, and doesn't have interactive/online configuration like > user-ppp does though. Last time I looked, the "official" pppd didn't support dial-on-demand, while the NetBSD did at the same time. Maybe "someone" can arrange a full feature-backfeeded pppd distribution we can all use? [not me, don't have a clue about networking] Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer BSD User Group Hamburg, Germany http://www.bsdhh.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 11:35:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08118 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 11:35:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from post.mail.demon.net (post-11.mail.demon.net [194.217.242.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08112 for ; Sun, 4 Oct 1998 11:35:28 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from [158.152.46.40] (helo=ragnet.demon.co.uk) by post.mail.demon.net with smtp (Exim 2.03 #1) id 0zPs0M-0004qa-00; Sun, 4 Oct 1998 17:31:35 +0000 Received: from dmlb by ragnet.demon.co.uk with local (Exim 1.82 #1) id 0zPpIS-0000z4-00; Sun, 4 Oct 1998 15:38:04 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199810041126.MAA02292@labinfo.iet.unipi.it> Date: Sun, 04 Oct 1998 15:38:04 +0100 (BST) From: Duncan Barclay To: Luigi Rizzo Subject: Re: (mgp-users 00027) graphic tablet experiecne ? Cc: hackers@FreeBSD.ORG, itojun@iijlab.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Oct-98 Luigi Rizzo wrote: >> X allows one to change the mapping of the physical to logical buttons. > > yes, but i have just one -- the tip! Having 2-3 more on the stilus would > just be great. > >> > * In many occasions, i really miss the ability to map the whole >> > tablet (or a fraction) within a window, so i don't have to >> > "imagine" the boundaries of the working area while drawing. >> > In order to do this, however, i do need two things: >> > + absolute coordinates >> > + feedback from the server on the window's geometry >> >> This is already availalbe in X (for the Wacom tablets). A number of >> virtual tablets can be created. I would suggest that you look at >> xf86Wacom.c somewhere in the XFree86 source tree. Also look at > > this is what i am doing... in any case my goal was to try to > extend the moused/sysmouse interface so that it could at > least pass absolute coordinates, and possibly even user-defined events. > > I really don't want to rebuild a server each time i make a small > modification... You don't have to. The extensions are shared libs. $ ls /usr/X11R6/lib/modules pex5.so* xf86Jstk.so* xf86Wacom.so* xf86Elo.so* xf86Summa.so* xie.so* A restart will do! Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 12:15:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA13385 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 12:15:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from brooklyn.slack.net (brooklyn.slack.net [206.41.21.102]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13372 for ; Sun, 4 Oct 1998 12:15:07 -0700 (PDT) (envelope-from andrewr@brooklyn.slack.net) Received: from localhost (andrewr@localhost) by brooklyn.slack.net (8.8.7/8.8.7) with SMTP id PAA12212; Sun, 4 Oct 1998 15:15:35 -0400 (EDT) Date: Sun, 4 Oct 1998 15:15:35 -0400 (EDT) From: andrewr To: "Jordan K. Hubbard" cc: Jason Thorpe , Open Systems Networking , freebsd-hackers@FreeBSD.ORG Subject: Re: Is PPP now being used by all 3 *BSD's? In-Reply-To: <15999.907467224@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 3 Oct 1998, Jordan K. Hubbard wrote: > > Hmmm. Sounds like we really need to integrate NetBSD's kernel ppp > code sometime. :-) If nothing else, it would greatly assist us in > creating stand-alone ppp router floppies. > > - Jordan That's an interesting idea. The ability to have a boot disk specifically for the means of ppp router would be quite nice. I know that it would be useful for many purposes, as well as a way for people to use not much hd space and hardware for a just a measely ppp router. Anyway, enough babbling. Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 12:57:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18006 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 12:57:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17980 for ; Sun, 4 Oct 1998 12:57:51 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id MAA24292; Sun, 4 Oct 1998 12:57:30 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp01.primenet.com, id smtpd024280; Sun Oct 4 12:57:29 1998 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id MAA09245; Sun, 4 Oct 1998 12:57:27 -0700 (MST) From: Terry Lambert Message-Id: <199810041957.MAA09245@usr08.primenet.com> Subject: Re: GRE support in FreeBSD? To: crossd@null.cs.rpi.edu (David E. Cross) Date: Sun, 4 Oct 1998 19:57:27 +0000 (GMT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: from "David E. Cross" at Oct 4, 98 08:19:39 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > What would be required to add GRE support (IP Protocol 47, RFC > 1701,1702) > to FreeBSD? Ask archie@whistle.com, since he's already done it. Alternatively, look at one of the two IPSEC implementations for FreeBSD, as announced on -current. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 13:03:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18752 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 13:03:12 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from opi.flirtbox.ch ([62.48.0.50]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA18743 for ; Sun, 4 Oct 1998 13:03:09 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 10395 invoked from network); 4 Oct 1998 20:03:30 -0000 Received: from unknown (HELO pipeline.ch) (195.134.140.1) by opi.flirtbox.ch with SMTP; 4 Oct 1998 20:03:30 -0000 Message-ID: <3617D464.39A79D52@pipeline.ch> Date: Sun, 04 Oct 1998 22:02:44 +0200 From: Andre Oppermann Organization: Internet Business Solutions Ltd. X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: "Jonathan M. Bresler" CC: Vince Vielhaber , hackers@FreeBSD.ORG Subject: Re: Upgrading Hackers to VMailer References: <199810041638.JAA25289@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 Jonathan M. Bresler wrote: > Vince Vielhaber wrote: -snip- > > Hmmm. Why sendmail AND vmailer? Qmail with could have done both > > and with ezmlm (also from qmail) and its majordomo emulation the > > whole thing would have been compatible with the original setup and > > a whole lot simpler. Just MHO. > > i have not migrated our anti-spam measures to VMailer yet. > therefore we are using VMailer for outbound only. > once all outbound lists are VMailer, we *may* turn sendmail > off. > > please read the web pages concerning the qmail vs VMailer issue. > Wietse addresses it better than i can. Shure ;-) because he is neutral... I have read the qmail vs. VMailer stuff from Wietse and must say that he did not test fair. I'm using qmail for some time now (I'm even hacking it to support LDAP) and must say it's a great peace of work. I'm still waiting for VMailer-release to do a serious comparsion (also performance wise) of both and to counter his comparsion. Anyway, I consider them as overall equal with sometimes different focus on weak spots. Competition is good (tm) and Dan is already working on qmail 2. -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 13:14:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20002 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 13:14:54 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from opi.flirtbox.ch ([62.48.0.50]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA19992 for ; Sun, 4 Oct 1998 13:14:46 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 15715 invoked from network); 4 Oct 1998 20:15:10 -0000 Received: from unknown (HELO pipeline.ch) (195.134.140.1) by opi.flirtbox.ch with SMTP; 4 Oct 1998 20:15:10 -0000 Message-ID: <3617D720.5E60111B@pipeline.ch> Date: Sun, 04 Oct 1998 22:14:24 +0200 From: Andre Oppermann Organization: Internet Business Solutions Ltd. X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: andrewr CC: "Jordan K. Hubbard" , Jason Thorpe , Open Systems Networking , freebsd-hackers@FreeBSD.ORG Subject: Re: Is PPP now being used by all 3 *BSD's? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG andrewr wrote: > On Sat, 3 Oct 1998, Jordan K. Hubbard wrote: > > Hmmm. Sounds like we really need to integrate NetBSD's kernel ppp > > code sometime. :-) If nothing else, it would greatly assist us in > > creating stand-alone ppp router floppies. > > > > - Jordan > > That's an interesting idea. The ability to have a boot disk specifically > for the means of ppp router would be quite nice. I know that it would be > useful for many purposes, as well as a way for people to use not much hd > space and hardware for a just a measely ppp router. Anyway, enough > babbling. I thought that is called "PicoBSD"!? Just a guess... -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 13:43:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23781 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 13:43:03 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23757 for ; Sun, 4 Oct 1998 13:42:43 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id NAA09785; Sun, 4 Oct 1998 13:37:15 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Andre Oppermann cc: andrewr , Jason Thorpe , Open Systems Networking , freebsd-hackers@FreeBSD.ORG Subject: Re: Is PPP now being used by all 3 *BSD's? In-reply-to: Your message of "Sun, 04 Oct 1998 22:14:24 +0200." <3617D720.5E60111B@pipeline.ch> Date: Sun, 04 Oct 1998 13:37:15 -0700 Message-ID: <9780.907533435@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > That's an interesting idea. The ability to have a boot disk specifically > > for the means of ppp router would be quite nice. I know that it would be > > useful for many purposes, as well as a way for people to use not much hd > > space and hardware for a just a measely ppp router. Anyway, enough > > babbling. > > I thought that is called "PicoBSD"!? Just a guess... I think everyone here knows about PicoBSD. What would be nice would be a PicoBSD which didn't require crunched binaries, however, since adding even a single one of those to the mix is a pain in the butt and the more kernel services you can rely on, the less you have to do this. Ever try adding ssh to your PicoBSD, for example? And that's even a target which used to work - try something REALLY different like gated or tcpdump for some real fun! :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 14:08:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28256 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 14:08:45 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ultra2-247dan.eos.ncsu.edu (ultra2-247dan.eos.ncsu.edu [152.1.21.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA28204 for ; Sun, 4 Oct 1998 14:08:26 -0700 (PDT) (envelope-from fwang2@eos.ncsu.edu) Received: (from fwang2@localhost) by ultra2-247dan.eos.ncsu.edu (8.8.4/UC02Jan97) id RAA03684 for freebsd-hackers@freebsd.org; Sun, 4 Oct 1998 17:08:01 -0400 (EDT) From: "Feiyi Wang" Message-Id: <9810041708.ZM3682@eos.ncsu.edu> Date: Sun, 4 Oct 1998 17:08:01 -0400 X-Mailer: Z-Mail (3.2.1 10oct95) To: freebsd-hackers@FreeBSD.ORG Subject: Gdb and thread debugging question Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, all I have two questions concerning GDB thread debugging capability on FreeBSD. I am hoping people on the list can help me to clear it. One of my friends told me that the GDB on FreeBSD doesn't have thread support, probably because the libc_r is not in the standard distribution, means you have to build by yourself. And he said the thread support on FreeBSD is not reliable. Because of these two reasons, he always make programs working on both Solaris and FreeBSD to borrow the "dbx" debugging capability from Sun. I wonder if his argument is true? and is there people doing relative large project utilizing thread on FreeBSD can say something about the it's reliablity ? P.S. I am not on the list yet, please cc to me a copy. Thanks very much. /Feiyi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 14:40:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA03026 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 14:40:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02888 for ; Sun, 4 Oct 1998 14:40:08 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.1/frmug-2.3/nospam) with UUCP id XAA11044 for hackers@freebsd.org; Sun, 4 Oct 1998 23:39:36 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (VMailer, from userid 101) id A88D41458; Sun, 4 Oct 1998 19:41:44 +0200 (CEST) Date: Sun, 4 Oct 1998 19:41:44 +0200 From: Ollivier Robert To: hackers@FreeBSD.ORG Subject: Re: Upgrading Hackers to VMailer Message-ID: <19981004194144.A10773@keltia.freenix.fr> Mail-Followup-To: hackers@freebsd.org References: <199810041608.JAA22268@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.4i In-Reply-To: ; from Vince Vielhaber on Sun, Oct 04, 1998 at 12:28:40PM -0400 X-Operating-System: FreeBSD 3.0-BETA/ELF ctm#4700 AMD-K6 MMX @ 200 MHz Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Vince Vielhaber: > Hmmm. Why sendmail AND vmailer? Qmail with could have done both > and with ezmlm (also from qmail) and its majordomo emulation the > whole thing would have been compatible with the original setup and VMailer is more sendmail compatible than Qmail and Majordomo is not able to tell the difference. VMailer uses less network resources than Qmail (you don't have one recipient for each message and we can use the regional mail relays better). Comments about Qmail vs VMailer in either -chat or private email, being unrelated to FreeBSD per se. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-BETA #2: Sat Oct 3 11:34:55 CEST 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 15:20:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08451 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 15:20:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08374; Sun, 4 Oct 1998 15:19:59 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199810042219.PAA08374@hub.freebsd.org> Subject: VMailer and hackers To: hackers Date: Sun, 4 Oct 1998 15:19:57 -0700 (PDT) Cc: current X-Mailer: ELM [version 2.4ME+ PL32 (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 After giving you all a taste of VMailer, I am converting the lists back to bulk_mailer to give everyone a chance to address any mail sorting issues that may have arisen with procmail receipes, etc. Later this week we will go back to VMailer, hopefully for good ;) jmb -- Jonathan M. Bresler FreeBSD Core Team, Postmaster jmb@FreeBSD.ORG FreeBSD--The Power to Serve http://www.freebsd.org/ PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 17:33:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25432 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 17:33:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail1.its.rpi.edu (mail1.its.rpi.edu [128.113.100.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25419; Sun, 4 Oct 1998 17:32:58 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail1.its.rpi.edu (8.8.8/8.8.6) with ESMTP id UAA78676; Sun, 4 Oct 1998 20:32:39 -0400 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: drosih@pop1.rpi.edu Message-Id: In-Reply-To: <10099.907371604@time.cdrom.com> Date: Sun, 4 Oct 1998 20:36:44 -0400 To: "Jordan K. Hubbard" , hosokawa@FreeBSD.ORG From: Garance A Drosihn Subject: Re: New artwork for 3.0 CD cover? Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 4:40 PM -0700 10/2/98, Jordan K. Hubbard wrote: > Dear Tatsumi-san, > > We're strongly thinking of making a departure from the classic "daemon > walking out of a CD" artwork which we've been using for the last few > years here in order to give 3.0, a product with lots of new features, > a new look to match. I think a new look would be a good idea, although perhaps we should wait until the January ("somewhat more stable 3.0.1" release) before trying to attract a lot of new users. Also, I have a friend who I'll try to convince to take a shot at this, but I'm not sure if he would be able to come up with something in just two weeks... (what would the deadline be for the artwork, btw, if you do go with new artwork for this 3.0 release?) --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 17:49:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA27501 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 17:49:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA27494; Sun, 4 Oct 1998 17:49:10 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id RAA10719; Sun, 4 Oct 1998 17:46:19 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Garance A Drosihn cc: hosokawa@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: New artwork for 3.0 CD cover? In-reply-to: Your message of "Sun, 04 Oct 1998 20:36:44 EDT." Date: Sun, 04 Oct 1998 17:46:19 -0700 Message-ID: <10716.907548379@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I think a new look would be a good idea, although perhaps we should > wait until the January ("somewhat more stable 3.0.1" release) before > trying to attract a lot of new users. We'll probably miss the deadline anyway. After talking with the art department, I've learned that it's tomorrow evening. :) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 18:03:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA29424 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 18:03:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from nu.binary.net (nu.binary.net [12.13.120.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA29408 for ; Sun, 4 Oct 1998 18:03:27 -0700 (PDT) (envelope-from nathan@matrix.binary.net) Received: from matrix.binary.net (nathan@matrix.binary.net [12.13.120.2]) by nu.binary.net (8.9.1a/8.9.0) with ESMTP id UAA16479; Sun, 4 Oct 1998 20:03:03 -0500 (CDT) Received: (from nathan@localhost) by matrix.binary.net (8.9.1a/8.9.1) id UAA03206; Sun, 4 Oct 1998 20:03:03 -0500 (CDT) Message-ID: <19981004210302.B2470@binary.net> Date: Sun, 4 Oct 1998 21:03:02 -0400 From: Nathan Dorfman To: Martin Cracauer , Dan Nelson , "Jordan K. Hubbard" , Jason Thorpe Cc: Open Systems Networking , freebsd-hackers@FreeBSD.ORG Subject: Re: Is PPP now being used by all 3 *BSD's? References: <199810040102.SAA24516@lestat.nas.nasa.gov> <15999.907467224@time.cdrom.com> <19981003223829.A27652@emsphone.com> <19981004195605.B11665@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19981004195605.B11665@cons.org>; from Martin Cracauer on Sun, Oct 04, 1998 at 07:56:05PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 04, 1998 at 07:56:05PM +0200, Martin Cracauer wrote: > Last time I looked, the "official" pppd didn't support dial-on-demand, > while the NetBSD did at the same time. The pppd in FreeBSD-current sure does, at least according to pppd(8). I use pppd but never needed dial on demand. > Martin > -- > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > Martin Cracauer http://www.cons.org/cracauer > BSD User Group Hamburg, Germany http://www.bsdhh.org/ -- ________________ ___________________________________________ / Nathan Dorfman \ / "`IE4 brings the web to UNIX'? *laughing* / nathan@rtfm.net \/ Isn't that similar to Ronald McDonald bringing / finger for PGP key \ religion to the pope?" -Jamie Bowden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 18:27:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03254 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 18:27:00 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from camel14.mindspring.com (camel14.mindspring.com [207.69.200.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03244 for ; Sun, 4 Oct 1998 18:26:58 -0700 (PDT) (envelope-from tom@chattpiano.com) Received: from chattpiano.com (user-38lc7od.dialup.mindspring.com [209.86.31.13]) by camel14.mindspring.com (8.8.5/8.8.5) with ESMTP id VAA01356 for ; Sun, 4 Oct 1998 21:26:34 -0400 (EDT) Received: (from tom@localhost) by chattpiano.com (8.8.8/8.8.7) id VAA00729 for freebsd-hackers@FreeBSD.ORG; Sun, 4 Oct 1998 21:24:42 -0400 (EDT) (envelope-from tom) From: Tom Rush Message-Id: <199810050124.VAA00729@chattpiano.com> X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 04 Oct 1998 21:24:42 -0400 (EDT) To: freebsd-hackers@FreeBSD.ORG Subject: Loadable line disciplines Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have written a pseudo-device driver and assorted support programs for using IP on an Amateur Packet Radio network, and have been running it since about 2.1.5-RELEASE (I'm using -stable now). The driver uses a variant of the SLIP line discipline to communicate with a TNC, a kind of "radio modem". Since writing the driver, I have had a couple of ideas about the line discipline handling. One, putting the "hotchar" in the linesw struct and thus eliminating the check for SLIPDISC and PPPDISC in the serial drivers, has already been implemented in -current by someone else. The other, concerning the loadable line discipline setup, has not been dealt with; a search of the -hackers archive shows that the topic came up earlier this year, but nothing has changed. The problem, basically, is that if the "ldisc_register()" function is used for a non-standard line discipline, a user program cannot determine which slot in the linesw table it was assigned to, and thus cannot set up the tty to use that discipline. Obviously, no one has been losing sleep over this, since there aren't too many line discipline implementations being written these days; and if you aren't involved with maintaining tty drivers, you might want to move on to the next message. But if the loadable discipline feature is going to be in there, it ought to at least be useful; and it may have application for some of the current discussions about graphics tablets, etc. (see kern/tty_tb.c; it's apparently broken now, but how badly?) In order to fix this in a way that affects the smallest number of lines of code, I think a couple of fields should be added to the linesw struct, (sys/conf.h) as follows: struct linesw { l_open_t *l_open; l_close_t *l_close; l_read_t *l_read; l_write_t *l_write; l_ioctl_t *l_ioctl; l_rint_t *l_rint; l_start_t *l_start; l_modem_t *l_modem; + int l_disc; + char l_name[7]; u_char l_hotchar; }; "l_disc" would be used as an identifier, e.g., TTYDISC or SLIPDISC. This would allow any discipline to occupy any position in the table. Any positive integer (not just 0-7) would be a valid ID; an empty slot in the table would have l_disc = NULLDISC, #define'd as -1. "l_name" would contain a name for the discipline, e.g. "ppp" or "slip". This field is not necessary, but it eliminates the switch statement in pstat that displays the discipline name. (This means that a discipline would not have to have it's ID in ttycom.h, and a case added to that switch statement, to have it's name displayed.) In kern/tty_conf.c, only TTYDISC (termios), and NTTYDISC if COMPAT_43 is defined, are loaded by default. TTYDISC must be #define'd as 0 and go in slot 0; it is the only discipline that maintains the original "discipline = slot" relationship. "ldisc_register()" (which could get rid of the "discipline" argument, since that would be contained in the linesw struct) would check for a valid discipline ID, and then check the linesw table for duplicate ID's. The first vacant slot would be used for the new discipline if no dupes were found. In kern/tty.c, TIOCGETD would return linesw[tp->t_line].l_disc rather than tp->t_line. TIOCSETD would scan the linesw table looking for a matching discipline, then set tp->t_line to the corresponding slot number. Each line discipline module would have to call ldisc_register() in it's init routine to be assigned a slot in the linesw table. After that, the main things to look for are references to t_line (in the tty struct) that use it as a value rather than just an index. There are actually not too many of these, particularly since the hotchar field was placed in the linesw struct. Rather that post a bunch of diffs here, I packaged them up and put them at ftp://ftp.mindspring.com/users/tarush/ldiscload.tar.gz. Note that these diffs are for -stable; they may or may not patch cleanly on -current. If anyone cares, please take a look at these and let me know what you think. Thanks, --- Tom Rush tom@chattpiano.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 20:19:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA16888 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 20:19:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA16847 for ; Sun, 4 Oct 1998 20:18:58 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:3VS8V4XN63+o+1pqcG2xiTVFol1fdxXf@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.1/8.9.1) with ESMTP id MAA19336; Mon, 5 Oct 1998 12:18:25 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id MAA13215; Mon, 5 Oct 1998 12:19:34 +0900 (JST) Message-Id: <199810050319.MAA13215@zodiac.mech.utsunomiya-u.ac.jp> To: Luigi Rizzo cc: hackers@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: (mgp-users 00027) graphic tablet experiecne ? In-reply-to: Your message of "Sun, 04 Oct 1998 10:03:35 +0100." <199810040903.KAA02149@labinfo.iet.unipi.it> References: <199810040903.KAA02149@labinfo.iet.unipi.it> Date: Mon, 05 Oct 1998 12:19:32 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > * In many occasions, i really miss the ability to map the whole > tablet (or a fraction) within a window, so i don't have to > "imagine" the boundaries of the working area while drawing. > In order to do this, however, i do need two things: > + absolute coordinates > + feedback from the server on the window's geometry > >Any idea on how to improve moused communication with its consumers >(the X server, or syscons) ? If what you want is to make the table act like the mouse, moused is the right code to hack. But, if you want to do something as complicated and sophisticated as you wrote above, I think you had better go for the XInput extention. XInput is more extendible than moused and it already has support for Wacom tablets. Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 21:08:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA26219 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 21:08:25 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA26118 for ; Sun, 4 Oct 1998 21:07:49 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id CAA03459; Mon, 5 Oct 1998 02:44:12 +0100 From: Luigi Rizzo Message-Id: <199810050144.CAA03459@labinfo.iet.unipi.it> Subject: Re: (mgp-users 00027) graphic tablet experiecne ? To: dmlb@ragnet.demon.co.uk (Duncan Barclay) Date: Mon, 5 Oct 1998 02:44:11 +0100 (MET) Cc: hackers@FreeBSD.ORG, itojun@iijlab.net In-Reply-To: from "Duncan Barclay" at Oct 4, 98 03:37:45 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I really don't want to rebuild a server each time i make a small > > modification... > > You don't have to. The extensions are shared libs. > $ ls /usr/X11R6/lib/modules > pex5.so* xf86Jstk.so* xf86Wacom.so* > xf86Elo.so* xf86Summa.so* xie.so* this is good to hear. i wish xf86_Mouse was also a module... cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Oct 4 23:13:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA14971 for freebsd-hackers-outgoing; Sun, 4 Oct 1998 23:13:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from msf1.swe.ids.dps.casa.es (h025108.nexo.es [195.235.25.108]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA14937 for ; Sun, 4 Oct 1998 23:12:47 -0700 (PDT) (envelope-from jlfreniche@acm.org) Received: from hpswe.swe.ids.dps.casa.es (hpswe.swe.ids.dps.casa.es [172.16.50.100]) by msf1.swe.ids.dps.casa.es (8.8.8/8.8.8) with ESMTP id LAA00365; Fri, 2 Oct 1998 11:16:44 +0200 (CEST) (envelope-from jlfreniche@acm.org) Received: from hpswe.swe.ids.dps.casa.es (localhost [127.0.0.1]) by hpswe.swe.ids.dps.casa.es with SMTP (8.7.6/8.7.3) id LAA03370; Fri, 2 Oct 1998 11:14:04 +0200 (METDST) Message-ID: <36149958.47B1@acm.org> Date: Fri, 02 Oct 1998 11:14:00 +0200 From: "Juan L. Freniche" X-Mailer: Mozilla 3.01Gold (X11; I; HP-UX B.10.20 9000/879) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG CC: Ian Dowse Subject: Invalid ACKs in SYN-SENT and T/TCP Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Recently I sent this message to freebsd-net and got no response. May be that the message never arrived so I try again. But somebody recommended me to send it to this list. Note that Ian Dowse already reported the same. We have two FreeBSD 2.2.7 boxes connected through Ethernet, both with T/TCP enabled. We have noted the following behaviour: 1 Assume A started several normal TCP connections to B. Client connections in A use local ports selected in the command line when the client is launched. After a while, leave only one such connection in Established. 2 Unplug the Ethernet cable from Box A and reboot Box A. Reason to unplug is to avoid that the RSTs sent by A reach the connection in B. 3 Launch again several connections from A to B, but using a different local port than the old still-established socket in B. Finish them now normally. The reason of the above is to build, in A, a TAO cache for B. 4 Launch a connection from A to B but using the same local port than the old still-established socket in B. If tcpdump is used for tracing, we will see: - A sends a SYN to B. This new connection is in SYN-SENT in A. - B responds with an ACK, probabilistic invalid because it is the old still-established socket who is responding. - A does not respond with a RST, instead the SYN is retransmitted after the retransmission timeout. - B again responds with an ACK, invalid. - and so on, until the SYN retransmissions are exhausted. RFC 793 (TCP) states in page 66 that a RST must be send if an invalid ACK is received in SYN-SENT (as the received ACK has not the RST bit). Instead, A is ignoring such invalid ACKs, and then retransmitting the SYN. Nothing is said about this in the T/TCP RFCs 1379 and 1644 (at least, I could'nt find this case). I consulted the Stevens book, vol 3, the figure that is identical to the source code (file /usr/src/sys/netinet/tcp_input.c): case TCPS_SYN_SENT: if ((taop = tcp_gettaocache(inp)) == NULL) { taop = &tao_noncached; bzero(taop, sizeof(*taop)); } if ((tiflags & TH_ACK) && (SEQ_LEQ(ti->ti_ack, tp->iss) || SEQ_GT(ti->ti_ack, tp->snd_max))) { /* * If we have a cached CCsent for the remote host, * hence we haven't just crashed and restarted, * do not send a RST. This may be a retransmission * from the other side after our earlier ACK was lost. * Our new SYN, when it arrives, will serve as the * needed ACK. */ if (taop->tao_ccsent != 0) goto drop; else goto dropwithreset; This explain why A didn't sent RSTs when receiving invalid ACKs: A has a valid TAO cache for B, so the invalid ACK is ignored. My question is: is this behaviour what it was intended? The comment in the code covers one case, but aborting connections and loosing its RST is not so unlikely. Should A come back to RFC 793? -- Juan L. Freniche To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 01:21:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA00290 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 01:21:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA00271; Mon, 5 Oct 1998 01:21:48 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:SPbB6VNItKOPmN8VtRwLDax2qnhgTpMz@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.1/8.9.1) with ESMTP id RAA20657; Mon, 5 Oct 1998 17:19:31 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id RAA23154; Mon, 5 Oct 1998 17:20:39 +0900 (JST) Message-Id: <199810050820.RAA23154@zodiac.mech.utsunomiya-u.ac.jp> To: Amancio Hasty , rhh@ct.picker.com (Randall Hopper), nirva@ishiboo.com, Mike Smith , sos@FreeBSD.ORG cc: hackers@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: X10 Remote and moused Date: Mon, 05 Oct 1998 17:20:38 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Back in June, X10 Remote support was added to `moused' in 3.0-CURRENT. Before we release 3.0, I think we had better add some comments on this in the man page for moused. (The current man page simply lists X10 Remote as a supported device. But there is no more details.) As I don't have X10 Remote here, I need some clarification on the following points before I try to brush up the man page. 1. PS/2 interface issue. The X10 Remote can be connected to the PS/2 mouse port as well as a serial port, right? As X10 Remote support in moused currently works on the serial port only, we need to state as such. Has anyone worked on adding support for X10 Remote on the PS/2 mouse port? (I certainly haven't, as I don't have the device.) 2. Pass through mode/Stand-alone mode I heard that the X10 Remote can work either in "pass-through" mode and in "stand-alone" mode. In the stand-alone mode, mouse-part of the device will generate mouse event data in the Microsoft 3-byte format. Remote -> COM1 -> moused In the pass-through mode, a serial mouse is connected to the X10 Remote device and data from the mouse is "passed through" to the serial port. serial mouse -> Remote -> COM1 -> moused What is not clear to me is: a) Whether the Remote itself also generates mouse event data in this mode as well. b) Whether any serial mouse can be connected to the Remote in this way. c) Whether the data from the mouse is passed to the serial port unmodified. Or, the Remote will repackage the data in the Microsoft format (I guess this is unlikely :-) The current X10 Remote support in moused assumes mouse data from the serial port is always in Microsoft format. This assumption breaks 1. if any mouse, including mice incompatible with Microsoft mice, can be connected to the remote and 2. if its data is passed to the serial port as is, unmodified. There will be more problems if 3. the Remote itself will generate mouse events too in the pass-through mode; data from the Remote is in the Microsoft format while data from the mouse can be in another! Is there any notes on supported mice in the X10 Remote manuals? And the last question is: d) As the X10 Remote can be connected to the PS/2 mouse port, I wonder if the following configuration is possible (although I don't know how this can work at all :-) serial mouse -> Remote -> PS/2 mouse port In any case, we had better state in the man page exactly how X10 Remote is supported in what configuration. Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 02:18:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA08126 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 02:18:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from aurora.sol.net (aurora.sol.net [206.55.65.76]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA08101 for ; Mon, 5 Oct 1998 02:18:30 -0700 (PDT) (envelope-from jgreco@aurora.sol.net) Received: (from jgreco@localhost) by aurora.sol.net (8.8.8/8.8.8/SNNS-1.02) id EAA17906 for hackers@freebsd.org; Mon, 5 Oct 1998 04:18:07 -0500 (CDT) From: Joe Greco Message-Id: <199810050918.EAA17906@aurora.sol.net> Subject: A "feature request", maybe...? To: hackers@FreeBSD.ORG Date: Mon, 5 Oct 1998 04:18:07 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was wondering if anyone else thought this is an interesting idea. I'd like, in some instances, to be able to avoid the default UNIX IP behaviour of grabbing the "closest interface" address when connecting to a remote host with TCP (or UDP for that matter). There are some times when I know a better address to use, but would rather not have to modify lots and lots of userland code to specifically do a bind() of the socket to the particular address that I'd really like to use. The source isn't always available. :-( How hard would it be to add a sysctl that "changed" any normally- INADDR_ANY socket to instead to bind to some specified IP address? I can see some potential uses on things like firewalls, too... ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 04:16:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA22649 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 04:16:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from coredump.int.tele.dk (fw1.inet.tele.dk [193.163.158.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA22644 for ; Mon, 5 Oct 1998 04:16:14 -0700 (PDT) (envelope-from fluffy@vszbr.cz) Received: from localhost (fluffy@localhost) by coredump.int.tele.dk (8.8.5/8.8.5) with SMTP id NAA08303 for ; Mon, 5 Oct 1998 13:15:46 +0200 X-Authentication-Warning: coredump.int.tele.dk: fluffy owned process doing -bs Date: Mon, 5 Oct 1998 13:15:46 +0200 (CEST) From: Fluffy -- The Other White Meat X-Sender: fluffy@coredump.int.tele.dk To: freebsd-hackers@FreeBSD.ORG Subject: Re: A "feature request", maybe...? In-Reply-To: <199810050918.EAA17906@aurora.sol.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 5 Oct 1998, Joe Greco wrote: > I'd like, in some instances, to be able to avoid the default UNIX IP > behaviour of grabbing the "closest interface" address when connecting > to a remote host with TCP (or UDP for that matter). There are some > times when I know a better address to use, but would rather not have > to modify lots and lots of userland code to specifically do a bind() > of the socket to the particular address that I'd really like to use. YES!!@! I was just wondering how I could do this painlessly this last week, as I prepared to move one of my machines seamlessly from one IP address to another, while still retaining limited compatibility with those laggards who haven't yet updated their configuration to use the new IP address. I'd use it. Barry Bouwsma (do not attempt to ajust your mailreader to reply by e-mail, none for me) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 05:02:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA26001 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 05:02:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fire.dreams.eu.org (fire.dreams.eu.org [194.89.15.173]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA25993 for ; Mon, 5 Oct 1998 05:02:16 -0700 (PDT) (envelope-from vipe@fire.dreams.eu.org) Received: (qmail 6024 invoked by uid 502); 5 Oct 1998 12:01:48 -0000 Date: Mon, 5 Oct 1998 15:01:48 +0300 (EET DST) From: Viljo Hakala X-Sender: vipe@fire.dreams.eu.org To: Fluffy -- The Other White Meat cc: freebsd-hackers@FreeBSD.ORG Subject: Re: A "feature request", maybe...? 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 > YES!!@! I was just wondering how I could do this painlessly this > last week, as I prepared to move one of my machines seamlessly from > one IP address to another, while still retaining limited compatibility > with those laggards who haven't yet updated their configuration to use > the new IP address. > > I'd use it. That's called IP ALIASING..rtfm ifconfig & route=) reg. vh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 06:30:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA05059 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 06:30:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bingsun2.cc.binghamton.edu (bingsun2.cc.binghamton.edu [128.226.1.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA05032 for ; Mon, 5 Oct 1998 06:30:22 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun2.cc.binghamton.edu (8.8.7/8.6.9) with SMTP id JAA02184 for ; Mon, 5 Oct 1998 09:29:51 -0400 (EDT) Date: Mon, 5 Oct 1998 09:29:51 -0400 (EDT) From: zhihuizhang X-Sender: bf20761@bingsun2 To: hackers Subject: Question about cache pages Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I remember read somewhere that cached pages are not mapped onto any physical maps and therefore can be faulted back if it is resued. Can anybody tell me where is the source code a cache page gets found and brought back? Thanks for your help. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 06:41:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA06474 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 06:41:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lwaxana.cistron.nl (lwaxana.cistron.nl [195.64.68.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA06465 for ; Mon, 5 Oct 1998 06:41:27 -0700 (PDT) (envelope-from wouters@cistron.nl) Received: from localhost.localdomain (wouter@cs3p15.dial.cistron.nl [195.64.69.144]) by lwaxana.cistron.nl (8.8.8/8.8.8/Debian/GNU) with SMTP id PAA22543; Mon, 5 Oct 1998 15:40:50 +0200 Message-ID: <3618CCAA.75189840@cistron.nl> Date: Mon, 05 Oct 1998 15:42:02 +0200 From: WHS Organization: robots anonymous X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.34 i686) MIME-Version: 1.0 To: tech@openbsd.org CC: misc@openbsd.org, freebsd-hackers@FreeBSD.ORG Subject: GGI Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The license stuff has finally been settled not long ago: a quote from a mail from Emmanual Marty: only libggi is LGPL, .. The KGI drivers will be converted to the X license, all ggi demos shipped with libggi have been made public domain so that they can be reused as examples, and some libggi targets will probably use the X license as well, at author's discretion. Ok. Let me say first that for some reason the port efforts by those who originally were going to do so to Free/OpenBSD seemed to evaporate (for various reasons, probably due to the new framebuffer stuff in the Linux kernel, which is very much inferior to KGI so I don't get this myself) and I was not willing to spend effort on a port that noone might use (because even back then, some people strongly wanted LGPL for the lib and this has evidently not changed). I've given plenty of arguments why BSD'ing (preferably the 2 clause license as used in new FreeBSD code) is fine for low level libs and that even using this for only the base part of libggi (so that KGI programs can run on a pure BSD system) would be enough, but to no avail. It's now up to you all: is there any interest in using GGI given the current license situation? Is there interest in rewriting base-libggi under X/BSD license? (which is not very big, so would be managable, a problem is that the code is a moving target at the moment; for those interested in checking this out, in the current tree this is: lib/libggi/*.c lib/libggi/display/kgi a bit of lib/libggi/extensions/* source is available from www.ggi-project.org ) Perhaps some comments from the core teams could alter the minds of those wanting LGPL. (freebsd users: I'm not on this list so please mail me for something important) Regards, Wouter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 06:45:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA07067 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 06:45:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.id.net (mail.id.net [199.125.1.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA07053; Mon, 5 Oct 1998 06:45:17 -0700 (PDT) (envelope-from rls@mail.id.net) Received: from server.id.net (server.id.net [199.125.2.20]) by mail.id.net (8.9.1/8.9.1) with ESMTP id JAA02779; Mon, 5 Oct 1998 09:46:06 -0400 (EDT) From: Robert Shady Received: (from rls@localhost) by server.id.net (8.8.8/8.8.8) id JAA27803; Mon, 5 Oct 1998 09:44:41 -0400 (EDT) (envelope-from rls@mail.id.net) Message-Id: <199810051344.JAA27803@server.id.net> Subject: * Promise FastTrak Controller * To: freebsd-hackers@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Date: Mon, 5 Oct 1998 09:44:41 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL40 (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 Okie doke.. I've got a question for everyone.. I've recently purchase two Promise FastTrak controllers and 8 13.6 Gigabyte hard drives that I need to get to work in our new FreeBSD server. I've gotten as far as installation 3.0-19981003-BETA, configuring pnp in the kernel, and getting it to notice the two drives (independantly) that I currently have plugged into the controller. In this scenario, theoretically, I could use CCD to RAID stripe the drives, but that seems to defeat the purpose of hardware RAID. Please respond ASAP, our existing server (32GB) is out of space.. :( P.S. Please CC this to rls@mail.id.net as I am not on the mailing lists anymore (I get too much traffic as it is..) -- Rob === _/_/_/_/_/ _/_/_/_/ _/_/ _/ _/_/_/_/_/ _/_/_/_/_/ _/ _/ _/ _/_/_/ _/ _/ _/ _/_/_/_/ _/ _/_/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/_/ _/ Innovative Data Services, Inc. Serving South-Eastern Michigan Internet Service Provider / Hardware Sales / Consulting Services Voice: (248)855-2118 / Fax: (248)855-0696 / Web: http://www.id.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 06:58:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA09132 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 06:58:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lwaxana.cistron.nl (lwaxana.cistron.nl [195.64.68.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA09116 for ; Mon, 5 Oct 1998 06:58:12 -0700 (PDT) (envelope-from wouters@cistron.nl) Received: from localhost.localdomain (wouter@cs6p35.dial.cistron.nl [62.216.0.100]) by lwaxana.cistron.nl (8.8.8/8.8.8/Debian/GNU) with SMTP id PAA22945; Mon, 5 Oct 1998 15:57:33 +0200 Message-ID: <3618CF0D.4D6A4245@cistron.nl> Date: Mon, 05 Oct 1998 15:52:13 +0200 From: WHS Organization: robots anonymous X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.34 i686) MIME-Version: 1.0 To: tech@openbsd.org, misc@openbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: GGI References: <3618CCAA.75189840@cistron.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG WHS wrote: > for those interested in checking this out, in the current tree this is: > lib/libggi/*.c > lib/libggi/display/kgi > a bit of lib/libggi/extensions/* forgot this: lib/libggi/default/* Wouter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 07:31:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA14155 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 07:31:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA14142 for ; Mon, 5 Oct 1998 07:31:38 -0700 (PDT) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id LAA22049; Mon, 5 Oct 1998 11:29:56 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199810051429.LAA22049@roma.coe.ufrj.br> Subject: Re: A "feature request", maybe...? In-Reply-To: <199810050918.EAA17906@aurora.sol.net> from Joe Greco at "Oct 5, 98 04:18:07 am" To: jgreco@solaria.sol.net (Joe Greco) Date: Mon, 5 Oct 1998 11:29:56 -0300 (EST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (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 #define quoting(Joe Greco) // I was wondering if anyone else thought this is an interesting idea. // // I'd like, in some instances, to be able to avoid the default UNIX IP // behaviour of grabbing the "closest interface" address when connecting // to a remote host with TCP (or UDP for that matter). There are some // times when I know a better address to use, but would rather not have // to modify lots and lots of userland code to specifically do a bind() // of the socket to the particular address that I'd really like to use. // The source isn't always available. :-( // // How hard would it be to add a sysctl that "changed" any normally- // INADDR_ANY socket to instead to bind to some specified IP address? Yes, yes, yes !!! // I can see some potential uses on things like firewalls, too... And machines acting both as router and server, in which you'd like to always use the internal IP address. Jonny -- Joao Carlos Mendes Luis M.Sc. Student jonny@jonny.eng.br Universidade Federal do Rio de Janeiro "This .sig is not meant to be politically correct." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 07:35:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA14832 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 07:35:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Raccoon.ChipChat.com (Raccoon.ChipChat.com [206.2.228.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA14804; Mon, 5 Oct 1998 07:35:03 -0700 (PDT) (envelope-from mrc@ChipChat.com) Received: from ChipChat.com (MRC-Tiger.ChipChat.com [206.2.228.141]) by Raccoon.ChipChat.com (8.9.1/8.9.1) with SMTP id OAA27351; Mon, 5 Oct 1998 14:34:01 GMT Date: Mon, 5 Oct 1998 10:34:00 -0400 (EDT) From: Marty Cawthon Reply-To: Marty Cawthon To: jkh@time.cdrom.com, hosokawa@FreeBSD.ORG cc: hackers@FreeBSD.ORG Subject: Re: New artwork for 3.0 CD cover? In-Reply-To: Message-ID: X-X-Sender: mrc@Raccoon.ChipChat.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Jordan K. Hubbard wrote: > > Dear Tatsumi-san, > > > > We're strongly thinking of making a departure from the classic "daemon > > walking out of a CD" artwork which we've been using for the last few > > years here in order to give 3.0, a product with lots of new features, > > a new look to match. Hello BSDaemons, My comments on the daemon logo, and how it influenced me to try FreeBSD. I have been using FreeBSD for several months. Previous to FreeBSD I purchased several different Linux distributions, and a half-dozen Linux books. Greg Lehey's book 'clicked' with me, and provided enough help and enthusiasm for me to carry thru with FreeBSD from Linux. Afterwards I thought "Why was this?". I like to think of myself as logical and rational, not vulnerable to marketing, advertising, etc. Yet a significant factor in my initial preference for FreeBSD vs Linux was the difference in the mascots: the BSDaemon vs the Penguin. I LIKE Penguins. I have seen (and smelled!) tens of thousands of them during an expedition to the Antarctic. But the Linux penguin is too "plopped down and inanimate" to really appeal to me. It lacks personality. The BSDaemon on the cover of Mr Lehey's book exhibits 'personality'. He is moving, his eyes are reading, and his look is one of a "Dennis the Menace" type -- good at heart, but you never quite know what to expect next. I realize that most posts to these FreeBSD Mailing Lists are of a technical nature, unlike this message. With my technical credentials and background I am hesitant to "broadcast to the world" that some cartoon character was a factor in my trying FreeBSD. Yet that is the truth. I believe that others might have a similar reaction. The a mascot can be a major factor in a person's perception of a technical and abstract product. Moreso than most will admit. Now, of course, after working with FreeBSD I am begining to appreciate the technical excellence of the product. But that daemon is still appealing! SUMMARY: A BSDaemon 'in motion' with 'lively eyes' and a 'personaility' was important in getting my attention to FreeBSD. This mascot is very important to 'represent and popularize' a complex product like BSD. Marty Cawthon ChipChat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 07:49:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA17386 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 07:49:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA17364; Mon, 5 Oct 1998 07:49:09 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id HAA13091; Mon, 5 Oct 1998 07:48:44 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Marty Cawthon cc: hosokawa@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: New artwork for 3.0 CD cover? In-reply-to: Your message of "Mon, 05 Oct 1998 10:34:00 EDT." Date: Mon, 05 Oct 1998 07:48:44 -0700 Message-ID: <13087.907598924@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > A BSDaemon 'in motion' with 'lively eyes' and a 'personaility' > was important in getting my attention to FreeBSD. This mascot is very > important to 'represent and popularize' a complex product like BSD. Thanks for letting us know more about the importance of the mascot in your selection, but nonetheless, your message was missing the most important bit which I figure you simply forgot to attach: Where's the artwork? :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 08:43:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25967 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 08:43:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA25936 for ; Mon, 5 Oct 1998 08:43:35 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id IAA13295; Mon, 5 Oct 1998 08:38:20 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: WHS cc: tech@openbsd.org, misc@openbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: GGI In-reply-to: Your message of "Mon, 05 Oct 1998 15:42:02 +0200." <3618CCAA.75189840@cistron.nl> Date: Mon, 05 Oct 1998 08:38:19 -0700 Message-ID: <13291.907601899@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > It's now up to you all: is there any interest in using GGI given the > current license situation? This would probably be a fine time to get into Yet Another License battle except for the fact that I am personally sick of license battles right now and restrict myself to caring about stuff which is actually on the critical path, like important device drivers or the compiler toolchain, leaving the license issues for less critical items to be debated by those with the time and inclination to argue about licensing until old age sets in (and probably well past that point). In the specific case of GGI, I certainly don't care either way. If there are GPL'd kernel bits, then we just make them available as optional add-ons like ext2fs and the other bits in /usr/src/sys/gnu. If someone wants to do a binary-only kernel release, they leave out /usr/src/{.,*/}gnu as always and life goes on. Hardly something worth self-combusting over, and not a feature we've gotten a lot of requests for in any case, so from the purely "user request drive" standpoint it's also not anywhere on my short-range map. To summarize: Have the authors do as they like with the GGI license. It's not a gating factor (here) in the acceptance of the software. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 08:54:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA28276 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 08:54:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles140.castles.com [208.214.165.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA28252 for ; Mon, 5 Oct 1998 08:54:43 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id IAA03313; Mon, 5 Oct 1998 08:59:30 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810051559.IAA03313@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Robert Shady cc: freebsd-hackers@FreeBSD.ORG Subject: Re: * Promise FastTrak Controller * In-reply-to: Your message of "Mon, 05 Oct 1998 09:44:41 EDT." <199810051344.JAA27803@server.id.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Oct 1998 08:59:29 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please, one list only with your questions, and this one doesn't really belong on either. > Okie doke.. I've got a question for everyone.. I've recently purchase > two Promise FastTrak controllers and 8 13.6 Gigabyte hard drives that I > need to get to work in our new FreeBSD server. I've gotten as far as > installation 3.0-19981003-BETA, configuring pnp in the kernel, and getting > it to notice the two drives (independantly) that I currently have plugged > into the controller. In this scenario, theoretically, I could use CCD to > RAID stripe the drives, but that seems to defeat the purpose of hardware > RAID. Please respond ASAP, our existing server (32GB) is out of space.. :( You haven't asked a question, nor explained anything like enough to be able to guess what your question might be. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 09:08:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA00580 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 09:08:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles140.castles.com [208.214.165.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA00555 for ; Mon, 5 Oct 1998 09:08:33 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id JAA03441 for ; Mon, 5 Oct 1998 09:13:30 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810051613.JAA03441@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: hackers@FreeBSD.ORG Subject: RMS on UDI Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Oct 1998 09:13:29 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here's RMS and his own personal brand of FUD again, this time coming up with good reasons why UDI will make us all a cargo cult. Actually, he doesn't talk about us at all, just those G-cattle. http://slashdot.org/articles/98/10/04/2211242.shtml -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 09:36:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04975 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 09:36:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA04890; Mon, 5 Oct 1998 09:35:48 -0700 (PDT) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.8.8/8.8.8) id RAA12509; Mon, 5 Oct 1998 17:35:11 +0100 (BST) (envelope-from joe) Message-ID: <19981005173511.I26632@pavilion.net> Date: Mon, 5 Oct 1998 17:35:11 +0100 From: Josef Karthauser To: Marty Cawthon , jkh@time.cdrom.com, hosokawa@FreeBSD.ORG Cc: hackers@FreeBSD.ORG Subject: Re: New artwork for 3.0 CD cover? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Marty Cawthon on Mon, Oct 05, 1998 at 10:34:00AM -0400 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England Phone: +44-1273-607072 Fax: +44-1273-607073 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Oct 05, 1998 at 10:34:00AM -0400, Marty Cawthon wrote: > > SUMMARY: > A BSDaemon 'in motion' with 'lively eyes' and a 'personaility' > was important in getting my attention to FreeBSD. This mascot is very > important to 'represent and popularize' a complex product like BSD. > Where can we buy the cuddly toy? Joe -- Josef Karthauser Technical Manager FreeBSD: The power to serve (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 09:37:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA05565 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 09:37:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lwaxana.cistron.nl (lwaxana.cistron.nl [195.64.68.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA05488 for ; Mon, 5 Oct 1998 09:37:41 -0700 (PDT) (envelope-from wouters@cistron.nl) Received: from localhost.localdomain (wouter@cs1p38.dial.cistron.nl [195.64.69.39]) by lwaxana.cistron.nl (8.8.8/8.8.8/Debian/GNU) with SMTP id SAA26518; Mon, 5 Oct 1998 18:37:05 +0200 Message-ID: <3618F60E.4B7A0301@cistron.nl> Date: Mon, 05 Oct 1998 18:38:38 +0200 From: WHS Organization: robots anonymous X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.34 i686) MIME-Version: 1.0 To: tech@openbsd.org, misc@openbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: GGI References: <13291.907601899@time.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jordan K. Hubbard wrote: > > > It's now up to you all: is there any interest in using GGI given the > > current license situation? > > This would probably be a fine time to get into Yet Another License > battle except for the fact that I am personally sick of license > battles right now and restrict myself to caring about stuff which is > actually on the critical path, like important device drivers or the > compiler toolchain, leaving the license issues for less critical items > to be debated by those with the time and inclination to argue about > licensing until old age sets in (and probably well past that point). I didn't want a license debate, more a statement like: 'if libggi = LGPL then GGI won't be standard on BSD and very likely, in my view, won't be used by many people'. Which from the rest of your mail I see is the case. > In the specific case of GGI, I certainly don't care either way. If > there are GPL'd kernel bits, then we just make them available as No, that will be BSD (or X if that's ok). Just the library (which is needed to use the kernel code) is LGPL. > optional add-ons like ext2fs and the other bits in /usr/src/sys/gnu. > If someone wants to do a binary-only kernel release, they leave out > /usr/src/{.,*/}gnu as always and life goes on. Hardly something worth > self-combusting over, and not a feature we've gotten a lot of requests > for in any case, so from the purely "user request drive" standpoint > it's also not anywhere on my short-range map. > > To summarize: Have the authors do as they like with the GGI license. > It's not a gating factor (here) in the acceptance of the software. What I'm also getting at is this: If kernel internals change, then the KGI (kernel part of GGI) may have to be altered and you (or another BSD hacker) won't be inclined to do this for a piece that can only be used with a LGPL lib, right? Regards, Wouter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 09:40:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06021 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 09:40:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from orcrist.mediacity.com (orcrist.mediacity.com [208.138.36.146]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA05979; Mon, 5 Oct 1998 09:39:59 -0700 (PDT) (envelope-from gsutter@orcrist.mediacity.com) Received: (from gsutter@localhost) by orcrist.mediacity.com (8.8.8/8.8.8) id JAA29136; Mon, 5 Oct 1998 09:40:46 -0700 (PDT) (envelope-from gsutter) Message-ID: <19981005094046.D10980@orcrist.mediacity.com> Date: Mon, 5 Oct 1998 09:40:46 -0700 From: Gregory Sutter To: "Jonathan M. Bresler" , hackers@hub.freebsd.org Subject: Re: VMailer and hackers References: <199810042219.PAA08374@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199810042219.PAA08374@hub.freebsd.org>; from Jonathan M. Bresler on Sun, Oct 04, 1998 at 03:19:57PM -0700 Organization: Zer0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 04, 1998 at 03:19:57PM -0700, Jonathan M. Bresler wrote: > After giving you all a taste of VMailer, I am converting > the lists back to bulk_mailer to give everyone a chance to > address any mail sorting issues that may have arisen with > procmail receipes, etc. I've always had good luck with the following procmail recipe. It doesn't miss anything, whether VMailer, sendmail, bulk_mailer, or whatever. And it's only a little overkill. :) FROM="^((X-)?(((Envelope-)?Sender|(Apparently-|Resent-)?From)|Reply-To|Return-Path):(.*\<)?)" FBSDLIST="(advocacy|announce|chat|hackers|isp|net|questions|security)" :0 * $ ($FROM|$TO_)freebsd.org { :0 : * (X-Loop: FreeBSD.org|Sender: owner-freebsd-) * $ ($FROM|$TO_)(freebsd-)?\/$FBSDLIST | formail -i "X-Fkey: freebsd-$MATCH" >> freebsd/$MATCH } Greg -- Gregory S. Sutter Was Jimi's modem a Purple Hayes? mailto:gsutter@pobox.com http://www.pobox.com/~gsutter/ yGP DSS public key 0x40AE3052 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 10:25:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16250 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 10:25:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from relay.esat.net (relay.esat.net [192.111.39.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16189 for ; Mon, 5 Oct 1998 10:24:54 -0700 (PDT) (envelope-from nialls@euristix.ie) Received: from (euristix.ie) [193.120.210.2] by relay.esat.net with esmtp id 0zQEMs-0004aQ-00; Mon, 5 Oct 1998 18:24:19 +0100 Received: by gateway.euristix.ie id <19713>; Mon, 5 Oct 1998 18:22:53 +0100 Message-Id: <98Oct5.182253bst.19713@gateway.euristix.ie> Date: Mon, 5 Oct 1998 17:02:10 +0100 From: Niall Smart X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: MIT Exokernel OS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This looks interesting: MIT Exokernel Operating System An operating system is interposed between applications and the physical hardware. Therefore, its structure has a dramatic impact on the performance and the scope of applications that can be built on it. Since its inception, the field of operating systems has been attempting to identify an appropriate structure: previous attempts include the familiar monolithic and micro-kernel operating systems as well as more exotic language-based and virtual machine operating systems. Exokernels dramatically depart from this previous work. An exokernel eliminates the notion that an operating system should provide abstractions on which applications are built. Instead, it concentrates solely on securely multiplexing the raw hardware: from basic hardware primitives, application-level libraries and servers can directly implement traditional operating system abstractions, specialized for appropriateness and speed. http://www.pdos.lcs.mit.edu/exo/ Regards, Niall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 11:21:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26363 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 11:21:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cypher.net (zen.pratt.edu [205.232.115.155]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA26356 for ; Mon, 5 Oct 1998 11:21:02 -0700 (PDT) (envelope-from black@cypher.net) Received: (qmail 23138 invoked by uid 512); 5 Oct 1998 18:09:24 -0000 Message-ID: <19981005140923.F2924@cypher.net> Date: Mon, 5 Oct 1998 14:09:23 -0400 From: Ben Black To: Niall Smart , hackers@FreeBSD.ORG Subject: Re: MIT Exokernel OS References: <98Oct5.182253bst.19713@gateway.euristix.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <98Oct5.182253bst.19713@gateway.euristix.ie>; from Niall Smart on Mon, Oct 05, 1998 at 05:02:10PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i have been playing with their exopc distribution. i think the most immediately interesting aspect for freebsd is the DPF code. it dynamically generates native filter code resulting in huge speedups. all multiplexing of network interfaces is via DPF. would be an interesting addition and the license is just right. ben On Mon, Oct 05, 1998 at 05:02:10PM +0100, Niall Smart had most eloquently written: > This looks interesting: > > MIT Exokernel Operating System > > An operating system is interposed between applications and the physical hardware. > Therefore, its structure has a dramatic impact on the performance and the scope of > applications that can be built on it. Since its inception, the field of operating > systems has been attempting to identify an appropriate structure: previous attempts > include the familiar monolithic and micro-kernel operating systems as well as more > exotic language-based and virtual machine operating systems. Exokernels dramatically > depart from this previous work. An exokernel eliminates the notion that an operating > system should provide abstractions on which applications are built. Instead, it > concentrates solely on securely multiplexing the raw hardware: from basic hardware > primitives, application-level libraries and servers can directly implement traditional > operating system abstractions, specialized for appropriateness and speed. > > http://www.pdos.lcs.mit.edu/exo/ > > > > Regards, > > Niall > > 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 Oct 5 11:43:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00756 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 11:43:33 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA00733 for ; Mon, 5 Oct 1998 11:43:21 -0700 (PDT) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.1/8.8.5) with ESMTP id OAA17276; Mon, 5 Oct 1998 14:41:58 -0400 (EDT) Date: Mon, 5 Oct 1998 14:41:58 -0400 (EDT) From: Chuck Robey To: Niall Smart cc: hackers@FreeBSD.ORG Subject: Re: MIT Exokernel OS In-Reply-To: <98Oct5.182253bst.19713@gateway.euristix.ie> 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, 5 Oct 1998, Niall Smart wrote: > This looks interesting: > > MIT Exokernel Operating System > > An operating system is interposed between applications and the > physical hardware. Therefore, its structure has a dramatic impact on > the performance and the scope of applications that can be built on > it. Since its inception, the field of operating systems has been > attempting to identify an appropriate structure: previous attempts > include the familiar monolithic and micro-kernel operating systems > as well as more exotic language-based and virtual machine operating > systems. Exokernels dramatically depart from this previous work. An > exokernel eliminates the notion that an operating system should > provide abstractions on which applications are built. Instead, it > concentrates solely on securely multiplexing the raw hardware: from > basic hardware primitives, application-level libraries and servers > can directly implement traditional operating system abstractions, > specialized for appropriateness and speed. > > http://www.pdos.lcs.mit.edu/exo/ The nice thing to see is that they compare, on the web page above, the performance of their ExOS system with FreeBSD amd OpenBSD as benchmarks. It's interesting in it's own right, but this is very nice to see. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 11:44:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA01011 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 11:44:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from yonge.cs.toronto.edu (yonge.cs.toronto.edu [128.100.2.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA00972 for ; Mon, 5 Oct 1998 11:44:24 -0700 (PDT) (envelope-from dholland@cs.toronto.edu) Received: from qew.cs.toronto.edu ([128.100.2.15]) by yonge.cs.toronto.edu with SMTP id <86515-11980>; Mon, 5 Oct 1998 14:43:47 -0400 Received: by qew.cs.toronto.edu id <37768-22953>; Mon, 5 Oct 1998 14:43:13 -0400 Subject: Re: Xlib only (not Xt) X-ware? From: David Holland To: kline@thought.org (Gary Kline) Date: Mon, 5 Oct 1998 14:43:06 -0400 Cc: hackers@FreeBSD.ORG In-Reply-To: <19981003123110.49111@thought.org> from "Gary Kline" at Oct 3, 98 03:31:10 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <98Oct5.144313edt.37768-22953@qew.cs.toronto.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Anybody know of any X-ware ports other than rxvt and xcoral > that do _not_ use the Xt intrinsics, but only Xlib? > > I gave up on my Xlib-only version of an application that I > began in 1996 because my app grew too complex. The Xt route > is simpler in some respects and a whole 'nother ballgame in > others. If there are any other (significant) efforts done > in Xlib-only I'd like to know. I have a project underway that's Xlib-only, because I found it to be cleaner and simpler than using Xt. On the other hand, it's not likely to show up in the ports collection for months, if ever. -- - David A. Holland | (please continue to send non-list mail to dholland@cs.utoronto.ca | dholland@hcs.harvard.edu. yes, I moved.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 12:19:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08959 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 12:19:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [212.242.40.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08915 for ; Mon, 5 Oct 1998 12:19:02 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.9.1/8.9.1) id VAA15184; Mon, 5 Oct 1998 21:17:49 +0200 (CEST) (envelope-from sos) Message-Id: <199810051917.VAA15184@sos.freebsd.dk> Subject: Re: GGI In-Reply-To: <3618F60E.4B7A0301@cistron.nl> from WHS at "Oct 5, 98 06:38:38 pm" To: wouters@cistron.nl (WHS) Date: Mon, 5 Oct 1998 21:17:49 +0200 (CEST) Cc: tech@openbsd.org, misc@openbsd.org, freebsd-hackers@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 In reply to WHS who wrote: > > I didn't want a license debate, more a statement like: 'if libggi = LGPL > then GGI won't be standard on BSD and very likely, in my view, won't be > used by many people'. Which from the rest of your mail I see is the > case. We do not encourage use of the LGPL, and most of our userbase will probably avoid it. > > In the specific case of GGI, I certainly don't care either way. If > > there are GPL'd kernel bits, then we just make them available as > > No, that will be BSD (or X if that's ok). Just the library (which is > needed to use the kernel code) is LGPL. That effectively makes the code LGPL, we have no use for the kernel bits without the library. > What I'm also getting at is this: If kernel internals change, then the > KGI (kernel part of GGI) may have to be altered and you (or another BSD > hacker) won't be inclined to do this for a piece that can only be used > with a LGPL lib, right? Exactly, and I'm not sure we can agree on if the KGI bits should get in there in the first place. Besides we already have code in the kernel to handle some of what GGI wants to do, so the point might be somewhat moot. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end? .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 13:16:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21236 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 13:16:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21230 for ; Mon, 5 Oct 1998 13:16:51 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id NAA14545; Mon, 5 Oct 1998 13:10:29 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: WHS cc: tech@openbsd.org, misc@openbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: GGI In-reply-to: Your message of "Mon, 05 Oct 1998 18:38:38 +0200." <3618F60E.4B7A0301@cistron.nl> Date: Mon, 05 Oct 1998 13:10:29 -0700 Message-ID: <14541.907618229@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I didn't want a license debate, more a statement like: 'if libggi = LGPL > then GGI won't be standard on BSD and very likely, in my view, won't be > used by many people'. Which from the rest of your mail I see is the > case. Well, if it's not used by many people then, again, this will be for reasons other than the license. I don't think most people actually care that much about the license when it comes down to the practical merits, it being far (FAR) more of a time--and-interest issue. > What I'm also getting at is this: If kernel internals change, then the > KGI (kernel part of GGI) may have to be altered and you (or another BSD > hacker) won't be inclined to do this for a piece that can only be used > with a LGPL lib, right? Again, and speaking just for myself and a few others here, I don't think that's a problem. If we were so anti-GPL as that, we wouldn't have any compilers. :) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 13:39:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA26345 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 13:39:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from danberlin.resnet.rochester.edu (danberlin.resnet.rochester.edu [128.151.84.217]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA26261 for ; Mon, 5 Oct 1998 13:38:10 -0700 (PDT) (envelope-from root@danberlin.resnet.rochester.edu) Received: from danberlin.resnet.rochester.edu (root@danberlin.resnet.rochester.edu [128.151.84.217]) by danberlin.resnet.rochester.edu (8.9.1a/8.9.1/Debian/GNU) with ESMTP id QAA28864; Mon, 5 Oct 1998 16:30:50 -0400 Date: Mon, 5 Oct 1998 16:30:50 -0400 (EDT) From: root To: Mike Smith cc: hackers@FreeBSD.ORG Subject: Re: RMS on UDI In-Reply-To: <199810051613.JAA03441@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've made some changes, because you aren't giving everyone the respect they deserve (read his other rants to know what i mean) Note that these changes were made on my GNU/MIT/X consortium/FSF/XFree86/Microsoft/Amiga/Apple/Xerox PARC/BSD/AT&T linux box. On Mon, 5 Oct 1998, Mike Smith wrote: > > Here's GNU/God/Adam/RMS's parents/RMS and his own personal brand of GNU/Microsoft/The Media/FUD again, this time coming up with good reasons why Intel/Sun/SCO/IBM/UDI will make us all a cargo /cult. Actually, he doesn't Caveman OGG/talk about us at all, just those G-cattle. > > TimBL/http://GNU/slashdot.org/articles/98/10/04/2211242.shtml > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 14:31:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04750 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 14:31:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from server.cirdan.iae.nl (server.cirdan.iae.nl [212.61.28.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA04715 for ; Mon, 5 Oct 1998 14:31:25 -0700 (PDT) (envelope-from graaf@cirdan.iae.nl) Received: from cirdan.iae.nl (cirdan.iae.nl [212.61.28.35]) by server.cirdan.iae.nl (8.9.1a/8.9.1) with ESMTP id XAA28830; Mon, 5 Oct 1998 23:31:14 +0200 (CEST) Message-Id: <199810052131.XAA28830@server.cirdan.iae.nl> Date: Mon, 5 Oct 1998 23:31:10 +0200 (CEST) From: Edwin de Graaf Subject: libraries in ports and ELF (3.0) To: freebsd-hackers@FreeBSD.ORG cc: graaf@iae.nl MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have just compiled the TkRat port (in ports/mail/tkrat) on 3.0-19981003-BETA. This took some doing because one of the libraries Tkrat depends on is installed as libc-client.so.2.1. The ELF ld does not recognize a library name like that, so the port would not link. I have gotten it to compile by manually moving the library to libc-client.so.2 and creating a symbolic link to it called libc-client.so. Oh, and I also changed the dependancy in the TkRat Makefile to read c-client.2 instead of c-client.2.1. I thought I would mention this in case others have the same problem. If everyone already knew this just ignore me, and I will go away ;-). Best regards, Edwin de Graaf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 14:44:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07974 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 14:44:26 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from omnix.net (omnix.net [194.183.217.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA07938; Mon, 5 Oct 1998 14:44:18 -0700 (PDT) (envelope-from didier@omnix.net) Received: from localhost (didier@localhost) by omnix.net (8.8.7/8.8.7) with SMTP id VAA12975; Mon, 5 Oct 1998 21:44:14 GMT (envelope-from didier@omnix.net) Date: Mon, 5 Oct 1998 23:44:14 +0200 (CEST) From: Didier Derny To: "Jonathan M. Bresler" cc: hackers@FreeBSD.ORG Subject: Re: Upgrading Hackers to VMailer In-Reply-To: <199810041608.JAA22268@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 Sun, 4 Oct 1998, Jonathan M. Bresler wrote: > > Hackers has just been migrated from Sendmail to VMailer > for mail delivery. Hi, I'm actually moving from sendmail to qmail (I've installed qmail but not converted the mail boxes.) Is there any possibility to find Vmailer anywhere ? I would like to have a look to this mailer before I complete the move to qmail. Thanks for your help -- Didier Derny didier@omnix.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 15:49:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA22511 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 15:49:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA22488 for ; Mon, 5 Oct 1998 15:49:20 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.1/frmug-2.3/nospam) with UUCP id AAA25542 for hackers@FreeBSD.ORG; Tue, 6 Oct 1998 00:49:15 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (VMailer, from userid 101) id 3F5DD1569; Tue, 6 Oct 1998 00:38:02 +0200 (CEST) Date: Tue, 6 Oct 1998 00:38:02 +0200 From: Ollivier Robert To: hackers@FreeBSD.ORG Subject: Re: Upgrading Hackers to VMailer Message-ID: <19981006003802.A21163@keltia.freenix.fr> Mail-Followup-To: hackers@FreeBSD.ORG References: <199810041608.JAA22268@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.4i In-Reply-To: ; from Didier Derny on Mon, Oct 05, 1998 at 11:44:14PM +0200 X-Operating-System: FreeBSD 3.0-BETA/ELF ctm#4704 AMD-K6 MMX @ 200 MHz Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Didier Derny: > converted the mail boxes.) Is there any possibility to find Vmailer > anywhere ? I would like to have a look to this mailer before I complete > the move to qmail. VMailer will be available as first public beta either on the 16th of October (this year :)) or two weeks later according to Wietse. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-BETA #2: Sat Oct 3 11:34:55 CEST 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 15:51:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23113 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 15:51:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23083; Mon, 5 Oct 1998 15:51:13 -0700 (PDT) (envelope-from info@internationalmoneynews.com) From: info@internationalmoneynews.com Received: from falcon-west.bestnet.org ([205.211.8.60]) by rm-rstar.sfu.ca (8.8.7/8.8.7/SFU-4.0H) with SMTP id MAA05865; Mon, 5 Oct 1998 12:04:05 -0700 (PDT) Date: Mon, 5 Oct 1998 12:04:05 -0700 (PDT) Message-Id: Content-Type: TEXT/PLAIN charset=US-ASCII To: undisclosed-recipients:; Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Free all professionals' IMF and World Bank economic currency trends and industry stability reports. Educated assessments and reporting is provided in 5 languages. Our international Due Diligence is dedicated to supplementing your superior analytical skills in all linguistic backgrounds. Our reader suggestion provision for professional research needs and ideas provides a unique oppurtunity to get the information you need. Our subjects include foreign and domestic business awareness "GROWING TO THE NEXT LEVEL" of Global Dominance. For a preview of our service, please visit http://www.internationalmoneynews.com If you are not interested in viewing our free service, thank-you for your kind indulgence! Please send a blank reply to this email and we will immediately remove you from our database. Sincerely, International Money News To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 16:00:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA26345 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 13:39:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from danberlin.resnet.rochester.edu (danberlin.resnet.rochester.edu [128.151.84.217]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA26261 for ; Mon, 5 Oct 1998 13:38:10 -0700 (PDT) (envelope-from root@danberlin.resnet.rochester.edu) Received: from danberlin.resnet.rochester.edu (root@danberlin.resnet.rochester.edu [128.151.84.217]) by danberlin.resnet.rochester.edu (8.9.1a/8.9.1/Debian/GNU) with ESMTP id QAA28864; Mon, 5 Oct 1998 16:30:50 -0400 Date: Mon, 5 Oct 1998 16:30:50 -0400 (EDT) From: root To: Mike Smith cc: hackers@FreeBSD.ORG Subject: Re: RMS on UDI In-Reply-To: <199810051613.JAA03441@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've made some changes, because you aren't giving everyone the respect they deserve (read his other rants to know what i mean) Note that these changes were made on my GNU/MIT/X consortium/FSF/XFree86/Microsoft/Amiga/Apple/Xerox PARC/BSD/AT&T linux box. On Mon, 5 Oct 1998, Mike Smith wrote: > > Here's GNU/God/Adam/RMS's parents/RMS and his own personal brand of GNU/Microsoft/The Media/FUD again, this time coming up with good reasons why Intel/Sun/SCO/IBM/UDI will make us all a cargo /cult. Actually, he doesn't Caveman OGG/talk about us at all, just those G-cattle. > > TimBL/http://GNU/slashdot.org/articles/98/10/04/2211242.shtml > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 16:20:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA28991 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 16:20:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA28961; Mon, 5 Oct 1998 16:20:08 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id QAA15369; Mon, 5 Oct 1998 16:20:06 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: sos@FreeBSD.ORG cc: wouters@cistron.nl (WHS), tech@openbsd.org, misc@openbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: GGI In-reply-to: Your message of "Mon, 05 Oct 1998 21:17:49 +0200." <199810051917.VAA15184@sos.freebsd.dk> Date: Mon, 05 Oct 1998 16:20:05 -0700 Message-ID: <15365.907629605@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > That effectively makes the code LGPL, we have no use for the kernel > bits without the library. Um, I've already said my piece, but just to note that the above is *incorrect*. There is a location for GPL'd kernel bits, as I already noted before, and this would simply become part of that (optional) collection. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 18:25:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27033 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 18:25:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from paprika.michvhf.com (paprika.michvhf.com [209.57.60.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA26980 for ; Mon, 5 Oct 1998 18:24:36 -0700 (PDT) (envelope-from vev@michvhf.com) Received: (qmail 25283 invoked by uid 1000); 6 Oct 1998 01:26:00 -0000 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 05 Oct 1998 21:25:59 -0400 (EDT) From: Vince Vielhaber To: freebsd-hackers@FreeBSD.ORG Subject: Dummynet Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Two dummynet questions. 1) If I have example.com limited to 50KB/s and 10 hosts from example.com connect, are each of the 10 limited to 50KB/s or is it a total number? 2) What's the difference between 50K/s and 50k/s? Note the lower case K. It seems to make a difference. (I admit I didn't go thru the source for this one). Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: vev@michvhf.com flame-mail: /dev/null # include TEAM-OS2 Online Searchable Campground Listings http://www.camping-usa.com "There is no outfit less entitled to lecture me about bloat than the federal government" -- Tony Snow ========================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 21:12:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA24612 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 21:12:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lighthouse.fries.net (fries.net [209.251.96.142]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA24495; Mon, 5 Oct 1998 21:12:14 -0700 (PDT) (envelope-from todd@lighthouse.fries.net) Received: (from todd@localhost) by lighthouse.fries.net (8.9.1a/8.9.1) id XAA26102; Mon, 5 Oct 1998 23:02:10 -0500 (CDT) Message-ID: <19981005230209.K18969@fries.net> Date: Mon, 5 Oct 1998 23:02:09 -0500 From: "Todd T. Fries" To: sos@FreeBSD.ORG, WHS Cc: tech@openbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: GGI References: <3618F60E.4B7A0301@cistron.nl> <199810051917.VAA15184@sos.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.93.2i In-Reply-To: =?iso-8859-1?Q?=3C199810051917=2EVAA15184=40sos=2Efreebsd=2Edk=3E=3B_fro?= =?iso-8859-1?Q?m_S=F8ren_Schmidt_on_Mon=2C_Oct_05=2C_1998_at_09:17:49PM_?= =?iso-8859-1?Q?+0200?= Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Oct 05, 1998 at 09:17:49PM +0200, Søren Schmidt wrote: > In reply to WHS who wrote: > > I didn't want a license debate, more a statement like: 'if libggi = LGPL > > then GGI won't be standard on BSD and very likely, in my view, won't be > > used by many people'. Which from the rest of your mail I see is the > > case. Hmm, I've spelled this out clearly to the project. They will not budge. They change the name from linux-ggi to ggi in hopes of being portable then they use lgpl for the library. Might as well change the name back IMHO. > > > In the specific case of GGI, I certainly don't care either way. If > > > there are GPL'd kernel bits, then we just make them available as > > > > No, that will be BSD (or X if that's ok). Just the library (which is > > needed to use the kernel code) is LGPL. > > That effectively makes the code LGPL, we have no use for the kernel > bits without the library. Precisely. > > What I'm also getting at is this: If kernel internals change, then the > > KGI (kernel part of GGI) may have to be altered and you (or another BSD > > hacker) won't be inclined to do this for a piece that can only be used > > with a LGPL lib, right? > > Exactly, and I'm not sure we can agree on if the KGI bits should get in > there in the first place. > Besides we already have code in the kernel to handle some of what > GGI wants to do, so the point might be somewhat moot. Hmm, I'd be surprised to know that you handle multiple input devices, (keyboards, mice, joysticks, etc) and multiple consoles mixing and matching multiple video hardware along with no necessity for setuid graphics apps. The last part is, when I was around during the formation of the GGI project, one of the main reasons it was formed. Unless forever more the X shall be uniquely graphic. -- Todd Fries .. toddf@acm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 22:07:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA03824 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 22:07:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA03802 for ; Mon, 5 Oct 1998 22:07:05 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id DAA05330; Tue, 6 Oct 1998 03:58:06 +0100 From: Luigi Rizzo Message-Id: <199810060258.DAA05330@labinfo.iet.unipi.it> Subject: Re: Dummynet To: vev@michvhf.com (Vince Vielhaber) Date: Tue, 6 Oct 1998 03:58:06 +0100 (MET) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Vince Vielhaber" at Oct 5, 98 09:25:40 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Two dummynet questions. > > 1) If I have example.com limited to 50KB/s and 10 hosts from example.com > connect, are each of the 10 limited to 50KB/s or is it a total number? total. > 2) What's the difference between 50K/s and 50k/s? Note the lower case K. > It seems to make a difference. (I admit I didn't go thru the source for > this one). i'd have to lookup the source myself, but K should definitely work as a *1000 multiplier and k maybe not. Whether we should also accept lowercase letters and/or use 1024 instead of 1000, that's another story, but in networking i have always seen K for 1000 and M for 1000000 cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Oct 5 22:18:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA05973 for freebsd-hackers-outgoing; Mon, 5 Oct 1998 22:18:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from at.dotat.com (zed.dotat.com [203.38.154.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA05936 for ; Mon, 5 Oct 1998 22:18:26 -0700 (PDT) (envelope-from hart@at.dotat.com) Received: from at.dotat.com (localhost.dotat.com [127.0.0.1]) by at.dotat.com (8.8.7/8.8.5) with ESMTP id OAA07654; Tue, 6 Oct 1998 14:50:14 +0930 (CST) Message-Id: <199810060520.OAA07654@at.dotat.com> To: Vince Vielhaber cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Dummynet Reply-To: freebsd-net@FreeBSD.ORG In-reply-to: Your message of "Mon, 05 Oct 1998 21:25:59 -0400." Date: Tue, 06 Oct 1998 14:50:14 +0930 From: Leigh Hart Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Vince, Followups set to freebsd-net ... Vince Vielhaber wrote: > > Two dummynet questions. > > 1) If I have example.com limited to 50KB/s and 10 hosts from example.com > connect, are each of the 10 limited to 50KB/s or is it a total number? if example.com in your ipfw rule is a net/mask and each of the 10 hosts from example.com match that net/mask then yes, I imagine all will be limited to 50KB/s collectively. That is my understanding, anyway :) > 2) What's the difference between 50K/s and 50k/s? Note the lower case K. > It seems to make a difference. (I admit I didn't go thru the source for > this one). At a guess, K/s is kilobytes/second and k/s is kilobits/second That's the popular convention I'm used to anyway. Cheers Leigh -- | "By the time they had diminished | Leigh Hart, | | from 50 to 8, the other dwarves | Dotat Communications Pty Ltd | | began to suspect 'Hungry' ..." | GPO Box 487 Adelaide SA 5001 | | -- Gary Larson, "The Far Side" | http://www.dotat.com/hart/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 00:13:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA20121 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 00:13:11 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from banshee.cs.uow.edu.au (banshee.cs.uow.edu.au [130.130.188.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA20112 for ; Tue, 6 Oct 1998 00:13:07 -0700 (PDT) (envelope-from ncb05@banshee.cs.uow.edu.au) Received: (from ncb05@localhost) by banshee.cs.uow.edu.au (8.9.1a/8.9.1) id RAA18775; Tue, 6 Oct 1998 17:13:02 +1000 (EST) Date: Tue, 6 Oct 1998 17:13:02 +1000 (EST) From: Nicholas Charles Brawn X-Sender: ncb05@banshee.cs.uow.edu.au To: freebsd-hackers@FreeBSD.ORG Subject: hardware error & graphics Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been trying to set a jpeg as my background recently using xv. However, each time I attempt to do so, xv core dumps, and I get a message on console regarding some VM (not certain atm - not at affected box) error - "probably hardware". The line i use for xv is: # xv -root -quit /path/to/pic.jpg Has anyone encountered this before, or able to offer any suggestions? Nick -- Email: ncb@poboxes.com - http://www.poboxes.com/ncb Key fingerprint = DE 30 33 D3 16 91 C8 8D A7 F8 70 03 B7 77 1A 2A "When in doubt, ask someone wiser than yourself..." -unknown To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 00:41:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA23689 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 00:41:04 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from omnix.net (omnix.net [194.183.217.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA23680 for ; Tue, 6 Oct 1998 00:40:56 -0700 (PDT) (envelope-from didier@omnix.net) Received: from localhost (didier@localhost) by omnix.net (8.8.7/8.8.7) with SMTP id HAA02717; Tue, 6 Oct 1998 07:40:29 GMT (envelope-from didier@omnix.net) Date: Tue, 6 Oct 1998 09:40:29 +0200 (CEST) From: Didier Derny To: Ollivier Robert cc: hackers@FreeBSD.ORG Subject: Re: Upgrading Hackers to VMailer In-Reply-To: <19981006003802.A21163@keltia.freenix.fr> 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, 6 Oct 1998, Ollivier Robert wrote: > VMailer will be available as first public beta either on the 16th of > October (this year :)) or two weeks later according to Wietse. thanks for the answer, but it will be too late for me :-((( -- Didier Derny didier@omnix.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 01:20:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA00620 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 01:20:18 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [212.242.40.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA00614; Tue, 6 Oct 1998 01:20:15 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.9.1/8.9.1) id KAA01858; Tue, 6 Oct 1998 10:20:08 +0200 (CEST) (envelope-from sos) Message-Id: <199810060820.KAA01858@sos.freebsd.dk> Subject: Re: GGI In-Reply-To: <19981005230209.K18969@fries.net> from "Todd T. Fries" at "Oct 5, 98 11:02:09 pm" To: toddf@acm.org (Todd T. Fries) Date: Tue, 6 Oct 1998 10:20:08 +0200 (CEST) Cc: sos@FreeBSD.ORG, wouters@cistron.nl, tech@openbsd.org, freebsd-hackers@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 In reply to Todd T. Fries who wrote: > > Besides we already have code in the kernel to handle some of what > > GGI wants to do, so the point might be somewhat moot. > > Hmm, I'd be surprised to know that you handle multiple input devices, > (keyboards, mice, joysticks, etc) and multiple consoles mixing and matching > multiple video hardware along with no necessity for setuid graphics apps. > The last part is, when I was around during the formation of the GGI project, > one of the main reasons it was formed. I said "some" of it not all. The setuid thing could be handled via ioctls or semilar if one wants to get rid of them in the current design. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end? .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 02:10:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA07765 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 02:10:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA06824; Tue, 6 Oct 1998 02:04:44 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA05689; Tue, 6 Oct 1998 08:03:41 +0100 From: Luigi Rizzo Message-Id: <199810060703.IAA05689@labinfo.iet.unipi.it> Subject: Re: Dummynet To: freebsd-net@FreeBSD.ORG Date: Tue, 6 Oct 1998 08:03:41 +0100 (MET) Cc: vev@michvhf.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199810060520.OAA07654@at.dotat.com> from "Leigh Hart" at Oct 6, 98 02:49:55 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 2) What's the difference between 50K/s and 50k/s? Note the lower case K. > > It seems to make a difference. (I admit I didn't go thru the source for > > this one). > > At a guess, K/s is kilobytes/second and k/s is kilobits/second actually i don't remember well how i implemented this in ipfw, but i think KB is for kilobyte and K or Kb is for kilobit (with K=1000, not 1024) cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 03:48:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA20805 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 03:48:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from coredump.int.tele.dk (fw1.inet.tele.dk [193.163.158.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA20719 for ; Tue, 6 Oct 1998 03:47:56 -0700 (PDT) (envelope-from fluffy@vszbr.cz) Received: from localhost (fluffy@localhost) by coredump.int.tele.dk (8.8.5/8.8.5) with SMTP id MAA08556 for ; Tue, 6 Oct 1998 12:47:51 +0200 X-Authentication-Warning: coredump.int.tele.dk: fluffy owned process doing -bs Date: Tue, 6 Oct 1998 12:47:51 +0200 (CEST) From: Fluffy -- The Other White Meat X-Sender: fluffy@coredump.int.tele.dk To: freebsd-hackers@FreeBSD.ORG Subject: Re: A "feature request", maybe...? 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 5 Oct 1998, Viljo Hakala wrote: > > last week, as I prepared to move one of my machines seamlessly from > > one IP address to another, while still retaining limited compatibility > > That's called IP ALIASING..rtfm ifconfig & route=) Thanks, I was halfway there... No problem with the alias for the same physical interface. However, adding the routes with the source address to appear as I wish seems to be a problem. I presume you mean the -ifa option to route? Unfortunately, it doesn't appear to make any difference, with the connects always originating from the first configured (old) IP address. It could be that I need to bang my head against TFM a bit more, or it could be that I need to take a few more risks, but with the machine I'm working on far away, I tend to err on the side of caution... I certainly won't rule out the probable operator error. I'll go back to sleeping on TFM and see if anything else pops to mind. Or maybe I'll give up and fire up a second network card... thanks, Barry ``NO E-MAIL DAMMIT THANKYOU'' Bouwsma To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 03:58:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA22520 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 03:58:26 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA22510 for ; Tue, 6 Oct 1998 03:58:21 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from gilberto.physik.RWTH-Aachen.DE (gilberto.physik.rwth-aachen.de [137.226.30.2]) by freefall.freebsd.org (8.8.8/8.8.5) with ESMTP id DAA24459 for ; Tue, 6 Oct 1998 03:58:17 -0700 (PDT) Received: (from kuku@localhost) by gilberto.physik.RWTH-Aachen.DE (8.8.8/8.8.7) id MAA23516 for freebsd-hackers@freefall.cdrom.com; Tue, 6 Oct 1998 12:58:25 +0200 (MEST) (envelope-from kuku) Date: Tue, 6 Oct 1998 12:58:25 +0200 (MEST) From: Christoph Kukulies Message-Id: <199810061058.MAA23516@gilberto.physik.RWTH-Aachen.DE> To: freebsd-hackers@freefall.cdrom.com Subject: wd1 not there after install and reboot Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 3.0-19981004-BETA : I installed from floppy. wdc0 and wdc1 are there but after booting wd0 the first time there is no wd1 (wdc1) any longer. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 03:59:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA22787 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 03:59:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA22782 for ; Tue, 6 Oct 1998 03:59:45 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from gilberto.physik.RWTH-Aachen.DE (gilberto.physik.rwth-aachen.de [137.226.30.2]) by freefall.freebsd.org (8.8.8/8.8.5) with ESMTP id DAA24473 for ; Tue, 6 Oct 1998 03:59:41 -0700 (PDT) Received: (from kuku@localhost) by gilberto.physik.RWTH-Aachen.DE (8.8.8/8.8.7) id MAA23520 for freebsd-hackers@freefall.cdrom.com; Tue, 6 Oct 1998 12:59:44 +0200 (MEST) (envelope-from kuku) Date: Tue, 6 Oct 1998 12:59:44 +0200 (MEST) From: Christoph Kukulies Message-Id: <199810061059.MAA23520@gilberto.physik.RWTH-Aachen.DE> To: freebsd-hackers@freefall.cdrom.com Subject: Re: wd1 not there after install and reboot Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ouch! wdc1 *is* there. wd2 is the disk. Sorry. Please discard the post. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 04:14:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA27132 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 04:14:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA27115 for ; Tue, 6 Oct 1998 04:14:28 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from bergelmir.ifi.uio.no (2602@bergelmir.ifi.uio.no [129.240.65.172]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id NAA06298; Tue, 6 Oct 1998 13:14:21 +0200 (MET DST) Received: (from dag-erli@localhost) by bergelmir.ifi.uio.no ; Tue, 6 Oct 1998 13:14:21 +0200 (MET DST) Mime-Version: 1.0 To: Nicholas Charles Brawn Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: hardware error & graphics References: Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 06 Oct 1998 13:14:20 +0200 In-Reply-To: Nicholas Charles Brawn's message of "Tue, 6 Oct 1998 17:13:02 +1000 (EST)" Message-ID: Lines: 15 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id EAA27123 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nicholas Charles Brawn writes: > I've been trying to set a jpeg as my background recently using xv. > However, each time I attempt to do so, xv core dumps, and I get a > message on console regarding some VM (not certain atm - not at affected > box) error - "probably hardware". The line i use for xv is: > # xv -root -quit /path/to/pic.jpg The text of the error message would sure be nice. (Doh! I forgot error messages were written for decoration and that the actual wording is useless!) DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 04:47:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA02342 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 04:47:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gatekeeper.wipsys.soft.net (gatekeeper.wipsys.soft.net [164.164.90.8]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA02334 for ; Tue, 6 Oct 1998 04:47:20 -0700 (PDT) (envelope-from sudeeps@wipsys.soft.net) Received: by gatekeeper.wipsys.soft.net (SMI-8.6/SMI-SVR4) id RAA26251; Tue, 6 Oct 1998 17:19:19 -0500 Received: from kmglmail(164.164.26.11) by gatekeeper via smap (V2.0) id xma026245; Tue, 6 Oct 98 17:19:15 -0500 Received: from nortelgw.wipsys.soft.net by kmglmail.wipsys.soft.net (SMI-8.6/SMI-SVR4) id RAA09594; Tue, 6 Oct 1998 17:12:32 -0500 Received: by nortelgw.wipsys.soft.net; id RAA02871; Tue, 6 Oct 1998 17:22:17 +0530 (IST) Received: from bnrkmail.wipsys.soft.net(192.219.223.25) by nortelgw.wipsys.soft.net via smap (4.0a) id xma002843; Tue, 6 Oct 98 17:21:17 +0530 Received: from blitz (emerald.wipsys.soft.net) by bnrkmail.wipsys.soft.net with SMTP (1.37.109.24/16.2) id AA062866121; Tue, 6 Oct 1998 17:15:21 +0500 Received: from localhost by blitz with SMTP (1.38.193.4/16.2) id AA05135; Tue, 6 Oct 1998 17:21:05 +0500 Message-Id: <361A0B31.1148@wipsys.soft.net> Date: Tue, 06 Oct 1998 17:21:05 +0500 From: "Sudeep S." X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.07 9000/715) Mime-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: (no subject) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG auth 71529d2d unsubscribe freebsd-hackers sudeeps@wipsys.soft.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 08:17:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA03843 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 08:17:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from citadel.cdsec.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA03720 for ; Tue, 6 Oct 1998 08:16:15 -0700 (PDT) (envelope-from gram@cdsec.com) Received: (from nobody@localhost) by citadel.cdsec.com (8.8.8/8.6.9) id RAA06529 for ; Tue, 6 Oct 1998 17:23:53 +0200 (SAST) Received: by citadel via recvmail id 6525; Tue Oct 6 17:23:40 1998 From: Graham Wheeler Message-Id: <199810061522.RAA02887@cdsec.com> Subject: New inetd.c To: hackers@FreeBSD.ORG Date: Tue, 6 Oct 1998 17:22:23 +0200 (SAT) X-Mailer: ELM [version 2.4 PL25-h4.1] 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 Hi all Below is my modified version of inetd.c. There are two major changes: * signals are now handled by writing a character to a pipe, which is subsequently included in the fdset passed to select. The select handling will then read the flags from the pipe and call the original signal handlers. This eliminates unsafe calls to malloc (and possibly others) from within the signal handlers, and should get rid of the `junk pointer: too low to make sense' errors that can occur. My original approach of setting integer flags was deficient in handling services which were temporarily disabled due to the maxchild value being exceeded, so I used the pipe approach; thanks to those who suggested it. You can check all the changes that were made to support this by grepping for the signalpipe array and flag_signal function. * a new argument, -X, has been added. If this argument is used, the entries in inetd.conf (or whatever config file is used) are expected to have an additional initial field, which is the address to bind to. A value of `any' will be equivalent to the normal behaviour of binding to INADDR_ANY. This provides similar functionality to the normal -a argument, but with a much finer granularity. It is intended for use in multi-homed hosts which have different services available on different interfaces. You can check all the changes that were made to support this by grepping for the `extended_format' flag in the source. The base source used was the inetd.c from FreeBSD release 2.2.7; if there are changes that have been made since then to the base they will not be in here. Perhaps others can try this out, and if everyone is happy, it could be incorporated into the release source tree. Enjoy! Graham --------- cut here ----------------------------------------------------------- /* * Copyright (c) 1983, 1991, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1983, 1991, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint #if 0 static char sccsid[] = "@(#)from: inetd.c 8.4 (Berkeley) 4/13/94"; #endif static const char rcsid[] = "$Id: inetd.c,v 1.15.2.8 1998/07/18 11:10:26 jkh Exp $"; #endif /* not lint */ /* * Inetd - Internet super-server * * This program invokes all internet services as needed. Connection-oriented * services are invoked each time a connection is made, by creating a process. * This process is passed the connection as file descriptor 0 and is expected * to do a getpeername to find out the source host and port. * * Datagram oriented services are invoked when a datagram * arrives; a process is created and passed a pending message * on file descriptor 0. Datagram servers may either connect * to their peer, freeing up the original socket for inetd * to receive further messages on, or ``take over the socket'', * processing all arriving datagrams and, eventually, timing * out. The first type of server is said to be ``multi-threaded''; * the second type of server ``single-threaded''. * * Inetd uses a configuration file which is read at startup * and, possibly, at some later time in response to a hangup signal. * The configuration file is ``free format'' with fields given in the * order shown below. Continuation lines for an entry must being with * a space or tab. All fields must be present in each entry. * * service name must be in /etc/services or must * name a tcpmux service * socket type stream/dgram/raw/rdm/seqpacket * protocol must be in /etc/protocols * wait/nowait single-threaded/multi-threaded * user user to run daemon as * server program full path name * server program arguments maximum of MAXARGS (20) * * TCP services without official port numbers are handled with the * RFC1078-based tcpmux internal service. Tcpmux listens on port 1 for * requests. When a connection is made from a foreign host, the service * requested is passed to tcpmux, which looks it up in the servtab list * and returns the proper entry for the service. Tcpmux returns a * negative reply if the service doesn't exist, otherwise the invoked * server is expected to return the positive reply if the service type in * inetd.conf file has the prefix "tcpmux/". If the service type has the * prefix "tcpmux/+", tcpmux will return the positive reply for the * process; this is for compatibility with older server code, and also * allows you to invoke programs that use stdin/stdout without putting any * special server code in them. Services that use tcpmux are "nowait" * because they do not have a well-known port and hence cannot listen * for new requests. * * For RPC services * service name/version must be in /etc/rpc * socket type stream/dgram/raw/rdm/seqpacket * protocol must be in /etc/protocols * wait/nowait single-threaded/multi-threaded * user user to run daemon as * server program full path name * server program arguments maximum of MAXARGS * * Comment lines are indicated by a `#' in column 1. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef LOGIN_CAP #include /* see init.c */ #define RESOURCE_RC "daemon" #endif #include "pathnames.h" #ifndef MAXCHILD #define MAXCHILD -1 /* maximum number of this service < 0 = no limit */ #endif #ifndef MAXCPM #define MAXCPM -1 /* rate limit invocations from a single remote address, < 0 = no limit */ #endif #define TOOMANY 256 /* don't start more than TOOMANY */ #define CNT_INTVL 60 /* servers in CNT_INTVL sec. */ #define RETRYTIME (60*10) /* retry after bind or server fail */ #define MAX_MAXCHLD 32767 /* max allowable max children */ #define SIGBLOCK (sigmask(SIGCHLD)|sigmask(SIGHUP)|sigmask(SIGALRM)) int debug = 0; int log = 0; int extended_format = 0; int nsock, maxsock; fd_set allsock; int options; int timingout; int toomany = TOOMANY; int maxchild = MAXCPM; int maxcpm = MAXCHILD; struct servent *sp; struct rpcent *rpc; struct in_addr bind_address; int signalpipe[2]; struct servtab { char *se_service; /* name of service */ int se_socktype; /* type of socket to use */ char *se_proto; /* protocol used */ int se_maxchild; /* max number of children */ int se_maxcpm; /* max connects per IP per minute */ int se_numchild; /* current number of children */ pid_t *se_pids; /* array of child pids */ char *se_user; /* user name to run as */ char *se_group; /* group name to run as */ #ifdef LOGIN_CAP char *se_class; /* login class name to run with */ #endif struct biltin *se_bi; /* if built-in, description */ char *se_server; /* server program */ #define MAXARGV 20 char *se_argv[MAXARGV+1]; /* program arguments */ int se_fd; /* open descriptor */ struct sockaddr_in se_ctrladdr;/* bound address */ u_char se_type; /* type: normal, mux, or mux+ */ u_char se_checked; /* looked at during merge */ u_char se_accept; /* i.e., wait/nowait mode */ u_char se_rpc; /* ==1 if RPC service */ int se_rpc_prog; /* RPC program number */ u_int se_rpc_lowvers; /* RPC low version */ u_int se_rpc_highvers; /* RPC high version */ int se_count; /* number started since se_time */ struct timeval se_time; /* start of se_count */ struct servtab *se_next; } *servtab; #define NORM_TYPE 0 #define MUX_TYPE 1 #define MUXPLUS_TYPE 2 #define TTCP_TYPE 3 #define ISMUX(sep) (((sep)->se_type == MUX_TYPE) || \ ((sep)->se_type == MUXPLUS_TYPE)) #define ISMUXPLUS(sep) ((sep)->se_type == MUXPLUS_TYPE) #define ISTTCP(sep) ((sep)->se_type == TTCP_TYPE) void chargen_dg __P((int, struct servtab *)); void chargen_stream __P((int, struct servtab *)); void close_sep __P((struct servtab *)); void flag_signal __P((char)); void flag_config __P((int)); void config __P((void)); void daytime_dg __P((int, struct servtab *)); void daytime_stream __P((int, struct servtab *)); void discard_dg __P((int, struct servtab *)); void discard_stream __P((int, struct servtab *)); void echo_dg __P((int, struct servtab *)); void echo_stream __P((int, struct servtab *)); void endconfig __P((void)); struct servtab *enter __P((struct servtab *)); void freeconfig __P((struct servtab *)); struct servtab *getconfigent __P((void)); void machtime_dg __P((int, struct servtab *)); void machtime_stream __P((int, struct servtab *)); char *newstr __P((char *)); char *nextline __P((FILE *)); void print_service __P((char *, struct servtab *)); void addchild __P((struct servtab *, int)); void flag_reapchild __P((int)); void reapchild __P((void)); void enable __P((struct servtab *)); void disable __P((struct servtab *)); void flag_retry __P((int)); void retry __P((void)); int setconfig __P((void)); void setup __P((struct servtab *)); char *sskip __P((char **)); char *skip __P((char **)); struct servtab *tcpmux __P((int)); int cpmip __P((struct servtab *, int)); void unregisterrpc __P((register struct servtab *sep)); struct biltin { char *bi_service; /* internally provided service name */ int bi_socktype; /* type of socket supported */ short bi_fork; /* 1 if should fork before call */ int bi_maxchild; /* max number of children (default) */ void (*bi_fn)(); /* function which performs it */ } biltins[] = { /* Echo received data */ { "echo", SOCK_STREAM, 1, 0, echo_stream }, { "echo", SOCK_DGRAM, 0, 0, echo_dg }, /* Internet /dev/null */ { "discard", SOCK_STREAM, 1, 0, discard_stream }, { "discard", SOCK_DGRAM, 0, 0, discard_dg }, /* Return 32 bit time since 1970 */ { "time", SOCK_STREAM, 0, 0, machtime_stream }, { "time", SOCK_DGRAM, 0, 0, machtime_dg }, /* Return human-readable time */ { "daytime", SOCK_STREAM, 0, 0, daytime_stream }, { "daytime", SOCK_DGRAM, 0, 0, daytime_dg }, /* Familiar character generator */ { "chargen", SOCK_STREAM, 1, 0, chargen_stream }, { "chargen", SOCK_DGRAM, 0, 0, chargen_dg }, { "tcpmux", SOCK_STREAM, 1, 0, (void (*)())tcpmux }, { NULL } }; #define NUMINT (sizeof(intab) / sizeof(struct inent)) char *CONFIG = _PATH_INETDCONF; char *pid_file = _PATH_INETDPID; #ifdef OLD_SETPROCTITLE char **Argv; char *LastArg; #endif int getvalue(arg, value, whine) char *arg, *whine; int *value; { int tmp; char *p; tmp = strtol(arg, &p, 0); if (tmp < 1 || *p) { syslog(LOG_ERR, whine, arg); return 1; /* failure */ } *value = tmp; return 0; /* success */ } int main(argc, argv, envp) int argc; char *argv[], *envp[]; { struct servtab *sep; struct passwd *pwd; struct group *grp; struct sigaction sa, sapipe; int tmpint, ch, dofork; pid_t pid; char buf[50]; struct sockaddr_in peer; int i; #ifdef LOGIN_CAP login_cap_t *lc = NULL; #endif #ifdef OLD_SETPROCTITLE Argv = argv; if (envp == 0 || *envp == 0) envp = argv; while (*envp) envp++; LastArg = envp[-1] + strlen(envp[-1]); #endif openlog("inetd", LOG_PID | LOG_NOWAIT, LOG_DAEMON); bind_address.s_addr = htonl(INADDR_ANY); while ((ch = getopt(argc, argv, "dlXR:a:c:C:p:")) != -1) switch(ch) { case 'd': debug = 1; options |= SO_DEBUG; break; case 'l': log = 1; break; case 'X': extended_format = 1; break; case 'R': getvalue(optarg, &toomany, "-R %s: bad value for service invocation rate"); break; case 'c': getvalue(optarg, &maxchild, "-c %s: bad value for maximum children"); break; case 'C': getvalue(optarg, &maxcpm, "-C %s: bad value for maximum children/minute"); break; case 'a': if (!inet_aton(optarg, &bind_address)) { syslog(LOG_ERR, "-a %s: invalid IP address", optarg); exit(EX_USAGE); } break; case 'p': pid_file = optarg; break; case '?': default: syslog(LOG_ERR, "usage: inetd [-dl] [-a address] [-R rate]" " [-c maximum] [-C rate]" " [-p pidfile] [conf-file]"); exit(EX_USAGE); } argc -= optind; argv += optind; if (argc > 0) CONFIG = argv[0]; if (debug == 0) { FILE *fp; if (daemon(0, 0) < 0) { syslog(LOG_WARNING, "daemon(0,0) failed: %m"); } /* * In case somebody has started inetd manually, we need to * clear the logname, so that old servers run as root do not * get the user's logname.. */ if (setlogin("") < 0) { syslog(LOG_WARNING, "cannot clear logname: %m"); /* no big deal if it fails.. */ } pid = getpid(); fp = fopen(pid_file, "w"); if (fp) { fprintf(fp, "%ld\n", (long)pid); fclose(fp); } else { syslog(LOG_WARNING, "%s: %m", pid_file); } } sa.sa_flags = 0; sigemptyset(&sa.sa_mask); sigaddset(&sa.sa_mask, SIGALRM); sigaddset(&sa.sa_mask, SIGCHLD); sigaddset(&sa.sa_mask, SIGHUP); sa.sa_handler = flag_retry; sigaction(SIGALRM, &sa, (struct sigaction *)0); config(); sa.sa_handler = flag_config; sigaction(SIGHUP, &sa, (struct sigaction *)0); sa.sa_handler = flag_reapchild; sigaction(SIGCHLD, &sa, (struct sigaction *)0); sa.sa_handler = SIG_IGN; sigaction(SIGPIPE, &sa, &sapipe); { /* space for daemons to overwrite environment for ps */ #define DUMMYSIZE 100 char dummy[DUMMYSIZE]; (void)memset(dummy, 'x', DUMMYSIZE - 1); dummy[DUMMYSIZE - 1] = '\0'; (void)setenv("inetd_dummy", dummy, 1); } if (pipe(signalpipe) != 0) { syslog(LOG_ERR, "pipe: %%m"); exit(EX_OSERR); } FD_SET(signalpipe[0], &allsock); if (signalpipe[0]>maxsock) maxsock = signalpipe[0]; for (;;) { int n, ctrl; fd_set readable; if (nsock == 0) { (void) sigblock(SIGBLOCK); while (nsock == 0) sigpause(0L); (void) sigsetmask(0L); } readable = allsock; if ((n = select(maxsock + 1, &readable, (fd_set *)0, (fd_set *)0, (struct timeval *)0)) <= 0) { if (n < 0 && errno != EINTR) { syslog(LOG_WARNING, "select: %m"); sleep(1); } continue; } /* handle any queued signal flags */ if (FD_ISSET(signalpipe[0], &readable)) { int n; if (ioctl(signalpipe[0], FIONREAD, &n) == 0) { while (--n >= 0) { char c; if (read(signalpipe[0], &c, 1) == 1) { if (debug) warnx("Handling signal flag %c", c); switch(c) { case 'A': /* sigalrm */ retry(); break; case 'C': /* sigchld */ reapchild(); break; case 'H': /* sighup */ config(); break; } } else { syslog(LOG_ERR, "read: %m"); exit(EX_OSERR); } } } else { syslog(LOG_ERR, "ioctl: %m"); exit(EX_OSERR); } } for (sep = servtab; n && sep; sep = sep->se_next) if (sep->se_fd != -1 && FD_ISSET(sep->se_fd, &readable)) { n--; if (debug) warnx("someone wants %s", sep->se_service); if (sep->se_accept && sep->se_socktype == SOCK_STREAM) { ctrl = accept(sep->se_fd, (struct sockaddr *)0, (int *)0); if (debug) warnx("accept, ctrl %d", ctrl); if (ctrl < 0) { if (errno != EINTR) syslog(LOG_WARNING, "accept (for %s): %m", sep->se_service); continue; } if (cpmip(sep, ctrl) < 0) { close(ctrl); continue; } if (log) { i = sizeof peer; if (getpeername(ctrl, (struct sockaddr *) &peer, &i)) { syslog(LOG_WARNING, "getpeername(for %s): %m", sep->se_service); close(ctrl); continue; } syslog(LOG_INFO,"%s from %s", sep->se_service, inet_ntoa(peer.sin_addr)); } } else ctrl = sep->se_fd; (void) sigblock(SIGBLOCK); pid = 0; dofork = (sep->se_bi == 0 || sep->se_bi->bi_fork); if (dofork) { if (sep->se_count++ == 0) (void)gettimeofday(&sep->se_time, (struct timezone *)0); else if (sep->se_count >= toomany) { struct timeval now; (void)gettimeofday(&now, (struct timezone *)0); if (now.tv_sec - sep->se_time.tv_sec > CNT_INTVL) { sep->se_time = now; sep->se_count = 1; } else { syslog(LOG_ERR, "%s/%s server failing (looping), service terminated", sep->se_service, sep->se_proto); close_sep(sep); sigsetmask(0L); if (!timingout) { timingout = 1; alarm(RETRYTIME); } continue; } } pid = fork(); } if (pid < 0) { syslog(LOG_ERR, "fork: %m"); if (sep->se_accept && sep->se_socktype == SOCK_STREAM) close(ctrl); sigsetmask(0L); sleep(1); continue; } if (pid) addchild(sep, pid); sigsetmask(0L); if (pid == 0) { if (dofork) { if (debug) warnx("+ closing from %d", maxsock); for (tmpint = maxsock; tmpint > 2; tmpint--) if (tmpint != ctrl) (void) close(tmpint); } /* * Call tcpmux to find the real service to exec. */ if (sep->se_bi && sep->se_bi->bi_fn == (void (*)()) tcpmux) { sep = tcpmux(ctrl); if (sep == NULL) { close(ctrl); _exit(0); } } if (sep->se_bi) { (*sep->se_bi->bi_fn)(ctrl, sep); /* NOTREACHED */ } else { if (debug) warnx("%d execl %s", getpid(), sep->se_server); dup2(ctrl, 0); close(ctrl); dup2(0, 1); dup2(0, 2); if ((pwd = getpwnam(sep->se_user)) == NULL) { syslog(LOG_ERR, "%s/%s: %s: No such user", sep->se_service, sep->se_proto, sep->se_user); if (sep->se_socktype != SOCK_STREAM) recv(0, buf, sizeof (buf), 0); _exit(EX_NOUSER); } grp = NULL; if ( sep->se_group != NULL && (grp = getgrnam(sep->se_group)) == NULL ) { syslog(LOG_ERR, "%s/%s: %s: No such group", sep->se_service, sep->se_proto, sep->se_group); if (sep->se_socktype != SOCK_STREAM) recv(0, buf, sizeof (buf), 0); _exit(EX_NOUSER); } if (grp != NULL) pwd->pw_gid = grp->gr_gid; #ifdef LOGIN_CAP if ((lc = login_getclass(sep->se_class)) == NULL) { /* error syslogged by getclass */ syslog(LOG_ERR, "%s/%s: %s: login class error", sep->se_service, sep->se_proto); if (sep->se_socktype != SOCK_STREAM) recv(0, buf, sizeof (buf), 0); _exit(EX_NOUSER); } #endif if (setsid() < 0) { syslog(LOG_ERR, "%s: can't setsid(): %m", sep->se_service); /* _exit(EX_OSERR); not fatal yet */ } #ifdef LOGIN_CAP if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETALL) != 0) { syslog(LOG_ERR, "%s: can't setusercontext(..%s..): %m", sep->se_service, sep->se_user); _exit(EX_OSERR); } #else if (pwd->pw_uid) { if (setlogin(sep->se_user) < 0) { syslog(LOG_ERR, "%s: can't setlogin(%s): %m", sep->se_service, sep->se_user); /* _exit(EX_OSERR); not yet */ } if (setgid(pwd->pw_gid) < 0) { syslog(LOG_ERR, "%s: can't set gid %d: %m", sep->se_service, pwd->pw_gid); _exit(EX_OSERR); } (void) initgroups(pwd->pw_name, pwd->pw_gid); if (setuid(pwd->pw_uid) < 0) { syslog(LOG_ERR, "%s: can't set uid %d: %m", sep->se_service, pwd->pw_uid); _exit(EX_OSERR); } } #endif sigaction(SIGPIPE, &sapipe, (struct sigaction *)0); execv(sep->se_server, sep->se_argv); if (sep->se_socktype != SOCK_STREAM) recv(0, buf, sizeof (buf), 0); syslog(LOG_ERR, "cannot execute %s: %m", sep->se_server); _exit(EX_OSERR); } } if (sep->se_accept && sep->se_socktype == SOCK_STREAM) close(ctrl); } } } /* * Add a signal flag to the signal flag queue for later handling */ void flag_signal(c) char c; { if (write(signalpipe[1], &c, 1) != 1) { syslog(LOG_ERR, "write: %m"); exit(EX_OSERR); } } /* * Record a new child pid for this service. If we've reached the * limit on children, then stop accepting incoming requests. */ void addchild(struct servtab *sep, pid_t pid) { #ifdef SANITY_CHECK if (sep->se_numchild >= sep->se_maxchild) { syslog(LOG_ERR, "%s: %d >= %d", __FUNCTION__, sep->se_numchild, sep->se_maxchild); exit(EX_SOFTWARE); } #endif if (sep->se_maxchild == 0) return; sep->se_pids[sep->se_numchild++] = pid; if (sep->se_numchild == sep->se_maxchild) disable(sep); } /* * Some child process has exited. See if it's on somebody's list. */ void flag_reapchild(signo) int signo; { flag_signal('C'); } void reapchild() { int k, status; pid_t pid; struct servtab *sep; for (;;) { pid = wait3(&status, WNOHANG, (struct rusage *)0); if (pid <= 0) break; if (debug) warnx("%d reaped, status %#x", pid, status); for (sep = servtab; sep; sep = sep->se_next) { for (k = 0; k < sep->se_numchild; k++) if (sep->se_pids[k] == pid) break; if (k == sep->se_numchild) continue; if (sep->se_numchild == sep->se_maxchild) enable(sep); sep->se_pids[k] = sep->se_pids[--sep->se_numchild]; if (status) syslog(LOG_WARNING, "%s[%d]: exit status 0x%x", sep->se_server, pid, status); break; } } } void flag_config(signo) int signo; { flag_signal('H'); } void config() { struct servtab *sep, *new, **sepp; long omask; if (!setconfig()) { syslog(LOG_ERR, "%s: %m", CONFIG); return; } for (sep = servtab; sep; sep = sep->se_next) sep->se_checked = 0; while ((new = getconfigent())) { if (getpwnam(new->se_user) == NULL) { syslog(LOG_ERR, "%s/%s: No such user '%s', service ignored", new->se_service, new->se_proto, new->se_user); continue; } if (new->se_group && getgrnam(new->se_group) == NULL) { syslog(LOG_ERR, "%s/%s: No such group '%s', service ignored", new->se_service, new->se_proto, new->se_group); continue; } #ifdef LOGIN_CAP if (login_getclass(new->se_class) == NULL) { /* error syslogged by getclass */ syslog(LOG_ERR, "%s/%s: login class error, service ignored", new->se_service, new->se_proto); continue; } #endif for (sep = servtab; sep; sep = sep->se_next) if (strcmp(sep->se_service, new->se_service) == 0 && strcmp(sep->se_proto, new->se_proto) == 0 && (!extended_format || sep->se_ctrladdr.sin_addr.s_addr == new->se_ctrladdr.sin_addr.s_addr)) break; if (sep != 0) { int i; #define SWAP(a, b) { typeof(a) c = a; a = b; b = c; } omask = sigblock(SIGBLOCK); /* copy over outstanding child pids */ if (sep->se_maxchild && new->se_maxchild) { new->se_numchild = sep->se_numchild; if (new->se_numchild > new->se_maxchild) new->se_numchild = new->se_maxchild; memcpy(new->se_pids, sep->se_pids, new->se_numchild * sizeof(*new->se_pids)); } SWAP(sep->se_pids, new->se_pids); sep->se_maxchild = new->se_maxchild; sep->se_numchild = new->se_numchild; sep->se_maxcpm = new->se_maxcpm; /* might need to turn on or off service now */ if (sep->se_fd >= 0) { if (sep->se_maxchild && sep->se_numchild == sep->se_maxchild) { if (FD_ISSET(sep->se_fd, &allsock)) disable(sep); } else { if (!FD_ISSET(sep->se_fd, &allsock)) enable(sep); } } sep->se_accept = new->se_accept; SWAP(sep->se_user, new->se_user); SWAP(sep->se_group, new->se_group); #ifdef LOGIN_CAP SWAP(sep->se_class, new->se_class); #endif SWAP(sep->se_server, new->se_server); for (i = 0; i < MAXARGV; i++) SWAP(sep->se_argv[i], new->se_argv[i]); sigsetmask(omask); freeconfig(new); if (debug) print_service("REDO", sep); } else { sep = enter(new); if (debug) print_service("ADD ", sep); } sep->se_checked = 1; if (ISMUX(sep)) { sep->se_fd = -1; continue; } if (!sep->se_rpc) { sp = getservbyname(sep->se_service, sep->se_proto); if (sp == 0) { syslog(LOG_ERR, "%s/%s: unknown service", sep->se_service, sep->se_proto); sep->se_checked = 0; continue; } if (sp->s_port != sep->se_ctrladdr.sin_port) { sep->se_ctrladdr.sin_family = AF_INET; if (!extended_format) sep->se_ctrladdr.sin_addr = bind_address; sep->se_ctrladdr.sin_port = sp->s_port; if (sep->se_fd >= 0) close_sep(sep); } } else { rpc = getrpcbyname(sep->se_service); if (rpc == 0) { syslog(LOG_ERR, "%s/%s unknown RPC service.", sep->se_service, sep->se_proto); if (sep->se_fd != -1) (void) close(sep->se_fd); sep->se_fd = -1; continue; } if (rpc->r_number != sep->se_rpc_prog) { if (sep->se_rpc_prog) unregisterrpc(sep); sep->se_rpc_prog = rpc->r_number; if (sep->se_fd != -1) (void) close(sep->se_fd); sep->se_fd = -1; } } if (sep->se_fd == -1) setup(sep); } endconfig(); /* * Purge anything not looked at above. */ omask = sigblock(SIGBLOCK); sepp = &servtab; while ((sep = *sepp)) { if (sep->se_checked) { sepp = &sep->se_next; continue; } *sepp = sep->se_next; if (sep->se_fd >= 0) close_sep(sep); if (debug) print_service("FREE", sep); if (sep->se_rpc && sep->se_rpc_prog > 0) unregisterrpc(sep); freeconfig(sep); free((char *)sep); } (void) sigsetmask(omask); } void unregisterrpc(sep) struct servtab *sep; { int i; struct servtab *sepp; long omask; omask = sigblock(SIGBLOCK); for (sepp = servtab; sepp; sepp = sepp->se_next) { if (sepp == sep) continue; if (sep->se_checked == 0 || !sepp->se_rpc || sep->se_rpc_prog != sepp->se_rpc_prog) continue; return; } if (debug) print_service("UNREG", sep); for (i = sep->se_rpc_lowvers; i <= sep->se_rpc_highvers; i++) pmap_unset(sep->se_rpc_prog, i); if (sep->se_fd != -1) (void) close(sep->se_fd); sep->se_fd = -1; (void) sigsetmask(omask); } void flag_retry(signo) int signo; { flag_signal('A'); } void retry() { struct servtab *sep; timingout = 0; for (sep = servtab; sep; sep = sep->se_next) if (sep->se_fd == -1 && !ISMUX(sep)) setup(sep); } void setup(sep) struct servtab *sep; { int on = 1; if ((sep->se_fd = socket(AF_INET, sep->se_socktype, 0)) < 0) { if (debug) warn("socket failed on %s/%s", sep->se_service, sep->se_proto); syslog(LOG_ERR, "%s/%s: socket: %m", sep->se_service, sep->se_proto); return; } #define turnon(fd, opt) \ setsockopt(fd, SOL_SOCKET, opt, (char *)&on, sizeof (on)) if (strcmp(sep->se_proto, "tcp") == 0 && (options & SO_DEBUG) && turnon(sep->se_fd, SO_DEBUG) < 0) syslog(LOG_ERR, "setsockopt (SO_DEBUG): %m"); if (turnon(sep->se_fd, SO_REUSEADDR) < 0) syslog(LOG_ERR, "setsockopt (SO_REUSEADDR): %m"); #ifdef SO_PRIVSTATE if (turnon(sep->se_fd, SO_PRIVSTATE) < 0) syslog(LOG_ERR, "setsockopt (SO_PRIVSTATE): %m"); #endif #undef turnon if (sep->se_type == TTCP_TYPE) if (setsockopt(sep->se_fd, IPPROTO_TCP, TCP_NOPUSH, (char *)&on, sizeof (on)) < 0) syslog(LOG_ERR, "setsockopt (TCP_NOPUSH): %m"); if (bind(sep->se_fd, (struct sockaddr *)&sep->se_ctrladdr, sizeof (sep->se_ctrladdr)) < 0) { if (debug) warn("bind failed on %s/%s", sep->se_service, sep->se_proto); syslog(LOG_ERR, "%s/%s: bind: %m", sep->se_service, sep->se_proto); (void) close(sep->se_fd); sep->se_fd = -1; if (!timingout) { timingout = 1; alarm(RETRYTIME); } return; } if (sep->se_rpc) { int i, len = sizeof(struct sockaddr); if (getsockname(sep->se_fd, (struct sockaddr*)&sep->se_ctrladdr, &len) < 0){ syslog(LOG_ERR, "%s/%s: getsockname: %m", sep->se_service, sep->se_proto); (void) close(sep->se_fd); sep->se_fd = -1; return; } if (debug) print_service("REG ", sep); for (i = sep->se_rpc_lowvers; i <= sep->se_rpc_highvers; i++) { pmap_unset(sep->se_rpc_prog, i); pmap_set(sep->se_rpc_prog, i, (sep->se_socktype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP, ntohs(sep->se_ctrladdr.sin_port)); } } if (sep->se_socktype == SOCK_STREAM) listen(sep->se_fd, 64); enable(sep); if (debug) { warnx("registered %s on %d", sep->se_server, sep->se_fd); } } /* * Finish with a service and its socket. */ void close_sep(sep) struct servtab *sep; { if (sep->se_fd >= 0) { if (FD_ISSET(sep->se_fd, &allsock)) disable(sep); (void) close(sep->se_fd); sep->se_fd = -1; } sep->se_count = 0; sep->se_numchild = 0; /* forget about any existing children */ } struct servtab * enter(cp) struct servtab *cp; { struct servtab *sep; long omask; sep = (struct servtab *)malloc(sizeof (*sep)); if (sep == (struct servtab *)0) { syslog(LOG_ERR, "Out of memory."); exit(EX_OSERR); } *sep = *cp; sep->se_fd = -1; omask = sigblock(SIGBLOCK); sep->se_next = servtab; servtab = sep; sigsetmask(omask); return (sep); } void enable(struct servtab *sep) { if (debug) warnx( "enabling %s, fd %d", sep->se_service, sep->se_fd); #ifdef SANITY_CHECK if (sep->se_fd < 0) { syslog(LOG_ERR, "%s: %s: bad fd", __FUNCTION__, sep->se_service); exit(EX_SOFTWARE); } if (ISMUX(sep)) { syslog(LOG_ERR, "%s: %s: is mux", __FUNCTION__, sep->se_service); exit(EX_SOFTWARE); } if (FD_ISSET(sep->se_fd, &allsock)) { syslog(LOG_ERR, "%s: %s: not off", __FUNCTION__, sep->se_service); exit(EX_SOFTWARE); } #endif FD_SET(sep->se_fd, &allsock); nsock++; if (sep->se_fd > maxsock) maxsock = sep->se_fd; } void disable(struct servtab *sep) { if (debug) warnx( "disabling %s, fd %d", sep->se_service, sep->se_fd); #ifdef SANITY_CHECK if (sep->se_fd < 0) { syslog(LOG_ERR, "%s: %s: bad fd", __FUNCTION__, sep->se_service); exit(EX_SOFTWARE); } if (ISMUX(sep)) { syslog(LOG_ERR, "%s: %s: is mux", __FUNCTION__, sep->se_service); exit(EX_SOFTWARE); } if (!FD_ISSET(sep->se_fd, &allsock)) { syslog(LOG_ERR, "%s: %s: not on", __FUNCTION__, sep->se_service); exit(EX_SOFTWARE); } if (nsock == 0) { syslog(LOG_ERR, "%s: nsock=0", __FUNCTION__); exit(EX_SOFTWARE); } #endif FD_CLR(sep->se_fd, &allsock); nsock--; if (sep->se_fd == maxsock) maxsock--; } FILE *fconfig = NULL; struct servtab serv; char line[LINE_MAX]; int setconfig() { if (fconfig != NULL) { fseek(fconfig, 0L, SEEK_SET); return (1); } fconfig = fopen(CONFIG, "r"); return (fconfig != NULL); } void endconfig() { if (fconfig) { (void) fclose(fconfig); fconfig = NULL; } } struct servtab * getconfigent() { struct servtab *sep = &serv; int argc; char *cp, *arg, *s; char *versp; static char TCPMUX_TOKEN[] = "tcpmux/"; #define MUX_LEN (sizeof(TCPMUX_TOKEN)-1) more: while ((cp = nextline(fconfig)) && (*cp == '#' || *cp == '\0')) ; if (cp == NULL) return ((struct servtab *)0); /* * clear the static buffer, since some fields (se_ctrladdr, * for example) don't get initialized here. */ memset((caddr_t)sep, 0, sizeof *sep); arg = skip(&cp); if (cp == NULL) { /* got an empty line containing just blanks/tabs. */ goto more; } if (extended_format) { if (strcmp(arg, "any") == 0) sep->se_ctrladdr.sin_addr.s_addr = INADDR_ANY; else sep->se_ctrladdr.sin_addr.s_addr = inet_addr(arg); arg = sskip(&cp); } if (strncmp(arg, TCPMUX_TOKEN, MUX_LEN) == 0) { char *c = arg + MUX_LEN; if (*c == '+') { sep->se_type = MUXPLUS_TYPE; c++; } else sep->se_type = MUX_TYPE; sep->se_service = newstr(c); } else { sep->se_service = newstr(arg); sep->se_type = NORM_TYPE; } arg = sskip(&cp); if (strcmp(arg, "stream") == 0) sep->se_socktype = SOCK_STREAM; else if (strcmp(arg, "dgram") == 0) sep->se_socktype = SOCK_DGRAM; else if (strcmp(arg, "rdm") == 0) sep->se_socktype = SOCK_RDM; else if (strcmp(arg, "seqpacket") == 0) sep->se_socktype = SOCK_SEQPACKET; else if (strcmp(arg, "raw") == 0) sep->se_socktype = SOCK_RAW; else sep->se_socktype = -1; arg = sskip(&cp); if (strcmp(arg, "tcp/ttcp") == 0) { sep->se_type = TTCP_TYPE; sep->se_proto = newstr("tcp"); } else { sep->se_proto = newstr(arg); } if (strncmp(sep->se_proto, "rpc/", 4) == 0) { memmove(sep->se_proto, sep->se_proto + 4, strlen(sep->se_proto) + 1 - 4); sep->se_rpc = 1; sep->se_rpc_prog = sep->se_rpc_lowvers = sep->se_rpc_lowvers = 0; sep->se_ctrladdr.sin_family = AF_INET; sep->se_ctrladdr.sin_port = 0; if (!extended_format) sep->se_ctrladdr.sin_addr = bind_address; if ((versp = rindex(sep->se_service, '/'))) { *versp++ = '\0'; switch (sscanf(versp, "%d-%d", &sep->se_rpc_lowvers, &sep->se_rpc_highvers)) { case 2: break; case 1: sep->se_rpc_highvers = sep->se_rpc_lowvers; break; default: syslog(LOG_ERR, "bad RPC version specifier; %s\n", sep->se_service); freeconfig(sep); goto more; } } else { sep->se_rpc_lowvers = sep->se_rpc_highvers = 1; } } arg = sskip(&cp); if (!strncmp(arg, "wait", 4)) sep->se_accept = 0; else if (!strncmp(arg, "nowait", 6)) sep->se_accept = 1; else { syslog(LOG_ERR, "%s: bad wait/nowait for service %s", CONFIG, sep->se_service); goto more; } sep->se_maxchild = maxchild; sep->se_maxcpm = maxcpm; if ((s = strchr(arg, '/')) != NULL) { char *eptr; u_long val; val = strtoul(s + 1, &eptr, 10); if (eptr == s + 1 || val > MAX_MAXCHLD) { syslog(LOG_ERR, "%s: bad max-child for service %s", CONFIG, sep->se_service); goto more; } sep->se_maxchild = val; if (*eptr == '/') sep->se_maxcpm = strtol(eptr + 1, &eptr, 10); /* * explicitly do not check for \0 for future expansion / * backwards compatibility */ } if (ISMUX(sep)) { /* * Silently enforce "nowait" mode for TCPMUX services * since they don't have an assigned port to listen on. */ sep->se_accept = 1; if (strcmp(sep->se_proto, "tcp")) { syslog(LOG_ERR, "%s: bad protocol for tcpmux service %s", CONFIG, sep->se_service); goto more; } if (sep->se_socktype != SOCK_STREAM) { syslog(LOG_ERR, "%s: bad socket type for tcpmux service %s", CONFIG, sep->se_service); goto more; } } sep->se_user = newstr(sskip(&cp)); #ifdef LOGIN_CAP if ((s = strrchr(sep->se_user, '/')) != NULL) { *s = '\0'; sep->se_class = newstr(s + 1); } else sep->se_class = newstr(RESOURCE_RC); #endif if ((s = strrchr(sep->se_user, ':')) != NULL) { *s = '\0'; sep->se_group = newstr(s + 1); } else sep->se_group = NULL; sep->se_server = newstr(sskip(&cp)); if (strcmp(sep->se_server, "internal") == 0) { struct biltin *bi; for (bi = biltins; bi->bi_service; bi++) if (bi->bi_socktype == sep->se_socktype && strcmp(bi->bi_service, sep->se_service) == 0) break; if (bi->bi_service == 0) { syslog(LOG_ERR, "internal service %s unknown", sep->se_service); goto more; } sep->se_accept = 1; /* force accept mode for built-ins */ sep->se_bi = bi; } else sep->se_bi = NULL; if (sep->se_maxchild < 0) /* apply default max-children */ if (sep->se_bi) sep->se_maxchild = sep->se_bi->bi_maxchild; else sep->se_maxchild = sep->se_accept ? 0 : 1; if (sep->se_maxchild) { sep->se_pids = malloc(sep->se_maxchild * sizeof(*sep->se_pids)); if (sep->se_pids == NULL) { syslog(LOG_ERR, "Out of memory."); exit(EX_OSERR); } } argc = 0; for (arg = skip(&cp); cp; arg = skip(&cp)) if (argc < MAXARGV) { sep->se_argv[argc++] = newstr(arg); } else { syslog(LOG_ERR, "%s: too many arguments for service %s", CONFIG, sep->se_service); goto more; } while (argc <= MAXARGV) sep->se_argv[argc++] = NULL; return (sep); } void freeconfig(cp) struct servtab *cp; { int i; if (cp->se_service) free(cp->se_service); if (cp->se_proto) free(cp->se_proto); if (cp->se_user) free(cp->se_user); if (cp->se_group) free(cp->se_group); #ifdef LOGIN_CAP if (cp->se_class) free(cp->se_class); #endif if (cp->se_server) free(cp->se_server); if (cp->se_pids) free(cp->se_pids); for (i = 0; i < MAXARGV; i++) if (cp->se_argv[i]) free(cp->se_argv[i]); } /* * Safe skip - if skip returns null, log a syntax error in the * configuration file and exit. */ char * sskip(cpp) char **cpp; { char *cp; cp = skip(cpp); if (cp == NULL) { syslog(LOG_ERR, "%s: syntax error", CONFIG); exit(EX_DATAERR); } return (cp); } char * skip(cpp) char **cpp; { char *cp = *cpp; char *start; char quote = '\0'; again: while (*cp == ' ' || *cp == '\t') cp++; if (*cp == '\0') { int c; c = getc(fconfig); (void) ungetc(c, fconfig); if (c == ' ' || c == '\t') if ((cp = nextline(fconfig))) goto again; *cpp = (char *)0; return ((char *)0); } if (*cp == '"' || *cp == '\'') quote = *cp++; start = cp; if (quote) while (*cp && *cp != quote) cp++; else while (*cp && *cp != ' ' && *cp != '\t') cp++; if (*cp != '\0') *cp++ = '\0'; *cpp = cp; return (start); } char * nextline(fd) FILE *fd; { char *cp; if (fgets(line, sizeof (line), fd) == NULL) return ((char *)0); cp = strchr(line, '\n'); if (cp) *cp = '\0'; return (line); } char * newstr(cp) char *cp; { if ((cp = strdup(cp ? cp : ""))) return (cp); syslog(LOG_ERR, "strdup: %m"); exit(EX_OSERR); } #ifdef OLD_SETPROCTITLE void inetd_setproctitle(a, s) char *a; int s; { int size; char *cp; struct sockaddr_in sin; char buf[80]; cp = Argv[0]; size = sizeof(sin); if (getpeername(s, (struct sockaddr *)&sin, &size) == 0) (void) sprintf(buf, "-%s [%s]", a, inet_ntoa(sin.sin_addr)); else (void) sprintf(buf, "-%s", a); strncpy(cp, buf, LastArg - cp); cp += strlen(cp); while (cp < LastArg) *cp++ = ' '; } #else void inetd_setproctitle(a, s) char *a; int s; { int size; struct sockaddr_in sin; char buf[80]; size = sizeof(sin); if (getpeername(s, (struct sockaddr *)&sin, &size) == 0) (void) sprintf(buf, "%s [%s]", a, inet_ntoa(sin.sin_addr)); else (void) sprintf(buf, "%s", a); setproctitle("%s", buf); } #endif /* * Internet services provided internally by inetd: */ #define BUFSIZE 8192 /* ARGSUSED */ void echo_stream(s, sep) /* Echo service -- echo data back */ int s; struct servtab *sep; { char buffer[BUFSIZE]; int i; inetd_setproctitle(sep->se_service, s); while ((i = read(s, buffer, sizeof(buffer))) > 0 && write(s, buffer, i) > 0) ; exit(0); } int check_loop(sin, sep) struct sockaddr_in *sin; struct servtab *sep; { struct servtab *se2; for (se2 = servtab; se2; se2 = se2->se_next) { if (!se2->se_bi || se2->se_socktype != SOCK_DGRAM) continue; if (sin->sin_port == se2->se_ctrladdr.sin_port) { syslog(LOG_WARNING, "%s/%s:%s/%s loop request REFUSED from %s", sep->se_service, sep->se_proto, se2->se_service, se2->se_proto, inet_ntoa(sin->sin_addr)); return 1; } } return 0; } /* ARGSUSED */ void echo_dg(s, sep) /* Echo service -- echo data back */ int s; struct servtab *sep; { char buffer[BUFSIZE]; int i, size; struct sockaddr_in sin; size = sizeof(sin); if ((i = recvfrom(s, buffer, sizeof(buffer), 0, (struct sockaddr *)&sin, &size)) < 0) return; if (check_loop(&sin, sep)) return; (void) sendto(s, buffer, i, 0, (struct sockaddr *)&sin, sizeof(sin)); } /* ARGSUSED */ void discard_stream(s, sep) /* Discard service -- ignore data */ int s; struct servtab *sep; { int ret; char buffer[BUFSIZE]; inetd_setproctitle(sep->se_service, s); while (1) { while ((ret = read(s, buffer, sizeof(buffer))) > 0) ; if (ret == 0 || errno != EINTR) break; } exit(0); } /* ARGSUSED */ void discard_dg(s, sep) /* Discard service -- ignore data */ int s; struct servtab *sep; { char buffer[BUFSIZE]; (void) read(s, buffer, sizeof(buffer)); } #include #define LINESIZ 72 char ring[128]; char *endring; void initring() { int i; endring = ring; for (i = 0; i <= 128; ++i) if (isprint(i)) *endring++ = i; } /* ARGSUSED */ void chargen_stream(s, sep) /* Character generator */ int s; struct servtab *sep; { int len; char *rs, text[LINESIZ+2]; inetd_setproctitle(sep->se_service, s); if (!endring) { initring(); rs = ring; } text[LINESIZ] = '\r'; text[LINESIZ + 1] = '\n'; for (rs = ring;;) { if ((len = endring - rs) >= LINESIZ) memmove(text, rs, LINESIZ); else { memmove(text, rs, len); memmove(text + len, ring, LINESIZ - len); } if (++rs == endring) rs = ring; if (write(s, text, sizeof(text)) != sizeof(text)) break; } exit(0); } /* ARGSUSED */ void chargen_dg(s, sep) /* Character generator */ int s; struct servtab *sep; { struct sockaddr_in sin; static char *rs; int len, size; char text[LINESIZ+2]; if (endring == 0) { initring(); rs = ring; } size = sizeof(sin); if (recvfrom(s, text, sizeof(text), 0, (struct sockaddr *)&sin, &size) < 0) return; if (check_loop(&sin, sep)) return; if ((len = endring - rs) >= LINESIZ) memmove(text, rs, LINESIZ); else { memmove(text, rs, len); memmove(text + len, ring, LINESIZ - len); } if (++rs == endring) rs = ring; text[LINESIZ] = '\r'; text[LINESIZ + 1] = '\n'; (void) sendto(s, text, sizeof(text), 0, (struct sockaddr *)&sin, sizeof(sin)); } /* * Return a machine readable date and time, in the form of the * number of seconds since midnight, Jan 1, 1900. Since gettimeofday * returns the number of seconds since midnight, Jan 1, 1970, * we must add 2208988800 seconds to this figure to make up for * some seventy years Bell Labs was asleep. */ long machtime() { struct timeval tv; if (gettimeofday(&tv, (struct timezone *)0) < 0) { if (debug) warnx("unable to get time of day"); return (0L); } #define OFFSET ((u_long)25567 * 24*60*60) return (htonl((long)(tv.tv_sec + OFFSET))); #undef OFFSET } /* ARGSUSED */ void machtime_stream(s, sep) int s; struct servtab *sep; { long result; result = machtime(); (void) write(s, (char *) &result, sizeof(result)); } /* ARGSUSED */ void machtime_dg(s, sep) int s; struct servtab *sep; { long result; struct sockaddr_in sin; int size; size = sizeof(sin); if (recvfrom(s, (char *)&result, sizeof(result), 0, (struct sockaddr *)&sin, &size) < 0) return; if (check_loop(&sin, sep)) return; result = machtime(); (void) sendto(s, (char *) &result, sizeof(result), 0, (struct sockaddr *)&sin, sizeof(sin)); } /* ARGSUSED */ void daytime_stream(s, sep) /* Return human-readable time of day */ int s; struct servtab *sep; { char buffer[256]; time_t clock; clock = time((time_t *) 0); (void) sprintf(buffer, "%.24s\r\n", ctime(&clock)); (void) write(s, buffer, strlen(buffer)); } /* ARGSUSED */ void daytime_dg(s, sep) /* Return human-readable time of day */ int s; struct servtab *sep; { char buffer[256]; time_t clock; struct sockaddr_in sin; int size; clock = time((time_t *) 0); size = sizeof(sin); if (recvfrom(s, buffer, sizeof(buffer), 0, (struct sockaddr *)&sin, &size) < 0) return; if (check_loop(&sin, sep)) return; (void) sprintf(buffer, "%.24s\r\n", ctime(&clock)); (void) sendto(s, buffer, strlen(buffer), 0, (struct sockaddr *)&sin, sizeof(sin)); } /* * print_service: * Dump relevant information to stderr */ void print_service(action, sep) char *action; struct servtab *sep; { fprintf(stderr, #ifdef LOGIN_CAP "%s: %s proto=%s accept=%d max=%d user=%s group=%s class=%s builtin=%x server=%s\n", #else "%s: %s proto=%s accept=%d max=%d user=%s group=%s builtin=%x server=%s\n", #endif action, sep->se_service, sep->se_proto, sep->se_accept, sep->se_maxchild, sep->se_user, sep->se_group, #ifdef LOGIN_CAP sep->se_class, #endif (int)sep->se_bi, sep->se_server); } /* * Based on TCPMUX.C by Mark K. Lottor November 1988 * sri-nic::ps:tcpmux.c */ static int /* # of characters upto \r,\n or \0 */ getline(fd, buf, len) int fd; char *buf; int len; { int count = 0, n; struct sigaction sa; sa.sa_flags = 0; sigemptyset(&sa.sa_mask); sa.sa_handler = SIG_DFL; sigaction(SIGALRM, &sa, (struct sigaction *)0); do { alarm(10); n = read(fd, buf, len-count); alarm(0); if (n == 0) return (count); if (n < 0) return (-1); while (--n >= 0) { if (*buf == '\r' || *buf == '\n' || *buf == '\0') return (count); count++; buf++; } } while (count < len); return (count); } #define MAX_SERV_LEN (256+2) /* 2 bytes for \r\n */ #define strwrite(fd, buf) (void) write(fd, buf, sizeof(buf)-1) struct servtab * tcpmux(s) int s; { struct servtab *sep; char service[MAX_SERV_LEN+1]; int len; /* Get requested service name */ if ((len = getline(s, service, MAX_SERV_LEN)) < 0) { strwrite(s, "-Error reading service name\r\n"); return (NULL); } service[len] = '\0'; if (debug) warnx("tcpmux: someone wants %s", service); /* * Help is a required command, and lists available services, * one per line. */ if (!strcasecmp(service, "help")) { for (sep = servtab; sep; sep = sep->se_next) { if (!ISMUX(sep)) continue; (void)write(s,sep->se_service,strlen(sep->se_service)); strwrite(s, "\r\n"); } return (NULL); } /* Try matching a service in inetd.conf with the request */ for (sep = servtab; sep; sep = sep->se_next) { if (!ISMUX(sep)) continue; if (!strcasecmp(service, sep->se_service)) { if (ISMUXPLUS(sep)) { strwrite(s, "+Go\r\n"); } return (sep); } } strwrite(s, "-Service not available\r\n"); return (NULL); } #define CPMHSIZE 256 #define CPMHMASK (CPMHSIZE-1) #define CHTGRAN 10 #define CHTSIZE 6 typedef struct CTime { unsigned long ct_Ticks; int ct_Count; } CTime; typedef struct CHash { struct in_addr ch_Addr; time_t ch_LTime; char *ch_Service; CTime ch_Times[CHTSIZE]; } CHash; CHash CHashAry[CPMHSIZE]; int cpmip(sep, ctrl) struct servtab *sep; int ctrl; { struct sockaddr_in rsin; int rsinLen = sizeof(rsin); int r = 0; /* * If getpeername() fails, just let it through (if logging is * enabled the condition is caught elsewhere) */ if (sep->se_maxcpm > 0 && getpeername(ctrl, (struct sockaddr *)&rsin, &rsinLen) == 0 ) { time_t t = time(NULL); int hv = 0xABC3D20F; int i; int cnt = 0; CHash *chBest = NULL; unsigned int ticks = t / CHTGRAN; { char *p; int i; for (i = 0, p = (char *)&rsin.sin_addr; i < sizeof(rsin.sin_addr); ++i, ++p) { hv = (hv << 5) ^ (hv >> 23) ^ *p; } hv = (hv ^ (hv >> 16)); } for (i = 0; i < 5; ++i) { CHash *ch = &CHashAry[(hv + i) & CPMHMASK]; if (rsin.sin_addr.s_addr == ch->ch_Addr.s_addr && ch->ch_Service && strcmp(sep->se_service, ch->ch_Service) == 0) { chBest = ch; break; } if (chBest == NULL || ch->ch_LTime == 0 || ch->ch_LTime < chBest->ch_LTime) { chBest = ch; } } if (rsin.sin_addr.s_addr != chBest->ch_Addr.s_addr || chBest->ch_Service == NULL || strcmp(sep->se_service, chBest->ch_Service) != 0) { chBest->ch_Addr = rsin.sin_addr; if (chBest->ch_Service) free(chBest->ch_Service); chBest->ch_Service = strdup(sep->se_service); bzero(chBest->ch_Times, sizeof(chBest->ch_Times)); } chBest->ch_LTime = t; { CTime *ct = &chBest->ch_Times[ticks % CHTSIZE]; if (ct->ct_Ticks != ticks) { ct->ct_Ticks = ticks; ct->ct_Count = 0; } ++ct->ct_Count; } for (i = 0; i < CHTSIZE; ++i) { CTime *ct = &chBest->ch_Times[i]; if (ct->ct_Ticks <= ticks && ct->ct_Ticks >= ticks - CHTSIZE) { cnt += ct->ct_Count; } } if (cnt * (CHTSIZE * CHTGRAN) / 60 > sep->se_maxcpm) { r = -1; syslog(LOG_ERR, "%s from %s exceeded counts/min (limit %d/min)", sep->se_service, inet_ntoa(rsin.sin_addr), sep->se_maxcpm); } } return(r); } --------- cut here ----------------------------------------------------------- -- Dr Graham Wheeler E-mail: gram@cdsec.com Citadel Data Security Phone: +27(21)23-6065/6/7 Internet/Intranet Network Specialists Mobile: +27(83)253-9864 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data Security Products WWW: http://www.cdsec.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 10:51:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04112 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 10:51:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA04092 for ; Tue, 6 Oct 1998 10:51:13 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA06801; Tue, 6 Oct 1998 16:50:07 +0100 From: Luigi Rizzo Message-Id: <199810061550.QAA06801@labinfo.iet.unipi.it> Subject: sysctl for string arguments ? To: hackers@FreeBSD.ORG Date: Tue, 6 Oct 1998 16:50:06 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, can someone point me to some code which is already in the kernel and can handle sysctl for R/W string arguments ? I see there is sysctl_handle_string but i am totally unclear on how to make it works, and a few attempts just resulted in panics. Furthermore i cannot find a single place where this is used! other strings in sysctl args seem not to be R/W (or at least, not settable with the "sysctl" command... e.g. kern.hostname and the like). thanks luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 11:19:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA09424 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 11:19:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA09407; Tue, 6 Oct 1998 11:19:41 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id RAA06850; Tue, 6 Oct 1998 17:18:35 +0100 From: Luigi Rizzo Message-Id: <199810061618.RAA06850@labinfo.iet.unipi.it> Subject: Re: 2nd call for testers for RealTek 8139 driver To: wpaul@skynet.ctr.columbia.edu (Bill Paul) Date: Tue, 6 Oct 1998 17:18:35 +0100 (MET) Cc: hackers@FreeBSD.ORG, freebsd-hardware@FreeBSD.ORG In-Reply-To: <199809292311.TAA12549@skynet.ctr.columbia.edu> from "Bill Paul" at Sep 29, 98 07:11:31 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This is another call for testers for the RealTek 8139 fast ethernet > driver. So far I have only gotten one (1) response to my first call ... ok, adapting the driver to do bridging was not that hard but now i seem unable to deal with pkts larger than a few bytes (an mbuf i think): ping -s 80 does not seem to go through, whereas regular pings work. I am not sure what is the problem and now it is too late to investigate more. In any case my diffs are as follows, in case they suggest something. cheers luigi --- if_rl.c.orig Tue Oct 6 17:29:40 1998 +++ if_rl.c Tue Oct 6 18:09:03 1998 @@ -121,6 +121,10 @@ #include #endif +#ifdef BRIDGE +#include +#endif + #include /* for vtophys */ #include /* for vtophys */ #include /* for DELAY */ @@ -1407,6 +1411,9 @@ eh = mtod(m, struct ether_header *); ifp->if_ipackets++; + m->m_pkthdr.len = m->m_len = total_len; + m->m_pkthdr.rcvif = ifp; /* XXX */ + #if NBPFILTER > 0 /* * Handle BPF listeners. Let the BPF user see the packet, but @@ -1414,18 +1421,36 @@ * a broadcast packet, multicast packet, matches our ethernet * address or the interface is in promiscuous mode. */ - if (ifp->if_bpf) { - m->m_pkthdr.len = m->m_len = total_len; + if (ifp->if_bpf) bpf_mtap(ifp, m); +#endif +#ifdef BRIDGE + if (do_bridge) { + struct ifnet *bdg_ifp ; + bdg_ifp = bridge_in(m); + if (bdg_ifp == BDG_DROP) + goto dropit; + else { + if (bdg_ifp != BDG_LOCAL) + bdg_forward(&m, bdg_ifp); + if (!m) + goto dropit ; + if (bdg_ifp == BDG_LOCAL || bdg_ifp == BDG_BCAST || + bdg_ifp == BDG_MCAST) + goto getit ; + else if (m) + goto dropit ; + } + } else +#endif if (ifp->if_flags & IFF_PROMISC && (bcmp(eh->ether_dhost, sc->arpcom.ac_enaddr, - ETHER_ADDR_LEN) && - (eh->ether_dhost[0] & 1) == 0)) { + ETHER_ADDR_LEN) && (eh->ether_dhost[0] & 1) == 0)) { +dropit: m_freem(m); continue; } - } -#endif +getit: /* Remove header from mbuf and pass it on. */ m_adj(m, sizeof(struct ether_header)); ether_input(ifp, eh, m); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 11:30:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12284 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 11:30:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA12268 for ; Tue, 6 Oct 1998 11:30:42 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id LAA00391; Tue, 6 Oct 1998 11:34:43 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810061834.LAA00391@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Luigi Rizzo cc: hackers@FreeBSD.ORG Subject: Re: sysctl for string arguments ? In-reply-to: Your message of "Tue, 06 Oct 1998 16:50:06 BST." <199810061550.QAA06801@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Oct 1998 11:34:43 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > can someone point me to some code which is already in the kernel and > can handle sysctl for R/W string arguments ? > > I see there is sysctl_handle_string but i am totally unclear on how to > make it works, and a few attempts just resulted in panics. Furthermore > i cannot find a single place where this is used! > > other strings in sysctl args seem not to be R/W (or at least, > not settable with the "sysctl" command... e.g. kern.hostname and the > like). kern.corefile in kern_sig.c. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 11:44:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA15617 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 11:44:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA15610 for ; Tue, 6 Oct 1998 11:44:30 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id LAA09851; Tue, 6 Oct 1998 11:44:25 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp01.primenet.com, id smtpd009827; Tue Oct 6 11:44:20 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id LAA26434; Tue, 6 Oct 1998 11:44:17 -0700 (MST) From: Terry Lambert Message-Id: <199810061844.LAA26434@usr04.primenet.com> Subject: Re: New inetd.c To: gram@cdsec.com (Graham Wheeler) Date: Tue, 6 Oct 1998 18:44:16 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199810061522.RAA02887@cdsec.com> from "Graham Wheeler" at Oct 6, 98 05:22:23 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nice work with the signal fixes! > * a new argument, -X, has been added. If this argument is used, the > entries in inetd.conf (or whatever config file is used) are > expected to have an additional initial field, which is the > address to bind to. A value of `any' will be equivalent to > the normal behaviour of binding to INADDR_ANY. This provides > similar functionality to the normal -a argument, but with > a much finer granularity. It is intended for use in multi-homed > hosts which have different services available on different > interfaces. You can check all the changes that were made to > support this by grepping for the `extended_format' flag in > the source. I think this duplicates the combination of the "-a" combined with a "configuration file" argument? This isn't a bad idea, but there are things to be said for seperate configuration files, especially for split service models (i.e.:, you HUP one inetd and not another, and you can safely use something like "sed" to modify the file contents without worrying about enabling/disabling on the wrong interface. I would be very interested in a binding of the type: ed0:192.168.1.1 ed1:192.168.1.1 actually. This would be useful for things like "inline" VPN machines, where the interface uses one address and by being ganged inline, "just works"... For the most part, the IP address is used to select an interface, more often than not, so it's the binding to an interface that's interesteing, and the IP address less so. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 12:30:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA25720 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 12:30:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA25708 for ; Tue, 6 Oct 1998 12:30:14 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA17631; Tue, 6 Oct 1998 12:30:11 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017619; Tue Oct 6 12:29:46 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA21475; Tue, 6 Oct 1998 12:29:46 -0700 (PDT) From: Archie Cobbs Message-Id: <199810061929.MAA21475@bubba.whistle.com> Subject: Re: GRE support in FreeBSD? In-Reply-To: <199810041957.MAA09245@usr08.primenet.com> from Terry Lambert at "Oct 4, 98 07:57:27 pm" To: tlambert@primenet.com (Terry Lambert) Date: Tue, 6 Oct 1998 12:29:46 -0700 (PDT) Cc: crossd@null.cs.rpi.edu, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Terry Lambert writes: > > What would be required to add GRE support (IP Protocol 47, RFC > > 1701,1702) to FreeBSD? > > Ask archie@whistle.com, since he's already done it. > > Alternatively, look at one of the two IPSEC implementations for > FreeBSD, as announced on -current. Actually I just opened a raw socket: s = socket(PF_INET, SOCK_RAW, IPPROTO_GRE); and sniffed out the sub-protocol number I was looking for in user-land. Alternately you could have the kernel do the (de)multiplexing by adding a block for IPPROTO_GRE to /sys/netinet/in_proto.c and adding the necessary socket stuff. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 12:35:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26343 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 12:35:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from null.cs.rpi.edu (null.cs.rpi.edu [128.213.8.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26329 for ; Tue, 6 Oct 1998 12:35:08 -0700 (PDT) (envelope-from crossd@null.cs.rpi.edu) Received: from localhost (crossd@localhost) by null.cs.rpi.edu (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA03855; Tue, 6 Oct 1998 15:34:45 -0400 (EDT) Date: Tue, 6 Oct 1998 15:34:40 -0400 From: "David E. Cross" To: Archie Cobbs cc: Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: GRE support in FreeBSD? In-Reply-To: <199810061929.MAA21475@bubba.whistle.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, 6 Oct 1998, Archie Cobbs wrote: > Terry Lambert writes: > > > What would be required to add GRE support (IP Protocol 47, RFC > > > 1701,1702) to FreeBSD? > > > > Ask archie@whistle.com, since he's already done it. > > > > Alternatively, look at one of the two IPSEC implementations for > > FreeBSD, as announced on -current. > > Actually I just opened a raw socket: > > s = socket(PF_INET, SOCK_RAW, IPPROTO_GRE); > > and sniffed out the sub-protocol number I was looking for in > user-land. > > Alternately you could have the kernel do the (de)multiplexing by > adding a block for IPPROTO_GRE to /sys/netinet/in_proto.c and > adding the necessary socket stuff. Yes, I am currently doing it in userland, I was referring to adding it into the kernel. -- David Cross To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 12:41:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27465 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 12:41:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA27417 for ; Tue, 6 Oct 1998 12:41:14 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA17779; Tue, 6 Oct 1998 12:41:12 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017775; Tue Oct 6 12:40:42 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA21521; Tue, 6 Oct 1998 12:40:41 -0700 (PDT) From: Archie Cobbs Message-Id: <199810061940.MAA21521@bubba.whistle.com> Subject: Re: Loadable line disciplines In-Reply-To: <199810050124.VAA00729@chattpiano.com> from Tom Rush at "Oct 4, 98 09:24:42 pm" To: tom@chattpiano.com (Tom Rush) Date: Tue, 6 Oct 1998 12:40:41 -0700 (PDT) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Tom Rush writes: > The problem, basically, is that if the "ldisc_register()" function is > used for a non-standard line discipline, a user program cannot determine > which slot in the linesw table it was assigned to, and thus cannot set > up the tty to use that discipline. We ran in to the same problem but didn't bother solving it since the line discipline number was always the same (7). However, this would be a good change and although I haven't looked at your patches yet it sounds very much like what I was thinking at the time.. Most likely will have to wait until 3.0 is branched in any case. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 12:46:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28621 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 12:46:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28591 for ; Tue, 6 Oct 1998 12:46:14 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA17833; Tue, 6 Oct 1998 12:46:12 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017831; Tue Oct 6 12:45:45 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA21541; Tue, 6 Oct 1998 12:45:45 -0700 (PDT) From: Archie Cobbs Message-Id: <199810061945.MAA21541@bubba.whistle.com> Subject: Re: MIT Exokernel OS In-Reply-To: <19981005140923.F2924@cypher.net> from Ben Black at "Oct 5, 98 02:09:23 pm" To: black@cypher.net (Ben Black) Date: Tue, 6 Oct 1998 12:45:45 -0700 (PDT) Cc: nialls@euristix.ie, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Ben Black writes: > i have been playing with their exopc distribution. i think the most > immediately interesting aspect for freebsd is the DPF code. it dynamically > generates native filter code resulting in huge speedups. all multiplexing > of network interfaces is via DPF. would be an interesting addition > and the license is just right. There's a good programming project for someone.. put DPF in the kernel and make all of the networking stacks, ip, tcp, ipfw, etc. use it! -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 14:13:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22494 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 14:13:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gershwin.tera.com ([207.224.230.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA22346 for ; Tue, 6 Oct 1998 14:13:08 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (tao.tera.com [207.108.223.55]) by gershwin.tera.com (8.8.8/8.8.8) with ESMTP id OAA26979 for ; Tue, 6 Oct 1998 14:12:52 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.8.8/8.7.3) id OAA20089 for hackers@freebsd.org; Tue, 6 Oct 1998 14:12:39 -0700 (PDT) From: Gary Kline Message-Id: <199810062112.OAA20089@tao.thought.org> Subject: rxvt and international characters To: hackers@FreeBSD.ORG (Hackers Mailing List) Date: Tue, 6 Oct 1998 14:12:39 -0700 (PDT) Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just discovered that I'm not able to use any of the iso_8859-1 character set with rxvt by using -character. I installed the port as-is without choosing any of the long-option switches... yet I don't see anything in the man page that pertains to this. Anybody know what hack I missed?? thanks, gary -- Gary D. Kline kline@tao.thought.org Public service uNix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 15:02:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07533 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 15:02:25 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from vespucci.advicom.net (vespucci.advicom.net [199.170.120.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07086; Tue, 6 Oct 1998 15:00:28 -0700 (PDT) (envelope-from avalon@advicom.net) Received: from advicom.net (dyn-u1-8.advicom.net [165.113.131.8] (may be forged)) by vespucci.advicom.net (8.8.8/8.8.5) with ESMTP id RAA08025; Tue, 6 Oct 1998 17:00:20 -0500 (CDT) X-Envelope-Recipient: freebsd-hardware@freebsd.org Message-ID: <361A92E1.B77BBF4B@advicom.net> Date: Tue, 06 Oct 1998 17:00:01 -0500 From: Avalon Books Organization: Avalon Books X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG, freebsd-hardware@FreeBSD.ORG Subject: 16C650 UART Support Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does any have detailed information about enabling 16C650 UART support in 2.2.6R? I have a Boca IO650 with dual ST16C650 UART's, and I need to eliminate the I/O bottleneck out to my ISDN TA. Hitting 230.4 kbps would be nice... So... Which files I do alter, and what are the alterations? Or is there a separate driver for 16C650-based cards (and if so, where do I find it)? Is there already support for baud rates above 115.2 kbps? Or do I need to add support? And if so, how? You get the idea... --Rick Pelletier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 15:05:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08285 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 15:05:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alpha.xerox.com (omega.Xerox.COM [13.1.64.95]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA08074 for ; Tue, 6 Oct 1998 15:04:37 -0700 (PDT) (envelope-from fenner@parc.xerox.com) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <434016(2)>; Tue, 6 Oct 1998 15:04:20 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177476>; Tue, 6 Oct 1998 15:04:08 -0700 To: "David E. Cross" cc: freebsd-hackers@FreeBSD.ORG Subject: Re: GRE support in FreeBSD? In-reply-to: Your message of "Tue, 06 Oct 98 12:34:40 PDT." Date: Tue, 6 Oct 1998 15:03:59 PDT From: Bill Fenner Message-Id: <98Oct6.150408pdt.177476@crevenia.parc.xerox.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It wouldn't take much to add to the kernel. Look at ip_mroute.c's ipip_input() to see how it decapsulates ip proto 4, and at encap_send() to see how it encapsulates. You'd have to create real interfaces, which the multicast code doesn't do, but it's really fairly straightforward. I know that NetBSD is working on general IP proto 4 tunnels in the kernel and they have an API for setting the tunnel's IP source and destination. I don't know if they're doing GRE also, but perhaps you could look at what they're doing and see if it'd be applicable. I've thought for a while that there should be a generalized tunneling mechanism (e.g. hand the kernel an IP header to prepend with an ioctl and a bpf program to do decapsulation but otherwise live in the standard demux mechanism) but doing that right is too much more work than having N different tunneling mechanisms... Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 16:53:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02460 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 16:53:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from net177138.hcv.com (net177138.hcv.com [209.153.177.138]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA02352 for ; Tue, 6 Oct 1998 16:53:34 -0700 (PDT) (envelope-from matthew@wolfepub.com) Received: from thunder ([10.0.0.12]) by net177138.hcv.com (8.8.8/8.8.8) with SMTP id TAA09330 for ; Tue, 6 Oct 1998 19:49:00 -0400 (EDT) (envelope-from matthew@wolfepub.com) Message-Id: <3.0.5.32.19981006195057.007ccc90@firebat.wolfepub.com> X-Sender: matthew@firebat.wolfepub.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 06 Oct 1998 19:50:57 -0400 To: hackers@FreeBSD.ORG From: Matthew Hagerty Subject: Direct to video memory? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings, I was wondering if it is a bad practice to write directly to video memory (i.e. B800) for client applications that are intended to run in a text mode (no X)? I have written several applications in DOS (text based business apps, point-of-sale mostly) and I would like to port them to FreeBSD. I have checked and played with ncurses and find it a little slow. Is there another lib somewhere that handles color, full cursor control, and the extended ACSII set (line chars)? I would like to replace my current DOS-to-Novell system with a pure FreeBSD solution for the clients and server. Thanks, Matthew Hagerty To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 17:19:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07287 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 17:19:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA07118 for ; Tue, 6 Oct 1998 17:18:26 -0700 (PDT) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with SMTP id QAA00786; Tue, 6 Oct 1998 16:59:13 -0700 (PDT) Message-Id: <199810062359.QAA00786@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: localhost [127.0.0.1] didn't use HELO protocol To: Bill Fenner Cc: "David E. Cross" , freebsd-hackers@FreeBSD.ORG Subject: Re: GRE support in FreeBSD? Reply-To: Jason Thorpe From: Jason Thorpe Date: Tue, 06 Oct 1998 16:59:09 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 6 Oct 1998 15:03:59 PDT Bill Fenner wrote: > I know that NetBSD is working on general IP proto 4 tunnels in the > kernel and they have an API for setting the tunnel's IP source and > destination. I don't know if they're doing GRE also, but perhaps you > could look at what they're doing and see if it'd be applicable. Yes, NetBSD-current supports GRE, as well as Mobile-IP tunneling. Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: +1 408 866 1912 NAS: M/S 258-5 Work: +1 650 604 0935 Moffett Field, CA 94035 Pager: +1 650 940 5942 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 17:27:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA09190 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 17:27:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA09025 for ; Tue, 6 Oct 1998 17:26:30 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA11527; Wed, 7 Oct 1998 01:25:48 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA01079; Wed, 7 Oct 1998 01:10:41 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810070010.BAA01079@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jordan K. Hubbard" cc: WHS , tech@openbsd.org, misc@openbsd.org, freebsd-hackers@FreeBSD.ORG Subject: Re: GGI In-reply-to: Your message of "Mon, 05 Oct 1998 13:10:29 PDT." <14541.907618229@time.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Oct 1998 01:10:41 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I didn't want a license debate, more a statement like: 'if libggi = LGPL > > then GGI won't be standard on BSD and very likely, in my view, won't be > > used by many people'. Which from the rest of your mail I see is the > > case. > > Well, if it's not used by many people then, again, this will be for > reasons other than the license. I don't think most people actually > care that much about the license when it comes down to the practical > merits, it being far (FAR) more of a time--and-interest issue. [.....] There are a number that do though. I'm involved on a time-and-interest basis, but, given a choice, anything that rhymes with GPL is to be avoided (your rantings are noticed JD). *GPL is better than commercial, but IMHO, FreeBSD should try to avoid (in licensing terms) becoming like Linux. It's got way too much to gain from the Yes & Whistles of this world. > - Jordan -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 18:35:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA24873 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 18:35:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA24793 for ; Tue, 6 Oct 1998 18:35:18 -0700 (PDT) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.1/8.8.5) with ESMTP id VAA21131 for ; Tue, 6 Oct 1998 21:34:39 -0400 (EDT) Date: Tue, 6 Oct 1998 21:34:39 -0400 (EDT) From: Chuck Robey To: hackers@FreeBSD.ORG Subject: ppp incoming question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How come, when you're setting up an incoming (user ppp) connection, you have to use a /usr/local/bin/ppplogin script? The script just invokes "ppp -direct incoming", and I wonder why you couldn't just edit that line into the shell field of the passwd (via vipw). Would there be some kind of permission problem? I'm thinking of doing something like that, with chap user IDing, so I wouldn't need separate logins, and I'd want to eliminate any intervening files if I can. If I _have_ to have the file, what permissions and what user/group should be set on the file? BTW, I got all this from the ppp manpage. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 18:40:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA26197 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 18:40:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26068 for ; Tue, 6 Oct 1998 18:40:21 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id SAA02548; Tue, 6 Oct 1998 18:44:54 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810070144.SAA02548@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Matthew Hagerty cc: hackers@FreeBSD.ORG Subject: Re: Direct to video memory? In-reply-to: Your message of "Tue, 06 Oct 1998 19:50:57 EDT." <3.0.5.32.19981006195057.007ccc90@firebat.wolfepub.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Oct 1998 18:44:54 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Greetings, > > I was wondering if it is a bad practice to write directly to video memory > (i.e. B800) for client applications that are intended to run in a text mode > (no X)? Yes, extremely. It makes it impossible to use the application via eg. a telnet connection or serial terminal. > I have written several applications in DOS (text based business apps, > point-of-sale mostly) and I would like to port them to FreeBSD. I have > checked and played with ncurses and find it a little slow. Is there > another lib somewhere that handles color, full cursor control, and the > extended ACSII set (line chars)? I would like to replace my current > DOS-to-Novell system with a pure FreeBSD solution for the clients and server. It sounds like you would do best to look at why your screen output is "a little slow"; ncurses is actually pretty quick when used correctly. (The catch lies in 'correctly', of course. 8) I'm not quite (at all) a guru when it comes to curses work, but I'm sure that someone here can point you in the direction of a tutorial or book that will give you some better advice. Meantime, the biggest speed killer with curses is calling refresh() too often; you don't want to do this any more often than necessary to make the interface work. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 18:52:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28967 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 18:52:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA28875; Tue, 6 Oct 1998 18:51:43 -0700 (PDT) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([209.12.57.57]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA142; Tue, 6 Oct 1998 21:42:20 -0400 Received: (from root@localhost) by rhiannon.scsn.net (8.9.1/8.9.1) id VAA00444; Tue, 6 Oct 1998 21:52:13 GMT (envelope-from root) Message-ID: <19981006215213.A318@scsn.net> Date: Tue, 6 Oct 1998 21:52:13 +0000 From: dmaddox@scsn.net (Donald J. Maddox) To: Avalon Books , freebsd-hackers@FreeBSD.ORG, freebsd-hardware@FreeBSD.ORG Subject: Re: 16C650 UART Support Reply-To: dmaddox@scsn.net References: <361A92E1.B77BBF4B@advicom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <361A92E1.B77BBF4B@advicom.net>; from Avalon Books on Tue, Oct 06, 1998 at 05:00:01PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 06, 1998 at 05:00:01PM -0500, Avalon Books wrote: > Does any have detailed information about enabling 16C650 UART support > in 2.2.6R? I have a Boca IO650 with dual ST16C650 UART's, and I need to > eliminate the I/O bottleneck out to my ISDN TA. Hitting 230.4 kbps would > be nice... > So... > Which files I do alter, and what are the alterations? Or is there a > separate driver for 16C650-based cards (and if so, where do I find it)? > Is there already support for baud rates above 115.2 kbps? Or do I need > to add support? And if so, how? > You get the idea... I believe the 16650-specific stuff just requires that you set the 0x20000 bit in the sio flags, like this: device sio2 at isa? port "IO_COM3" tty flags 0x20000 irq 12 vector siointr There are some other interesting bits in there, too... Just take a look at sio.c. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 18:53:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA29105 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 18:53:00 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA29018; Tue, 6 Oct 1998 18:52:43 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199810070152.SAA29018@hub.freebsd.org> Subject: Re: Upgrading Hackers to VMailer In-Reply-To: from Didier Derny at "Oct 5, 98 11:44:14 pm" To: didier@omnix.net (Didier Derny) Date: Tue, 6 Oct 1998 18:52:40 -0700 (PDT) Cc: jmb@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 Didier Derny wrote: > On Sun, 4 Oct 1998, Jonathan M. Bresler wrote: > > > > > Hackers has just been migrated from Sendmail to VMailer > > for mail delivery. > > Hi, > > I'm actually moving from sendmail to qmail (I've installed qmail but not > converted the mail boxes.) Is there any possibility to find Vmailer > anywhere ? I would like to have a look to this mailer before I complete > the move to qmail. VMailer will be publically released very soon (less than two weeks, i believe). right now the last alpha period is ending.....it is solid enough that beta will be very very good ;) can you hold on a little longer? jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 19:12:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA10954 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 17:36:18 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA10764 for ; Tue, 6 Oct 1998 17:35:28 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id RAA21505; Tue, 6 Oct 1998 17:35:18 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma021500; Tue Oct 6 17:34:58 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id RAA07525; Tue, 6 Oct 1998 17:34:57 -0700 (PDT) From: Archie Cobbs Message-Id: <199810070034.RAA07525@bubba.whistle.com> Subject: Re: GRE support in FreeBSD? In-Reply-To: from "David E. Cross" at "Oct 6, 98 03:34:40 pm" To: crossd@null.cs.rpi.edu (David E. Cross) Date: Tue, 6 Oct 1998 17:34:57 -0700 (PDT) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 David E. Cross writes: > > > > What would be required to add GRE support (IP Protocol 47, RFC > > > > 1701,1702) to FreeBSD? > > > > > > Ask archie@whistle.com, since he's already done it. > > > > > > Alternatively, look at one of the two IPSEC implementations for > > > FreeBSD, as announced on -current. > > > > Actually I just opened a raw socket: > > > > s = socket(PF_INET, SOCK_RAW, IPPROTO_GRE); > > > > and sniffed out the sub-protocol number I was looking for in > > user-land. > > > > Alternately you could have the kernel do the (de)multiplexing by > > adding a block for IPPROTO_GRE to /sys/netinet/in_proto.c and > > adding the necessary socket stuff. > Yes, I am currently doing it in userland, I was referring to adding it > into the kernel. Well, to answer your original question, take a look in /sys/netinet and the example of IPDIVERT (or IPIP, or..) - in_proto.c: add to protosw - ip_divert.c: add your socket routines Etc.. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 22:28:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA09877 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 22:28:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles29.castles.com [208.214.165.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09871 for ; Tue, 6 Oct 1998 22:28:22 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id WAA00386; Tue, 6 Oct 1998 22:31:54 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810070531.WAA00386@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Chuck Robey cc: hackers@FreeBSD.ORG Subject: Re: ppp incoming question In-reply-to: Your message of "Tue, 06 Oct 1998 21:34:39 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Oct 1998 22:31:35 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How come, when you're setting up an incoming (user ppp) connection, you > have to use a /usr/local/bin/ppplogin script? The script just invokes > "ppp -direct incoming", and I wonder why you couldn't just edit that > line into the shell field of the passwd (via vipw). Would there be some > kind of permission problem? I'm thinking of doing something like that, > with chap user IDing, so I wouldn't need separate logins, and I'd want > to eliminate any intervening files if I can. Because the shell field specifies the shell, not its arguments. > If I _have_ to have the file, what permissions and what user/group > should be set on the file? It's not really important, as long as it's executable by the user logging in. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Oct 6 23:46:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA24187 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 23:46:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from www.scancall.no (www.scancall.no [195.139.183.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA24177 for ; Tue, 6 Oct 1998 23:46:19 -0700 (PDT) (envelope-from Marius.Bendiksen@scancall.no) Received: from super2.langesund.scancall.no [195.139.183.29] by www with smtp id IXBRKVFJ; Wed, 07 Oct 98 06:46:08 GMT (PowerWeb version 4.04r6) Message-Id: <3.0.5.32.19981007084114.00941630@mail.scancall.no> X-Sender: Marius@mail.scancall.no X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 07 Oct 1998 08:41:14 +0200 To: freebsd-hackers@FreeBSD.ORG From: Marius Bendiksen Subject: All-in-Wonder Pro Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How different is the All-in-Wonder Pro's TV chipset from the bt848/849 chipset we already support? IIRC, the AiWP uses the bt829 chipset? --- Marius Bendiksen, IT-Trainee, ScanCall AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 00:07:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA27401 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 00:07:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from omnix.net (omnix.net [194.183.217.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA27387; Wed, 7 Oct 1998 00:07:23 -0700 (PDT) (envelope-from didier@omnix.net) Received: from localhost (didier@localhost) by omnix.net (8.8.7/8.8.7) with SMTP id HAA09005; Wed, 7 Oct 1998 07:07:14 GMT (envelope-from didier@omnix.net) Date: Wed, 7 Oct 1998 09:07:14 +0200 (CEST) From: Didier Derny To: "Jonathan M. Bresler" cc: hackers@FreeBSD.ORG Subject: Re: Upgrading Hackers to VMailer In-Reply-To: <199810070152.SAA29018@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 6 Oct 1998, Jonathan M. Bresler wrote: > > VMailer will be publically released very soon (less than > two weeks, i believe). right now the last alpha > period is ending.....it is solid enough that beta will > be very very good ;) > > can you hold on a little longer? > jmb > Normally I have to install everything before october 15th. If I was able to test it I could try to postpone the installation for one perhaps two weeks. Is there any possibility to become beta tester ? -- Didier Derny didier@omnix.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 00:39:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA04203 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 00:39:54 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA04179 for ; Wed, 7 Oct 1998 00:39:41 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA07857; Wed, 7 Oct 1998 06:38:45 +0100 From: Luigi Rizzo Message-Id: <199810070538.GAA07857@labinfo.iet.unipi.it> Subject: Re: All-in-Wonder Pro To: Marius.Bendiksen@scancall.no (Marius Bendiksen) Date: Wed, 7 Oct 1998 06:38:45 +0100 (MET) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <3.0.5.32.19981007084114.00941630@mail.scancall.no> from "Marius Bendiksen" at Oct 7, 98 08:40:55 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How different is the All-in-Wonder Pro's TV chipset from > the bt848/849 chipset we already support? IIRC, the AiWP > uses the bt829 chipset? i think i have heard/read that the bt829 is only capable of YUV (native format out of the ADC) and relies on the video card's ability to do YUV->RGB conversion (i think modern cards are able to do this, but there is no X11 support for it). so in the end the 829 might work reasonably well for videoconferencing apps (where you use YUV) but not for things like fxtv cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 00:42:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA04671 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 00:42:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ceia.nordier.com (slip139-92-122-84.joh.za.ibm.net [139.92.122.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA04577 for ; Wed, 7 Oct 1998 00:41:31 -0700 (PDT) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id JAA04386; Wed, 7 Oct 1998 09:40:16 +0200 (SAT) From: Robert Nordier Message-Id: <199810070740.JAA04386@ceia.nordier.com> Subject: Re: Direct to video memory? In-Reply-To: <3.0.5.32.19981006195057.007ccc90@firebat.wolfepub.com> from Matthew Hagerty at "Oct 6, 98 07:50:57 pm" To: matthew@wolfepub.com (Matthew Hagerty) Date: Wed, 7 Oct 1998 09:40:14 +0200 (SAT) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (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 Matthew Hagerty wrote: > Greetings, > > I was wondering if it is a bad practice to write directly to video memory > (i.e. B800) for client applications that are intended to run in a text mode > (no X)? Drop that idea: it's not even an option. > I have written several applications in DOS (text based business apps, > point-of-sale mostly) and I would like to port them to FreeBSD. I have > checked and played with ncurses and find it a little slow. Is there > another lib somewhere that handles color, full cursor control, and the > extended ACSII set (line chars)? I would like to replace my current > DOS-to-Novell system with a pure FreeBSD solution for the clients and server. The essential idea of curses if that your application will do the best job it can of running on *any* hardware (not just a PC with a VGA, etc). Curses isn't particularly slow, especially if the application does things "idiomatically" (ie. taking the curses way of doing things into account). I've found it quite usable for high speed data entry even running on a 80386. You probably just need to look at how some similar application does things with curses. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 01:14:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA09137 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 01:14:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from citadel.cdsec.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA09105 for ; Wed, 7 Oct 1998 01:14:46 -0700 (PDT) (envelope-from gram@cdsec.com) Received: (from nobody@localhost) by citadel.cdsec.com (8.8.8/8.6.9) id KAA03726; Wed, 7 Oct 1998 10:22:35 +0200 (SAST) Received: by citadel via recvmail id 3724; Wed Oct 7 10:22:18 1998 From: Graham Wheeler Message-Id: <199810070820.KAA04373@cdsec.com> Subject: Re: New inetd.c To: tlambert@primenet.com (Terry Lambert) Date: Wed, 7 Oct 1998 10:20:59 +0200 (SAT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199810061844.LAA26434@usr04.primenet.com> from "Terry Lambert" at Oct 6, 98 06:44:16 pm X-Mailer: ELM [version 2.4 PL25-h4.1] 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 > > * a new argument, -X, has been added. If this argument is used, the > > entries in inetd.conf (or whatever config file is used) are > > expected to have an additional initial field, which is the > > address to bind to. A value of `any' will be equivalent to > > the normal behaviour of binding to INADDR_ANY. This provides > > similar functionality to the normal -a argument, but with > > a much finer granularity. It is intended for use in multi-homed > > hosts which have different services available on different > > interfaces. You can check all the changes that were made to > > support this by grepping for the `extended_format' flag in > > the source. > > I think this duplicates the combination of the "-a" combined with > a "configuration file" argument? This isn't a bad idea, but there > are things to be said for seperate configuration files, especially > for split service models (i.e.:, you HUP one inetd and not another, > and you can safely use something like "sed" to modify the file > contents without worrying about enabling/disabling on the wrong > interface. The -X was added for our firewall, where, for various reasons to do with fault tolerance, a single process is preferable to multiple processes. My main aim in posting was to fix the signal handling; I decided that no harm would be done by leaving in the -X change as well (although I did remove some other changes that are of no use to anyone else). > I would be very interested in a binding of the type: > > ed0:192.168.1.1 > ed1:192.168.1.1 > > actually. This would be useful for things like "inline" VPN > machines, where the interface uses one address and by being ganged > inline, "just works"... For the most part, the IP address is used > to select an interface, more often than not, so it's the binding > to an interface that's interesteing, and the IP address less so. That's a nice idea, but how does one bind a socket to an interface, as opposed to an address? -- Dr Graham Wheeler E-mail: gram@cdsec.com Citadel Data Security Phone: +27(21)23-6065/6/7 Internet/Intranet Network Specialists Mobile: +27(83)253-9864 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data Security Products WWW: http://www.cdsec.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 01:22:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA10719 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 01:22:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fwall.intrasoft.it (fwall.intrasoft.it [194.185.152.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA10591 for ; Wed, 7 Oct 1998 01:22:30 -0700 (PDT) (envelope-from roberta@intrasoft.it) Received: from intrasoft.it (firewall.intrasoft.it [194.185.152.10]) by fwall.intrasoft.it (8.8.3/8.8.3) with ESMTP id OAA06719 for ; Tue, 6 Oct 1998 14:54:44 +0200 (MET DST) Message-ID: <361B2587.1D25154@intrasoft.it> Date: Wed, 07 Oct 1998 10:25:43 +0200 From: Nicolis Roberta X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-hackers Subject: network buffers problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, recently I often have the following network problem on our FreeBSD (Release 2.1.6): suddenly the network stop working and when I try to ping another host on the local network, ping returns the following message: No buffers space available The freebsd machine is a Pentium with 64MB of physical memory. I try to solve the problem increasing the value of MAXUSERS in the kernel configuration file. Now it is set to 128, but I still have the problem. This freebsd computer is configured as pop server, proxy server and firewall. Can you help me in solving this problem? Thanks bye Roberta Nicolis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 02:02:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA15406 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 02:02:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA15276 for ; Wed, 7 Oct 1998 02:01:25 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08022; Wed, 7 Oct 1998 08:00:12 +0100 From: Luigi Rizzo Message-Id: <199810070700.IAA08022@labinfo.iet.unipi.it> Subject: Re: sysctl for string arguments ? To: mike@smith.net.au (Mike Smith) Date: Wed, 7 Oct 1998 08:00:12 +0100 (MET) Cc: hackers@FreeBSD.ORG In-Reply-To: <199810061834.LAA00391@dingo.cdrom.com> from "Mike Smith" at Oct 6, 98 11:34:24 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > other strings in sysctl args seem not to be R/W (or at least, > > not settable with the "sysctl" command... e.g. kern.hostname and the > > like). > > kern.corefile in kern_sig.c. ok, thanks (i was looking on -stable...) On this subject, it seems that sysctl on 2.2.6 at least does not accept strings containing spaces: sysctl -w kern.hostname=a,b,c works, whereas sysctl -w kern.hostname="a b c" fails. I am not sure who does the parsing of strings removing whitespace, nor if this works on -current luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 02:17:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA17348 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 02:17:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from www.scancall.no (www.scancall.no [195.139.183.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA17332 for ; Wed, 7 Oct 1998 02:17:36 -0700 (PDT) (envelope-from Marius.Bendiksen@scancall.no) Received: from super2.langesund.scancall.no [195.139.183.29] by www with smtp id IXDDMJKJ; Wed, 07 Oct 98 09:17:28 GMT (PowerWeb version 4.04r6) Message-Id: <3.0.5.32.19981007111233.00937880@mail.scancall.no> X-Sender: Marius@mail.scancall.no X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 07 Oct 1998 11:12:33 +0200 To: Luigi Rizzo From: Marius Bendiksen Subject: Re: All-in-Wonder Pro Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199810070538.GAA07857@labinfo.iet.unipi.it> References: <3.0.5.32.19981007084114.00941630@mail.scancall.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >i think i have heard/read that the bt829 is only capable of YUV >(native format out of the ADC) and relies on the video card's >ability to do YUV->RGB conversion (i think modern cards are able to do >this, but there is no X11 support for it). >so in the end the 829 might work reasonably well for videoconferencing >apps (where you use YUV) but not for things like fxtv Is there any way to tweak this to work? I have the conversion factors for the L/Cr/Cb levels, but somehow I suspect it won't be that easy? I would settle for getting luminosity only into fxtv. --- Marius Bendiksen, IT-Trainee, ScanCall AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 02:20:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA17873 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 02:20:26 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from www.scancall.no (www.scancall.no [195.139.183.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA17769 for ; Wed, 7 Oct 1998 02:20:07 -0700 (PDT) (envelope-from Marius.Bendiksen@scancall.no) Received: from super2.langesund.scancall.no [195.139.183.29] by www with smtp id IXDECAZJ; Wed, 07 Oct 98 09:20:02 GMT (PowerWeb version 4.04r6) Message-Id: <3.0.5.32.19981007111506.00937880@mail.scancall.no> X-Sender: Marius@mail.scancall.no X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 07 Oct 1998 11:15:06 +0200 To: Gregory Sutter From: Marius Bendiksen Subject: Re: Two Y chromosomes [ Was: Java-based Crypto Decoder Ring ...] Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <19981006145323.M10980@orcrist.mediacity.com> References: <19981006045145.26603@futuresouth.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Actually, such folk tend to have some physical and mental signs, which >get worse as the number of additional chromosomes increases. There are >people with XYYYY chromosomes, but they're usually quite retarded and >have multiple physical problems. Considering how a man only has one (1) Y chromosome to contribute, I don't -want- to know where the remaining three came from :/ >If you want to know more, flip through an introductory genetics book; >the resulting knowledge may intrigue you, will almost certainly >disgust you, but hopefully will also instill you with a sense of awe >at the amazing systems that make us "us". Evolution is cool. :) Humanity is a genetic cesspool, not the pinnacle of darwinian evolution :) --- Marius Bendiksen, IT-Trainee, ScanCall AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 02:31:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA19825 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 02:31:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from at.dotat.com (zed.dotat.com [203.38.154.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA19819 for ; Wed, 7 Oct 1998 02:31:09 -0700 (PDT) (envelope-from hart@at.dotat.com) Received: from at.dotat.com (localhost.dotat.com [127.0.0.1]) by at.dotat.com (8.8.7/8.8.5) with ESMTP id TAA13299 for ; Wed, 7 Oct 1998 19:03:11 +0930 (CST) Message-Id: <199810070933.TAA13299@at.dotat.com> To: hackers@FreeBSD.ORG Subject: Re: sysctl for string arguments ? In-reply-to: Your message of "Wed, 07 Oct 1998 08:00:12 +0100." <199810070700.IAA08022@labinfo.iet.unipi.it> Date: Wed, 07 Oct 1998 19:03:10 +0930 From: Leigh Hart Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Luigi, Luigi Rizzo wrote: > > > other strings in sysctl args seem not to be R/W (or at least, > > > not settable with the "sysctl" command... e.g. kern.hostname and the > > > like). > > > > kern.corefile in kern_sig.c. > > ok, thanks (i was looking on -stable...) > > On this subject, it seems that sysctl on 2.2.6 at least does not accept > strings containing spaces: > > sysctl -w kern.hostname=a,b,c > > works, whereas > > sysctl -w kern.hostname="a b c" > > fails. I am not sure who does the parsing of strings removing > whitespace, nor if this works on -current Wierd - on 2.2.5 and 3.0-971006-SNAP this ("a b c") works fine ...: # sysctl -w kern.hostname="a b c" kern.hostname: duster.adelaide.on.net -> a b c # uname -a FreeBSD a b c 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Sun Apr 26 13:33:54 CST 1998 root@duster:/usr/src/sys/compile/DUSTER i386 I don't have a 2.2.6 system to try it on however... Cheers Leigh -- | "By the time they had diminished | Leigh Hart, | | from 50 to 8, the other dwarves | Dotat Communications Pty Ltd | | began to suspect 'Hungry' ..." | GPO Box 487 Adelaide SA 5001 | | -- Gary Larson, "The Far Side" | http://www.dotat.com/hart/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 02:32:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA19942 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 02:32:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA19936 for ; Wed, 7 Oct 1998 02:32:45 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id LAA29048; Wed, 7 Oct 1998 11:36:12 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Wed, 7 Oct 1998 11:36:12 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Luigi Rizzo cc: Mike Smith , hackers@FreeBSD.ORG Subject: Re: sysctl for string arguments ? In-Reply-To: <199810070700.IAA08022@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 7 Oct 1998, Luigi Rizzo wrote: > > > other strings in sysctl args seem not to be R/W (or at least, > > > not settable with the "sysctl" command... e.g. kern.hostname and the > > > like). > > > > kern.corefile in kern_sig.c. > > ok, thanks (i was looking on -stable...) > > On this subject, it seems that sysctl on 2.2.6 at least does not accept > strings containing spaces: > > sysctl -w kern.hostname=a,b,c > > works, whereas > > sysctl -w kern.hostname="a b c" > > fails. I am not sure who does the parsing of strings removing The quotes are removed by shell. The rest of the argument is parsed by parse(), which first finds the '=', then skips leading spaces, and then takes the rest of the line as a new value. > whitespace, nor if this works on -current Works just fine on -current. Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 02:37:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA20431 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 02:37:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA20425 for ; Wed, 7 Oct 1998 02:37:03 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08101; Wed, 7 Oct 1998 08:35:49 +0100 From: Luigi Rizzo Message-Id: <199810070735.IAA08101@labinfo.iet.unipi.it> Subject: Re: sysctl for string arguments ? To: abial@nask.pl (Andrzej Bialecki) Date: Wed, 7 Oct 1998 08:35:49 +0100 (MET) Cc: mike@smith.net.au, hackers@FreeBSD.ORG In-Reply-To: from "Andrzej Bialecki" at Oct 7, 98 11:35:53 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > On this subject, it seems that sysctl on 2.2.6 at least does not accept > > strings containing spaces: ... actually i have to correct myself, this behaviour is only on picobsd using oinit as a shell... now i wonder why Andrzej was the first to respond :) luigi > Works just fine on -current. > > Andrzej Bialecki > > -------------------- ++-------++ ------------------------------------- > ||PicoBSD|| FreeBSD in your pocket? Go and see: > Research & Academic |+-------+| "Small & Embedded FreeBSD" > Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ > -------------------- ~-+==---+-+ ------------------------------------- > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 02:52:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA22609 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 02:52:03 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA22548 for ; Wed, 7 Oct 1998 02:52:00 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id LAA10025; Wed, 7 Oct 1998 11:55:39 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Wed, 7 Oct 1998 11:55:38 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Luigi Rizzo cc: mike@smith.net.au, hackers@FreeBSD.ORG Subject: Re: sysctl for string arguments ? In-Reply-To: <199810070735.IAA08101@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 7 Oct 1998, Luigi Rizzo wrote: > > > On this subject, it seems that sysctl on 2.2.6 at least does not accept > > > strings containing spaces: > ... > > actually i have to correct myself, this behaviour is only on picobsd > using oinit as a shell... > > now i wonder why Andrzej was the first to respond :) Now I wonder why do you ask this question, having just discovered yourself that oinit poorly parses its command-line :-)) For the rest of you: don't worry, this has nothing to do with sysctl, and won't affect you if you don't use PicoBSD's oinit. Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 03:00:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA24227 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 03:00:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA24213 for ; Wed, 7 Oct 1998 03:00:30 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08141; Wed, 7 Oct 1998 08:59:02 +0100 From: Luigi Rizzo Message-Id: <199810070759.IAA08141@labinfo.iet.unipi.it> Subject: Re: sysctl for string arguments ? To: abial@nask.pl (Andrzej Bialecki) Date: Wed, 7 Oct 1998 08:59:02 +0100 (MET) Cc: mike@smith.net.au, hackers@FreeBSD.ORG In-Reply-To: from "Andrzej Bialecki" at Oct 7, 98 11:55:19 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > now i wonder why Andrzej was the first to respond :) > > Now I wonder why do you ask this question, having just discovered yourself > that oinit poorly parses its command-line :-)) because the sequence of events was like this: hmmm... sysctl works strangely hmmm... maybe it is related to oinit ? this should obviously teach myself to think before posting (or at least, count up to 10... ) and not viceversa but it is only from these things that we know that we are still humans... cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 06:00:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13622 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 06:00:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fsfw.freesoft.hu ([195.228.127.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13608 for ; Wed, 7 Oct 1998 06:00:55 -0700 (PDT) (envelope-from dbeck@freesoft.hu) Received: (from postmaster@localhost) by fsfw.freesoft.hu (8.7.5/8.7.3) id PAA02305 for ; Wed, 7 Oct 1998 15:00:53 +0200 X-Authentication-Warning: fsfw.freesoft.hu: postmaster set sender to using -f Received: from aviion.freesoft.hu(193.68.58.1) by fsfw.freesoft.hu via smap (V2.0beta) id xma002303; Wed, 7 Oct 98 15:00:47 +0200 Message-Id: <013401bdf1f2$96fc2ad0$963a44c1@dbeck.freesoft.hu> From: "David Beck" To: Subject: pthreads and semctl problem Date: Wed, 7 Oct 1998 15:01:22 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-Msmail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All, This is the first time I post to this list. Big hello to everyone :) I started to port an application from DEC Unix to FreeBSD and an unexpected problem cropped out. The app runs on 3 threads and uses system V semaphores for synchronizing access to a shared memory block between unrelated processes. (It communicates with unrelated processes using that shared memory block.) There are a couple of other reasons for why I couldn't use pthread mutexes in this case. The problem is I found that when I block one thread with the semop call, all the other threads will be blocked. Why ? Is it a problem in the C library or the kernel ? I compiled the program with the -pthread flag. Maybe I missed some other flags or switches ? The same code works under DEC and Linux :( Any ideas ? Cheers, David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 07:43:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA01756 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 07:43:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA01743 for ; Wed, 7 Oct 1998 07:43:20 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id KAA12225; Wed, 7 Oct 1998 10:43:10 -0400 (EDT) Date: Wed, 7 Oct 1998 10:43:10 -0400 (EDT) From: Daniel Eischen Message-Id: <199810071443.KAA12225@pcnet1.pcnet.com> To: dbeck@freesoft.hu, freebsd-hackers@FreeBSD.ORG Subject: Re: pthreads and semctl problem Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This is the first time I post to this list. > Big hello to everyone :) > > I started to port an application from DEC Unix to FreeBSD and > an unexpected problem cropped out. The app runs on 3 threads > and uses system V semaphores for synchronizing access to a > shared memory block between unrelated processes. (It > communicates with unrelated processes using that shared > memory block.) There are a couple of other reasons for why > I couldn't use pthread mutexes in this case. > > The problem is I found that when I block one thread with the > semop call, all the other threads will be blocked. Why ? Is it > a problem in the C library or the kernel ? > > I compiled the program with the -pthread flag. Maybe I missed > some other flags or switches ? > > The same code works under DEC and Linux :( FreeBSD pthreads currently doesn't wrap semop(), so any attempt to wait for the semaphore will hang. It doesn't look hard to fix the threads library for semop; I might try implementing this when I get some free time. You can add a hack to your application to make it work by using the IPC_NOWAIT flag on the semop call, and then if the thread doesn't get the semaphore, issue a pthread_yield() which will let other threads run. Someone else reported this problem also. Search the GNATS problem database to see if it's there. If not, submit a PR so it doesn't get lost. Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 07:58:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04914 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 07:58:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA04904 for ; Wed, 7 Oct 1998 07:58:22 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1a/8.9.1) with ESMTP id QAA22175 for ; Wed, 7 Oct 1998 16:58:07 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by mail.siemens.de (8.9.1a/8.9.1) with ESMTP id QAA08350 for ; Wed, 7 Oct 1998 16:58:08 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id QAA15860 for ; Wed, 7 Oct 1998 16:58:09 +0200 (CEST) From: Andre Albsmeier Message-Id: <199810071458.QAA01398@internal> Subject: How to send data between two network cards directly? To: hackers@FreeBSD.ORG Date: Wed, 7 Oct 1998 16:58:06 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have two machines connected with two network cards directly together via 10Base2. I would like to send data from one machine two the other without doing IP or any other protocol. What functions in FreeBSD could be used for that without hacking around in the kernel or the network drivers? Is there something like a low-level-open or some ioctl or anything similar? Thanks a lot, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 08:37:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13040 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 08:37:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA13025 for ; Wed, 7 Oct 1998 08:37:37 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id IAA00429; Wed, 7 Oct 1998 08:41:08 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810071541.IAA00429@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Andre Albsmeier cc: hackers@FreeBSD.ORG Subject: Re: How to send data between two network cards directly? In-reply-to: Your message of "Wed, 07 Oct 1998 16:58:06 +0200." <199810071458.QAA01398@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Oct 1998 08:41:08 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I have two machines connected with two network cards directly > together via 10Base2. I would like to send data from one > machine two the other without doing IP or any other > protocol. You have to have some protocol, or you can't tell what any given item of data is. > What functions in FreeBSD could be used for that without > hacking around in the kernel or the network drivers? > > Is there something like a low-level-open or some ioctl > or anything similar? >From the opposite direction - why do you want to do this? There's a perfectly functional solution already available that doesn't involve reinventing the wheel. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 08:46:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA15295 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 08:46:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA15225 for ; Wed, 7 Oct 1998 08:46:03 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1a/8.9.1) with ESMTP id RAA04690 for ; Wed, 7 Oct 1998 17:45:47 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by mail.siemens.de (8.9.1a/8.9.1) with ESMTP id RAA24732 for ; Wed, 7 Oct 1998 17:45:48 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id RAA16600 for ; Wed, 7 Oct 1998 17:45:48 +0200 (CEST) From: Andre Albsmeier Message-Id: <199810071545.RAA02143@internal> Subject: Re: How to send data between two network cards directly? In-Reply-To: <199810071541.IAA00429@dingo.cdrom.com> from Mike Smith at "Oct 7, 1998 8:41: 8 am" To: mike@smith.net.au (Mike Smith) Date: Wed, 7 Oct 1998 17:45:45 +0200 (CEST) Cc: andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > I have two machines connected with two network cards directly > > together via 10Base2. I would like to send data from one > > machine two the other without doing IP or any other > > protocol. > > You have to have some protocol, or you can't tell what any given item > of data is. OK, maybe I desribed it in a wrong way. I would like to use the most basic protocol that is available. No overhead, no error correction, no nothing... > > > What functions in FreeBSD could be used for that without > > hacking around in the kernel or the network drivers? > > > > Is there something like a low-level-open or some ioctl > > or anything similar? > > >From the opposite direction - why do you want to do this? There's a > perfectly functional solution already available that doesn't involve > reinventing the wheel. I have got two wireless-lan-like developer boxes. They got each an UTP port and transmit data via a direct spread spectrum frequency hopping protocol. We have two compare their performance, errors and reliabilty with other, for example RS232 or S0 bus based, boxes. They run the ethernet protocol (ok, this is the lowest level protocol, I have to use) and I would like to transmit data without running TCP,UDP or something else. -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 08:57:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18145 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 08:57:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18124 for ; Wed, 7 Oct 1998 08:57:05 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id JAA00589; Wed, 7 Oct 1998 09:01:12 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810071601.JAA00589@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Andre Albsmeier cc: hackers@FreeBSD.ORG Subject: Re: How to send data between two network cards directly? In-reply-to: Your message of "Wed, 07 Oct 1998 17:45:45 +0200." <199810071545.RAA02143@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Oct 1998 09:01:12 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > > > I have two machines connected with two network cards directly > > > together via 10Base2. I would like to send data from one > > > machine two the other without doing IP or any other > > > protocol. > > > > You have to have some protocol, or you can't tell what any given item > > of data is. > > OK, maybe I desribed it in a wrong way. I would like to use > the most basic protocol that is available. No overhead, > no error correction, no nothing... You can't do this. Ethernet implicitly involves several protocols, each with their own overheads and error correction. > > > What functions in FreeBSD could be used for that without > > > hacking around in the kernel or the network drivers? > > > > > > Is there something like a low-level-open or some ioctl > > > or anything similar? > > > > >From the opposite direction - why do you want to do this? There's a > > perfectly functional solution already available that doesn't involve > > reinventing the wheel. > > I have got two wireless-lan-like developer boxes. They got each an UTP > port and transmit data via a direct spread spectrum frequency hopping > protocol. We have two compare their performance, errors and reliabilty > with other, for example RS232 or S0 bus based, boxes. They run the ethernet > protocol (ok, this is the lowest level protocol, I have to use) and I would > like to transmit data without running TCP,UDP or something else. You can send raw Ethernet frames with a SOCK_RAW socket; see Stevens' Unix Network Programming for examples. However, I'd still be inclined to be testing things at the actual level they'd be realistically used at, and the overheads even for TCP are pretty small. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 10:04:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA29120 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 10:04:11 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from www.hitti.com ([202.96.211.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA29021 for ; Wed, 7 Oct 1998 10:04:02 -0700 (PDT) (envelope-from paulk@hitti.com) From: paulk@hitti.com Received: from mi.hitti.com (mi.hitti.com [192.168.1.10]) by www.hitti.com (8.8.8/8.8.8) with SMTP id BAA18018 for ; Thu, 8 Oct 1998 01:00:59 +0800 (CST) (envelope-from paulk@hitti.com) Received: by mi.hitti.com(Lotus SMTP MTA SMTP v4.6 (462.2 9-3-1997)) id 48256696.005D75FA ; Thu, 8 Oct 1998 01:00:22 +0800 X-Lotus-FromDomain: ITEC To: hackers@FreeBSD.ORG Message-ID: <48256696.00345A3C.00@mi.hitti.com> Date: Wed, 7 Oct 1998 17:32:24 +0800 Subject: Oracle 8 Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can Oracle 8 for Linux work on FreeBSD? Thanks -pk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 10:04:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA29188 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 10:04:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from www.hitti.com ([202.96.211.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA28999; Wed, 7 Oct 1998 10:04:01 -0700 (PDT) (envelope-from paulk@hitti.com) From: paulk@hitti.com Received: from mi.hitti.com (mi.hitti.com [192.168.1.10]) by www.hitti.com (8.8.8/8.8.8) with SMTP id BAA18012; Thu, 8 Oct 1998 01:00:57 +0800 (CST) (envelope-from paulk@hitti.com) Received: by mi.hitti.com(Lotus SMTP MTA SMTP v4.6 (462.2 9-3-1997)) id 48256696.005D760C ; Thu, 8 Oct 1998 01:00:23 +0800 X-Lotus-FromDomain: ITEC To: database@FreeBSD.ORG, hackers@FreeBSD.ORG Message-ID: <48256696.0047F9E6.00@mi.hitti.com> Date: Wed, 7 Oct 1998 21:08:02 +0800 Subject: Oracle 8 for Linux in FreeBSD Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After install it. I got: ELF binary type not know Abort trap Error! I had installed the Linux Emulation. What's wrong? Thanks & Regards -Jin Bo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 10:22:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02590 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 10:22:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA02580 for ; Wed, 7 Oct 1998 10:22:43 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA08692; Wed, 7 Oct 1998 16:18:42 +0100 From: Luigi Rizzo Message-Id: <199810071518.QAA08692@labinfo.iet.unipi.it> Subject: Re: How to send data between two network cards directly? To: andre.albsmeier@mchp.siemens.de (Andre Albsmeier) Date: Wed, 7 Oct 1998 16:18:42 +0100 (MET) Cc: mike@smith.net.au, andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG In-Reply-To: <199810071545.RAA02143@internal> from "Andre Albsmeier" at Oct 7, 98 05:45:26 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > together via 10Base2. I would like to send data from one > > > machine two the other without doing IP or any other > > > protocol. ... > OK, maybe I desribed it in a wrong way. I would like to use > the most basic protocol that is available. No overhead, > no error correction, no nothing... ... > I have got two wireless-lan-like developer boxes. They got each an UTP > port and transmit data via a direct spread spectrum frequency hopping > protocol. We have two compare their performance, errors and reliabilty > with other, for example RS232 or S0 bus based, boxes. They run the ethernet > protocol (ok, this is the lowest level protocol, I have to use) and I would > like to transmit data without running TCP,UDP or something else. then for your purposes, UDP or raw ethernet packets are absolutely equivalent. if you really want to see things in detail you might try to disable UDP checksums (i think this is a socket-level option, isn't it ?) or even pass up bad frames from the ethernet driver (either use bpf, or play with the ethernet driver) cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 10:52:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08922 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 10:52:55 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA08908; Wed, 7 Oct 1998 10:52:50 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zQxlC-0004Aa-00; Wed, 7 Oct 1998 11:52:26 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id LAA17076; Wed, 7 Oct 1998 11:52:13 -0600 (MDT) Message-Id: <199810071752.LAA17076@harmony.village.org> To: Luigi Rizzo Subject: Re: Dummynet Cc: freebsd-net@FreeBSD.ORG, vev@michvhf.com, freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 06 Oct 1998 08:03:41 BST." <199810060703.IAA05689@labinfo.iet.unipi.it> References: <199810060703.IAA05689@labinfo.iet.unipi.it> Date: Wed, 07 Oct 1998 11:52:12 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199810060703.IAA05689@labinfo.iet.unipi.it> Luigi Rizzo writes: : > At a guess, K/s is kilobytes/second and k/s is kilobits/second : : actually i don't remember well how i implemented this in ipfw, but i : think KB is for kilobyte and K or Kb is for kilobit : : (with K=1000, not 1024) kb/s == 1000 bits per second. Kb/s == 1024 bits per second kB/s == 1000 bytes per second KB/s == 1024 bytes per second. In the SI units, as expanded for computer folks, b == bits, B == bytes, k == 1000 and K == 1024. M == 1000000 or 2^20 (or sometimes 1024 * 1000). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 11:13:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA13746 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 11:13:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA13653; Wed, 7 Oct 1998 11:12:52 -0700 (PDT) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.8.8/8.8.8) id TAA04931; Wed, 7 Oct 1998 19:12:13 +0100 (BST) (envelope-from joe) Message-ID: <19981007191212.J16663@pavilion.net> Date: Wed, 7 Oct 1998 19:12:12 +0100 From: Josef Karthauser To: paulk@hitti.com, database@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Oracle 8 for Linux in FreeBSD References: <48256696.0047F9E6.00@mi.hitti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <48256696.0047F9E6.00@mi.hitti.com>; from paulk@hitti.com on Wed, Oct 07, 1998 at 09:08:02PM +0800 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England Phone: +44-1273-607072 Fax: +44-1273-607073 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Oct 07, 1998 at 09:08:02PM +0800, paulk@hitti.com wrote: > > After install it. I got: > > ELF binary type not know > Abort trap > > > Error! > > I had installed the Linux Emulation. > > > What's wrong? You probably have to brand the binary using 'brandelf'. Man brandelf for more info. Joe -- Josef Karthauser Technical Manager FreeBSD: The power to serve (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 11:14:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA14247 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 11:14:55 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tnt.isi.edu (tnt.isi.edu [128.9.128.128]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA14211 for ; Wed, 7 Oct 1998 11:14:44 -0700 (PDT) (envelope-from faber@ISI.EDU) Received: from ISI.EDU (vex-e.isi.edu [128.9.160.240]) by tnt.isi.edu (8.8.7/8.8.6) with ESMTP id LAA09944; Wed, 7 Oct 1998 11:10:50 -0700 (PDT) Message-Id: <199810071810.LAA09944@tnt.isi.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: Andre Albsmeier Cc: hackers@FreeBSD.ORG, touch@ISI.EDU Subject: Re: How to send data between two network cards directly? In-Reply-To: Your message of "Wed, 07 Oct 1998 16:58:06 +0200." <199810071458.QAA01398@internal> X-Url: http://www.isi.edu/~faber Date: Wed, 07 Oct 1998 11:10:49 -0700 From: Ted Faber Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Andre Albsmeier wrote: >Hi, > >I have two machines connected with two network cards directly >together via 10Base2. I would like to send data from one >machine two the other without doing IP or any other >protocol. This isn't exactly what you asked for, but maybe it's what you mean: http://www.isi.edu/~touch/pubs/computer-peer98.ps It's an article to appear in IEEE Network about having network cards DMA packet bodies between the cards with minimal kernel help. I believe that the work was done on FreeBSD. Contact the authors for more details. - ---------------------------------------------------------------------- Ted Faber faber@isi.edu USC/ISI Computer Scientist http://www.isi.edu/~faber (310) 822-1511 x190 PGP Key: http://www.isi.edu/~faber/pubkey.asc -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNhuuqYb4eisfQ5rpAQHNHwP/R8QP4qUykks9w46WjJSpz8BDsCknFfam 8knNsNRx57hKeWZxmxjLmgcjlMelfQ3EXStzmTMbwIC9S82R6Dja2vJxlv0JbD8n 0oUfz6nDb9mddo2PMmHCHzAPT+vhn9t7v0o2A3ztyKwSc9VGtacgWFUzLoYd7HmG Iongf9f+WYE= =dj9p -----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 Wed Oct 7 11:49:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21945 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 11:49:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21925; Wed, 7 Oct 1998 11:49:48 -0700 (PDT) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with SMTP id OAA07683; Wed, 7 Oct 1998 14:51:00 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Wed, 7 Oct 1998 14:51:00 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: paulk@hitti.com cc: database@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Oracle 8 for Linux in FreeBSD In-Reply-To: <48256696.0047F9E6.00@mi.hitti.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 a) man brandelf, you need to tell freebsd that it's a Linux binary b) you need the latest and greatest libc (i got it from redhat) c) depending on work in progress (i haven't tried it in 2 weeks) it might still just segfault as it creates the database. Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current On Wed, 7 Oct 1998 paulk@hitti.com wrote: > > After install it. I got: > > ELF binary type not know > Abort trap > > > Error! > > I had installed the Linux Emulation. > > > What's wrong? > > > Thanks & Regards > > > -Jin Bo > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 12:40:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01512 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 12:40:02 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA01449; Wed, 7 Oct 1998 12:39:36 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA08935; Wed, 7 Oct 1998 18:38:51 +0100 From: Luigi Rizzo Message-Id: <199810071738.SAA08935@labinfo.iet.unipi.it> Subject: Re: Dummynet To: imp@village.org (Warner Losh) Date: Wed, 7 Oct 1998 18:38:51 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG, vev@michvhf.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199810071752.LAA17076@harmony.village.org> from "Warner Losh" at Oct 7, 98 11:51:53 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > : actually i don't remember well how i implemented this in ipfw, but i > : think KB is for kilobyte and K or Kb is for kilobit > : > : (with K=1000, not 1024) > > kb/s == 1000 bits per second. > Kb/s == 1024 bits per second > kB/s == 1000 bytes per second > KB/s == 1024 bytes per second. > > In the SI units, as expanded for computer folks, b == bits, B == > bytes, k == 1000 and K == 1024. M == 1000000 or 2^20 (or sometimes > 1024 * 1000). there's nothing worse than imprecise definitions! the b/B differentiation is widespread, but k/K are often used interchangeably. What i know for sure is that network bandwidths are seldom measured with powers of 2, i.e. 64k means 64.000 not 65536, ethernet is 10Mbit= 10.000.000, etc. disk capacities... there K and M were used for 2^10 and 2^20 respectively, but now it is more and more common to use them for 10^3 and 10^6, and i hope the unit will not shrink as it happened to the "monitor inch" ! cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 12:59:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06774 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 12:59:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06745 for ; Wed, 7 Oct 1998 12:59:27 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1a/8.9.1) with ESMTP id VAA11920 for ; Wed, 7 Oct 1998 21:59:10 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by mail.siemens.de (8.9.1a/8.9.1) with ESMTP id VAA05807 for ; Wed, 7 Oct 1998 21:59:11 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id VAA18220 for ; Wed, 7 Oct 1998 21:59:12 +0200 (CEST) From: Andre Albsmeier Message-Id: <199810071959.VAA02775@internal> Subject: Re: How to send data between two network cards directly? In-Reply-To: <199810071518.QAA08692@labinfo.iet.unipi.it> from Luigi Rizzo at "Oct 7, 1998 4:18:42 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Wed, 7 Oct 1998 21:59:09 +0200 (CEST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > together via 10Base2. I would like to send data from one > > > > machine two the other without doing IP or any other > > > > protocol. > ... > > OK, maybe I desribed it in a wrong way. I would like to use > > the most basic protocol that is available. No overhead, > > no error correction, no nothing... > ... > > I have got two wireless-lan-like developer boxes. They got each an UTP > > port and transmit data via a direct spread spectrum frequency hopping > > protocol. We have two compare their performance, errors and reliabilty > > with other, for example RS232 or S0 bus based, boxes. They run the ethernet > > protocol (ok, this is the lowest level protocol, I have to use) and I would > > like to transmit data without running TCP,UDP or something else. > > then for your purposes, UDP or raw ethernet packets are absolutely > equivalent. I think I will stick with the raw packets first and see how it is working. I still don't know exactly what I have to expect since I don't have much infos about the internal of these boxes. These are only some experimental test and, as you can imagine, I will have to do some comparisons with the RS232 and S0 bus stuff so it's actually comparing apples with pears as we say in germany :-) > > if you really want to see things in detail you might try to disable UDP > checksums (i think this is a socket-level option, isn't it ?) > or even pass up bad frames from the ethernet driver (either > use bpf, or play with the ethernet driver) Yes the bpf was also coming on my mind but I still haven't got much experience with it (from a programers point of view) and I have to get this thing running in a short time. > > cheers > luigi Thanks a lot for your help, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 13:12:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09917 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 13:12:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA09895; Wed, 7 Oct 1998 13:12:23 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zQzwM-0004En-00; Wed, 7 Oct 1998 14:12:06 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id OAA18112; Wed, 7 Oct 1998 14:11:54 -0600 (MDT) Message-Id: <199810072011.OAA18112@harmony.village.org> To: Luigi Rizzo Subject: Re: Dummynet Cc: freebsd-net@FreeBSD.ORG, vev@michvhf.com, freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 07 Oct 1998 18:38:51 BST." <199810071738.SAA08935@labinfo.iet.unipi.it> References: <199810071738.SAA08935@labinfo.iet.unipi.it> Date: Wed, 07 Oct 1998 14:11:54 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199810071738.SAA08935@labinfo.iet.unipi.it> Luigi Rizzo writes: : > : actually i don't remember well how i implemented this in ipfw, but i : > : think KB is for kilobyte and K or Kb is for kilobit : > : : > : (with K=1000, not 1024) : > : > kb/s == 1000 bits per second. : > Kb/s == 1024 bits per second : > kB/s == 1000 bytes per second : > KB/s == 1024 bytes per second. : > : > In the SI units, as expanded for computer folks, b == bits, B == : > bytes, k == 1000 and K == 1024. M == 1000000 or 2^20 (or sometimes : > 1024 * 1000). : : there's nothing worse than imprecise definitions! the b/B differentiation : is widespread, but k/K are often used interchangeably. : : What i know for sure is that network bandwidths are seldom measured : with powers of 2, i.e. 64k means 64.000 not 65536, ethernet is 10Mbit= : 10.000.000, etc. : : disk capacities... there K and M were used for 2^10 and 2^20 : respectively, but now it is more and more common to use them for 10^3 : and 10^6, and i hope the unit will not shrink as it happened to the : "monitor inch" ! Yes. But you'll notice that people tend to be careful about k vs K (eg 64k is 64,000), but less careful about M vs M :-). Memory is the only thing that is mesured in M (2^20), while disk space, network speed and most other things are measured in M (10^6). M is the standard SI unit for 10^6, so seeing it used for 10^6 doesn't bother me. k vs K generally doesn't matter, but many people at least make an effort to try keep them straight, at least in this country (otherwise you'd see 65K organizers, rather than the 64K, 256K, 512K, etc for example). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 13:25:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13547 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 13:25:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13506 for ; Wed, 7 Oct 1998 13:25:25 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id WAA20175; Wed, 7 Oct 1998 22:25:17 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Wed, 7 Oct 1998 22:25:16 +0200 (MET DST) Mime-Version: 1.0 To: Nicolis Roberta Cc: freebsd-hackers Subject: Re: network buffers problem References: <361B2587.1D25154@intrasoft.it> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 07 Oct 1998 22:25:15 +0200 In-Reply-To: Nicolis Roberta's message of "Wed, 07 Oct 1998 10:25:43 +0200" Message-ID: Lines: 15 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id NAA13527 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nicolis Roberta writes: > recently I often have the following network problem on our FreeBSD > (Release 2.1.6): suddenly the network stop working and when I try to > ping another host on the local network, ping returns the following > message: > > No buffers space available Lemme guess: 3Com Etherlink III (3c509 / 3c509B)? Try "ifconfig ep0 up". DES (Philippe Regnauld, if you read this: told you so...) -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 14:31:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26973 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 14:31:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26948 for ; Wed, 7 Oct 1998 14:31:31 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id OAA11044 for ; Wed, 7 Oct 1998 14:31:25 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <361BDDAC.F86C0045@dal.net> Date: Wed, 07 Oct 1998 14:31:24 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: The Subject: mail in free(): warning: junk pointer, too high to make sense. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know there was interest in the "free(): warning: junk pointer, too high to make sense." warning inre inetd, however I am getting it reliably using the 'mail' command. Every time I just type 'mail' (no parameters) to start up the interface, I get this warning. The program seems to be working fine however. I'm using 2.2.7-STABLE-0929, and don't have a low memory condition: Mem: 35M Active, 2220K Inact, 14M Wired, 8484K Cache, 7682K Buf, 2704K Free Swap: 120M Total, 16M Used, 105M Free, 13% Inuse I'll be happy to work with anyone who wants to look into this. Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 15:11:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05963 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 15:11:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA05850 for ; Wed, 7 Oct 1998 15:11:07 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA09186; Wed, 7 Oct 1998 21:08:56 +0100 From: Luigi Rizzo Message-Id: <199810072008.VAA09186@labinfo.iet.unipi.it> Subject: Re: How to send data between two network cards directly? To: andre.albsmeier@mchp.siemens.de (Andre Albsmeier) Date: Wed, 7 Oct 1998 21:08:56 +0100 (MET) Cc: hackers@FreeBSD.ORG In-Reply-To: <199810071959.VAA02775@internal> from "Andre Albsmeier" at Oct 7, 98 09:58:50 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > then for your purposes, UDP or raw ethernet packets are absolutely > > equivalent. > > I think I will stick with the raw packets first and see how it is > working. I still don't know exactly what I have to expect it's much more work than you need. You can use many readily available applications over udp (or icmp for what matters, e.g. you can just play with "ping" and run a tcpdump on the other side). cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 15:28:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09699 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 15:28:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lariat.lariat.org (lariat.lariat.org [206.100.185.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09660 for ; Wed, 7 Oct 1998 15:28:34 -0700 (PDT) (envelope-from brett@lariat.org) Received: (from brett@localhost) by lariat.lariat.org (8.8.8/8.8.6) id QAA27135; Wed, 7 Oct 1998 16:28:28 -0600 (MDT) Message-Id: <4.1.19981007162637.04032380@mail.lariat.org> X-Sender: brett@mail.lariat.org X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Wed, 07 Oct 1998 16:27:17 -0600 To: hackers@FreeBSD.ORG From: Brett Glass Subject: Another instance of the crash I was seeing Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just a few days ago, Jim Dennis of Starshine encountered exactly the same crash I've been experiencing here (with FreeBSD 2.2.7). As you may recall, our backup script, which piped dump through gzip to ftp, was causing the machine to crash with a seg fault. The debugger said that the seg fault occurred in the kernel while it was in an idle loop.... Possibly waiting for completion of an IDE command. (I suspect this is indeed where the problem occurred, because the machine actually had a lot of work to do in userland at the time; CPU usage was pegged. But the IDE driver blocks and busy-waits for command completion in the kernel, so we would see it enter the idle loop while it was waiting.) My SWAG is that the problem is most likely in the IDE/ATAPI or ed0 drivers, and/or in interrupt handling during the busy wait. But I have no idea how to figure out where the problem is. Jim's crashes, like the ones I've been seeing, occurred while dumping disk data to and from the network under relatively high CPU loads. He posted a description to -questions recently. Has anyone else seen this? It's beginning to look like a pattern, and we need to nail it so that we can reinstate our backup procedure. (The one we're using now is a stopgap.) --Brett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 15:48:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA12924 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 15:48:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA12851 for ; Wed, 7 Oct 1998 15:48:08 -0700 (PDT) (envelope-from J_Shevland@TurnAround.com.au) Received: from TurnAround.com.au (dhcp72.turnaround.com.au [192.168.1.72]) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with ESMTP id JAA09735; Thu, 8 Oct 1998 09:50:04 +1100 (EST) (envelope-from J_Shevland@TurnAround.com.au) Message-ID: <361BEF5F.FF03FF46@TurnAround.com.au> Date: Thu, 08 Oct 1998 09:46:55 +1100 From: Joe Shevland Organization: TurnAround Solutions Pty. Ltd. X-Mailer: Mozilla 4.06 [en] (Win95; I) MIME-Version: 1.0 To: Marius Bendiksen CC: Gregory Sutter , freebsd-hackers@FreeBSD.ORG Subject: Re: Two Y chromosomes [ Was: Java-based Crypto Decoder Ring ...] References: <19981006045145.26603@futuresouth.com> <3.0.5.32.19981007111506.00937880@mail.scancall.no> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Whoa! Fairly intense thread to wake up to :) Marius Bendiksen wrote: > > >Actually, such folk tend to have some physical and mental signs, which > >get worse as the number of additional chromosomes increases. There are > >people with XYYYY chromosomes, but they're usually quite retarded and > >have multiple physical problems. > > Considering how a man only has one (1) Y chromosome to contribute, I > don't -want- to know where the remaining three came from :/ > > >If you want to know more, flip through an introductory genetics book; > >the resulting knowledge may intrigue you, will almost certainly > >disgust you, but hopefully will also instill you with a sense of awe > >at the amazing systems that make us "us". Evolution is cool. :) > > Humanity is a genetic cesspool, not the pinnacle of darwinian evolution :) > --- > Marius Bendiksen, IT-Trainee, ScanCall AS > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- ======================================================= Joe Shevland TurnAround Solutions Pty. Ltd. Senior Consultant J_Shevland@TurnAround.com.au Voice (03) 6224 9146 ShevlandJ@Netscape.net -- 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 Wed Oct 7 15:59:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA15937 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 15:59:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from the.oneinsane.net (gw.oneinsane.net [207.113.133.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA15907 for ; Wed, 7 Oct 1998 15:59:42 -0700 (PDT) (envelope-from insane@the.oneinsane.net) Received: (from insane@localhost) by the.oneinsane.net (8.9.0/8.9.0) id PAA23097; Wed, 7 Oct 1998 15:59:29 -0700 (PDT) Message-ID: <19981007155929.A20817@oneinsane.net> Date: Wed, 7 Oct 1998 15:59:29 -0700 From: "Ron 'The Insane One' Rosson" To: Studded , The Subject: Re: mail in free(): warning: junk pointer, too high to make sense. Reply-To: insane@oneinsane.net References: <361BDDAC.F86C0045@dal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <361BDDAC.F86C0045@dal.net>; from Studded on Wed, Oct 07, 1998 at 02:31:24PM -0700 X-Operating-System: FreeBSD the.oneinsane.net 2.2.7-STABLE X-Opinion: What you read here is my IMHO X-Disclaimer: I am a firm believer in RTFM X-WWW: http://www.oneinsane.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Oct 07, 1998 at 02:31:24PM -0700, Studded wrote: > > Go PADRES! I couldn't resist.. But we all know That the PADRES will WIN in Atlanta ;-) TIA Ron -- ------------------------------------------------------------------- Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * insane@oneinsane.net and all was null and void ------------------------------------------------------------------- It's so nice to be insane, nobody asks you to explain. [----------------------------System Info---------------------------] 3:58PM up 4 days, 16:08, 4 users, load averages: 0.75, 0.75, 0.75 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 17:02:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28103 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 17:02:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28058 for ; Wed, 7 Oct 1998 17:02:10 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id RAA05919; Wed, 7 Oct 1998 17:01:54 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma005915; Wed Oct 7 17:01:28 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id RAA23283; Wed, 7 Oct 1998 17:01:28 -0700 (PDT) From: Archie Cobbs Message-Id: <199810080001.RAA23283@bubba.whistle.com> Subject: Re: How to send data between two network cards directly? In-Reply-To: <199810071601.JAA00589@dingo.cdrom.com> from Mike Smith at "Oct 7, 98 09:01:12 am" To: mike@smith.net.au (Mike Smith) Date: Wed, 7 Oct 1998 17:01:28 -0700 (PDT) Cc: andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Mike Smith writes: > > > > I have two machines connected with two network cards directly > > > > together via 10Base2. I would like to send data from one > > > > machine two the other without doing IP or any other > > > > protocol. > > > > > > You have to have some protocol, or you can't tell what any given item > > > of data is. > > > > OK, maybe I desribed it in a wrong way. I would like to use > > the most basic protocol that is available. No overhead, > > no error correction, no nothing... > > You can't do this. Ethernet implicitly involves several protocols, > each with their own overheads and error correction. Not true.. Ethernet is just synchronous HDLC with a 32 bit checksum. You can send and receive raw Ethernet frames using bpf(4). -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 17:07:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29072 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 17:07:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29065 for ; Wed, 7 Oct 1998 17:06:58 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id RAA05940; Wed, 7 Oct 1998 17:06:54 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma005938; Wed Oct 7 17:06:25 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id RAA23304; Wed, 7 Oct 1998 17:06:25 -0700 (PDT) From: Archie Cobbs Message-Id: <199810080006.RAA23304@bubba.whistle.com> Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-Reply-To: <361BDDAC.F86C0045@dal.net> from Studded at "Oct 7, 98 02:31:24 pm" To: Studded@dal.net (Studded) Date: Wed, 7 Oct 1998 17:06:25 -0700 (PDT) Cc: FreeBSD-Hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Studded writes: > I know there was interest in the "free(): warning: junk pointer, too > high to make sense." warning inre inetd, however I am getting it > reliably using the 'mail' command. Every time I just type 'mail' (no > parameters) to start up the interface, I get this warning. The program > seems to be working fine however. So... $ ln -sf AJ /etc/malloc.conf run mail again, and examine the core dump. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 17:10:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29868 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 17:10:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29853 for ; Wed, 7 Oct 1998 17:10:38 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id RAA03646; Wed, 7 Oct 1998 17:15:50 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810080015.RAA03646@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Archie Cobbs cc: hackers@FreeBSD.ORG Subject: Re: How to send data between two network cards directly? In-reply-to: Your message of "Wed, 07 Oct 1998 17:01:28 PDT." <199810080001.RAA23283@bubba.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Oct 1998 17:15:50 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Mike Smith writes: > > > > > I have two machines connected with two network cards directly > > > > > together via 10Base2. I would like to send data from one > > > > > machine two the other without doing IP or any other > > > > > protocol. > > > > > > > > You have to have some protocol, or you can't tell what any given item > > > > of data is. > > > > > > OK, maybe I desribed it in a wrong way. I would like to use > > > the most basic protocol that is available. No overhead, > > > no error correction, no nothing... > > > > You can't do this. Ethernet implicitly involves several protocols, > > each with their own overheads and error correction. > > Not true.. Ethernet is just synchronous HDLC with a 32 bit checksum. > You can send and receive raw Ethernet frames using bpf(4). I see at least two there; the Ethernet protocol (implemented substantially in hardware) and the interface to the Ethernet card. Anyway, my response was to the "no overhead, no error correction, no nothing". Ethernet has mandatory overhead, mandatory (usually hardware) error detection, and no "no nothing". I think I was right. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 17:32:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04890 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 17:32:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04870 for ; Wed, 7 Oct 1998 17:31:54 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id RAA13416; Wed, 7 Oct 1998 17:31:46 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <361C07F2.85106E15@dal.net> Date: Wed, 07 Oct 1998 17:31:46 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Archie Cobbs CC: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810080006.RAA23304@bubba.whistle.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Archie Cobbs wrote: > > Studded writes: > > I know there was interest in the "free(): warning: junk pointer, too > > high to make sense." warning inre inetd, however I am getting it > > reliably using the 'mail' command. Every time I just type 'mail' (no > > parameters) to start up the interface, I get this warning. The program > > seems to be working fine however. > > So... > > $ ln -sf AJ /etc/malloc.conf > > run mail again, and examine the core dump. Ok, I did that, then compiled a mail binary with -ggdb. Here's the result: Core was generated by `mail'. Program terminated with signal 6, Abort trap. Cannot access memory at address 0x20027080. #0 0x20080d51 in ?? () (gdb) bt #0 0x20080d51 in ?? () #1 0x200805c4 in ?? () #2 0x2007f01c in ?? () #3 0x2007f058 in ?? () #4 0x2008007d in ?? () #5 0x200802ba in ?? () #6 0x8e73 in execute (linebuf=0x0, contxt=110592) at lex.c:322 #7 0x84c2 in __isctype () at v7.local.c:56 #8 0xb0a2 in main (argc=1, argv=0xefbfd788) at main.c:95 Attempting to run it in gdb got a different response: (gdb) run Starting program: /usr/home/myusername/./mail mail in free(): error: junk pointer, too high to make sense. Program received signal SIGABRT, Aborted. 0x20080d51 in kill () (gdb) bt #0 0x20080d51 in kill () #1 0x200805c4 in abort () #2 0x2007f01c in getdtablesize () #3 0x2007f058 in getdtablesize () #4 0x2008007d in getdtablesize () #5 0x200802ba in free () #6 0x9263 in setmsize (sz=0) at lex.c:445 #7 0x88b2 in setfile (name=0x1b080 "/var/mail/myusername") at lex.c:146 #8 0xb492 in main (argc=1, argv=0xefbfd768) at main.c:246 I hope this is what you were looking for. My experience with gdb is limited, my C only slightly less so. :) Thanks, Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 17:43:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07562 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 17:43:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from orcrist.mediacity.com (orcrist.mediacity.com [208.138.36.146]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA07542 for ; Wed, 7 Oct 1998 17:43:14 -0700 (PDT) (envelope-from gsutter@orcrist.mediacity.com) Received: (from gsutter@localhost) by orcrist.mediacity.com (8.8.8/8.8.8) id RAA21185; Wed, 7 Oct 1998 17:44:14 -0700 (PDT) (envelope-from gsutter) Message-ID: <19981007174414.C18686@orcrist.mediacity.com> Date: Wed, 7 Oct 1998 17:44:14 -0700 From: Gregory Sutter To: Marius Bendiksen Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Two Y chromosomes [ Was: Java-based Crypto Decoder Ring ...] References: <19981006045145.26603@futuresouth.com> <19981006145323.M10980@orcrist.mediacity.com> <3.0.5.32.19981007111506.00937880@mail.scancall.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <3.0.5.32.19981007111506.00937880@mail.scancall.no>; from Marius Bendiksen on Wed, Oct 07, 1998 at 11:15:06AM +0200 Organization: Zer0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Oct 07, 1998 at 11:15:06AM +0200, Marius Bendiksen wrote: > >Actually, such folk tend to have some physical and mental signs, which > >get worse as the number of additional chromosomes increases. There are > >people with XYYYY chromosomes, but they're usually quite retarded and > >have multiple physical problems. > > Considering how a man only has one (1) Y chromosome to contribute, I > don't -want- to know where the remaining three came from :/ Well, there are also issues with people having multiples of the X chromosome, too. So a person could have XXY or even XXXY. Or more X's, but people with a large number of additional chromosomes don't usually survive long. (Most aren't born alive.) Someone else reminded me that these (overmany X and overmany Y chromosomes) are known as Turner's and Klinefelter's syndromes, but I've forgotten which is which. > >If you want to know more, flip through an introductory genetics book; > >the resulting knowledge may intrigue you, will almost certainly > >disgust you, but hopefully will also instill you with a sense of awe > >at the amazing systems that make us "us". Evolution is cool. :) > > Humanity is a genetic cesspool, not the pinnacle of darwinian evolution :) We do carry some undesirable genes and gene sets, but as a whole, we're pretty amazing systems. There _is_ no pinnacle of Darwinian evolution, though. Perfection is awfully difficult to achieve, don't you agree? Greg -- Gregory S. Sutter Cole's Law: Thinly sliced cabbage. mailto:gsutter@pobox.com http://www.pobox.com/~gsutter/ PGP DSS public key 0x40AE3052 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 18:30:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15258 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 18:30:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bandicoot.prth.tensor.pgs.com (bandicoot.prth.tensor.pgs.com [157.147.224.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA15249 for ; Wed, 7 Oct 1998 18:30:13 -0700 (PDT) (envelope-from shocking@ariadne.prth.tensor.pgs.com) Received: from ariadne.tensor.pgs.com (ariadne [157.147.227.36]) by bandicoot.prth.tensor.pgs.com (8.8.8/8.8.8) with SMTP id JAA15344 for ; Thu, 8 Oct 1998 09:30:02 +0800 (WST) Received: from ariadne by ariadne.tensor.pgs.com (SMI-8.6/SMI-SVR4) id JAA27213; Thu, 8 Oct 1998 09:30:02 +0800 Message-Id: <199810080130.JAA27213@ariadne.tensor.pgs.com> X-Mailer: exmh version 2.0.2 2/24/98 To: hackers@FreeBSD.ORG Subject: "indent" flags that conform to style(9)? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 09:30:02 +0800 From: Stephen Hocking-Senior Programmer PGS Tensor Perth Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Has anyone got something suitable? I have something that I'd like to format according the TRVTH as laid down in stye(9). Stephen -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 19:54:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27783 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 19:54:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27485 for ; Wed, 7 Oct 1998 19:53:11 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id TAA07278; Wed, 7 Oct 1998 19:53:02 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma007274; Wed Oct 7 19:52:40 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id TAA29463; Wed, 7 Oct 1998 19:52:40 -0700 (PDT) From: Archie Cobbs Message-Id: <199810080252.TAA29463@bubba.whistle.com> Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-Reply-To: <361C07F2.85106E15@dal.net> from Studded at "Oct 7, 98 05:31:46 pm" To: Studded@dal.net (Studded) Date: Wed, 7 Oct 1998 19:52:40 -0700 (PDT) Cc: FreeBSD-Hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Studded writes: > Archie Cobbs wrote: > > Studded writes: > > > I know there was interest in the "free(): warning: junk pointer, too > > > high to make sense." warning inre inetd, however I am getting it > > > reliably using the 'mail' command. Every time I just type 'mail' (no > > > parameters) to start up the interface, I get this warning. The program > > > seems to be working fine however. > > > > So... > > > > $ ln -sf AJ /etc/malloc.conf > > > > run mail again, and examine the core dump. > > (gdb) run > Starting program: /usr/home/myusername/./mail > mail in free(): error: junk pointer, too high to make sense. > > Program received signal SIGABRT, Aborted. > 0x20080d51 in kill () > (gdb) bt > #0 0x20080d51 in kill () > #1 0x200805c4 in abort () > #2 0x2007f01c in getdtablesize () > #3 0x2007f058 in getdtablesize () > #4 0x2008007d in getdtablesize () > #5 0x200802ba in free () > #6 0x9263 in setmsize (sz=0) at lex.c:445 > #7 0x88b2 in setfile (name=0x1b080 "/var/mail/myusername") at lex.c:146 > #8 0xb492 in main (argc=1, argv=0xefbfd768) at main.c:246 Hmm.. is your system elm? Maybe there's a bug in mail that's always been there, but which is only now exhibited with elf. A quick look doesn't reveal any obvious logical bugs. The only way this can be happening is if some code is corrupting the "msgvec" variable in lex.c. "msgvec" may just be the unlucky victim of some other random memory corruption. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 20:06:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29992 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 20:06:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bandicoot.prth.tensor.pgs.com (bandicoot.prth.tensor.pgs.com [157.147.224.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29981 for ; Wed, 7 Oct 1998 20:06:51 -0700 (PDT) (envelope-from shocking@ariadne.prth.tensor.pgs.com) Received: from ariadne.tensor.pgs.com (ariadne [157.147.227.36]) by bandicoot.prth.tensor.pgs.com (8.8.8/8.8.8) with SMTP id LAA22817 for ; Thu, 8 Oct 1998 11:06:44 +0800 (WST) Received: from ariadne by ariadne.tensor.pgs.com (SMI-8.6/SMI-SVR4) id LAA27761; Thu, 8 Oct 1998 11:06:43 +0800 Message-Id: <199810080306.LAA27761@ariadne.tensor.pgs.com> X-Mailer: exmh version 2.0.2 2/24/98 To: hackers@FreeBSD.ORG Subject: Anyone tried an IBM 3590 tape drive? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 11:06:41 +0800 From: Stephen Hocking-Senior Programmer PGS Tensor Perth Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG They're a differential SCSI device, rather large in size and run to about 15-20GB. We use them here for seismic data. On a related note, what differential SCSI controllers have people had luck with? Stephen -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 20:08:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA00283 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 20:08:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bandicoot.prth.tensor.pgs.com (bandicoot.prth.tensor.pgs.com [157.147.224.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA00263 for ; Wed, 7 Oct 1998 20:08:32 -0700 (PDT) (envelope-from shocking@ariadne.prth.tensor.pgs.com) Received: from ariadne.tensor.pgs.com (ariadne [157.147.227.36]) by bandicoot.prth.tensor.pgs.com (8.8.8/8.8.8) with SMTP id LAA23882 for ; Thu, 8 Oct 1998 11:08:24 +0800 (WST) Received: from ariadne by ariadne.tensor.pgs.com (SMI-8.6/SMI-SVR4) id LAA27782; Thu, 8 Oct 1998 11:08:24 +0800 Message-Id: <199810080308.LAA27782@ariadne.tensor.pgs.com> X-Mailer: exmh version 2.0.2 2/24/98 To: hackers@FreeBSD.ORG Subject: Sourcing Myrinet Gigabit adaptors (in Australia, if possible) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 11:08:23 +0800 From: Stephen Hocking-Senior Programmer PGS Tensor Perth Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Am looking at building a cluster which involves high speed networking. Does anyone know where to purchase these beasts? Stephen -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 20:12:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA00874 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 20:12:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from www.hitti.com ([202.96.211.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA00846; Wed, 7 Oct 1998 20:12:10 -0700 (PDT) (envelope-from paulk@hitti.com) From: paulk@hitti.com Received: from mi.hitti.com (mi.hitti.com [192.168.1.10]) by www.hitti.com (8.8.8/8.8.8) with SMTP id LAA18938; Thu, 8 Oct 1998 11:08:28 +0800 (CST) (envelope-from paulk@hitti.com) Received: by mi.hitti.com(Lotus SMTP MTA SMTP v4.6 (462.2 9-3-1997)) id 48256697.00113700 ; Thu, 8 Oct 1998 11:08:01 +0800 X-Lotus-FromDomain: ITEC To: Alfred Perlstein cc: hackers@FreeBSD.ORG, database@FreeBSD.ORG Message-ID: <48256697.0010EF6B.00@mi.hitti.com> Date: Thu, 8 Oct 1998 11:07:59 +0800 Subject: Re: Re: Oracle 8 for Linux in FreeBSD Mime-Version: 1.0 Content-type: text/plain; charset=gb2312 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I make it running after set brandelf to Linux, but it get Segment fault :( Thanks for your help. -Jinbo Ö÷Ìâ: Re: Oracle 8 for Linux in FreeBSD Content-type: text/plain; charset=us-ascii a) man brandelf, you need to tell freebsd that it's a Linux binary b) you need the latest and greatest libc (i got it from redhat) c) depending on work in progress (i haven't tried it in 2 weeks) it might still just segfault as it creates the database. Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current On Wed, 7 Oct 1998 paulk@hitti.com wrote: > > After install it. I got: > > ELF binary type not know > Abort trap > > > Error! > > I had installed the Linux Emulation. > > > What's wrong? > > > Thanks & Regards > > > -Jin Bo > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 20:14:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA01228 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 20:14:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01194 for ; Wed, 7 Oct 1998 20:14:06 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA29565; Thu, 8 Oct 1998 12:43:46 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id MAA07669; Thu, 8 Oct 1998 12:43:41 +0930 (CST) Message-ID: <19981008124340.J7327@freebie.lemis.com> Date: Thu, 8 Oct 1998 12:43:40 +0930 From: Greg Lehey To: Stephen Hocking-Senior Programmer PGS Tensor Perth , hackers@FreeBSD.ORG Subject: Re: "indent" flags that conform to style(9)? References: <199810080130.JAA27213@ariadne.tensor.pgs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810080130.JAA27213@ariadne.tensor.pgs.com>; from Stephen Hocking-Senior Programmer PGS Tensor Perth on Thu, Oct 08, 1998 at 09:30:02AM +0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 8 October 1998 at 9:30:02 +0800, Stephen Hocking-Senior Programmer PGS Tensor Perth wrote: > > Has anyone got something suitable? I have something that I'd like to format > according the TRVTH as laid down in stye(9). I use the following .indent.pro: -br -ce -ncdb -c60 -cd60 -ci4 -cli0-1 -nfc1 -i4 -nlp -npcs -bli4 I find all flavours of indent very fragile; the one I use with this is a hacked version of GNU indent. Since I can't find the source, I can't give it to you :-) Please don't just take it from ftp://ftp.lemis.com/pub/indent; that would be a violation of the GPL. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 20:46:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA07129 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 20:46:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA07109 for ; Wed, 7 Oct 1998 20:46:07 -0700 (PDT) (envelope-from fullermd@futuresouth.com) Received: (from fullermd@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id WAA09419; Wed, 7 Oct 1998 22:45:45 -0500 (CDT) Message-ID: <19981007224545.07285@futuresouth.com> Date: Wed, 7 Oct 1998 22:45:45 -0500 From: "Matthew D. Fuller" To: Marius Bendiksen Cc: Gregory Sutter , freebsd-hackers@FreeBSD.ORG Subject: Re: Two Y chromosomes [ Was: Java-based Crypto Decoder Ring ...] References: <19981006045145.26603@futuresouth.com> <19981006145323.M10980@orcrist.mediacity.com> <3.0.5.32.19981007111506.00937880@mail.scancall.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <3.0.5.32.19981007111506.00937880@mail.scancall.no>; from Marius Bendiksen on Wed, Oct 07, 1998 at 11:15:06AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Oct 07, 1998 at 11:15:06AM +0200, Marius Bendiksen woke me up to tell me: > Humanity is a genetic cesspool, not the pinnacle of darwinian evolution :) The gene pool could use a little more chlorine... *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 21:55:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA18061 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 21:55:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA18055 for ; Wed, 7 Oct 1998 21:55:22 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id VAA16358; Wed, 7 Oct 1998 21:55:17 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <361C45B4.6A0C8A38@dal.net> Date: Wed, 07 Oct 1998 21:55:16 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Archie Cobbs CC: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810080252.TAA29463@bubba.whistle.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Archie Cobbs wrote: > Hmm.. is your system elm? Maybe there's a bug in mail that's always > been there, but which is only now exhibited with elf. It's 2.2.7-Stable from 9/20. > A quick look doesn't reveal any obvious logical bugs. The only way this > can be happening is if some code is corrupting the "msgvec" variable > in lex.c. "msgvec" may just be the unlucky victim of some other random > memory corruption. I very rarely see that error on other things, but this is the first time it's been reliably repeatable. Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 22:14:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA20456 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 22:14:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles134.castles.com [208.214.165.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA20449 for ; Wed, 7 Oct 1998 22:14:27 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id WAA00936; Wed, 7 Oct 1998 22:19:19 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810080519.WAA00936@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Stephen Hocking-Senior Programmer PGS Tensor Perth cc: hackers@FreeBSD.ORG Subject: Re: Anyone tried an IBM 3590 tape drive? In-reply-to: Your message of "Thu, 08 Oct 1998 11:06:41 +0800." <199810080306.LAA27761@ariadne.tensor.pgs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Oct 1998 22:19:12 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > They're a differential SCSI device, rather large in size and run to about > 15-20GB. We use them here for seismic data. Nope, sorry. Why not try one and tell us how you go? > On a related note, what > differential SCSI controllers have people had luck with? There's a differential 53c875 (NCR) controller around; I'd buy it from CSC (www.corpsys.com) because I'm lazy. Dunno about .au anymore, sorry. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Oct 7 22:33:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA22513 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 22:33:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles134.castles.com [208.214.165.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA22508 for ; Wed, 7 Oct 1998 22:33:05 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id WAA01196; Wed, 7 Oct 1998 22:38:05 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810080538.WAA01196@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Studded cc: Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-reply-to: Your message of "Wed, 07 Oct 1998 17:31:46 PDT." <361C07F2.85106E15@dal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Oct 1998 22:38:04 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Ok, I did that, then compiled a mail binary with -ggdb. Here's the > result: > > Core was generated by `mail'. > Program terminated with signal 6, Abort trap. > Cannot access memory at address 0x20027080. > #0 0x20080d51 in ?? () > (gdb) bt > #0 0x20080d51 in ?? () > #1 0x200805c4 in ?? () > #2 0x2007f01c in ?? () > #3 0x2007f058 in ?? () > #4 0x2008007d in ?? () > #5 0x200802ba in ?? () > #6 0x8e73 in execute (linebuf=0x0, contxt=110592) at lex.c:322 > #7 0x84c2 in __isctype () at v7.local.c:56 > #8 0xb0a2 in main (argc=1, argv=0xefbfd788) at main.c:95 > > Attempting to run it in gdb got a different response: This is a better idea. > (gdb) run > Starting program: /usr/home/myusername/./mail > mail in free(): error: junk pointer, too high to make sense. > > Program received signal SIGABRT, Aborted. > 0x20080d51 in kill () > (gdb) bt > #0 0x20080d51 in kill () > #1 0x200805c4 in abort () > #2 0x2007f01c in getdtablesize () > #3 0x2007f058 in getdtablesize () > #4 0x2008007d in getdtablesize () > #5 0x200802ba in free () > #6 0x9263 in setmsize (sz=0) at lex.c:445 > #7 0x88b2 in setfile (name=0x1b080 "/var/mail/myusername") at lex.c:146 > #8 0xb492 in main (argc=1, argv=0xefbfd768) at main.c:246 > > I hope this is what you were looking for. My experience with gdb is > limited, my C only slightly less so. :) Try 'frame 5', 'print msgvec'. mail(1) is extremely funky; there's lots of room for really bad scope abuse in it. You could try replacing all occurrences of 'msgvec' in lex.c with 'msgfoo' and see if the problem changes. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 00:22:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA11341 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 00:22:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA11322 for ; Thu, 8 Oct 1998 00:22:44 -0700 (PDT) (envelope-from sthaug@nethelp.no) From: sthaug@nethelp.no Received: (qmail 29260 invoked by uid 1001); 8 Oct 1998 07:22:36 +0000 (GMT) To: archie@whistle.com Cc: mike@smith.net.au, andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG Subject: Re: How to send data between two network cards directly? In-Reply-To: Your message of "Wed, 7 Oct 1998 17:01:28 -0700 (PDT)" References: <199810080001.RAA23283@bubba.whistle.com> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 08 Oct 1998 09:22:36 +0200 Message-ID: <29258.907831356@verdi.nethelp.no> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > You can't do this. Ethernet implicitly involves several protocols, > > each with their own overheads and error correction. > > Not true.. Ethernet is just synchronous HDLC with a 32 bit checksum. > You can send and receive raw Ethernet frames using bpf(4). This may be splitting hairs, but: 10 Mbps Ethernet is *not* like synchronous HDLC, because it has a "start bit" (the preamble). 100 Mbps Ethernet is different - this is more like a synchronous serial line in that there's signal on the cable at all times. Also, half duplex Ethernet uses CSMA/CD, which is definitely what I would call a protocol (implemented in hardware). Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 00:46:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA13647 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 00:46:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA13632 for ; Thu, 8 Oct 1998 00:46:33 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id AAA17690; Thu, 8 Oct 1998 00:46:18 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <361C6DC9.C5D6D07B@dal.net> Date: Thu, 08 Oct 1998 00:46:17 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith CC: Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810080538.WAA01196@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > Attempting to run it in gdb got a different response: > > (gdb) run > > Starting program: /usr/home/myusername/./mail > > mail in free(): error: junk pointer, too high to make sense. > > > > Program received signal SIGABRT, Aborted. > > 0x20080d51 in kill () > > (gdb) bt > > #0 0x20080d51 in kill () > > #1 0x200805c4 in abort () > > #2 0x2007f01c in getdtablesize () > > #3 0x2007f058 in getdtablesize () > > #4 0x2008007d in getdtablesize () > > #5 0x200802ba in free () > > #6 0x9263 in setmsize (sz=0) at lex.c:445 > > #7 0x88b2 in setfile (name=0x1b080 "/var/mail/myusername") at lex.c:146 > > #8 0xb492 in main (argc=1, argv=0xefbfd768) at main.c:246 > > > > I hope this is what you were looking for. My experience with gdb is > > limited, my C only slightly less so. :) > > Try 'frame 5', 'print msgvec'. (gdb) frame 5 #5 0x200802ba in free () (gdb) print msgvec $1 = (int *) 0x2f726964 > You could try replacing all occurrences of 'msgvec' in lex.c with > 'msgfoo' and see if the problem changes. Ok, here is the result. Frame 6 is different in this one. (gdb) run Starting program: /usr/home/myusername/mail mail in free(): error: junk pointer, too high to make sense. Program received signal SIGABRT, Aborted. 0x20080d51 in kill () (gdb) bt #0 0x20080d51 in kill () #1 0x200805c4 in abort () #2 0x2007f01c in getdtablesize () #3 0x2007f058 in getdtablesize () #4 0x2008007d in getdtablesize () #5 0x200802ba in free () #6 0x9263 in setmsize (sz=3) at lex.c:445 #7 0x88b2 in setfile (name=0x1b080 "/var/mail/myusername") at lex.c:146 #8 0xb492 in main (argc=1, argv=0xefbfd768) at main.c:246 (gdb) frame 5 #5 0x200802ba in free () (gdb) print msgfoo No symbol "msgfoo" in current context. (gdb) frame 6 #6 0x9263 in setmsize (sz=3) at lex.c:445 445 free((char *) msgvec); (gdb) print msgfoo No symbol "msgfoo" in current context. (gdb) print msgvec $1 = (int *) 0x2f726964 (gdb) frame 5 #5 0x200802ba in free () (gdb) print msgvec $2 = (int *) 0x2f726964 Hope this helps, Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 01:02:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA16081 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 01:02:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles134.castles.com [208.214.165.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA16063 for ; Thu, 8 Oct 1998 01:02:51 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id BAA02135; Thu, 8 Oct 1998 01:07:29 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810080807.BAA02135@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Studded cc: Mike Smith , Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-reply-to: Your message of "Thu, 08 Oct 1998 00:46:17 PDT." <361C6DC9.C5D6D07B@dal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 01:07:28 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Mike Smith wrote: > > > > Attempting to run it in gdb got a different response: > > > > (gdb) run > > > Starting program: /usr/home/myusername/./mail > > > mail in free(): error: junk pointer, too high to make sense. > > > > > > Program received signal SIGABRT, Aborted. > > > 0x20080d51 in kill () > > > (gdb) bt > > > #0 0x20080d51 in kill () > > > #1 0x200805c4 in abort () > > > #2 0x2007f01c in getdtablesize () > > > #3 0x2007f058 in getdtablesize () > > > #4 0x2008007d in getdtablesize () > > > #5 0x200802ba in free () > > > #6 0x9263 in setmsize (sz=0) at lex.c:445 > > > #7 0x88b2 in setfile (name=0x1b080 "/var/mail/myusername") at lex.c:146 > > > #8 0xb492 in main (argc=1, argv=0xefbfd768) at main.c:246 > > > > > > I hope this is what you were looking for. My experience with gdb is > > > limited, my C only slightly less so. :) > > > > Try 'frame 5', 'print msgvec'. > > (gdb) frame 5 > #5 0x200802ba in free () > (gdb) print msgvec > $1 = (int *) 0x2f726964 Yup, that's almost certainly junk alright. It's also "dir/" which may or may not mean anything interesting. Certainly a suspicios set of characters. > > You could try replacing all occurrences of 'msgvec' in lex.c with > > 'msgfoo' and see if the problem changes. > > Ok, here is the result. Frame 6 is different in this one. Sorry, I meant "replace all occurences of 'msgvec' in lex.c with 'msgfoo', then recompile". You might want to make it static too, ie change line 158 to 'static int *msgvec;'. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 06:50:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA28774 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 06:50:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA28769 for ; Thu, 8 Oct 1998 06:50:39 -0700 (PDT) (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers.stdio.com (8.8.8/8.8.8) id JAA21360; Thu, 8 Oct 1998 09:45:51 -0400 (EDT) Date: Thu, 8 Oct 1998 09:45:50 -0400 (EDT) From: "Larry S. Lile" To: hackers@FreeBSD.ORG Subject: DMA questions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am working on a driver for Olicom token-ring cards and using the Linux driver as a guideline but I am unsure about the dma commands they are using. Any ideas on how to replicate this under FreeBSD? Also is there any good reference for dma under FreeBSD I can't seem to find much? dmachan = oi->config->dmalevel; if ((dmachan != TRLLD_DMA_PIO) && (dmachan != TRLLD_DMA_MASTER)) { if (request_dma (dmachan, "oltr")) { dprintk (KERN_INFO "%s: Couldn't grab DMA%d for this card.\n", dev->name, dmachan); return -EAGAIN; oi->flags |= OLTR_GOT_DMA; } /* I haven't the foggiest what "mode 0xc0" means. The SCO and DOS drivers do similar things... */ > clear_dma_ff(dmachan); < This is what I am confused > set_dma_count (dmachan, 0); < about... > set_dma_mode (dmachan, 0xc0); < > enable_dma (dmachan); < } Thanks in adavance Larry Lile lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 07:37:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08404 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 07:37:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA08390 for ; Thu, 8 Oct 1998 07:36:56 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id NAA10560; Thu, 8 Oct 1998 13:36:19 +0100 From: Luigi Rizzo Message-Id: <199810081236.NAA10560@labinfo.iet.unipi.it> Subject: Re: DMA questions To: lile@stdio.com (Larry S. Lile) Date: Thu, 8 Oct 1998 13:36:19 +0100 (MET) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Larry S. Lile" at Oct 8, 98 09:45:31 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am working on a driver for Olicom token-ring cards and using the > Linux driver as a guideline but I am unsure about the dma commands > they are using. Any ideas on how to replicate this under FreeBSD? > > Also is > there any good reference for dma under FreeBSD I can't seem to find much? UTSL i am afraid... sys/i386/isa/isa.c is about all you have :( > > clear_dma_ff(dmachan); < This is what I am confused > > set_dma_count (dmachan, 0); < about... > > set_dma_mode (dmachan, 0xc0); < > > enable_dma (dmachan); < these seem to be directly mapped to actions you can do on the DMA registers. I think isa_dmastart() and friends do most if not all you need. You have to figure out if the above sets the dma in single or auto mode, that's all. A good reference on the various ISA peripheral is at www.intel.com as part of the PIIX controller data sheets (i82371 if i am not mistaken). This chip includes most ISA peripherals (serial, parallel, IDE, timer, DMA, interrupt controllers...). cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 08:40:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA19007 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 08:40:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18613; Thu, 8 Oct 1998 08:38:25 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id SAA09826; Thu, 8 Oct 1998 18:37:55 +0300 (EEST) (envelope-from ru) Date: Thu, 8 Oct 1998 18:37:55 +0300 From: Ruslan Ermilov To: Satoshi Asami , Ruslan Ermilov Cc: FreeBSD Hackers Subject: Difficulty of symbolic links management in Ports (PATCH attached) Message-ID: <19981008183755.A9419@relay.ucb.crimea.ua> Mail-Followup-To: Satoshi Asami , FreeBSD Hackers Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=Q68bSM7Ycu6FN28Q X-Mailer: Mutt 0.94.8i X-Operating-System: FreeBSD 2.2.7-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Hi! Please see the PR "Portlint of net/bb" I just sent for an example of the problem described here. Suppose, the port creates a symbolic link. Then its Makefile (or [pre|post]install script) has a line like: ${LN} -fs ${PREFIX}/FROM_PATH ${PREFIX}/TO_PATH Now there are two ways to specify PLIST for this package. The 1st (lines in pkg/PLIST): @exec ln -fs %D/FROM_PATH %D/TO_PATH @unexec rm %D/TO_PATH The 2nd (line in pkg/PLIST): TO_PATH With the second approach: - there is no need to double ${LN} command in both Makefile and PLIST; - there is no need to specify @exec and @unexec because this link will be added automatically in the port's tarball; - the created tarball will be less in size than in the first approach ;-) - the second way is simpler. But there is one problem here. If the FROM_PATH is a file, then everything works fine. But if the FROM_PATH is a directory, then pkg_delete(1) will fail with "attempting to delete directory `TO_PATH' as a file". The actual problem lies in the src/usr.sbin/pkg_install/lib/file.c, in function isdir(). It uses stat() to answer the question, but should use lstat() instead to make the second approach work. It seems that it is safe to change stat() to lstat() here, since this doesn't change the logic of other code that uses isdir(). Patch is attached, it will apply against both -stable and -current. Best regards, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Index: file.c =================================================================== RCS file: /usr/FreeBSD-CVS/src/usr.sbin/pkg_install/lib/file.c,v retrieving revision 1.24.2.6 diff -u -r1.24.2.6 file.c --- file.c 1998/09/11 07:27:18 1.24.2.6 +++ file.c 1998/10/08 15:27:29 @@ -47,7 +47,7 @@ { struct stat sb; - if (stat(fname, &sb) != FAIL && S_ISDIR(sb.st_mode)) + if (lstat(fname, &sb) != FAIL && S_ISDIR(sb.st_mode)) return TRUE; else return FALSE; --Q68bSM7Ycu6FN28Q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 09:10:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25251 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 09:10:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bingsun1.cc.binghamton.edu (bingsun1.cc.binghamton.edu [128.226.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25238 for ; Thu, 8 Oct 1998 09:10:35 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun1.cc.binghamton.edu (8.8.7/8.6.9) with SMTP id MAA04127 for ; Thu, 8 Oct 1998 12:10:23 -0400 (EDT) Date: Thu, 8 Oct 1998 12:10:23 -0400 (EDT) From: zhihuizhang X-Sender: bf20761@bingsun1 To: hackers Subject: Question on buffer's use count Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am reading the source code in vfs_bio.c. I find that the use count of a new buffer is set to be 4 (instead of 1) in getnewbuf(). In getblk(), we increment the count at least twice if the buffer is in core and busy. Can anyone explain this stuff to me. Thanks for your help. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 09:36:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28989 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 09:36:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from friley-185-114.res.iastate.edu (friley-185-114.res.iastate.edu [129.186.185.114]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28973 for ; Thu, 8 Oct 1998 09:36:30 -0700 (PDT) (envelope-from ccsanady@friley-185-114.res.iastate.edu) Received: from friley-185-114.res.iastate.edu (loopback [127.0.0.1]) by friley-185-114.res.iastate.edu (8.9.1/8.9.1) with ESMTP id LAA00404 for ; Thu, 8 Oct 1998 11:36:24 -0500 (CDT) (envelope-from ccsanady@friley-185-114.res.iastate.edu) Message-Id: <199810081636.LAA00404@friley-185-114.res.iastate.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-hackers@FreeBSD.ORG Subject: new bootloader suggestions.. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 11:36:24 -0500 From: Chris Csanady Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was wondering if we could make the environment of the new boot loader non-volatile. It seems as though variables that you set at boot should stick around. Could we possibly have a /boot/environment or something similar where the variables are actually written back? Although it is nice to support script type files, for most usage I would rather have the typical console like behavior. Chris Csanady To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 10:02:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02173 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 10:02:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02168 for ; Thu, 8 Oct 1998 10:02:15 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id KAA21742; Thu, 8 Oct 1998 10:02:01 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <361CF008.DEDF45BD@dal.net> Date: Thu, 08 Oct 1998 10:02:00 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith CC: Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810080807.BAA02135@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > Sorry, I meant "replace all occurences of 'msgvec' in lex.c with > 'msgfoo', then recompile". You might want to make it static too, ie > change line 158 to 'static int *msgvec;'. You know, this is what I get for doing stuff like this late at night. I sed'ed msgvec to msgfoo, checked it to make sure it worked properly, recompiled, and retested. What I didn't do was 'mv lex.sed lex.c' :) Anyway, now that I've actually done that, it works just fine. No warnings, and no crash in gdb even with AJ -> /etc/malloc.conf. This code is the same in both branches, so now that we know (?) what the problem is, if it's changed it should probably be changed in both branches. Thanks for all the help, Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 10:23:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06339 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 10:23:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from symbion.srrc.usda.gov ([199.78.118.118]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06046 for ; Thu, 8 Oct 1998 10:22:08 -0700 (PDT) (envelope-from glenn@nola.srrc.usda.gov) Received: from nola.srrc.usda.gov (localhost.srrc.usda.gov [127.0.0.1]) by symbion.srrc.usda.gov (8.9.1/8.9.1) with ESMTP id MAA00871 for ; Thu, 8 Oct 1998 12:21:42 -0500 (CDT) (envelope-from glenn@nola.srrc.usda.gov) Message-Id: <199810081721.MAA00871@symbion.srrc.usda.gov> X-Mailer: exmh version 2.0.2 2/24/98 To: hackers@FreeBSD.ORG From: Glenn Johnson Subject: incomplete type errors Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 12:21:42 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to compile the code below: #include #ifdef _TIMES #include #include #include #else #include #endif #include #include "libU77.h" real etime_(real t[2]) { #ifdef _TIMES struct tms tm; times(&tm); t[0] = (real) (tm.tms_utime + tm.tms_cutime) / (real) CLOCKS_PER_SEC; t[1] = (real) (tm.tms_stime + tm.tms_cstime) / (real) CLOCKS_PER_SEC; #else struct rusage tm; float meg = 1000000.0; getrusage(RUSAGE_SELF, &tm); t[0] = (real) (tm.ru_utime.tv_sec + (tm.ru_utime.tv_usec) / meg); t[1] = (real) (tm.ru_stime.tv_sec + (tm.ru_stime.tv_usec) / meg); #endif return (real) (t[0]+t[1]); } I get the following error upon compilation: In file included from etime.c:56: /usr/include/sys/resource.h:58: field `ru_utime' has incomplete type /usr/include/sys/resource.h:59: field `ru_stime' has incomplete type *** Error code 1 Stop. The /usr/include/sys/resource.h contains the following: /* * Resource utilization information. */ #define RUSAGE_SELF 0 #define RUSAGE_CHILDREN -1 struct rusage { struct timeval ru_utime; /* user time used */ struct timeval ru_stime; /* system time used */ long ru_maxrss; /* max resident set size */ What do I need to do to the code to make it right? Thanks in advance. -- Glenn Johnson Technician USDA, ARS, SRRC New Orleans, LA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 10:54:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12947 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 10:54:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12928 for ; Thu, 8 Oct 1998 10:54:43 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id KAA14780; Thu, 8 Oct 1998 10:54:37 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma014778; Thu Oct 8 10:54:19 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id KAA02084; Thu, 8 Oct 1998 10:54:19 -0700 (PDT) From: Archie Cobbs Message-Id: <199810081754.KAA02084@bubba.whistle.com> Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-Reply-To: <361CF008.DEDF45BD@dal.net> from Studded at "Oct 8, 98 10:02:00 am" To: Studded@dal.net (Studded) Date: Thu, 8 Oct 1998 10:54:19 -0700 (PDT) Cc: mike@smith.net.au, FreeBSD-Hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Studded writes: > > Sorry, I meant "replace all occurences of 'msgvec' in lex.c with > > 'msgfoo', then recompile". You might want to make it static too, ie > > change line 158 to 'static int *msgvec;'. > > You know, this is what I get for doing stuff like this late at night. I > sed'ed msgvec to msgfoo, checked it to make sure it worked properly, > recompiled, and retested. What I didn't do was 'mv lex.sed lex.c' :) > Anyway, now that I've actually done that, it works just fine. No > warnings, and no crash in gdb even with AJ -> /etc/malloc.conf. > > This code is the same in both branches, so now that we know (?) what > the problem is, if it's changed it should probably be changed in both > branches. Well, it looks like you've solved the symptom rather than the problem. Do I understand that this happens when you open a mailbox with specific contents? If so, can you create the smallest mailbox that triggers the bug and (uuencode and) mail it to me? Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 11:09:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA15515 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 11:09:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA15510 for ; Thu, 8 Oct 1998 11:09:04 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id LAA23634; Thu, 8 Oct 1998 11:08:51 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <361CFFB1.8D05F69B@dal.net> Date: Thu, 08 Oct 1998 11:08:49 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Archie Cobbs CC: mike@smith.net.au, FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810081754.KAA02084@bubba.whistle.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Archie Cobbs wrote: > > Studded writes: > > > Sorry, I meant "replace all occurences of 'msgvec' in lex.c with > > > 'msgfoo', then recompile". You might want to make it static too, ie > > > change line 158 to 'static int *msgvec;'. > > > > You know, this is what I get for doing stuff like this late at night. I > > sed'ed msgvec to msgfoo, checked it to make sure it worked properly, > > recompiled, and retested. What I didn't do was 'mv lex.sed lex.c' :) > > Anyway, now that I've actually done that, it works just fine. No > > warnings, and no crash in gdb even with AJ -> /etc/malloc.conf. > > > > This code is the same in both branches, so now that we know (?) what > > the problem is, if it's changed it should probably be changed in both > > branches. > > Well, it looks like you've solved the symptom rather than the problem. No argument there at all. > Do I understand that this happens when you open a mailbox with specific > contents? If so, can you create the smallest mailbox that triggers the > bug and (uuencode and) mail it to me? No contents are required. It happens every time I type 'mail' by itself to start the interface, whether there is mail waiting or not. It *doesn't* happen when I use 'mail to-someone@an.address' however, so I think mike is right inre it's probably related to opening the mail file. I'll be happy to continue working on this if we're interested in finding the real problem. I'm just happy to not have those error messages any more. :) Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 11:15:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA16779 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 11:15:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ics.com (ics.com [140.186.40.192]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA16762 for ; Thu, 8 Oct 1998 11:15:03 -0700 (PDT) (envelope-from kaleb@ics.com) Received: from ics.com (sunoco.ics.com [140.186.40.142]) by ics.com (8.9.0.Beta5/8.9.0.Beta5) with ESMTP id OAA11902 Thu, 8 Oct 1998 14:14:56 -0400 (EDT) Message-ID: <361D0120.32205DFA@ics.com> Date: Thu, 08 Oct 1998 14:14:56 -0400 From: "Kaleb S. KEITHLEY" Organization: Integrated Computer Solutions X-Mailer: Mozilla 4.5b2 [en] (X11; I; SunOS 5.5.1 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: where'd the Alpha port at hub.freebsd.org go??? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just bought a m'board (supported on NetBSD, etc), and I wanted to double check the supported boards for the new Alpha port, and there's nothing on hub. Does that mean there's a new snapshot coming, or what? -- Kaleb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 11:52:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA22928 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 11:52:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA22878 for ; Thu, 8 Oct 1998 11:51:38 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id LAA16277; Thu, 8 Oct 1998 11:51:25 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp03.primenet.com, id smtpd016253; Thu Oct 8 11:51:23 1998 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id LAA06515; Thu, 8 Oct 1998 11:51:20 -0700 (MST) From: Terry Lambert Message-Id: <199810081851.LAA06515@usr06.primenet.com> Subject: Re: incomplete type errors To: gjohnson@nola.srrc.usda.gov (Glenn Johnson) Date: Thu, 8 Oct 1998 18:51:20 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199810081721.MAA00871@symbion.srrc.usda.gov> from "Glenn Johnson" at Oct 8, 98 12:21:42 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am trying to compile the code below: > > #include > #ifdef _TIMES > #include > #include > #include > #else > #include > #endif > #include > #include "libU77.h" [ ... ] > What do I need to do to the code to make it right? #define _TIMES 1 Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 12:16:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26903 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 12:16:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from m13.boston.juno.com (m13.boston.juno.com [205.231.100.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26853; Thu, 8 Oct 1998 12:15:47 -0700 (PDT) (envelope-from needinfo@juno.com) Received: (from needinfo@juno.com) by m13.boston.juno.com (queuemail) id DQ3FAY3U; Thu, 08 Oct 1998 15:15:27 EDT To: FreeBsD-Hackers@FreeBSD.ORG Cc: freebsd-hackers@FreeBSD.ORG Subject: HOW CAN WE HELP Message-ID: <19981008.151100.4855.0.needinfo@juno.com> X-Mailer: Juno 1.38 X-Juno-Line-Breaks: 0-4 From: needinfo@juno.com (ed mill) Date: Thu, 08 Oct 1998 15:15:27 EDT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG HELLO, HOW DO WE GET STARTED? THANK YOU. ___________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com or call Juno at (800) 654-JUNO [654-5866] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 12:33:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA00856 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 12:33:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smarter.than.nu (lal-99-91.Reshall.Berkeley.EDU [169.229.99.91]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA00849 for ; Thu, 8 Oct 1998 12:33:41 -0700 (PDT) (envelope-from brian@CSUA.Berkeley.EDU) Received: from localhost (localhost [127.0.0.1]) by smarter.than.nu (8.9.1/8.8.8) with SMTP id MAA02416; Thu, 8 Oct 1998 12:35:07 -0700 (PDT) (envelope-from brian@CSUA.Berkeley.EDU) Date: Thu, 8 Oct 1998 12:35:07 -0700 (PDT) From: "Brian W. Buchanan" X-Sender: brian@smarter.than.nu To: Glenn Johnson cc: hackers@FreeBSD.ORG Subject: Re: incomplete type errors In-Reply-To: <199810081721.MAA00871@symbion.srrc.usda.gov> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 8 Oct 1998, Glenn Johnson wrote: > I am trying to compile the code below: > > #include > #ifdef _TIMES > #include ^^^^^^^^^^^^^^^^^^^^^ > > In file included from etime.c:56: > /usr/include/sys/resource.h:58: field `ru_utime' has incomplete type > /usr/include/sys/resource.h:59: field `ru_stime' has incomplete type > > struct rusage { > struct timeval ru_utime; /* user time used */ > struct timeval ru_stime; /* system time used */ ^^^^^^^^^^^^^^ struct timeval is defined in . Move the #include directive for it outside of the #ifdef _TIMES block, as it appears that _TIMES is not defined. -- Brian Buchanan brian@smarter.than.nu brian@soda.CSUA.Berkeley.EDU "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 12:36:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01668 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 12:36:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from omnix.net (omnix.net [194.183.217.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA01628 for ; Thu, 8 Oct 1998 12:36:16 -0700 (PDT) (envelope-from didier@omnix.net) Received: from localhost (didier@localhost) by omnix.net (8.8.7/8.8.7) with SMTP id TAA21749 for ; Thu, 8 Oct 1998 19:35:59 GMT (envelope-from didier@omnix.net) Date: Thu, 8 Oct 1998 21:35:59 +0200 (CEST) From: Didier Derny To: hackers@FreeBSD.ORG Subject: network board with several 10baseT 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 Is tehre any working network board with several lan interfaces on the same board (for freebsd 3.0) thanks for your hekp -- Didier Derny didier@omnix.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 13:03:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06961 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 13:03:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wrath.cs.utah.edu (wrath.cs.utah.edu [155.99.198.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06952 for ; Thu, 8 Oct 1998 13:03:54 -0700 (PDT) (envelope-from vanmaren@fast.cs.utah.edu) Received: from fast.cs.utah.edu (fast.cs.utah.edu [155.99.212.1]) by wrath.cs.utah.edu (8.8.8/8.8.8) with SMTP id OAA25884; Thu, 8 Oct 1998 14:03:48 -0600 (MDT) Received: by fast.cs.utah.edu (8.6.10/utah-2.15-leaf) id OAA15474; Thu, 8 Oct 1998 14:03:48 -0600 Date: Thu, 8 Oct 1998 14:03:48 -0600 From: vanmaren@fast.cs.utah.edu (Kevin Van Maren) Message-Id: <199810082003.OAA15474@fast.cs.utah.edu> To: didier@omnix.net Subject: Re: network board with several 10baseT (fwd) Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is tehre any working network board with several lan interfaces on the same > board There are several. Phobos (www.phobos.com) makes a 4-port 10/100 card that has a "beta" driver available for 2.2.X and 3.0. Send email to Alison_Dodds@phobos.com about this. It has driver support for NT, Netware, Solaris, Linux, and FreeBSD, Irix, and HPUX. Under some OSes, it supports "trunking", or link aggregation (with the right switch). FreeBSD trunking support is planned, which is more than anyone can say about the other cards. Adaptec makes a 4-port card (6944/A) that is supported. Znyx also makes one that *I believe* works -- both those use the DEC 21140 chip and the if_de driver. All three retail for around $695 (actual cost is $500-$550, or a little less for the Phobos card). Intel makes a 2-port card (costs as much as 3 single-port intel cards, at around $250) that *should* work w/o any problems with the if_fxp driver. All these are 10/100TX cards; all the multi-port 10Mbps-only cards have been discontinued. Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 13:34:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13852 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 13:34:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13847 for ; Thu, 8 Oct 1998 13:34:33 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA00434; Thu, 8 Oct 1998 13:35:09 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810082035.NAA00434@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Studded cc: Mike Smith , Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-reply-to: Your message of "Thu, 08 Oct 1998 10:02:00 PDT." <361CF008.DEDF45BD@dal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 13:35:08 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Mike Smith wrote: > > > Sorry, I meant "replace all occurences of 'msgvec' in lex.c with > > 'msgfoo', then recompile". You might want to make it static too, ie > > change line 158 to 'static int *msgvec;'. > > You know, this is what I get for doing stuff like this late at night. I > sed'ed msgvec to msgfoo, checked it to make sure it worked properly, > recompiled, and retested. What I didn't do was 'mv lex.sed lex.c' :) > Anyway, now that I've actually done that, it works just fine. No > warnings, and no crash in gdb even with AJ -> /etc/malloc.conf. > > This code is the same in both branches, so now that we know (?) what > the problem is, if it's changed it should probably be changed in both > branches. This isn't a fix, unfortunately. It means that there are two instances of 'msgvec' with global scope, and the other one needs to be found too. You could probably just change the 'msgvec' in lex.c to be static in order to achieve that goal; then you need to work out which object(s) are exporting 'msgvec' as globals. Any chance of you doing that? Have a look at the output of 'nm' on each of the .o files, and see which (if any) export or reference _msgvec. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 13:37:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14244 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 13:37:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14229 for ; Thu, 8 Oct 1998 13:37:04 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA00478; Thu, 8 Oct 1998 13:41:38 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810082041.NAA00478@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Chris Csanady cc: freebsd-hackers@FreeBSD.ORG Subject: Re: new bootloader suggestions.. In-reply-to: Your message of "Thu, 08 Oct 1998 11:36:24 CDT." <199810081636.LAA00404@friley-185-114.res.iastate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 13:41:38 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I was wondering if we could make the environment of the new > boot loader non-volatile. It seems as though variables > that you set at boot should stick around. Could we > possibly have a /boot/environment or something similar > where the variables are actually written back? Sure. I have (uncommitted) code that gives you access to the kernel environment, along with a sysctl to extract it. You could easily write it back and source it in. > Although it is nice to support script type files, for most > usage I would rather have the typical console like behavior. Understood. How about a patch to boot/common/interp.c to teach it how to do the reading side? I'll get the kernel stuff committed soon. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 13:38:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14371 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 13:38:10 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wrath.cs.utah.edu (wrath.cs.utah.edu [155.99.198.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14327 for ; Thu, 8 Oct 1998 13:37:45 -0700 (PDT) (envelope-from danderse@cs.utah.edu) Received: from lal.cs.utah.edu (lal.cs.utah.edu [155.99.192.110]) by wrath.cs.utah.edu (8.8.8/8.8.8) with ESMTP id OAA27010; Thu, 8 Oct 1998 14:37:38 -0600 (MDT) From: David G Andersen Received: (from danderse@localhost) by lal.cs.utah.edu (8.8.8/8.8.8) id OAA00704; Thu, 8 Oct 1998 14:37:36 -0600 (MDT) Message-Id: <199810082037.OAA00704@lal.cs.utah.edu> Subject: Re: Sourcing Myrinet Gigabit adaptors (in Australia, if possible) To: shocking@prth.pgs.com (Stephen Hocking-Senior Programmer PGS Tensor Perth) Date: Thu, 8 Oct 1998 14:37:36 -0600 (MDT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199810080308.LAA27782@ariadne.tensor.pgs.com> from "Stephen Hocking-Senior Programmer PGS Tensor Perth" at Oct 8, 98 11:08:23 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Lo and behold, Stephen Hocking-Senior Programmer PGS Tensor Perth once said: > > > Am looking at building a cluster which involves high speed networking. Does > anyone know where to purchase these beasts? Myricom doesn't have a distributor in Austrailia, so you should go directly through them. http://www.myri.com/ -Dave -- work: danderse@cs.utah.edu me: angio@pobox.com University of Utah http://www.angio.net/ Department of Computer Science To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 13:48:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15757 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 13:48:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA15704 for ; Thu, 8 Oct 1998 13:47:54 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA00564; Thu, 8 Oct 1998 13:51:46 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810082051.NAA00564@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Glenn Johnson cc: hackers@FreeBSD.ORG Subject: Re: incomplete type errors In-reply-to: Your message of "Thu, 08 Oct 1998 12:21:42 CDT." <199810081721.MAA00871@symbion.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 13:51:46 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I get the following error upon compilation: > > In file included from etime.c:56: > /usr/include/sys/resource.h:58: field `ru_utime' has incomplete type > /usr/include/sys/resource.h:59: field `ru_stime' has incomplete type > *** Error code 1 You need -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 14:39:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25383 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 14:39:42 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA25370 for ; Thu, 8 Oct 1998 14:39:33 -0700 (PDT) (envelope-from Studded@gorean.org) Received: from gorean.org (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id OAA27015; Thu, 8 Oct 1998 14:39:14 -0700 (PDT) (envelope-from Studded@gorean.org) Message-ID: <361D3102.3EDDF6FB@gorean.org> Date: Thu, 08 Oct 1998 14:39:14 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith CC: Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810082035.NAA00434@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > This isn't a fix, unfortunately. Course not, that would be too easy. :) > It means that there are two instances of 'msgvec' with global scope, > and the other one needs to be found too. > > You could probably just change the 'msgvec' in lex.c to be static in > order to achieve that goal; then you need to work out which object(s) > are exporting 'msgvec' as globals. > > Any chance of you doing that? Have a look at the output of 'nm' on each > of the .o files, and see which (if any) export or reference _msgvec. ok, when I use the version of lex.c which has msgfoo declared static I get no _msgvec in any .o file. When I restore the original lex.c file, then declare msgvec static here is what I get: 55# for FILE in `ls -1 *.o`; do echo $FILE; nm *.o | grep _msgvec | \more; done aux.o 00001354 b _msgvec and identical output for the following files: cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o getname.o head.o lex.o list.o main.o names.o popen.o quit.o send.o strings.o temp.o tty.o v7.local.o vars.o version.o However, looking at the files where msgvec is used, the only place it's declared globally is lex.c. When I tested the binary compiled with the static declaration in lex.c using gdb + AJ -> malloc.conf it didn't core, and there were no error messages. So perhaps making it static in lex.c is the answer after all? In any case I appreciate the lessons in debugging, I will try to put them to good use. Let me know if there is anything else you need. Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 14:52:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28195 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 14:52:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA28166 for ; Thu, 8 Oct 1998 14:52:32 -0700 (PDT) (envelope-from peter.jeremy@auss2.alcatel.com.au) Received: by border.alcanet.com.au id <40331>; Fri, 9 Oct 1998 07:51:46 +1000 Date: Fri, 9 Oct 1998 07:52:11 +1000 From: Peter Jeremy Subject: rfork() and POSIX threads To: freebsd-hackers@FreeBSD.ORG Message-Id: <98Oct9.075146est.40331@border.alcanet.com.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A few weeks ago, someone mentioned that it was difficult to implement POSIX threads in the kernel (using rfork) because POSIX requires each thread to have the same PID whereas rfork gives each thread a different PID. One potential solution came to me this morning (though I haven't looked at the ramifications in detail and it may be impractical): Add a new `thread group' (similar to a process group) to a process. Normally, fork() would make the thread group the same as the PID. A flag to rfork() would allow the child process to inherit the thread group (and probably parent pid) from its parent instead. If I understand POSIX correctly, signal semantics would need to be altered to send signals to the thread group, rather than a process id. Two new system calls would be required to allow a process (rather than a thread group) to be killed, as well as obtain the thread group. As a further naming change, `process ID' could be changed to `thread ID', allowing `thread group' to be renamed `process ID'. This may make the terminology clearer to multi-threaded processes outside the kernel. Any comments? Peter -- Peter Jeremy (VK2PJ) peter.jeremy@alcatel.com.au Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5247 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 15:33:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA06464 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 15:33:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06443 for ; Thu, 8 Oct 1998 15:33:24 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA01121; Thu, 8 Oct 1998 15:38:02 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810082238.PAA01121@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Kaleb S. KEITHLEY" cc: hackers@FreeBSD.ORG Subject: Re: where'd the Alpha port at hub.freebsd.org go??? In-reply-to: Your message of "Thu, 08 Oct 1998 14:14:56 EDT." <361D0120.32205DFA@ics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 15:38:02 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I just bought a m'board (supported on NetBSD, etc), and I wanted to > double check the supported boards for the new Alpha port, and there's > nothing on hub. > > Does that mean there's a new snapshot coming, or what? We're beating on the installation methodology at the moment. I don't think Jordan will roll another one 'till we're done, but he's incommunicado at the moment so I can't ask. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 15:36:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07036 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 15:36:16 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06977 for ; Thu, 8 Oct 1998 15:35:55 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id PAA24832; Thu, 8 Oct 1998 15:32:21 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp04.primenet.com, id smtpd024806; Thu Oct 8 15:32:15 1998 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id PAA19629; Thu, 8 Oct 1998 15:32:08 -0700 (MST) From: Terry Lambert Message-Id: <199810082232.PAA19629@usr06.primenet.com> Subject: Re: mail in free(): warning: junk pointer, too high to make sense. To: mike@smith.net.au (Mike Smith) Date: Thu, 8 Oct 1998 22:32:07 +0000 (GMT) Cc: Studded@dal.net, mike@smith.net.au, archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG In-Reply-To: <199810082035.NAA00434@dingo.cdrom.com> from "Mike Smith" at Oct 8, 98 01:35:08 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This isn't a fix, unfortunately. > > It means that there are two instances of 'msgvec' with global scope, > and the other one needs to be found too. Most likely this is an ELF problem because of the "_" semantic change on C symbols vs. asm symbols. I'm still suspicious of the rationale for that change, but whatever... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 15:50:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09698 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 15:50:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09570 for ; Thu, 8 Oct 1998 15:49:51 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA01197; Thu, 8 Oct 1998 15:53:30 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810082253.PAA01197@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Terry Lambert cc: mike@smith.net.au (Mike Smith), Studded@dal.net, archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-reply-to: Your message of "Thu, 08 Oct 1998 22:32:07 -0000." <199810082232.PAA19629@usr06.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 15:53:30 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > This isn't a fix, unfortunately. > > > > It means that there are two instances of 'msgvec' with global scope, > > and the other one needs to be found too. > > Most likely this is an ELF problem because of the "_" semantic change > on C symbols vs. asm symbols. Do you have any rationalisation for this, or is it just wild speculation on your part again? > I'm still suspicious of the rationale for that change, but whatever... Huh? Last I heard you were telling us we could just take the Solaris ELF Motif libraries and use those (yeah, right). Now you think we shouldn't be even vaguely link-compatible with other ELF libraries? Geez, make up your mind already. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 16:15:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15554 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 16:15:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15471 for ; Thu, 8 Oct 1998 16:14:58 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id QAA00704; Thu, 8 Oct 1998 16:14:49 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp02.primenet.com, id smtpd000636; Thu Oct 8 16:14:43 1998 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id QAA22401; Thu, 8 Oct 1998 16:14:29 -0700 (MST) From: Terry Lambert Message-Id: <199810082314.QAA22401@usr06.primenet.com> Subject: Re: mail in free(): warning: junk pointer, too high to make sense. To: mike@smith.net.au (Mike Smith) Date: Thu, 8 Oct 1998 23:14:28 +0000 (GMT) Cc: tlambert@primenet.com, mike@smith.net.au, Studded@dal.net, archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG In-Reply-To: <199810082253.PAA01197@dingo.cdrom.com> from "Mike Smith" at Oct 8, 98 03:53:30 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > It means that there are two instances of 'msgvec' with global scope, > > > and the other one needs to be found too. > > > > Most likely this is an ELF problem because of the "_" semantic change > > on C symbols vs. asm symbols. > > Do you have any rationalisation for this, or is it just wild speculation > on your part again? I'm open to other suggestions about why a.out works but ELF doesn't, but I'm *pretty* sure that that was the *only* namespace semantics change, so, yeah, I'm pretty confident that a problem with symbol name resolution is localizable to changes in symbol name resolution. Call me crazy... > > I'm still suspicious of the rationale for that change, but whatever... > > Huh? Last I heard you were telling us we could just take the Solaris > ELF Motif libraries and use those (yeah, right). Now you think we > shouldn't be even vaguely link-compatible with other ELF libraries? > > Geez, make up your mind already. I'm not sure why ELF ewent the way it did. I'm sure that in order to use Sun ELF libraries, you have to have ELF object to link against them, in the same way that round holes require round pegs (unless you are willing to get, uh, "inelegant"...). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 16:23:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA17411 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 16:23:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA17323 for ; Thu, 8 Oct 1998 16:23:31 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id QAA02908; Thu, 8 Oct 1998 16:23:15 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: "Kaleb S. KEITHLEY" cc: hackers@FreeBSD.ORG Subject: Re: where'd the Alpha port at hub.freebsd.org go??? In-reply-to: Your message of "Thu, 08 Oct 1998 14:14:56 EDT." <361D0120.32205DFA@ics.com> Date: Thu, 08 Oct 1998 16:23:14 -0700 Message-ID: <2904.907888994@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I just bought a m'board (supported on NetBSD, etc), and I wanted to > double check the supported boards for the new Alpha port, and there's > nothing on hub. > > Does that mean there's a new snapshot coming, or what? Yes, I hope to have one up quite soon on ftp.freebsd.org. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 16:56:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA23449 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 16:56:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA23420 for ; Thu, 8 Oct 1998 16:56:21 -0700 (PDT) (envelope-from Studded@gorean.org) Received: from gorean.org (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id QAA29199; Thu, 8 Oct 1998 16:55:54 -0700 (PDT) (envelope-from Studded@gorean.org) Message-ID: <361D5109.4D7BFAA9@gorean.org> Date: Thu, 08 Oct 1998 16:55:53 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Terry Lambert CC: Mike Smith , archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810082314.QAA22401@usr06.primenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert wrote: > > > > > It means that there are two instances of 'msgvec' with global scope, > > > > and the other one needs to be found too. > > > > > > Most likely this is an ELF problem because of the "_" semantic change > > > on C symbols vs. asm symbols. > > > > Do you have any rationalisation for this, or is it just wild speculation > > on your part again? > > I'm open to other suggestions about why a.out works but ELF doesn't, > but I'm *pretty* sure that that was the *only* namespace semantics > change, so, yeah, I'm pretty confident that a problem with symbol > name resolution is localizable to changes in symbol name resolution. The warning about the junk pointer when I use the 'mail' command is showing up on my totally non-elf 2.2.7-Stable system. > Call me crazy... You're crazy. :) Couldn't resist... Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 17:25:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28353 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 17:25:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28334 for ; Thu, 8 Oct 1998 17:25:04 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id RAA01696; Thu, 8 Oct 1998 17:28:46 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810090028.RAA01696@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Terry Lambert cc: mike@smith.net.au (Mike Smith), Studded@dal.net, archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-reply-to: Your message of "Thu, 08 Oct 1998 23:14:28 -0000." <199810082314.QAA22401@usr06.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 17:28:46 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > It means that there are two instances of 'msgvec' with global scope, > > > > and the other one needs to be found too. > > > > > > Most likely this is an ELF problem because of the "_" semantic change > > > on C symbols vs. asm symbols. > > > > Do you have any rationalisation for this, or is it just wild speculation > > on your part again? > > I'm open to other suggestions about why a.out works but ELF doesn't, > but I'm *pretty* sure that that was the *only* namespace semantics > change, so, yeah, I'm pretty confident that a problem with symbol > name resolution is localizable to changes in symbol name resolution. > > Call me crazy... You're crazy. Especially since the plaintiff is running a 2.2.7 system. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 17:42:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02046 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 17:42:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA01972 for ; Thu, 8 Oct 1998 17:42:27 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id RAA01827; Thu, 8 Oct 1998 17:46:24 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810090046.RAA01827@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Studded cc: Mike Smith , Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-reply-to: Your message of "Thu, 08 Oct 1998 14:39:14 PDT." <361D3102.3EDDF6FB@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 17:46:24 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Mike Smith wrote: > > > It means that there are two instances of 'msgvec' with global scope, > > and the other one needs to be found too. > > > > You could probably just change the 'msgvec' in lex.c to be static in > > order to achieve that goal; then you need to work out which object(s) > > are exporting 'msgvec' as globals. > > > > Any chance of you doing that? Have a look at the output of 'nm' on each > > of the .o files, and see which (if any) export or reference _msgvec. > > ok, when I use the version of lex.c which has msgfoo declared static I > get no _msgvec in any .o file. When I restore the original lex.c file, > then declare msgvec static here is what I get: > > 55# for FILE in `ls -1 *.o`; do echo $FILE; nm *.o | grep _msgvec | > \more; done > aux.o > 00001354 b _msgvec > > and identical output for the following files: That's because there's a bug in your command; you should be passing $FILE to nm, not "*.o" > However, looking at the files where msgvec is used, the only place it's > declared globally is lex.c. When I tested the binary compiled with the > static declaration in lex.c using gdb + AJ -> malloc.conf it didn't > core, and there were no error messages. So perhaps making it static in > lex.c is the answer after all? I'm still wondering how it gets corrupted. Making it static will have the effect of moving it around. The fact that it was corrupted with something that looks very much like ASCII has me wondering whether there's not a buffer overflow going on. Can you try 'nm mail | sort | more' and look at the symbols directly before msgvec? I'd be inclined to suspect that there's a fixed-size character buffer there that's just not big enough for something on your system. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 18:26:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11732 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 18:26:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA11585 for ; Thu, 8 Oct 1998 18:25:51 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA03469; Fri, 9 Oct 1998 10:55:25 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id KAA03606; Fri, 9 Oct 1998 10:54:42 +0930 (CST) Message-ID: <19981009105441.J3369@freebie.lemis.com> Date: Fri, 9 Oct 1998 10:54:41 +0930 From: Greg Lehey To: ed mill , FreeBsD-Hackers@FreeBSD.ORG Subject: Re: HOW CAN WE HELP References: <19981008.151100.4855.0.needinfo@juno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19981008.151100.4855.0.needinfo@juno.com>; from ed mill on Thu, Oct 08, 1998 at 03:15:27PM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 8 October 1998 at 15:15:27 -0400, ed mill wrote: > HELLO, > > HOW DO WE GET STARTED? > > THANK YOU. FIRST, FIND THE KEY MARKED "Caps Lock". PRESS IT. Aaah, that's better, isn't it? Next, send a message to majordomo@FreeBSD.org with the text "subscribe FreeBSD-newbies". Do what the reply says. Lurk for a few days. Enjoy. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 18:54:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19567 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 18:54:54 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA19514 for ; Thu, 8 Oct 1998 18:54:33 -0700 (PDT) (envelope-from Studded@gorean.org) Received: from gorean.org (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id SAA00965; Thu, 8 Oct 1998 18:53:13 -0700 (PDT) (envelope-from Studded@gorean.org) Message-ID: <361D6C89.F76B1755@gorean.org> Date: Thu, 08 Oct 1998 18:53:13 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith CC: Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810090046.RAA01827@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > Mike Smith wrote: > > > > > It means that there are two instances of 'msgvec' with global scope, > > > and the other one needs to be found too. > > > > > > You could probably just change the 'msgvec' in lex.c to be static in > > > order to achieve that goal; then you need to work out which object(s) > > > are exporting 'msgvec' as globals. > > > > > > Any chance of you doing that? Have a look at the output of 'nm' on each > > > of the .o files, and see which (if any) export or reference _msgvec. > > > > ok, when I use the version of lex.c which has msgfoo declared static I > > get no _msgvec in any .o file. When I restore the original lex.c file, > > then declare msgvec static here is what I get: > > > > 55# for FILE in `ls -1 *.o`; do echo $FILE; nm *.o | grep _msgvec | > > \more; done > > aux.o > > 00001354 b _msgvec > > > > and identical output for the following files: > > That's because there's a bug in your command; you should be passing > $FILE to nm, not "*.o" Well don't I fell silly. I swapped too many things around. With the stock sources: 105# for FILE in `ls -1 *.o`; do echo $FILE; nm $FILE | grep _msgvec; done lex.o 00000004 C _msgvec With msgvec declared static in lex.c: lex.o 00001354 b _msgvec > > However, looking at the files where msgvec is used, the only place it's > > declared globally is lex.c. When I tested the binary compiled with the > > static declaration in lex.c using gdb + AJ -> malloc.conf it didn't > > core, and there were no error messages. So perhaps making it static in > > lex.c is the answer after all? > > I'm still wondering how it gets corrupted. Making it static will have > the effect of moving it around. The fact that it was corrupted with > something that looks very much like ASCII has me wondering whether > there's not a buffer overflow going on. > > Can you try 'nm mail | sort | more' and look at the symbols directly > before msgvec? I'd be inclined to suspect that there's a fixed-size > character buffer there that's just not big enough for something on your > system. Well, I do have 16 character usernames on my 2.2.7 system, and my normal user is a 16 char name. However the sources for mail are the same in -Stable and -Current, so I don't think it's a -Stable problem. However, when I log in as a user with a 5 character username, I don't get the warning with stock sources so it definitely sounds like a buffer overflow. With stock sources: 00015ae0 B _tempQuit 00015af8 B _string_stack 00015b00 B _lexstring 00015f00 D __CurrentRuneLocale 00015f04 B _loading 00015f08 B _wait_status 00015f0c B _tempMesg 00015f24 B _srbuf 00015f48 B _tempMail 00015f60 B _hdrjmp 00015f84 B _groups 00016070 B _tempEdit 00016088 D __DefaultRuneLocale 00016cdc B _message 00016ce0 D ___sF 00016de8 B _lexnumber 00016dec B _prevfile 000171ec B _lastbang 0001726c B _environ 00017270 B _regretstack 00017278 B _ignore 00017458 B _tempResid 00017470 B _rcvmode 00017474 B _image 00017478 B _msgvec The culprit would seem to be one or more of: char tempMail[24]; char tempQuit[24]; char tempEdit[24]; char tempResid[24]; char tempMesg[24]; from temp.c, however in my testing I couldn't figure out which one. Also, to make matters more exciting I have TMPDIR set to /home/my16charusername/.temporary_dir. The TMPDIR variable is referenced in the same part of the code in temp.c. Hoping we're narrowing this down, Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 20:26:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA03482 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 20:26:55 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA03466 for ; Thu, 8 Oct 1998 20:26:48 -0700 (PDT) (envelope-from moorthy@cs.unc.edu) Received: from buzzard.cs.unc.edu (moorthy@buzzard.cs.unc.edu [152.2.129.17]) by austin.cs.unc.edu (8.8.8/8.8.8) with SMTP id XAA03292 for ; Thu, 8 Oct 1998 23:26:40 -0400 (EDT) Date: Thu, 8 Oct 1998 23:26:40 -0400 (EDT) From: Arun Moorthy To: freebsd-hackers@FreeBSD.ORG Subject: install disk for CAM AND 3c905? 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 Greetings. I need to install FreeBSd on a whole bunch of machines. These machines need a boot.flp that has a kernel that has both CAM and a device driver for the 3c905 XL card (xl0). long hours have passed in my effort to build my own install floppies, with no success. Right now, the only solution seems to be to use a CAM boot.flp that does not support the xl0 card, use a different network card for the install stage (by swapping cards on each machine when installing) and then to use my kernel that has both CAM and xl0 support. Due to the number of machines that need to be installed, I'm hoping there is a better solution. Any help will be appreciated. Thanks. -arun P.S: Please CC a reply to moorthy@cs.unc.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 20:35:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA05064 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 20:35:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA05026 for ; Thu, 8 Oct 1998 20:35:21 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id UAA02760; Thu, 8 Oct 1998 20:39:49 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810090339.UAA02760@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Arun Moorthy cc: freebsd-hackers@FreeBSD.ORG Subject: Re: install disk for CAM AND 3c905? In-reply-to: Your message of "Thu, 08 Oct 1998 23:26:40 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 20:39:49 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Greetings. > > I need to install FreeBSd on a whole bunch of machines. > These machines need a boot.flp that has a kernel that has both CAM and a > device driver for the 3c905 XL card (xl0). > > long hours have passed in my effort to build my own install floppies, with > no success. > > Right now, the only solution seems to be to use a CAM boot.flp that does > not support the xl0 card, use a different network card for the install > stage (by swapping cards on each machine when installing) and then to use > my kernel that has both CAM and xl0 support. I presume that you're trying to install the 2.2CAM snapshot? Save yourself some grief and do this: - Install using a 3.0-BETA install floppy. Change the release name in the options screen to match the 2.2CAM snap. - Have a 2.2CAM snapshot kernel handy which you've built by adding the 'xl' driver for 2.2 from Bill Paul's page. - Copy the customised kernel in place after the install but before you reboot. Building install floppies isn't easy at the moment. We're trying to make it easier though. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 20:37:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA05604 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 20:37:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from phoenix (phoenix.aye.net [206.185.8.134]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA05518 for ; Thu, 8 Oct 1998 20:36:59 -0700 (PDT) (envelope-from rabtter@aye.net) Received: (qmail 1404 invoked by uid 2784); 9 Oct 1998 03:35:51 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Oct 1998 03:35:51 -0000 Date: Thu, 8 Oct 1998 23:35:50 -0400 (EDT) From: Barrett Richardson Reply-To: Barrett Richardson To: hackers@FreeBSD.ORG Subject: Problems/Solutions breaking binary compatability. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I posted a question about this a while back on got lots of feedback -- here is what I ran into. Try 1 I edited syscalls.master and moved the syscalls around, located the sources to the *.o files and recompiled those using the the new header files created by remaking init_sysent.c. My 'make buildworld' puked because it tried to use some of the binaries it was building. Try 2 I used up as many of the UNIMPL entries and made a COMPAT entry so the syscalls I wanted to shuffle would temporarily be in two places, and recompiled /usr/lib/crt0.o and friends and built a new kernel. I then changed the original syscalls I wanted to move to UNIMPL and changed the COMPAT entries I created to STD (I had to edit init_sysent.c and change all the entries for the COMPAT's I added in the intermediate step), and remade /usr/lib/*.o using the header files created by 'make init_sysent.c' in /sys/kern. The make buildworld was preceding ok, but ... by then the powers that be got really attached to some purchased software; scrap the idea. Try 3 Use John Dyson's idea of using a flag bit. In imgact_aout.c, imgact_elf.c, and imgact_gzip.c check for the bit being set (let root slide so makefiles that use built utilities won't choke, and to avoid painting myself into a corner), and write a utility that sets the flag on binaries. Works wonderful. Script kiddie uploads his hack, runs it, and it spits out "cannot execute binary file" because it has not been "blessed". I've been thinking of replacing the message with something silly like "invalid user command, replace user" :-). Would be simple to add an option in the kernel config file like "options PARANOID" or "options SCARED" but care would have to taken to set the flag on the system binaries beforehand. I let shell scripts slide in my setup. -- Barrett Richardson rabtter@aye.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 21:55:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20129 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 21:55:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA20103 for ; Thu, 8 Oct 1998 21:55:01 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id WAA22936; Thu, 8 Oct 1998 22:54:47 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199810090454.WAA22936@panzer.plutotech.com> Subject: Re: install disk for CAM AND 3c905? In-Reply-To: from Arun Moorthy at "Oct 8, 98 11:26:40 pm" To: moorthy@cs.unc.edu (Arun Moorthy) Date: Thu, 8 Oct 1998 22:54:47 -0600 (MDT) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (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 Arun Moorthy wrote... > > Greetings. > > I need to install FreeBSd on a whole bunch of machines. > These machines need a boot.flp that has a kernel that has both CAM and a > device driver for the 3c905 XL card (xl0). > > long hours have passed in my effort to build my own install floppies, with > no success. > > Right now, the only solution seems to be to use a CAM boot.flp that does > not support the xl0 card, use a different network card for the install > stage (by swapping cards on each machine when installing) and then to use > my kernel that has both CAM and xl0 support. > > Due to the number of machines that need to be installed, I'm hoping there > is a better solution. Umm, what release are you using? The 3.0 BETA releases have CAM and the xl driver on the boot floppy. The latest is here: ftp://ftp.FreeBSD.ORG/pub/FreeBSD/3.0-19981006-BETA Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Oct 8 22:14:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23240 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 22:14:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from kithrup.com (kithrup.com [205.179.156.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA23232 for ; Thu, 8 Oct 1998 22:14:16 -0700 (PDT) (envelope-from sef@kithrup.com) Received: (from sef@localhost) by kithrup.com (8.8.8/8.8.8) id WAA23487; Thu, 8 Oct 1998 22:14:09 -0700 (PDT) (envelope-from sef) Date: Thu, 8 Oct 1998 22:14:09 -0700 (PDT) From: Sean Eric Fagan Message-Id: <199810090514.WAA23487@kithrup.com> To: hackers@FreeBSD.ORG Reply-To: hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-Reply-To: <361D5109.4D7BFAA9.kithrup.freebsd.hackers@gorean.org> References: <199810082314.QAA22401@usr06.primenet.com> Organization: Kithrup Enterprises, Ltd. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <361D5109.4D7BFAA9.kithrup.freebsd.hackers@gorean.org> you write: > The warning about the junk pointer when I use the 'mail' command is >showing up on my totally non-elf 2.2.7-Stable system. The inetd message (too low) is also showing up in some 2.2.6 and earlier systems friends of mine own. This is a recent development, too. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 05:49:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA24687 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 05:49:33 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA24681 for ; Fri, 9 Oct 1998 05:49:32 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from gilberto.physik.RWTH-Aachen.DE (gilberto.physik.rwth-aachen.de [137.226.30.2]) by freefall.freebsd.org (8.8.8/8.8.5) with ESMTP id FAA07711 for ; Fri, 9 Oct 1998 05:49:19 -0700 (PDT) Received: (from kuku@localhost) by gilberto.physik.RWTH-Aachen.DE (8.8.8/8.8.7) id OAA09343 for freebsd-hackers@freefall.cdrom.com; Fri, 9 Oct 1998 14:49:19 +0200 (MEST) (envelope-from kuku) Date: Fri, 9 Oct 1998 14:49:19 +0200 (MEST) From: Christoph Kukulies Message-Id: <199810091249.OAA09343@gilberto.physik.RWTH-Aachen.DE> To: freebsd-hackers@freefall.cdrom.com Subject: 2.2.7 install impertinently overwrites boot Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I installed 2.2.7 on my notebook from a floppy/DOS partition. I explicitly hit the space bar so that the [*] appeared in the selection 'leave bootsector untouched' and the damned beast overwrote my bootinst multiboot which was already sitting there. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 06:48:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA04639 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 06:48:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from vorbis.noc.easynet.net (vorbis.noc.easynet.net [195.40.1.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA04627 for ; Fri, 9 Oct 1998 06:48:18 -0700 (PDT) (envelope-from chrisy@vorbis.noc.easynet.net) Received: (qmail 6316 invoked by uid 1943); 9 Oct 1998 13:44:25 -0000 Message-ID: <19981009144425.B6022@flix.net> Date: Fri, 9 Oct 1998 14:44:25 +0100 From: Chrisy Luke To: Edwin Culp , Tim Wolfe , tom@sdf.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Equal Cost/MultiPath Routing References: <36137D85.14968D1@webwizard.org.mx> <19981001150447.I16056@pavilion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19981001150447.I16056@pavilion.net>; from Josef Karthauser on Thu, Oct 01, 1998 at 03:04:47PM +0100 Organization: The Flirble Internet Exchange X-URL: http://www.flix.net/ X-FTP: ftp://ftp.flirble.org/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Josef Karthauser wrote (on Oct 01): > I don't believe that he's ported to elf yet, and is currently on holiday > until next Monday so nothing will happen until at least then :) I've not worked on -CURRENT with this code at all, and my colleague sitting opposite seems reluctant to let me break his kernel... :-) I'll be working on it again soon (honest guv) and may be able to get hold of someone's -CURRENT machine. Chris. -- == chris@easynet.net, chrisy@flix.net, chrisy@flirble.org == Systems Manager for Easynet, part of Easynet Group PLC. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 06:51:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA05112 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 06:51:51 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tornado.cisco.com (tornado.cisco.com [171.69.104.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA05088 for ; Fri, 9 Oct 1998 06:51:44 -0700 (PDT) (envelope-from bmcgover@bmcgover-pc.cisco.com) Received: from bmcgover-pc.cisco.com (bmcgover-pc.cisco.com [171.69.104.147]) by tornado.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id JAA13060; Fri, 9 Oct 1998 09:51:35 -0400 (EDT) Received: from bmcgover-pc.cisco.com (localhost.cisco.com [127.0.0.1]) by bmcgover-pc.cisco.com (8.8.8/8.8.8) with ESMTP id JAA01796; Fri, 9 Oct 1998 09:51:34 -0400 (EDT) (envelope-from bmcgover@bmcgover-pc.cisco.com) Message-Id: <199810091351.JAA01796@bmcgover-pc.cisco.com> To: moorthy@cs.unc.edu cc: hackers@FreeBSD.ORG Subject: Re: install disk for CAM and 3C905 Date: Fri, 09 Oct 1998 09:51:34 -0400 From: Brian McGovern Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The "easiest" way is to roll your own installation. This has some other benefits, as it allows you to make any other pre-installation changes that you want. First thing you'll want is a good solid fast machine that you can do builds with, with a couple of GB of free disk space (so you can make multiple tries). You'll also want to install full source. Lastly, its not a bad idea to use an OS release at or around the version you're going to build. It helps remove some of those "unforseen" incompatibility issues. Then, install FreeBSD and get it running on a network that can talk to the outside world (aka the Internet) with a good-speed connection (28.8 will blow here. You'll need something like a T1 or cable modem, or better, etc). Next, review the use of CVS. You'll need to use this a bit to get things right. Next, use cvsup and /usr/share/examples/cvsup/cvs-supfile to pull down the CVS archive for the OS source. You'll need this to build a release. You'll need to make sure the file has src-all, ports-all, and doc-all defined (I believe that doc-all is missing from the stock one). Run CVS against it, and it should populate /usr/ncvs with all of the FreeBSD source from the dawn of time until present. Next, set the enviornment variable CVSROOT to /usr/ncvs. Then, go to a "working directory" and do a "cvs co -r RELEASENAME src". Replace RELEASENAME with whichever "stock" version you want (such as RELENG_2_2_7_RELEASE). If you're not sure whats available, cd in to /usr/ncvs/src, and more some of the files. The tags you can use should be up at the top. Once you've checked them out, branch the source tree, since you'll be making your own local changes that you'll want to keep. To do this, issue a "cvs tag -b YOURTAG src" from the aforementioned "working directory", so it will tag all of the src directory. YOURTAG can be replaced by anything you want, so long as its valid, and hasn't been used. Then, to change the boot disk, edit src/sys/i386/conf/GENERIC. The release process will strip out portions of this to minimalize it. Its in src/release/floppies/boot/floppy/Makefile (you'll probably want to edit both the one in /usr/src, and in your currently checked out copy, although the latter is the one that should be used). Otherwise, add the options you need to GENERIC. Once done, go back to your working directory, and "cvs commit src". It should check in all of your changes (and ask you to provide CVS comments for each). Once that is done, go to /usr/src/release, and edit the Makefile. Set BUILDNAME, CHROOTDIR, RELEASETAG and CVSROOT (not in the file) to proper values. Here are some of my values: BUILDNAME=2.2.X-CUSTOM (replace X with a release) CHROOTDIR=/usr/tmp/whereiwantmybuild (where the build will take place. Make SURE the directory exists!!!) RELEASETAG=YOURTAG (this is the CVS tag to use for getting the code. Make sure it matches what you "tagged" above) CVSROOT=/usr/ncvs (this matches the cvs-supfile you put together). Then, say "make release". It'll chug for awhile (depending on machine, its gone from a few hours to days). When its done, in CHROOTDIR, you should have builds for both a CDROM and a FTP site. If you dig down, and find the "floppies" section, you should find your new boot.flp. Note that the GENERIC kernel is also used for building the initial boot kernel. This will help you bring over CAM support in to the kernel that gets booted after install. If this is the only change, then you should be able to use the standard CD with the new boot floppy (although CAM support won't be in the kernel loaded by the CD), or you can burn your own release CD. Usually what I do when I build out a custom is to put all of the custom files on it, and then load the "remaining" files from the first CD (such as X, the packages, xperiment, etc) on to the new CD, allowing me a pretty "normal" Walnut Creek-type install. -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 07:07:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07777 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 07:07:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from animaniacs.itribe.net (gatekeeper.itribe.net [209.49.144.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA07772 for ; Fri, 9 Oct 1998 07:07:32 -0700 (PDT) (envelope-from jamie@itribe.net) Received: from localhost (jamie@localhost) by animaniacs.itribe.net (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id KAA26209; Fri, 9 Oct 1998 10:06:39 -0400 Date: Fri, 9 Oct 1998 10:06:39 -0400 (EDT) From: Jamie Bowden To: Gregory Sutter cc: Marius Bendiksen , freebsd-hackers@FreeBSD.ORG Subject: Re: Two Y chromosomes [ Was: Java-based Crypto Decoder Ring ...] In-Reply-To: <19981007174414.C18686@orcrist.mediacity.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 7 Oct 1998, Gregory Sutter wrote: > Well, there are also issues with people having multiples of the X > chromosome, too. So a person could have XXY or even XXXY. Or more > X's, but people with a large number of additional chromosomes don't > usually survive long. (Most aren't born alive.) Someone else > reminded me that these (overmany X and overmany Y chromosomes) are > known as Turner's and Klinefelter's syndromes, but I've forgotten > which is which. Multi Y is Klinefelter's. Did research on it for a biology class once. Double Y's tend to be aggressive, and have varying degrees of mental retardation (including none). The genitalia are undersized, and tend to be only nominally functional. The research I did at the time (1984) showed that %30 of a random sampling of violent criminals in the prison system were YY's. The suggestion at the time was that improper cell splits early in gestation were the cause. > > >If you want to know more, flip through an introductory genetics book; > > >the resulting knowledge may intrigue you, will almost certainly > > >disgust you, but hopefully will also instill you with a sense of awe > > >at the amazing systems that make us "us". Evolution is cool. :) > > > > Humanity is a genetic cesspool, not the pinnacle of darwinian evolution :) > > We do carry some undesirable genes and gene sets, but as a whole, > we're pretty amazing systems. There _is_ no pinnacle of Darwinian > evolution, though. Perfection is awfully difficult to achieve, don't > you agree? So, where I get the version of FreeBSD that runs on organic computers? Jamie Bowden -- Systems Administrator, iTRiBE.net If we've got to fight over grep, sign me up. But boggle can go. -Ted Faber (on Hasbro's request for removal of /usr/games/boggle) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 08:44:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA20577 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 08:44:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ku.ac.th (nontri.ku.ac.th [158.108.2.71]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA20571 for ; Fri, 9 Oct 1998 08:44:39 -0700 (PDT) (envelope-from stt@pluto.cpe.ku.ac.th) Received: from pluto.cpe.ku.ac.th (pluto.cpe.ku.ac.th [158.108.32.150]) by ku.ac.th (8.9.0/8.9.0) with ESMTP id WAA19966 for ; Fri, 9 Oct 1998 22:43:19 +0700 (GMT) Received: from localhost (stt@localhost) by pluto.cpe.ku.ac.th (8.8.8/8.8.7) with SMTP id WAA11810 for ; Fri, 9 Oct 1998 22:44:11 +0700 (ICT) (envelope-from stt@pluto.cpe.ku.ac.th) Date: Fri, 9 Oct 1998 22:44:06 +0700 (ICT) From: Sunthiti Patchararungruang To: hackers@FreeBSD.ORG Subject: Access time limit 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 Dear Everybody I have a server with FreeBSD2.2.5. How can I limit user access time for each month like some ISP. Best Regards, Sunthiti Patchararungruang To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 08:56:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA23116 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 08:56:33 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dns.webwizard.net.mx (dns.webwizard.com.mx [148.245.50.27]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA23110 for ; Fri, 9 Oct 1998 08:56:30 -0700 (PDT) (envelope-from eculp@webwizard.org.mx) Received: from webwizard.org.mx (dns.webwizard.com.mx [148.245.50.27]) by dns.webwizard.net.mx (8.9.1/8.9.1) with ESMTP id KAA10274; Fri, 9 Oct 1998 10:47:59 -0500 (CDT) (envelope-from eculp@webwizard.org.mx) Message-ID: <361E302F.4B547F1A@webwizard.org.mx> Date: Fri, 09 Oct 1998 10:47:59 -0500 From: Edwin Culp X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 3.0-BETA i386) X-Accept-Language: en MIME-Version: 1.0 To: Chrisy Luke CC: Tim Wolfe , tom@sdf.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Equal Cost/MultiPath Routing References: <36137D85.14968D1@webwizard.org.mx> <19981001150447.I16056@pavilion.net> <19981009144425.B6022@flix.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chrisy Luke wrote: > Josef Karthauser wrote (on Oct 01): > > I don't believe that he's ported to elf yet, and is currently on holiday > > until next Monday so nothing will happen until at least then :) > > I've not worked on -CURRENT with this code at all, and my colleague sitting > opposite seems reluctant to let me break his kernel... :-) > > I'll be working on it again soon (honest guv) and may be able to get hold > of someone's -CURRENT machine. > > Chris. > -- > I've got a current/elf machine and a lot of interest. ed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 09:17:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA27752 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 09:17:35 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA27684 for ; Fri, 9 Oct 1998 09:17:23 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id JAA02042; Fri, 9 Oct 1998 09:17:13 -0700 (PDT) (envelope-from jdp) Message-Id: <199810091617.JAA02042@austin.polstra.com> To: tlambert@primenet.com Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-Reply-To: <199810082232.PAA19629@usr06.primenet.com> References: <199810082232.PAA19629@usr06.primenet.com> Organization: Polstra & Co., Seattle, WA Cc: hackers@FreeBSD.ORG Date: Fri, 09 Oct 1998 09:17:13 -0700 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199810082232.PAA19629@usr06.primenet.com>, Terry Lambert wrote: > Most likely this is an ELF problem because of the "_" semantic change > on C symbols vs. asm symbols. > > I'm still suspicious of the rationale for that change, but whatever... The rationale is no mystery. It comes directly from the ELF specification, aka "System V Application Binary Interface," Prentice-Hall, 1990, ISBN 0-13-877598-2, page 4-25: External C symbols have the same names in C, assembly code, and object files' symbol tables. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 10:10:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA05930 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 10:10:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Loki.orland.u91.k12.me.us (Loki.orland.u91.k12.me.us [169.244.111.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA05920 for ; Fri, 9 Oct 1998 10:10:34 -0700 (PDT) (envelope-from netmonger@genesis.ispace.com) Received: from Celeris (56k-port4018.ime.net [209.90.195.28]) by Loki.orland.u91.k12.me.us (8.9.1/8.8.8-Loki) with SMTP id NAA04119 for ; Fri, 9 Oct 1998 13:10:26 -0400 (EDT) (envelope-from netmonger@genesis.ispace.com) X-Server-ID: Loki.orland.u91.k12.me.us, OCSNet - Orland Maine USA X-Coord-Name: Drew "Droobie" Baxter, OneNetwork Exchange X-Coord-Addr: Droobie@Openlink.orland.me.us X-Coord-Pager: USA: 207-471-2719, http://pagedroo.orland.me.us Message-Id: <4.1.0.67.19981009130616.00a14cf0@genesis.ispace.com> X-Sender: netmonger@genesis.ispace.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1.0.67 (Beta) Date: Fri, 09 Oct 1998 13:09:59 -0400 To: hackers@FreeBSD.ORG From: Drew Baxter Subject: Re: MGetty Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mgetty+Sendfax does a good job of handling PAP connections if you swing it right. The version in the ports collection is 1.1.16-Jul. Mishandles connections (actually didn't even answer the phone).. After building my own copy of 1.1.18-Sep, works perfectly fine with no changes to my config file. Just thought I'd mention that to anyone who's tried to use it thats had problems. I thought it was my modem originally (and it was, some jackass unplugged the phone line), but as it goes that didn't solute the problem. --- Drew "Droobie" Baxter OneNetwork Exchange Network Ops, Orland Consolidated School 207-942-0275/207-471-2719 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 12:55:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA05519 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 12:55:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from condor.peregrine.com (condor.peregrine.com [192.72.253.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA05483 for ; Fri, 9 Oct 1998 12:55:11 -0700 (PDT) (envelope-from ehedstrom@peregrine.com) Received: from peregrine.com (ehedstrom.peregrine.com [204.33.94.201]) by condor.peregrine.com (8.9.0/8.9.0) with ESMTP id MAA11396; Fri, 9 Oct 1998 12:52:53 -0700 (PDT) Message-ID: <361E69C7.E80D8F20@peregrine.com> Date: Fri, 09 Oct 1998 12:53:43 -0700 From: Eric Hedstrom Reply-To: erich@compecon.com X-Mailer: Mozilla 4.5b2 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: kuku@gilberto.physik.RWTH-Aachen.DE, freebsd-hackers@FreeBSD.ORG Subject: Re: 2.2.7 install impertinently overwrites boot Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christoph Kukulies wrote: >I installed 2.2.7 on my notebook from a floppy/DOS partition. >I explicitly hit the space bar so that the [*] appeared in the >selection 'leave bootsector untouched' and the damned beast >overwrote my bootinst multiboot which was already sitting there. Guess what? This just happened to me on Wednesday using a 2.2.6-RELEASE boot disk to do a net install of 2.2.7-RELEASE from ftp.freebsd.org, too. For what it's worth. Eric Hedstrom erich@compecon.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 13:11:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09183 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 13:11:02 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from spawn.nectar.com (spawn.nectar.com [204.27.67.86]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA09161 for ; Fri, 9 Oct 1998 13:10:48 -0700 (PDT) (envelope-from nectar@spawn.nectar.com) Received: from localhost.nectar.com ([127.0.0.1] helo=spawn.nectar.com) by spawn.nectar.com with esmtp (Exim 1.92 #1) id 0zRino-0004yc-00; Fri, 9 Oct 1998 15:06:16 -0500 X-Mailer: exmh version 2.0.2 2/24/98 X-PGP-RSAfprint: 00 F9 E6 A2 C5 4D 0A 76 26 8B 8B 57 73 D0 DE EE X-PGP-RSAkey: http://www.nectar.com/nectar-pgp262.txt From: Jacques Vidrine In-reply-to: <199810091959.MAA13804@rip.psg.com> References: <361DEC25.30065DCC@Triplan.COM> <361E3DE4.39F057F4@gorean.org> <199810091757.KAA10402@rip.psg.com> <361E4FE8.2EF1B5DA@gorean.org> <199810091845.LAA11689@rip.psg.com> <361E5F28.1DE06387@gorean.org> <199810091911.MAA12445@rip.psg.com> <199810091959.MAA13804@rip.psg.com> Subject: xntpd and securelevel To: Randy Bush cc: Jacques Vidrine , Studded , Marc Gutschner , hackers@FreeBSD.ORG Date: Fri, 09 Oct 1998 15:06:15 -0500 Message-Id: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- [[Moving thread to hackers@freebsd.org, and changing subject]] Oh, duh... ntpdate (and I guess xntpd, too) use settimeofday... settimeofday calls settime... extract from settime: /* * If the system is secure, we do not allow the time to be * set to an earlier value (it may be slowed using adjtime, * but not set back). This feature prevent interlopers from * setting arbitrary time stamps on files. */ if (delta.tv_sec < 0 && securelevel > 1) { splx(s); return (EPERM); } So if you need to go back in time, you can't be at securelevel > 1. Seems like a good thing to me. However, xntpd still should be able to make small adjustments. Any xntpd experts here that can comment on when xntpd uses settimeofday versus adjtime? Perhaps it has to do with the size of adjustment that must be made? Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org On 9 October 1998 at 12:59, Randy Bush wrote: > > Randy, can you run ``truss ntpdate yada yada yada'' so we can > > see which system call is returning EPERM? > > had problems with the yada yada server, so used a local one. :-) > > randy > > > rip.psg.com:/root# id > uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator ), 20(staff), 31(guest) > rip.psg.com:/root# truss ntpdate psg.com > syscall open("/usr/libexec/ld.so",0,00) > returns 3 (0x3) > syscall read(0x3,0xefbfdb14,0x20) > returns 32 (0x20) > syscall mmap(0x0,69632,0x5,0x2,3,0x0) > returns 536907776 (0x20009000) > syscall mmap(0x2001a000,8192,0x3,0x12,3,0x11000) > returns 536977408 (0x2001a000) > syscall getuid() > returns 0 (0x0) > syscall geteuid() > returns 0 (0x0) > syscall getgid() > returns 0 (0x0) > syscall getegid() > returns 0 (0x0) > syscall break(0xe000) > returns 0 (0x0) > syscall open("/var/run/ld.so.hints",0,00) > returns 4 (0x4) > syscall read(0x4,0xefbfda58,0x20) > returns 32 (0x20) > syscall mmap(0x0,8586,0x1,0x1,4,0x0) > returns 536985600 (0x2001c000) > syscall close(4) > returns 0 (0x0) > syscall stat("/usr/lib/aout/libc.so.3.1",0xefbfda0c) > returns 0 (0x0) > syscall stat("/usr/lib/aout/libc.so.3.1",0xefbfda34) > returns 0 (0x0) > syscall open("/usr/lib/aout/libc.so.3.1",0,00) > returns 4 (0x4) > syscall read(0x4,0xefbfda14,0x20) > returns 32 (0x20) > syscall mmap(0x0,513076,0x5,0x2,4,0x0) > returns 536997888 (0x2001f000) > syscall close(4) > returns 0 (0x0) > syscall mprotect(0x2008b000,0x4000,0x7) > returns 0 (0x0) > syscall mmap(0x2008f000,54324,0x7,0x1012,-1,0x0) > returns 537456640 (0x2008f000) > syscall break(0xf000) > returns 0 (0x0) > syscall break(0x10000) > returns 0 (0x0) > syscall break(0x11000) > returns 0 (0x0) > syscall munmap(0x2001c000,0x218a) > returns 0 (0x0) > syscall close(3) > returns 0 (0x0) > syscall readlink("/etc/malloc.conf",0xefbfda34,63) > errno 2 'No such file or directory' > syscall mmap(0x0,4096,0x3,0x1002,-1,0x0) > returns 536985600 (0x2001c000) > syscall break(0x12000) > returns 0 (0x0) > syscall break(0x13000) > returns 0 (0x0) > syscall open("/etc/host.conf",0,0666) > returns 3 (0x3) > syscall fstat(3,0xefbfd55c) > returns 0 (0x0) > syscall break(0x15000) > returns 0 (0x0) > syscall read(0x3,0x13000,0x2000) > returns 129 (0x81) > syscall read(0x3,0x13000,0x2000) > returns 0 (0x0) > syscall close(3) > returns 0 (0x0) > syscall madvise(0x13000,0x2000,0x5) > returns 0 (0x0) > syscall open("/etc/hosts",0,0666) > returns 3 (0x3) > syscall gettimeofday(0xefbfd5b4,0x0) > returns 0 (0x0) > syscall getpid() > returns 13774 (0x35ce) > syscall open("/etc/resolv.conf",0,0666) > returns 4 (0x4) > syscall fstat(4,0xefbfd4f4) > returns 0 (0x0) > syscall read(0x4,0x13000,0x2000) > returns 61 (0x3d) > syscall read(0x4,0x13000,0x2000) > returns 0 (0x0) > syscall close(4) > returns 0 (0x0) > syscall madvise(0x13000,0x2000,0x5) > returns 0 (0x0) > syscall fstat(3,0xefbfd94c) returns 0 (0x0) > syscall read(0x3,0x13000,0x2000) > returns 1135 (0x46f) > syscall close(3) > returns 0 (0x0) > syscall madvise(0x13000,0x2000,0x5) > returns 0 (0x0) > syscall socket(0x2,0x2,0x0) > returns 3 (0x3) > syscall bind(0x3,0xefbfda94,0x10) > returns 0 (0x0) > syscall fcntl(0x3,0x4,0x4) > returns 0 (0x0) > syscall sigaction(0xe,0xefbfda78,0x0) > returns 0 (0x0) > syscall setitimer(0x0,0xefbfda94,0x0) > returns 0 (0x0) > syscall setpriority(0x0,0x0,0xfffffff4) > returns 0 (0x0) > SIGNAL 14 > SIGNAL 14 > SIGNAL 14 > syscall select(0x4,0xefbfdac0,0x0,0x0,0x0) > errno 4 'Interrupted system call' > syscall sigreturn(0xefbfda40) > errno 4 'Interrupted system call' > syscall gettimeofday(0xefbfda28,0x0) > returns 0 (0x0) > syscall sendto(0x3,0xefbfda50,0x30,0x0,0x13000,0x10) > returns 48 (0x30) > syscall select(0x4,0xefbfdac0,0x0,0x0,0x0) > returns 1 (0x1) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 1 (0x1) > syscall gettimeofday(0xefbfd990,0x0) > returns 0 (0x0) > syscall recvfrom(0x3,0x1449c,0x44,0x0,0x14474,0xefbfd9ac) > returns 48 (0x30) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 0 (0x0) > syscall gettimeofday(0xefbfd9d8,0x0) > returns 0 (0x0) > syscall sendto(0x3,0xefbfda00,0x30,0x0,0x13000,0x10) > returns 48 (0x30) > syscall select(0x4,0xefbfdac0,0x0,0x0,0x0) > returns 1 (0x1) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 1 (0x1) > syscall gettimeofday(0xefbfd990,0x0) > returns 0 (0x0) > syscall recvfrom(0x3,0x1449c,0x44,0x0,0x14474,0xefbfd9ac) > returns 48 (0x30) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 0 (0x0) > syscall gettimeofday(0xefbfd9d8,0x0) > returns 0 (0x0) > syscall sendto(0x3,0xefbfda00,0x30,0x0,0x13000,0x10) > returns 48 (0x30) > syscall select(0x4,0xefbfdac0,0x0,0x0,0x0) > returns 1 (0x1) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 1 (0x1) > syscall gettimeofday(0xefbfd990,0x0) > returns 0 (0x0) > syscall recvfrom(0x3,0x1449c,0x44,0x0,0x14474,0xefbfd9ac) > returns 48 (0x30) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 1 (0x1) > syscall gettimeofday(0xefbfd990,0x0) > returns 0 (0x0) > syscall recvfrom(0x3,0x1426c,0x44,0x0,0x14244,0xefbfd9ac) > returns 48 (0x30) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 0 (0x0) > syscall gettimeofday(0xefbfd9d8,0x0) > returns 0 (0x0) > syscall sendto(0x3,0xefbfda00,0x30,0x0,0x13000,0x10) > returns 48 (0x30) > syscall select(0x4,0xefbfdac0,0x0,0x0,0x0) > returns 1 (0x1) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 1 (0x1) > syscall gettimeofday(0xefbfd990,0x0) > returns 0 (0x0) > syscall recvfrom(0x3,0x1449c,0x44,0x0,0x14474,0xefbfd9ac) > returns 48 (0x30) > syscall select(0x4,0xefbfda24,0x0,0x0,0xefbfda1c) > returns 0 (0x0) > syscall gettimeofday(0xefbfda74,0x0) > returns 0 (0x0) > syscall settimeofday(0xefbfda74,0x0) > errno 1 'Operation not permitted' > syscall gettimeofday(0xefbfcddc,0x0) > returns 0 (0x0) > syscall break(0x16000) > returns 0 (0x0) > syscall access(0x2005b3bb,0x4) > returns 0 (0x0) > syscall open("/etc/localtime",0,04002130140) > returns 4 (0x4) > syscall fstat(4,0xefbfcd24) > returns 0 (0x0) > syscall read(0x4,0xefbfaa18,0x1f08) > returns 1000 (0x3e8) > syscall close(4) > returns 0 (0x0) > syscall madvise(0x15000,0x1000,0x5) > returns 0 (0x0) > syscall socket(0x1,0x2,0x0) > returns 4 (0x4) > syscall fcntl(0x4,0x2,0x1) > returns 0 (0x0) > syscall connect(0x4,0xefbfcd64,0x6a) > returns 0 (0x0) > syscall sendto(Oct 9 12:54:57 rip last message repeated 2 times > 0x4,0xefbfd240Oct 9 12:58:19 rip ntpdate: Can't set time of day: Operation n ot permitted > ,0x4b,0x0,0x0,0x0) > returns 75 (0x4b) > syscall exit(0x0) > process exit, rval = 0 > -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNh5stzeRhT8JRySpAQEVfQP+KW+RbABJPy15Jq26EOeqxRo5/bKVdVOW 29ko9L4bhA6Eeo+eX1Xd77ZNI+G2nSJ2l7Cr1EHA1IQZM0/77qlIe0htRKK9eqgN LpYfS0pWCiRrgyH4TCTDodclJcWhb4mpkMO4L7oTNcmYnsyNjCxvwE23Wdl65J+L G4VOS1qn/08= =zBzE -----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 Fri Oct 9 13:39:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14642 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 13:39:31 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from m13.boston.juno.com (m13.boston.juno.com [205.231.100.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14617; Fri, 9 Oct 1998 13:39:15 -0700 (PDT) (envelope-from needinfo@juno.com) Received: (from needinfo@juno.com) by m13.boston.juno.com (queuemail) id DQ56F75P; Fri, 09 Oct 1998 16:38:44 EDT To: FreeBsD-Hackers@FreeBSD.ORG Cc: freebsd-hackers@FreeBSD.ORG Subject: WHAT IS NEEDED FOR AND BY BSD? Message-ID: <19981009.163401.7495.2.needinfo@juno.com> X-Mailer: Juno 1.38 X-Juno-Line-Breaks: 0-13 From: needinfo@juno.com (ed mill) Date: Fri, 09 Oct 1998 16:38:44 EDT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG HELLO, WE WOULD LIKE TO KNOW VARIOUS ANSWERS TO THESE QUESTIONS. WHAT IS NEEDED BY BSD? BSD NEEDS WHAT? BASED ON YOUR TERMS AND VIEW POINT. YOUR ANSWERS WILL ANSWER OUR QUESTIONS OF: HOW DO WE HELP? HOW DO WE GET STARTED? WHERE DO WE START? THANK YOU. ___________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com or call Juno at (800) 654-JUNO [654-5866] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 14:03:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA19567 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 14:03:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA19514 for ; Fri, 9 Oct 1998 14:03:23 -0700 (PDT) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id RAA27745; Fri, 9 Oct 1998 17:03:13 -0400 (EDT) Message-ID: <19981009170312.A25247@netmonger.net> Date: Fri, 9 Oct 1998 17:03:12 -0400 From: Christopher Masto To: hackers@FreeBSD.ORG Subject: Re: RMS on UDI References: <199810051613.JAA03441@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810051613.JAA03441@dingo.cdrom.com>; from Mike Smith on Mon, Oct 05, 1998 at 09:13:29AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Oct 05, 1998 at 09:13:29AM -0700, Mike Smith wrote: > > Here's RMS and his own personal brand of FUD again, this time coming up > with good reasons why UDI will make us all a cargo cult. Actually, he > doesn't talk about us at all, just those G-cattle. > > http://slashdot.org/articles/98/10/04/2211242.shtml Actually a very reasonable argument, consistent with RMS' stated philosophy and values, and incorporating several suggested courses of action to help the free software community. -- Christopher Masto Director of Operations S NetMonger Communications chris@netmonger.net info@netmonger.net SSS http://www.netmonger.net \_/ Microsoft is trying to sell us crack, and the first taste is free. But what's it going to mean when we're addicted to this? - LEIF QUAKEMAN, The Netly News To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 14:35:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25487 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 14:35:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA25472 for ; Fri, 9 Oct 1998 14:35:03 -0700 (PDT) (envelope-from shmit@natasya.noc.erols.net) Received: from natasya.noc.erols.net (natasya.noc.erols.net [207.172.25.236]) by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id RAA16069 for ; Fri, 9 Oct 1998 17:34:54 -0400 (EDT) Received: (from shmit@localhost) by natasya.noc.erols.net (8.9.1/8.9.1) id RAA26086 for hackers@freebsd.org; Fri, 9 Oct 1998 17:34:54 -0400 (EDT) Message-ID: <19981009173454.Q529@kublai.com> Date: Fri, 9 Oct 1998 17:34:54 -0400 From: Brian Cully To: hackers@FreeBSD.ORG Subject: ELF object file aggregation Reply-To: shmit@kublai.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i X-Sender: If your mailer pays attention to this, it's broken. X-PGP-Info: finger shmit@kublai.com for my public key. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm working on a project that requires the functionality of dlopen() and friends, but I want to link it statically. I was thinking that I could do this by munging together various ELF files at run-time and scarfing symbols (the way kldload does things, if I'm not mistaken). I'm at a loss as to how to proceed, though. Is there some kind of interface for this, or am I going to have to hack it together myself? -- Brian Cully They Might Be Giant's Dial-a-Song service: (718) 387-6962. ``Free when you call from work!'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 15:37:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09083 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 15:37:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Loki.orland.u91.k12.me.us (Loki.orland.u91.k12.me.us [169.244.111.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09043 for ; Fri, 9 Oct 1998 15:37:18 -0700 (PDT) (envelope-from netmonger@genesis.ispace.com) Received: from Celeris (56k-port4018.ime.net [209.90.195.28]) by Loki.orland.u91.k12.me.us (8.9.1/8.8.8-Loki) with SMTP id SAA06020; Fri, 9 Oct 1998 18:36:46 -0400 (EDT) (envelope-from netmonger@genesis.ispace.com) X-Server-ID: Loki.orland.u91.k12.me.us, OCSNet - Orland Maine USA X-Coord-Name: Drew "Droobie" Baxter, OneNetwork Exchange X-Coord-Addr: Droobie@Openlink.orland.me.us X-Coord-Pager: USA: 207-471-2719, http://pagedroo.orland.me.us Message-Id: <4.1.0.67.19981009183317.00a5dd40@genesis.ispace.com> X-Sender: netmonger@genesis.ispace.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1.0.67 (Beta) Date: Fri, 09 Oct 1998 18:34:13 -0400 To: erich@compecon.com, kuku@gilberto.physik.RWTH-Aachen.DE, freebsd-hackers@FreeBSD.ORG From: Drew Baxter Subject: Re: 2.2.7 install impertinently overwrites boot In-Reply-To: <361E69C7.E80D8F20@peregrine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Last version of 3.0-Current I did doesn't do it. I'd think they'd use the same installer for both, but who knows. Bottom line is, I'd just install 3.0-BETA (Release comes out on the 15th I think), and call it good enough ;-) At 12:53 PM 10/9/98 -0700, Eric Hedstrom wrote: >Christoph Kukulies wrote: > >>I installed 2.2.7 on my notebook from a floppy/DOS partition. >>I explicitly hit the space bar so that the [*] appeared in the >>selection 'leave bootsector untouched' and the damned beast >>overwrote my bootinst multiboot which was already sitting there. > >Guess what? This just happened to me on Wednesday using a 2.2.6-RELEASE >boot disk to do a net install of 2.2.7-RELEASE from ftp.freebsd.org, too. > >For what it's worth. > >Eric Hedstrom >erich@compecon.com > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message --- Drew "Droobie" Baxter Network Admin/Professional Computer Nerd(TM) OneEX: The OneNetwork Exchange 207-942-0275 http://www.droo.orland.me.us To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 16:02:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13785 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 16:02:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail-out1.apple.com (mail-out1.apple.com [17.254.0.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13780 for ; Fri, 9 Oct 1998 16:02:48 -0700 (PDT) (envelope-from wsanchez@scv1.apple.com) Received: from mailgate.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out1.apple.com (8.8.5/8.8.5) with ESMTP id PAA37120 for ; Fri, 9 Oct 1998 15:50:10 -0700 Received: from scv1.apple.com (scv1.apple.com) by mailgate.apple.com (mailgate.apple.com - SMTPRS 2.0.15) with ESMTP id ; Fri, 09 Oct 1998 15:49:56 -0700 Received: from joliet-jake (joliet-jake.apple.com [17.202.40.140]) by scv1.apple.com (8.8.5/8.8.5) with SMTP id PAA47338; Fri, 9 Oct 1998 15:49:56 -0700 Message-Id: <199810092249.PAA47338@scv1.apple.com> To: hackers@FreeBSD.ORG, developers@netbsd.org Subject: Help Wanted: File System Guru (Job@Apple) Date: Fri, 9 Oct 1998 15:49:55 -0700 From: Wilfredo Sanchez Reply-To: wsanchez@apple.com Received: by Apple.Mailer (2.95.2) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We have an open requisition for a file system engineer at Apple, and I though some of you may be interested so attached is the description. BSD experience, of course, is a plus, since our kernel is Mach+BSD, and the VFS layer should be familiar to BSD hackers. If you know about UDF, you rock. Yes, this requires you to be in the Cupertino (Silicon Valley). I don't think we're looking for a long-distance deal. And you may find it a good opportunity to keep contributing to the BSD efforts. (I, for example am in the middle of integrating a year's worth of Apple's bug fixes in the BSD commands with NetBSD.) The file systems manager is a good guy to work for. Lemme know if you are interested. -Fred wsanchez@apple.com --- Seeking experienced software engineer to contribute to Apple's next-generation File Manager design and implementation. Work will involve adding support for additional volume formats, updating existing filesystem code, and providing api translation services to support common api's on various volume formats. Work may also include providing multiprocessor support. Candidates should possess detailed knowledge of file system issues in the areas of performance, concurrency, reliability, and scaleability. In addition to candidates should be up-to-date on general OS principals in the areas of memory management, reentrancy, preemption, dynamic configuration management, bootstrapping, etc. Experience with the C programming language is required. Experience with UNIX or MacOS file systems is a major plus. A strong track record in delivering competitive, innovative products is also required. A successful candidate will be highly motivated, comfortable in a loosely structured organization, and be capable of working on a number of assignments in parallel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 16:20:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16903 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 16:20:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles329.castles.com [208.214.167.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16820 for ; Fri, 9 Oct 1998 16:19:55 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id QAA01510; Fri, 9 Oct 1998 16:24:31 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810092324.QAA01510@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Christopher Masto cc: hackers@FreeBSD.ORG Subject: Re: RMS on UDI In-reply-to: Your message of "Fri, 09 Oct 1998 17:03:12 EDT." <19981009170312.A25247@netmonger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 09 Oct 1998 16:24:30 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Mon, Oct 05, 1998 at 09:13:29AM -0700, Mike Smith wrote: > > > > Here's RMS and his own personal brand of FUD again, this time coming up > > with good reasons why UDI will make us all a cargo cult. Actually, he > > doesn't talk about us at all, just those G-cattle. > > > > http://slashdot.org/articles/98/10/04/2211242.shtml > > Actually a very reasonable argument, consistent with RMS' stated > philosophy and values, and incorporating several suggested courses of > action to help the free software community. I guess it might sound reasonable to someone unfamiliar with the situation. Suffice to say that his arguments are based neither on truth nor reasonable suspicion. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 16:21:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA17227 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 16:21:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles329.castles.com [208.214.167.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA17208 for ; Fri, 9 Oct 1998 16:21:36 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id QAA01533; Fri, 9 Oct 1998 16:26:28 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810092326.QAA01533@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: shmit@kublai.com cc: hackers@FreeBSD.ORG Subject: Re: ELF object file aggregation In-reply-to: Your message of "Fri, 09 Oct 1998 17:34:54 EDT." <19981009173454.Q529@kublai.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 09 Oct 1998 16:26:27 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm working on a project that requires the functionality of dlopen() > and friends, but I want to link it statically. I was thinking that > I could do this by munging together various ELF files at run-time > and scarfing symbols (the way kldload does things, if I'm not > mistaken). Do you want it to be statically linked, or do you want it to not have external shared library dependancies? There's a big difference. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 16:43:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21767 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 16:43:55 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from aus-b.mp.campus.mci.net (aus-b.mp.campus.mci.net [208.140.84.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA21680 for ; Fri, 9 Oct 1998 16:43:18 -0700 (PDT) (envelope-from mwfunk@uncc.campus.mci.net) Received: from s16-pm50.snaustel.campus.mci.net (s16-pm50.snaustel.campus.mci.net [206.96.232.69]) by aus-b.mp.campus.mci.net (8.9.0/8.8.8) with SMTP id TAA02723 for ; Fri, 9 Oct 1998 19:36:50 -0400 (EDT) Date: Fri, 9 Oct 1998 19:42:52 +0000 (GMT) From: Michael Funk X-Sender: mwfunk@foo.bar.com Reply-To: mwfunk@uncc.campus.mci.net To: hackers@FreeBSD.ORG Subject: Re: RMS on UDI In-Reply-To: <19981009170312.A25247@netmonger.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Actually a very reasonable argument, > consistent with RMS' stated philosophy Many would argue that these two things are mutually exclusive... :) Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 17:19:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28158 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 17:19:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28151 for ; Fri, 9 Oct 1998 17:19:42 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id RAA05327 for ; Fri, 9 Oct 1998 17:19:34 -0700 (PDT) (envelope-from jdp) Message-Id: <199810100019.RAA05327@austin.polstra.com> To: hackers@FreeBSD.ORG Subject: Re: WHAT IS NEEDED FOR AND BY BSD? In-Reply-To: <19981009.163401.7495.2.needinfo@juno.com> References: <19981009.163401.7495.2.needinfo@juno.com> Organization: Polstra & Co., Seattle, WA Date: Fri, 09 Oct 1998 17:19:34 -0700 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > HELLO, > > WE WOULD LIKE TO KNOW VARIOUS ANSWERS TO THESE QUESTIONS. > > WHAT IS NEEDED BY BSD? BSD NEEDS WHAT? > > BASED ON YOUR TERMS AND VIEW POINT. > > YOUR ANSWERS WILL ANSWER OUR QUESTIONS OF: > HOW DO WE HELP? > HOW DO WE GET STARTED? > WHERE DO WE START? > > THANK YOU. WELL, OUR FIRST PRIORITY IS TO GET AHOLD OF SOME FONTS THAT HAVE LOWER CASE LETTERS IN THEM. THANK YOU. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 23:43:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25787 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 23:43:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from k6n1.znh.org (dialup4.gaffaneys.com [208.155.161.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA25769 for ; Fri, 9 Oct 1998 23:43:43 -0700 (PDT) (envelope-from zach@gaffaneys.com) Received: (from zach@localhost) by k6n1.znh.org (8.9.1/8.9.1) id GAA12745; Sat, 10 Oct 1998 06:43:25 GMT (envelope-from zach) Message-ID: <19981010014325.B12383@znh.org> Date: Sat, 10 Oct 1998 01:43:25 -0500 From: Zach Heilig To: Studded , Mike Smith Cc: Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810090046.RAA01827@dingo.cdrom.com> <361D6C89.F76B1755@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.93.2i In-Reply-To: <361D6C89.F76B1755@gorean.org>; from Studded on Thu, Oct 08, 1998 at 06:53:13PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 08, 1998 at 06:53:13PM -0700, Studded wrote: > The culprit would seem to be one or more of: > char tempMail[24]; > char tempQuit[24]; > char tempEdit[24]; > char tempResid[24]; > char tempMesg[24]; > > from temp.c, however in my testing I couldn't figure out which one. > Also, to make matters more exciting I have TMPDIR set to > /home/my16charusername/.temporary_dir. The TMPDIR variable is referenced > in the same part of the code in temp.c. > > Hoping we're narrowing this down, All of them are the culprit: space used: 37: strlen("/home/my16charusername/.temporary_dir") + 8: strlen("RsXXXXXX") + 1: trailing nul 46 space available: 24 46 characters is far far too big for a 24 character buffer. -- Zach Heilig If it looks like a duck, and quacks like a duck, we have to at least consider the possibility that we have a small aquatic bird of the family Anatidæ on our hands (Douglas Adams -- Dirk Gently's Holistic Detective Agency) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Oct 9 23:57:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA27619 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 23:57:45 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from k6n1.znh.org (dialup4.gaffaneys.com [208.155.161.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA27614 for ; Fri, 9 Oct 1998 23:57:43 -0700 (PDT) (envelope-from zach@gaffaneys.com) Received: (from zach@localhost) by k6n1.znh.org (8.9.1/8.9.1) id GAA12787; Sat, 10 Oct 1998 06:57:29 GMT (envelope-from zach) Message-ID: <19981010015729.C12383@znh.org> Date: Sat, 10 Oct 1998 01:57:29 -0500 From: Zach Heilig To: Terry Lambert , Mike Smith Cc: Studded@dal.net, archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810082253.PAA01197@dingo.cdrom.com> <199810082314.QAA22401@usr06.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.93.2i In-Reply-To: <199810082314.QAA22401@usr06.primenet.com>; from Terry Lambert on Thu, Oct 08, 1998 at 11:14:28PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 08, 1998 at 11:14:28PM +0000, Terry Lambert wrote: > I'm open to other suggestions about why a.out works but ELF doesn't, It is buffer overflow. It's a 24 char array mixed with trying to 'strcpy' 37 characters+1 nul, then strcat'ing another 8 at the end (total of 46). Strangly enough, in elf, these 24 char arrays are at the end of the BSS segment (and they appear to be bumped to the nearest 32 byte boundary sometimes): 08059a20 B tempMesg 08059a40 B tempResid 08059a60 B tempEdit 08059a78 B tmpdir 08059a80 B tempMail 08059aa0 B tempQuit 08059ab8 A _end 08059ab8 A end -- Zach Heilig If it looks like a duck, and quacks like a duck, we have to at least consider the possibility that we have a small aquatic bird of the family Anatidæ on our hands (Douglas Adams -- Dirk Gently's Holistic Detective Agency) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 00:22:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA00263 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 00:22:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from yonge.cs.toronto.edu (yonge.cs.toronto.edu [128.100.2.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA00252 for ; Sat, 10 Oct 1998 00:22:02 -0700 (PDT) (envelope-from dholland@cs.toronto.edu) Received: from qew.cs.toronto.edu ([128.100.2.15]) by yonge.cs.toronto.edu with SMTP id <86555-11981>; Sat, 10 Oct 1998 03:21:48 -0400 Received: by qew.cs.toronto.edu id <37814-22953>; Sat, 10 Oct 1998 03:21:39 -0400 Subject: Re: mail in free(): warning: junk pointer, too high to make sense. From: David Holland To: jdp@polstra.com (John Polstra) Date: Sat, 10 Oct 1998 03:21:33 -0400 Cc: tlambert@primenet.com, hackers@FreeBSD.ORG In-Reply-To: <199810091617.JAA02042@austin.polstra.com> from "John Polstra" at Oct 9, 98 12:17:13 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <98Oct10.032139edt.37814-22953@qew.cs.toronto.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Most likely this is an ELF problem because of the "_" semantic change > > on C symbols vs. asm symbols. > > > > I'm still suspicious of the rationale for that change, but whatever... > > The rationale is no mystery. It comes directly from the ELF > specification, aka "System V Application Binary Interface," > Prentice-Hall, 1990, ISBN 0-13-877598-2, page 4-25: > > External C symbols have the same names in C, assembly code, and > object files' symbol tables. That's not a rationale, just a standard :-) (what *was* the rationale, anyway?) -- - David A. Holland | (please continue to send non-list mail to dholland@cs.utoronto.ca | dholland@hcs.harvard.edu. yes, I moved.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 01:43:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08891 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 01:43:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08886 for ; Sat, 10 Oct 1998 01:43:26 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from neipc-17.cs.strath.ac.uk (scary.dmem.strath.ac.uk [130.159.202.5]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with SMTP id JAA08930 Sat, 10 Oct 1998 09:43:14 +0100 (BST) Message-ID: <361F1F49.6E4F@cs.strath.ac.uk> Date: Sat, 10 Oct 1998 09:48:09 +0100 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 3.01 (Win95; I) MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: Contiguous memory allocation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, VM Contiguous Allocation. The bt848 driver could really do with contiguous memory allocation being available well after boot time. Currently, the driver has to allocate the memory buffer the bt848 chip copies frames into at boot time. (about 700k) It would be great if the driver could allocate this buffer at run-time. It would need to be contiguous and non-swappable. Any anyone help hack the kernel to achieve this? Cheers Roger Hardiman Strathclyde University Telepresence Research Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 02:33:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13025 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 02:33:33 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles154.castles.com [208.214.165.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13019 for ; Sat, 10 Oct 1998 02:33:30 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id CAA04559; Sat, 10 Oct 1998 02:38:01 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810100938.CAA04559@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Zach Heilig cc: Studded , Mike Smith , Archie Cobbs , FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-reply-to: Your message of "Sat, 10 Oct 1998 01:43:25 CDT." <19981010014325.B12383@znh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Sat, 10 Oct 1998 02:38:00 -0700 From: Mike Smith Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id CAA13021 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, Oct 08, 1998 at 06:53:13PM -0700, Studded wrote: > > The culprit would seem to be one or more of: > > char tempMail[24]; > > char tempQuit[24]; > > char tempEdit[24]; > > char tempResid[24]; > > char tempMesg[24]; > > > > from temp.c, however in my testing I couldn't figure out which one. > > Also, to make matters more exciting I have TMPDIR set to > > /home/my16charusername/.temporary_dir. The TMPDIR variable is referenced > > in the same part of the code in temp.c. > > > > Hoping we're narrowing this down, > > All of them are the culprit: > > space used: > 37: strlen("/home/my16charusername/.temporary_dir") > + 8: strlen("RsXXXXXX") > + 1: trailing nul > 46 > space available: > 24 > > 46 characters is far far too big for a 24 character buffer. I'd have to concur; these should all be MAXPATHLEN. When you try increasing these, you should be able to un-staticise 'msgvec' in lex.c and have it still work like it should. Thanks for tracking these down! -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 03:25:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA19026 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 03:25:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA19012 for ; Sat, 10 Oct 1998 03:24:52 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Spinner) with ESMTP id RAA15119; Sat, 10 Oct 1998 17:55:36 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199810100955.RAA15119@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Roger Hardiman cc: hackers@FreeBSD.ORG Subject: Re: Contiguous memory allocation In-reply-to: Your message of "Sat, 10 Oct 1998 09:48:09 +0100." <361F1F49.6E4F@cs.strath.ac.uk> Date: Sat, 10 Oct 1998 17:55:35 +0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Roger Hardiman wrote: > Hi all, > > VM Contiguous Allocation. > > The bt848 driver could really do with contiguous memory allocation > being available well after boot time. > > Currently, the driver has to allocate the memory buffer the > bt848 chip copies frames into at boot time. (about 700k) > > It would be great if the driver could allocate this buffer at run-time. > It would need to be contiguous and non-swappable. > > Any anyone help hack the kernel to achieve this? Have a look at some code that uses contigmalloc(). It's not particularly intuitive, but it does work. Some things that use it are busdma_machdep.c and isa.c (the isa dma code). You can request things like: Give me 16K of physically contiguous data that is aligned on a 16 byte boundary, and is entirely within the same 64K window. Of course, there are no guarantees that you will be able to get a large chunk that is physically contiguous, but you can only try. The VM system will try quite hard to make the space for your request, even if it has to swap just about everything out to disk. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 03:41:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA20532 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 03:41:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA20526 for ; Sat, 10 Oct 1998 03:41:47 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zRwSp-0006uD-00; Sat, 10 Oct 1998 04:41:31 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id EAA10555; Sat, 10 Oct 1998 04:41:10 -0600 (MDT) Message-Id: <199810101041.EAA10555@harmony.village.org> To: David Holland Subject: Re: mail in free(): warning: junk pointer, too high to make sense. Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Sat, 10 Oct 1998 03:21:33 EDT." <98Oct10.032139edt.37814-22953@qew.cs.toronto.edu> References: <98Oct10.032139edt.37814-22953@qew.cs.toronto.edu> Date: Sat, 10 Oct 1998 04:41:10 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <98Oct10.032139edt.37814-22953@qew.cs.toronto.edu> David Holland writes: : That's not a rationale, just a standard :-) : : (what *was* the rationale, anyway?) In the old world order (a.out), the compiler prepended a _ to all the symbols that the user generated to keep them from conflicting with ones that the compiler generated (which didn't have the leading _). However, this introduced a lot of hair into all those things that look at symbols that want to render them as the user entered them, rather than as the system sotred them: debuggers, etc. Also, there were still a fair number of assembler programmers writing assembler when the decision was made to go with this convention in the a.out world, and I suspect that they had arguments about being able to hide their functions from 'C' by a similar method. I also think that the assembler or loader tossed all local branch targets based on their name, which made that code really easy to write. If it starts with a L, junk it. With semantics like that, you would be effectively preventing user's from having any variables or functions starting with L... So when it came time to do ELF, times had changed. There were fewer assembly langauage programmers in the world and the compiler could more easily arrange to generate temporaries, and the assembler could more easily mark the symbols as local. And hardware had gotten faster, so it was better to make life easier for most people at the expense of the compiler/assembler/linker programs. They could now be more complex and the rather simple minded (but space efficient) way of junking local symbols could change. Warner P.S. This is more speculative than "I was there and talked to these guys," so if you were there and talked to the implementors of ELF (or if you were an implementor of ELF) please feel free to correct me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 08:13:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA15545 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 08:13:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA15540 for ; Sat, 10 Oct 1998 08:13:04 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id OAA16631; Sat, 10 Oct 1998 14:13:14 +0100 From: Luigi Rizzo Message-Id: <199810101313.OAA16631@labinfo.iet.unipi.it> Subject: how fast are "fast" CDROM drives ? To: hackers@FreeBSD.ORG Date: Sat, 10 Oct 1998 14:13:13 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well it seems that everybody here is crazy to upgrade their CDROM drives to the fastest unit they can get, but i wonder if it makes any sense... I got a 32x ATAPI unit one month ago and there is no way (under -stable) i can get more than 2.2MB/s by dd'ing from the disk. Considering i get 5-6MB/s from a raw IDE disk (and from iozone with large files) on the same machine, i don't think the limiting factor is CPU or the OS. I wonder if anybody is able to exploit the speed of their 24/32/40x IDE or SCSI drives cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 08:20:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16175 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 08:20:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA16146; Sat, 10 Oct 1998 08:20:17 -0700 (PDT) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id LAA05659; Sat, 10 Oct 1998 11:25:26 -0400 From: Bill Paul Message-Id: <199810101525.LAA05659@skynet.ctr.columbia.edu> Subject: Call for testers for PNIC ethernet driver To: hackers@FreeBSD.ORG, hardware@FreeBSD.ORG Date: Sat, 10 Oct 1998 11:25:25 -0400 (EDT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know I'm going to regret this, but: this is a call for testers for a preliminary driver for PNIC-based ethernet adapters. This includes the latest LinkSys LNE100TX 10/100 adapters, certain newer NetGear cards, and others. The LinkSys cards have the chip marked with the part number 82c168 or 82c169. I know I said I was going to do a driver for the Winbond fast ethernet chip next, but I haven't found a vendor for a board yet. Incidentally, if anyone knows where to order a board with a Winbond W89C840F chip, please let me know. (That's 840, not 940; the 940 is 10Mbps only and is an NE2000 clone.) Note: my two usual test machines were shipped to Berlin for a demo at a conference by some of the lab crew. This left me with just the one SMP box and no neigboring machine with which to do decent speed tests. (I usually hook the card up to another working system with a crossover cable and stuff it full of traffic to see what happens.) All I can say for now is that the driver is stable enough that I left it in the test box overnight as the primary interface and it hasn't fallen over. I have not been able to pound on it to really evaluate performance, nor have I tested it at all speeds and modes, however it should autonegotiate all modes correctly (right now it's linked to a switch at 100Mbps/full-duplex). Yes, this is a separate driver, not a patch to the de driver. The de driver scares me. Also, the de driver uses a fixed size ring buffer descriptor layout, whereas I'm partial to using linked lists. This actually proved to be a bit of a problem as I encountered some unusual behavior with the PNIC. With my linked list strategy, it's necessary to reload the chip's transmit list base pointer register (if the chip hits the end of a list, you want to give it a new one). However after several hours of hammering on it, I could not find a way to properly update the chip's pointer after it had been loaded the first time. Even after shutting the transmitter off, updating the register, and observing that its contents had changed, the chip would refuse to transmit from the newly loaded list. (Instead, it would yield 'no tx buffer available' errors). The only way to really clear the pointer is to do a soft reset of the chip, but that trashes the rest of the chip state. My solution to this was to allocate one extra descriptor (called the kludge descriptor) and tack it on the end of each list with the 'own' bit cleared. This would cause the chip to go idle when it hit the end of the current list with its pointer set to the address of the kludge descriptor, which I could then update to point to anther arbitrarily located list. It means loading an extra descriptor into the chip for each frame, which sucks, but which hopefully won't impact performace that much. Also, the PNIC chip apparently has an internal transceiver which can be used instead of an external PHY, however the LinkSys card that I have uses an external PHY chip so that's what the driver supports. I get the feeling that most of the PNIC-based cards use an external PHY anyway. The driver source code can be obtained from the following locations: http://www.freebsd.org/~wpaul/PNIC/3.0 source for FreeBSD 3.0 http://www.freebsd.org/~wpaul/PNIC/2.2 source for FreeBSD 2.2.x To add the driver to an existing system, do the following: - Download if_pn.c and if_pnreg.h for your system and copy them to /sys/pci. - Edit /sys/conf/files and add a line that says: pci/if_pn.c optional pn device-driver - Edit your kernel config file (e.g. /sys/i386/conf/GENERIC) and add a line that says: device pn0 - Config and compile a new kernel and boot it. Please report successes or failures to wpaul@skynet.ctr.columbia.edu. Bear in mind that I can't really do proper tests at 100Mbps until my two test machines get back from Berlin; if you do have problems, give detailed descriptions. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 09:22:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA23462 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 09:22:38 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA23445; Sat, 10 Oct 1998 09:22:31 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys (dbsys.etinc.com [207.252.1.18]) by etinc.com (8.8.8/8.6.9) with SMTP id MAA10700; Sat, 10 Oct 1998 12:23:15 GMT Message-Id: <199810101223.MAA10700@etinc.com> X-Sender: dennis@etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Sat, 10 Oct 1998 12:34:44 -0400 To: vanmaren@fast.cs.utah.edu (Kevin Van Maren), didier@omnix.net From: Dennis Subject: Re: network board with several 10baseT (fwd) Cc: hackers@FreeBSD.ORG, isp@FreeBSD.ORG In-Reply-To: <199810082003.OAA15474@fast.cs.utah.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can anyone shed some light as to which of these boards below is working well in 2.2.7 and v3.0? Im a little wary of using the if_de driver. Is anyone using the phobos stuff? Dennis At 02:03 PM 10/8/98 -0600, Kevin Van Maren wrote: >> Is tehre any working network board with several lan interfaces on the same >> board > >There are several. Phobos (www.phobos.com) makes a 4-port 10/100 >card that has a "beta" driver available for 2.2.X and 3.0. >Send email to Alison_Dodds@phobos.com about this. It has driver >support for NT, Netware, Solaris, Linux, and FreeBSD, Irix, and HPUX. >Under some OSes, it supports "trunking", or link aggregation (with >the right switch). FreeBSD trunking support is planned, which is >more than anyone can say about the other cards. > >Adaptec makes a 4-port card (6944/A) that is supported. Znyx >also makes one that *I believe* works -- both those use the DEC >21140 chip and the if_de driver. All three retail for around >$695 (actual cost is $500-$550, or a little less for the Phobos card). > >Intel makes a 2-port card (costs as much as 3 single-port intel cards, >at around $250) that *should* work w/o any problems with the if_fxp >driver. > >All these are 10/100TX cards; all the multi-port 10Mbps-only cards >have been discontinued. > >Kevin > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 09:41:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA26614 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 09:41:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA26576 for ; Sat, 10 Oct 1998 09:41:11 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id JAA15044; Sat, 10 Oct 1998 09:40:53 -0700 (PDT) (envelope-from jdp) Message-Id: <199810101640.JAA15044@austin.polstra.com> To: David Holland cc: hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-reply-to: Your message of "Sat, 10 Oct 1998 03:21:33 EDT." <98Oct10.032139edt.37814-22953@qew.cs.toronto.edu> Date: Sat, 10 Oct 1998 09:40:53 -0700 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > The rationale is no mystery. It comes directly from the ELF > > specification, aka "System V Application Binary Interface," > > Prentice-Hall, 1990, ISBN 0-13-877598-2, page 4-25: > > > > External C symbols have the same names in C, assembly code, and > > object files' symbol tables. > > That's not a rationale, just a standard :-) :-) > (what *was* the rationale, anyway?) I wasn't privy to their thinking process, but one advantage is that it makes dlsym() a lot less confusing. You don't have to decide whether to pass in the assembly language name or the C name, because they're the same. But a better question might be: what was the rationale for adding those leading underscores in the first place? The answer is that the PDP-11 assembler used names like "r0" for its registers. Without the leading underscore, a C variable "r0" would have collided with the register name. In order to get rid of the underscores for SVR4, they had to give the registers names that were illegal in C (like "%eax"). John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 09:56:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28593 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 09:56:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Gatekeeper.Alameda.net (gatekeeper.Alameda.net [207.90.181.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28588; Sat, 10 Oct 1998 09:56:25 -0700 (PDT) (envelope-from ulf@Gatekeeper.Alameda.net) Received: by Gatekeeper.Alameda.net (8.8.8/8.8.6) id JAA27977; Sat, 10 Oct 1998 09:55:36 -0700 (PDT) Message-ID: <19981010095536.C27093@Alameda.net> Date: Sat, 10 Oct 1998 09:55:36 -0700 From: Ulf Zimmermann To: Dennis , Kevin Van Maren , didier@omnix.net Cc: hackers@FreeBSD.ORG, isp@FreeBSD.ORG Subject: Re: network board with several 10baseT (fwd) Reply-To: ulf@Alameda.net References: <199810082003.OAA15474@fast.cs.utah.edu> <199810101223.MAA10700@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810101223.MAA10700@etinc.com>; from Dennis on Sat, Oct 10, 1998 at 12:34:44PM -0400 Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 2.2.6-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Oct 10, 1998 at 12:34:44PM -0400, Dennis wrote: > Can anyone shed some light as to which of these boards below is > working well in 2.2.7 and v3.0? Im a little wary of using the if_de driver. > Is anyone using the phobos stuff? I have use a ZNYX 314 with the de driver under 2.2.x, either with the included driver or with the de driver downloaded from Matt Thomas (for 2.2.2 I think I used it) > > Dennis > > At 02:03 PM 10/8/98 -0600, Kevin Van Maren wrote: > >> Is tehre any working network board with several lan interfaces on the same > >> board > > > >There are several. Phobos (www.phobos.com) makes a 4-port 10/100 > >card that has a "beta" driver available for 2.2.X and 3.0. > >Send email to Alison_Dodds@phobos.com about this. It has driver > >support for NT, Netware, Solaris, Linux, and FreeBSD, Irix, and HPUX. > >Under some OSes, it supports "trunking", or link aggregation (with > >the right switch). FreeBSD trunking support is planned, which is > >more than anyone can say about the other cards. > > > >Adaptec makes a 4-port card (6944/A) that is supported. Znyx > >also makes one that *I believe* works -- both those use the DEC > >21140 chip and the if_de driver. All three retail for around > >$695 (actual cost is $500-$550, or a little less for the Phobos card). > > > >Intel makes a 2-port card (costs as much as 3 single-port intel cards, > >at around $250) that *should* work w/o any problems with the if_fxp > >driver. > > > >All these are 10/100TX cards; all the multi-port 10Mbps-only cards > >have been discontinued. > > > >Kevin > > > >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 -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 10:06:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00455 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 10:06:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00434; Sat, 10 Oct 1998 10:06:21 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from bergelmir.ifi.uio.no (2602@bergelmir.ifi.uio.no [129.240.65.172]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id TAA10441; Sat, 10 Oct 1998 19:05:57 +0200 (MET DST) Received: (from dag-erli@localhost) by bergelmir.ifi.uio.no ; Sat, 10 Oct 1998 19:05:57 +0200 (MET DST) Mime-Version: 1.0 To: Dennis Cc: vanmaren@fast.cs.utah.edu (Kevin Van Maren), didier@omnix.net, hackers@FreeBSD.ORG, isp@FreeBSD.ORG Subject: Re: network board with several 10baseT (fwd) References: <199810101223.MAA10700@etinc.com> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 10 Oct 1998 19:05:56 +0200 In-Reply-To: Dennis's message of "Sat, 10 Oct 1998 12:34:44 -0400" Message-ID: Lines: 9 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id KAA00437 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dennis writes: > Can anyone shed some light as to which of these boards below is > working well in 2.2.7 and v3.0? Im a little wary of using the if_de driver. Why? DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 10:26:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02770 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 10:26:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shrimp.dataplex.net (shrimp.dataplex.net [208.2.87.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02756; Sat, 10 Oct 1998 10:26:25 -0700 (PDT) (envelope-from rkw@Dataplex.NET) Received: from [208.2.87.5] (user5.dataplex.net [208.2.87.5]) by shrimp.dataplex.net (8.9.1/8.9.1) with ESMTP id MAA03922; Sat, 10 Oct 1998 12:47:12 -0500 (CDT) (envelope-from rkw@dataplex.net) X-Sender: rkw@mail.dataplex.net Message-Id: In-Reply-To: <199810101525.LAA05659@skynet.ctr.columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 10 Oct 1998 12:24:18 -0500 To: Bill Paul From: Richard Wackerbarth Subject: Re: Call for testers for PNIC ethernet driver Cc: hackers@FreeBSD.ORG, hardware@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 10:25 AM -0500 10/10/98, Bill Paul wrote: >I know I'm going to regret this, but: this is a call for testers for a >preliminary driver for PNIC-based ethernet adapters. I'll give it a try. >However after several hours of hammering on it, I could not find a >way to properly update the chip's pointer after it had been loaded >the first time. Even after shutting the transmitter off, updating the >register, and observing that its contents had changed, the chip would >refuse to transmit from the newly loaded list. (Instead, it would yield >'no tx buffer available' errors). The only way to really clear the >pointer is to do a soft reset of the chip, but that trashes the rest of >the chip state. > >My solution to this was to allocate one extra descriptor (called >the kludge descriptor) and tack it on the end of each list with >the 'own' bit cleared. This would cause the chip to go idle when >it hit the end of the current list with its pointer set to the >address of the kludge descriptor, which I could then update to >point to anther arbitrarily located list. It means loading an >extra descriptor into the chip for each frame, which sucks, but >which hopefully won't impact performace that much. Sounds like the 1394 driver that I wrote last year. I was able to do a slight variation on your theme. I had a single kludge descriptor per DMA channel. When I was ready to queue a new batch of output, I set the last link of the batch chain to point to the kludge. I then went back and changed the link of the (remembered) previous chain to point to the head of my addition. There was the usual race condition. If the hardware "won", it jumped off to the kludge and gave its halt interrupt. If "I" won, the hardware saw the list as if it had always been a single chain and never knew that the kludge block had been at its earlier location. In my case, I was able to keep the channel busy most of the time and rarely took the extra hit. Richard Wackerbarth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 10:41:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA05643 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 10:41:04 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA05620; Sat, 10 Oct 1998 10:40:45 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys (dbsys.etinc.com [207.252.1.18]) by etinc.com (8.8.8/8.6.9) with SMTP id NAA10900; Sat, 10 Oct 1998 13:40:43 GMT Message-Id: <199810101340.NAA10900@etinc.com> X-Sender: dennis@etinc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Sat, 10 Oct 1998 13:52:11 -0400 To: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) From: Dennis Subject: Re: network board with several 10baseT (fwd) Cc: vanmaren@fast.cs.utah.edu (Kevin Van Maren), didier@omnix.net, hackers@FreeBSD.ORG, isp@FreeBSD.ORG In-Reply-To: References: <199810101223.MAA10700@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id KAA05625 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 07:05 PM 10/10/98 +0200, Dag-Erling C. Smørgrav wrote: >Dennis writes: >> Can anyone shed some light as to which of these boards below is >> working well in 2.2.7 and v3.0? Im a little wary of using the if_de driver. > >Why? Because the FreeBSD team doesnt support it and you have to get patched from Matt every time you upgrade the os, and its a pain to build systems if you have to add the patches all the time. Dennis > >DES >-- >Dag-Erling Smørgrav - dag-erli@ifi.uio.no > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 10:53:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA07305 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 10:53:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bandicoot.prth.tensor.pgs.com (bandicoot.prth.tensor.pgs.com [157.147.224.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA07294; Sat, 10 Oct 1998 10:53:12 -0700 (PDT) (envelope-from shocking@ariadne.prth.tensor.pgs.com) Received: from ariadne.tensor.pgs.com (ariadne [157.147.227.36]) by bandicoot.prth.tensor.pgs.com (8.8.8/8.8.8) with SMTP id BAA12272; Sun, 11 Oct 1998 01:52:59 +0800 (WST) Received: from ariadne by ariadne.tensor.pgs.com (SMI-8.6/SMI-SVR4) id BAA10216; Sun, 11 Oct 1998 01:52:59 +0800 Message-Id: <199810101752.BAA10216@ariadne.tensor.pgs.com> X-Mailer: exmh version 2.0.2 2/24/98 To: hackers@FreeBSD.ORG, current@FreeBSD.ORG Subject: Any chance of a dynamically linked jdk-1.1.6 (a.out version) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Oct 1998 01:52:58 +0800 From: Stephen Hocking-Senior Programmer PGS Tensor Perth Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Because libawt.so is demanding to have xmDrawingAreaWidgetClass, which hasn't been staically linked with the rest of the Motif library, would be possible to either a) get this function linked in or b) have a version with the Motif stuff dynamically linked in. Stephen -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 11:51:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA14513 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 11:51:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gjp.erols.com (alex-va-n008c079.moon.jic.com [206.156.18.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA14483; Sat, 10 Oct 1998 11:51:12 -0700 (PDT) (envelope-from gjp@gjp.erols.com) Received: from gjp.erols.com (gjp@localhost.erols.com [127.0.0.1]) by gjp.erols.com (8.8.8/8.8.7) with ESMTP id OAA18525; Sat, 10 Oct 1998 14:51:01 -0400 (EDT) (envelope-from gjp@gjp.erols.com) X-Mailer: exmh version 2.0.1 12/23/97 To: hackers@FreeBSD.ORG, isp@FreeBSD.ORG From: "Gary Palmer" Subject: Re: network board with several 10baseT (fwd) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 10 Oct 1998 14:51:00 -0400 Message-ID: <18521.908045460@gjp.erols.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Intel makes a 2-port card (costs as much as 3 single-port intel cards, > at around $250) that *should* work w/o any problems with the if_fxp > driver. Anyone ever tried one of these cards? (part no: PILA8472). I don't think they are quite the same as the Pro/100+ or Pro/100B cards that are known to be supported. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 12:07:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA16925 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 12:07:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA16908 for ; Sat, 10 Oct 1998 12:07:16 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA15034; Sat, 10 Oct 1998 12:07:06 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma015032; Sat Oct 10 12:07:03 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA09242; Sat, 10 Oct 1998 12:07:02 -0700 (PDT) From: Archie Cobbs Message-Id: <199810101907.MAA09242@bubba.whistle.com> Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-Reply-To: <199810100938.CAA04559@dingo.cdrom.com> from Mike Smith at "Oct 10, 98 02:38:00 am" To: mike@smith.net.au (Mike Smith) Date: Sat, 10 Oct 1998 12:07:02 -0700 (PDT) Cc: zach@gaffaneys.com, Studded@gorean.org, mike@smith.net.au, archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Mike Smith writes: > > > The culprit would seem to be one or more of: > > > char tempMail[24]; > > > char tempQuit[24]; > > > char tempEdit[24]; > > > char tempResid[24]; > > > char tempMesg[24]; > > I'd have to concur; these should all be MAXPATHLEN. > > When you try increasing these, you should be able to un-staticise > 'msgvec' in lex.c and have it still work like it should. And while you're at it, use snprintf() instead of strcat or whatever. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 12:41:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA21398 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 12:41:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles238.castles.com [208.214.165.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA21372; Sat, 10 Oct 1998 12:41:37 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id MAA09816; Sat, 10 Oct 1998 12:46:06 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810101946.MAA09816@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Dennis cc: vanmaren@fast.cs.utah.edu (Kevin Van Maren), didier@omnix.net, hackers@FreeBSD.ORG, isp@FreeBSD.ORG Subject: Re: network board with several 10baseT (fwd) In-reply-to: Your message of "Sat, 10 Oct 1998 12:34:44 EDT." <199810101223.MAA10700@etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 10 Oct 1998 12:46:05 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Can anyone shed some light as to which of these boards below is > working well in 2.2.7 and v3.0? Im a little wary of using the if_de driver. > Is anyone using the phobos stuff? Anyone currently using the Phobos card is under non-disclosure, so your best bet, if you have a situation where you feel you can test one of these cards, will be to contact Phobos as Kevin suggested. > Dennis > > At 02:03 PM 10/8/98 -0600, Kevin Van Maren wrote: > >> Is tehre any working network board with several lan interfaces on the same > >> board > > > >There are several. Phobos (www.phobos.com) makes a 4-port 10/100 > >card that has a "beta" driver available for 2.2.X and 3.0. > >Send email to Alison_Dodds@phobos.com about this. It has driver > >support for NT, Netware, Solaris, Linux, and FreeBSD, Irix, and HPUX. > >Under some OSes, it supports "trunking", or link aggregation (with > >the right switch). FreeBSD trunking support is planned, which is > >more than anyone can say about the other cards. > > > >Adaptec makes a 4-port card (6944/A) that is supported. Znyx > >also makes one that *I believe* works -- both those use the DEC > >21140 chip and the if_de driver. All three retail for around > >$695 (actual cost is $500-$550, or a little less for the Phobos card). > > > >Intel makes a 2-port card (costs as much as 3 single-port intel cards, > >at around $250) that *should* work w/o any problems with the if_fxp > >driver. > > > >All these are 10/100TX cards; all the multi-port 10Mbps-only cards > >have been discontinued. > > > >Kevin > > > >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 > -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 13:01:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24190 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 13:01:11 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mushi.colo.neosoft.com (mushi.colo.neosoft.com [206.109.6.82]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA24185 for ; Sat, 10 Oct 1998 13:01:09 -0700 (PDT) (envelope-from peter@taronga.com) Received: (qmail 5817 invoked from network); 10 Oct 1998 20:00:47 -0000 Received: from bonkers.neosoft.com (HELO bonkers.taronga.com) (root@206.109.2.48) by mushi.colo.neosoft.com with SMTP; 10 Oct 1998 20:00:47 -0000 Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id PAA20647; Sat, 10 Oct 1998 15:00:02 -0500 Date: Sat, 10 Oct 1998 15:00:02 -0500 From: peter@taronga.com (Peter da Silva) Message-Id: <199810102000.PAA20647@bonkers.taronga.com> To: hackers@FreeBSD.ORG Subject: Re: how fast are "fast" CDROM drives ? Newsgroups: taronga.freebsd.hackers In-Reply-To: <199810101313.OAA16631@labinfo.iet.unipi.it> Organization: none Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199810101313.OAA16631@labinfo.iet.unipi.it> you write: >Well it seems that everybody here is crazy to upgrade their CDROM >drives to the fastest unit they can get, but i wonder if it makes any >sense... Nah. In fact for random access the faster drives are slower than the older 4x or 6x drives, because they lose too much time speeding up and slowing down. I wish there was some flag you could set to limit their speed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 14:18:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA02389 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 14:18:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02384 for ; Sat, 10 Oct 1998 14:18:33 -0700 (PDT) (envelope-from Studded@gorean.org) Received: from gorean.org (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id OAA16128 for ; Sat, 10 Oct 1998 14:18:15 -0700 (PDT) (envelope-from Studded@gorean.org) Message-ID: <361FCF16.EA918F70@gorean.org> Date: Sat, 10 Oct 1998 14:18:14 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-1009 i386) X-Accept-Language: en MIME-Version: 1.0 CC: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810100938.CAA04559@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I want to sincerely thank everyone who helped with tracking down and fixing this problem. I learned a lot in the process and hope to be able to apply my new knowledge in useful ways. :) My final request is that when everyone is happy with the changes that they be committed to the 2.2 branch. I will test them and report any problems of course. Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 14:45:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA05721 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 14:45:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from zippy.dyn.ml.org (sf3-63.ppp.wenet.net [206.15.84.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA05708 for ; Sat, 10 Oct 1998 14:45:03 -0700 (PDT) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.9.1/8.8.8) with SMTP id OAA06903; Sat, 10 Oct 1998 14:46:31 -0700 (PDT) (envelope-from garbanzo@hooked.net) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Sat, 10 Oct 1998 14:46:29 -0700 (PDT) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org To: Luigi Rizzo cc: hackers@FreeBSD.ORG Subject: Re: how fast are "fast" CDROM drives ? In-Reply-To: <199810101313.OAA16631@labinfo.iet.unipi.it> 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 Oct 1998, Luigi Rizzo wrote: [...] > I got a 32x ATAPI unit one month ago and there is no way (under > -stable) i can get more than 2.2MB/s by dd'ing from the disk. > Considering i get 5-6MB/s from a raw IDE disk (and from iozone with > large files) on the same machine, i don't think the limiting factor is > CPU or the OS. > > I wonder if anybody is able to exploit the speed of their 24/32/40x > IDE or SCSI drives Well, some of the earlier high speed CDs 12x+ cheat a bit by rotating the disk faster only for certian parts of the disc (the outter edges IIRC). The most inner part of the disc would then be read at somewhere around 6x. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 14:57:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07171 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 14:57:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hotjobs.com (fs3.ny.genx.net [206.64.4.82]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA07166 for ; Sat, 10 Oct 1998 14:57:43 -0700 (PDT) (envelope-from perlsta@hotjobs.com) Received: (qmail 5220 invoked by uid 1288); 10 Oct 1998 21:55:52 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Oct 1998 21:55:52 -0000 Date: Sat, 10 Oct 1998 17:55:52 -0400 (EDT) From: Alfred X-Sender: perlsta@fs3.ny.genx.net To: hackers@FreeBSD.ORG Subject: need "no kludge" solution for socket->uid mapping Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i'm trying to code a threaded ident server (yes i know one already exists) however i'm finding the way that socket->uid mappings are done to be VERY UGLY(tm) unless i cheat :) then it gets worse when i try to find what port the socket is actually bound to. looking at the code to netstat it seems i can use sysctlbyname() to extract an array of xsocket structures as defined in however i'm really confused as to how to access data in the pointers that are exposed by this sysctl, obviously they are not returned. this causes a problem in the fact that i tried to avoid KVM, but i think i will have to use it anyhow. or am i just missing a simple and elegant solution that's right under my nose? thanks, -Alfred (hint: we need a more verbose /proc or even a /proc/net, this shouldn't have to be a black art) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 17:02:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA17691 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 17:02:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ridge.spiritone.com (ridge.spiritone.com [205.139.108.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA17668 for ; Sat, 10 Oct 1998 17:02:37 -0700 (PDT) (envelope-from dionn@spiritone.com) Received: from spiritone.com (us4b-121.spiritone.com [206.98.120.121]) by ridge.spiritone.com (8.8.8/8.8.8) with ESMTP id RAA32130; Sat, 10 Oct 1998 17:02:09 -0700 (PDT) Message-ID: <361FEDC9.613F95FC@spiritone.com> Date: Sat, 10 Oct 1998 16:29:13 -0700 From: Haze Organization: Organized? Me? Ha! X-Mailer: Mozilla 4.07 [en] (Win95; U) MIME-Version: 1.0 To: Alex CC: Luigi Rizzo , hackers@FreeBSD.ORG Subject: Re: how fast are "fast" CDROM drives ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10-Oct-98 @ 21:46:29, Alex wrote: > > On Sat, 10 Oct 1998, Luigi Rizzo wrote: > [...] > > I got a 32x ATAPI unit one month ago and there is no way (under > > -stable) i can get more than 2.2MB/s by dd'ing from the disk. > > Considering i get 5-6MB/s from a raw IDE disk (and from iozone with > > large files) on the same machine, i don't think the limiting factor is > > CPU or the OS. > > > > I wonder if anybody is able to exploit the speed of their 24/32/40x > > IDE or SCSI drives > > Well, some of the earlier high speed CDs 12x+ cheat a bit by rotating the > disk faster only for certian parts of the disc (the outter edges IIRC). > The most inner part of the disc would then be read at somewhere around 6x. Drives over 16x are CAV (most are anyway). This means that the listed speed of 32x can only be achieved at the outermost tracks. If you filled a CD completely, then read from the very last files you would get 32x throughput. Consequently, you almost never see it IRW situations. CAV drives will xfer the outermost tracks at about 2.2x the rate of the innermost tracks. So your 32x will get about 14x on the inside tracks. A throughput of 2.2MB/s (~15x) is quite typical. The best I've ever seen on my 32x drives is ~3.7MB/s. -- Knowledge is the perception of truth distorted by reality PGP Key: www.spiritone.com/~dionn/pgpkey Fingerprint: 312E F076 35D0 8EEB 4B2A DC8A 04FC 1543 3B2C 0502 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 18:47:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27565 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 18:47:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheops.anu.edu.au (cheops.anu.edu.au [150.203.224.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA27557 for ; Sat, 10 Oct 1998 18:47:47 -0700 (PDT) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199810110147.SAA27557@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA105520449; Sun, 11 Oct 1998 11:47:29 +1000 From: Darren Reed Subject: Alpha release of Core Based Trees for FreeBSD 2.2.[67] (fwd) To: hackers@FreeBSD.ORG Date: Sun, 11 Oct 1998 11:47:29 +1000 (EST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Message-Id: > Date: 1 Oct 1998 09:24:05 +0100 > From: Graeme Brown > Subject: Alpha release of Core Based Trees for FreeBSD 2.2.[67] > > IDMR Folks > > Tony Ballardie and BT Laboratories, UK are pleased to announce an alpha level > source code release of Core Based Trees multicast routing demon > "cbtd" plus associated kernel patches for FreeBSD 2.2.[67]. The ftp > download is from > > ftp://ftp.labs.bt.com/Internet-Research/cbt-2.0.tar.gz > > Feedback please to :- > > graeme.brown@bt-sys.bt.co.uk > ballardie@dial.pipex.com > > Regards > Graeme N Brown > > Internet Futures > BT Laboratories, UK > email: graeme.brown@bt-sys.bt.co.uk > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 19:31:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA00200 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 19:31:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hotjobs.com (fs3.ny.genx.net [206.64.4.82]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA00192 for ; Sat, 10 Oct 1998 19:31:13 -0700 (PDT) (envelope-from perlsta@hotjobs.com) Received: (qmail 7489 invoked by uid 1288); 11 Oct 1998 02:29:12 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 11 Oct 1998 02:29:12 -0000 Date: Sat, 10 Oct 1998 22:29:12 -0400 (EDT) From: Alfred X-Sender: perlsta@fs3.ny.genx.net To: hackers@FreeBSD.ORG Subject: question about the xsocket struct. 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 is it safe to use the: uid_t so_uid; /* XXX */ in an xsocket as defined in: i'm concered about the /* XXX */ near it as the user id associated with the socket? if not, anyone have an idea how to get that info from a "struct xtcpbc" (the user id associated with the socket?) thanks, Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 21:45:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA14822 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 21:45:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA14805 for ; Sat, 10 Oct 1998 21:45:51 -0700 (PDT) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id AAA01971; Sun, 11 Oct 1998 00:45:34 -0400 (EDT) Message-ID: <19981011004534.A1416@netmonger.net> Date: Sun, 11 Oct 1998 00:45:34 -0400 From: Christopher Masto To: hackers@FreeBSD.ORG Subject: Re: Contiguous memory allocation References: <361F1F49.6E4F@cs.strath.ac.uk> <199810100955.RAA15119@spinner.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810100955.RAA15119@spinner.netplex.com.au>; from Peter Wemm on Sat, Oct 10, 1998 at 05:55:35PM +0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Oct 10, 1998 at 05:55:35PM +0800, Peter Wemm wrote: > Have a look at some code that uses contigmalloc(). It's not particularly > intuitive, but it does work. Some things that use it are busdma_machdep.c > and isa.c (the isa dma code). > > You can request things like: > > Give me 16K of physically contiguous data that is aligned on a 16 byte > boundary, and is entirely within the same 64K window. > > Of course, there are no guarantees that you will be able to get a large > chunk that is physically contiguous, but you can only try. The VM system > will try quite hard to make the space for your request, even if it has to I use said function in a driver (LKM) I wrote for a satellite data receiver, and it is fairly certain to lock the machine up tight if I don't start it rather soon after boot time. IANAKH. YMMV. #define BUFFER_SIZE 32768 /* Allocate memory for a buffer */ dma_buflen = BUFFER_SIZE; dma_buf = (char *)contigmalloc(dma_buflen, M_DEVBUF, M_NOWAIT, 0ul, 0xfffffful, 1ul, 0x10000ul); if (!dma_buf) { uprintf("satlink: Failed to allocate a DMA buffer\n"); return ENOMEM; } -- Christopher Masto Director of Operations S NetMonger Communications chris@netmonger.net info@netmonger.net SSS http://www.netmonger.net \_/ Microsoft's biggest and most dangerous contribution to the software industry may be the degree to which it has lowered user expectations. - ESTHER SCHINDLER, OS/2 Magazine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Oct 10 23:49:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25096 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 23:49:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA25085 for ; Sat, 10 Oct 1998 23:49:22 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id FAA17683; Sun, 11 Oct 1998 05:47:18 +0100 From: Luigi Rizzo Message-Id: <199810110447.FAA17683@labinfo.iet.unipi.it> Subject: Re: how fast are "fast" CDROM drives ? To: peter@taronga.com (Peter da Silva) Date: Sun, 11 Oct 1998 05:47:18 +0100 (MET) Cc: hackers@FreeBSD.ORG In-Reply-To: <199810102000.PAA20647@bonkers.taronga.com> from "Peter da Silva" at Oct 10, 98 02:59:43 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Nah. In fact for random access the faster drives are slower than the older > 4x or 6x drives, because they lose too much time speeding up and slowing > down. I wish there was some flag you could set to limit their speed. now that you mention it... loading the boot image from a bootable CDrom using said 32x drive is slow as hell... (not that using the floppy was fast) this is happening under BIOS control so i have no idea if this is deliberate or not. in any case there might be some atapi command to set the read speed (perhaps through mode pages ?) luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message