From owner-freebsd-hackers Sun Dec 25 03:22:48 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id DAA07485 for hackers-outgoing; Sun, 25 Dec 1994 03:22:48 -0800 Received: from pyromania.apana.org.au (pyromania.apana.org.au [202.12.87.123]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA07478 for ; Sun, 25 Dec 1994 11:22:34 GMT Received: (from john@localhost) by pyromania.apana.org.au (8.6.9/8.6.9) id WAA08834 for hackers@freebsd.org; Sun, 25 Dec 1994 22:21:58 +1100 From: John Herks Message-Id: <199412251121.WAA08834@pyromania.apana.org.au> Subject: Setting up Sliplogin.. To: hackers@freebsd.org Date: Sun, 25 Dec 1994 22:21:58 +1100 (EST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2298 Sender: hackers-owner@freebsd.org Precedence: bulk I am trying to get my sliplogin to work..I am using trumpet winsock on the dialup side. I can ping and telnet into my local system (202.12.87.123) but I can't get out onto the gateway (202.12.87.121) and the net. When I do a traceroute on the PC running trumpet it stops at 202.12.87.123 and goes no further - what am I doing wrong ? Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 00.00.01.04.80.53 59766 1 56667 0 3 ed0 1500 202.12.87.1 pyromania 59766 1 56667 0 3 lp0* 1500 0 0 0 0 0 lo0 65532 222 0 222 0 0 lo0 65532 your-net localhost 222 0 222 0 0 sl0 552 4820 1 4676 0 0 sl0 552 202.12.87.1 pyromania 4820 1 4676 0 0 sl1* 552 0 0 0 0 0 Routing tables Internet: Destination Gateway Flags Refs Use Interface default 202.12.87.121 UGS 3 52217 ed0 127.0.0.1 127.0.0.1 UH 0 67 lo0 202.12.87.120 link#1 UC 0 0 ed0 202.12.87.121 0:0:c0:77:83:1b UHL 2 58 ed0 202.12.87.123 0:0:1:4:80:53 UHL 1 155 lo0 202.12.87.125 202.12.87.123 UH 1 190 sl0 224 link#1 UCS 0 0 ed0 -- These are my /etc/sliphome files under FreeBSD 2.0 -: slip.hosts: jslip 202.12.87.123 202.12.87.125 0xfffffff8 normal slip.login: #!/bin/sh - # # @(#)slip.login 5.1 (Berkeley) 7/1/90 # # generic login file for a slip line. sliplogin invokes this with # the parameters: # 1 2 3 4 5 6 7-n # slipunit ttyspeed loginname local-addr remote-addr mask opt-args # /sbin/ifconfig sl$1 inet $4 $5 netmask $6 slip.logout: #!/bin/sh /sbin/ifconfig sl$1 down 0.0.0.0 John Herks Communications Engineer Pyromania Unix Melbourne john@pyromania.apana.org.au Phone:+613-220-4757 From owner-freebsd-hackers Sun Dec 25 13:02:39 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA15600 for hackers-outgoing; Sun, 25 Dec 1994 13:02:39 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA15594 for ; Sun, 25 Dec 1994 21:02:37 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id WAA24406 ; Sun, 25 Dec 1994 22:02:42 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA08907; Sun, 25 Dec 94 22:03:01 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412252103.AA08907@blaise.ibp.fr> Subject: Re: Owner of system directories To: joerg_wunsch@uriah.sax.de Date: Sun, 25 Dec 1994 22:03:00 +0100 (MET) Cc: hackers@freebsd.org In-Reply-To: <199412242205.XAA19929@bonnie.tcd-dresden.de> from "J Wunsch" at Dec 24, 94 11:05:57 pm X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 555 Sender: hackers-owner@freebsd.org Precedence: bulk > I personally do not like it. I'm a friend of ``uucp'', ``news'', > ``bin'' etc. file ownership and a fine-grain group policy, and usually > all the above accounts on my machines do have passwords, so i don't > have to run as super-user for too long. I won't insist for the files but I'd like to at least change the directories owner. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223 From owner-freebsd-hackers Sun Dec 25 13:04:21 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA15611 for hackers-outgoing; Sun, 25 Dec 1994 13:04:21 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA15604 for ; Sun, 25 Dec 1994 21:04:19 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id WAA24414 ; Sun, 25 Dec 1994 22:04:24 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA08915; Sun, 25 Dec 94 22:04:43 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412252104.AA08915@blaise.ibp.fr> Subject: Re: /etc/rc.shutdown (First shot) To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Sun, 25 Dec 1994 22:04:43 +0100 (MET) Cc: joerg_wunsch@uriah.sax.de, hackers@freebsd.org In-Reply-To: <9412242320.AA02541@brasil.moneng.mei.com> from "Joe Greco" at Dec 24, 94 05:20:28 pm X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 701 Sender: hackers-owner@freebsd.org Precedence: bulk > However, I am not arguing _for_ Ollivier's changes, by any stretch of the > imagination. If you type "shutdown" without bothering to take down INN and > make sure all's well, you darn well get what you deserve. I'm not a fan of > the SVR4-style 10-trillion-shell-script crud (Solaris is horrible), and I'd > just as soon prefer to keep it simple. ;-) JMHO. I don't want to go as far as that but I think we lack some shutdown script. I'll implement the rest (halt/reboot) soon. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223 From owner-freebsd-hackers Sun Dec 25 13:06:10 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA15632 for hackers-outgoing; Sun, 25 Dec 1994 13:06:10 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA15626 for ; Sun, 25 Dec 1994 21:06:08 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id WAA24421 ; Sun, 25 Dec 1994 22:06:13 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA08923; Sun, 25 Dec 94 22:06:32 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412252106.AA08923@blaise.ibp.fr> Subject: Re: /etc/rc.shutdown (First shot) To: peter@bonkers.taronga.com (Peter da Silva) Date: Sun, 25 Dec 1994 22:06:31 +0100 (MET) Cc: joerg_wunsch@uriah.sax.de, hackers@freebsd.org In-Reply-To: <199412250619.AAA27348@bonkers.taronga.com> from "Peter da Silva" at Dec 25, 94 00:19:29 am X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 602 Sender: hackers-owner@freebsd.org Precedence: bulk > The real fix is to modify "reboot" and "halt" to send the right signal to > "init" and put the shutdown logic in there. That might be more effort than you > want to do but it *is* the "right thing". I'll do it that way but I have to find a way to make halt/reboot wait for init. Maybe all the work should be done by init (reboot() or halt() I mean), that would be easier to manage. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223 From owner-freebsd-hackers Sun Dec 25 13:41:42 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA16649 for hackers-outgoing; Sun, 25 Dec 1994 13:41:42 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA16643 for ; Sun, 25 Dec 1994 21:41:40 GMT Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id NAA13992 for ; Sun, 25 Dec 1994 13:41:14 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: hackers@freebsd.org Subject: Who did I promise the SB16 and [non-SCSI] CDROM drive to? Date: Sun, 25 Dec 1994 13:41:13 -0800 Message-ID: <13991.788391673@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk I know that somebody on this list volunteered to do the non-SCSI Soundblaster CDROM driver.. Someone from Oz, I think! Sorry, I'm losing control of my email.. If that someone can step forward again and identify himself, I have a drive and a card to send to you! Thanks! Jordan From owner-freebsd-hackers Sun Dec 25 13:45:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA16857 for hackers-outgoing; Sun, 25 Dec 1994 13:45:02 -0800 Received: from is1.hk.super.net (jbeukema@is1.hk.super.net [202.14.67.232]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id VAA16656; Sun, 25 Dec 1994 21:41:53 GMT Received: by is1.hk.super.net id AA29807 (5.67b/IDA-1.5); Mon, 26 Dec 1994 05:41:16 +0800 Date: Mon, 26 Dec 1994 05:41:16 +0800 (HKT) From: John Beukema To: freebsd-hackers@freefall.cdrom.com Cc: FreeBSD-questions Subject: sysv_msg.c bug? Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk I have been having a problem using the SYSV messages facility in 2.0R. The permission bits in msg_perm.mode seem to be ignored and accordingly only the queue owner can write to the queue regardless of the bits. My application uses a database server owned by root but which grants access to ordinary user clients to write to its message queue. As it is now under FBSD, only root can run the client programs. The same program runs all right on SUNOS and SCO. The Sun man pages state, in effect, that any user should be able to write to a queue if its owner (creator) sets msg_perm.mode to 0666. I have examined Daniel Boulet's implementation. (I do not understand (yet) how the functions are transformed from two and three parameters in the declaration to three and four in the implementation.) I noticed msgget masks the requested permission mask, msgflg with & 0700 which, I believe, eliminates the group and other permissions and leaves only the owner bits. msgctl(qid, IPC_STAT) also allows only the queue owner to access queue information. Am I correct, this is a bug? Please reply by mail. jbeukema From owner-freebsd-hackers Sun Dec 25 16:02:01 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA19311 for hackers-outgoing; Sun, 25 Dec 1994 16:02:01 -0800 Received: from prosun.first.gmd.de (prosun.first.gmd.de [192.35.150.136]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id AAA19305 for ; Mon, 26 Dec 1994 00:01:58 GMT Received: from g386bsd.first.gmd.de by prosun.first.gmd.de (4.1/SMI-4.1) id AA17035; Mon, 26 Dec 94 01:00:29 +0100 Received: by g386bsd.first.gmd.de (BAA08494); Mon, 26 Dec 1994 01:02:27 +0100 From: Andreas Schulz Message-Id: <199412260002.BAA08494@g386bsd.first.gmd.de> Subject: Re: Setting up Sliplogin.. To: john@pyromania.apana.org.au (John Herks) Date: Mon, 26 Dec 1994 01:02:26 +0059 (MET) Cc: hackers@freebsd.org In-Reply-To: <199412251121.WAA08834@pyromania.apana.org.au> from "John Herks" at Dec 25, 94 10:21:58 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 748 Sender: hackers-owner@freebsd.org Precedence: bulk > I can ping and telnet into my local system (202.12.87.123) but I can't get > out onto the gateway (202.12.87.121) and the net. You need to either compile a new kernel and set "options IPFORWARDING=1" or use a line in /etc/netstart like i do: /etc/netstart:sysctl -w net.inet.ip.forwarding=1 Both of these changes the kernel to forward packets from your slip link to your ethernet. I also need to run routed on my box and work with proxy-arp entries. Something like "arp -s ip-addr ethernet-addr pub". But that depends on the network numbers. ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Andreas Schulz GMD-FIRST 12489 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: +49-30-6392-1856/+49-177-2134745 Germany/Europe From owner-freebsd-hackers Sun Dec 25 17:57:20 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA21004 for hackers-outgoing; Sun, 25 Dec 1994 17:57:20 -0800 Received: from pyromania.apana.org.au (pyromania.apana.org.au [202.12.87.123]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id BAA20998 for ; Mon, 26 Dec 1994 01:57:10 GMT Received: (from john@localhost) by pyromania.apana.org.au (8.6.9/8.6.9) id MAA00145 for hackers@freebsd.org; Mon, 26 Dec 1994 12:55:50 +1100 From: John Herks Message-Id: <199412260155.MAA00145@pyromania.apana.org.au> Subject: PCI NCR Controller Config. To: hackers@freebsd.org Date: Mon, 26 Dec 1994 12:55:50 +1100 (EST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1799 Sender: hackers-owner@freebsd.org Precedence: bulk What is the correct way to set a PCI Interuppt in the BIOS and the Motherboard jumpers for a GIGA NCR SCSI Card ? The Card has a primary/secondary jumper for selecting IRQ. The manual says that the jumper in the primary position is IRQ 9 and in the secondary position can by any other IRQ ? How does all this work ? Am I really losing that much HD I/O performance with my current settings ? -------------------------------------------------------------------------- pci0: scanning device 0..15, mechanism=2. chip0 on pci0:0 ncr0 int a (config) not bound on pci0:1 reg20: virtual=0xf5082000 physical=0xc0000000 pci_map_int failed: no int line set. interruptless mode: reduced performance. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ncr0: restart (scsi reset). ncr0 scanning for targets 0..6 (1.12) ncr0 waiting for scsi devices to settle ncr0 targ 0 lun 0: type 0(direct) fixed SCSI2 ncr0 targ 0 lun 0: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. sd0: 1029MB (2109376 total sec), 2874 cyl, 8 head, 91 sec, bytes/sec 512 chip1 on pci0:2 pci uses physical addresses from 0xc0000000 to 0xc0001000 -- \|/ (@ @) ----------------------------oOO--(_)--OOo----------------------------------- ``` ''' John Herks Communications Engineer Pyromania Unix Melbourne john@pyromania.apana.org.au Phone:+613-220-4757 ---------------------------------------------------------------------------- From owner-freebsd-hackers Sun Dec 25 19:58:05 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA22152 for hackers-outgoing; Sun, 25 Dec 1994 19:58:05 -0800 Received: from Starbase.NeoSoft.COM (dbaker@starbase.NeoSoft.COM [198.64.6.26]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id DAA22146 for ; Mon, 26 Dec 1994 03:58:04 GMT Received: (from dbaker@localhost) by Starbase.NeoSoft.COM (8.6.9/8.6.9) id VAA09444; Sun, 25 Dec 1994 21:57:37 -0600 X-Provider: NeoSoft, Inc.: Internet Service Provider (713) 684-5969 Date: Sun, 25 Dec 1994 21:57:36 -0600 (CST) From: "Daniel A. Baker " To: hackers@freebsd.org Subject: DOS! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk Hackers -- I am running FreeBSD 2.0 on my machine, and I am wondering how I can mount my DOS partition in /dosc. Thanks in advance -- Daniel Baker -- NeoSoft FTP/UseNet Administrator (713)531-8571 DBaker@NeoSoft.COM DBaker@UuNeo.NeoSoft.COM From owner-freebsd-hackers Sun Dec 25 20:33:40 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA22270 for hackers-outgoing; Sun, 25 Dec 1994 20:33:40 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id EAA22264 for ; Mon, 26 Dec 1994 04:33:38 GMT Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id UAA14694; Sun, 25 Dec 1994 20:33:04 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: "Daniel A. Baker " cc: hackers@freebsd.org Subject: Re: DOS! In-reply-to: Your message of "Sun, 25 Dec 94 21:57:36 CST." Date: Sun, 25 Dec 1994 20:33:03 -0800 Message-ID: <14693.788416383@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk If you already (A)ssigned it in the installation, you can simply `mkdir /dosc' and reboot. An error in the installation has this not being made before it's needed. Jordan From owner-freebsd-hackers Sun Dec 25 20:43:46 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA22308 for hackers-outgoing; Sun, 25 Dec 1994 20:43:46 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id EAA22302 for ; Mon, 26 Dec 1994 04:43:45 GMT Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id UAA14741; Sun, 25 Dec 1994 20:42:59 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: hm@ernie.altona.ppp.net cc: freebsd-hackers@freefall.cdrom.com (FreeBSD Hackers) Subject: Re: FreeBSD Journal (was Re: tar man page) (fwd) In-reply-to: Your message of "Fri, 23 Dec 94 09:19:01 +0100." Date: Sun, 25 Dec 1994 20:42:59 -0800 Message-ID: <14740.788416979@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > > Only after they give my grandmother her bicycle back. > > If it's just the bicycle, we should start fund raising immediately to buy > your grandmother a new one. Sorry, sorry. Reference in poor taste! I didn't think anyone would actually get it, but then I forgot that this is a fairly international list.. :-) Jordan From owner-freebsd-hackers Sun Dec 25 22:45:49 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id WAA22955 for hackers-outgoing; Sun, 25 Dec 1994 22:45:49 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id GAA22949 for ; Mon, 26 Dec 1994 06:45:47 GMT Received: by brasil.moneng.mei.com (4.1/SMI-4.1) id AA03089; Mon, 26 Dec 94 00:43:23 CST From: Joe Greco Message-Id: <9412260643.AA03089@brasil.moneng.mei.com> Subject: Re: /etc/rc.shutdown (First shot) To: peter@bonkers.taronga.com (Peter da Silva) Date: Mon, 26 Dec 1994 00:43:23 +0000 (GMT) Cc: hackers@freebsd.org In-Reply-To: <199412250625.AAA27386@bonkers.taronga.com> from "Peter da Silva" at Dec 25, 94 00:25:36 am X-Mailer: ELM [version 2.4beta PL9] Content-Type: text Content-Length: 3032 Sender: hackers-owner@freebsd.org Precedence: bulk > > However, I am not arguing _for_ Ollivier's changes, by any stretch of the > > imagination. If you type "shutdown" without bothering to take down INN and > > make sure all's well, you darn well get what you deserve. > > Hokay, I've got an Alpha based box at work that's running a hundred users > and bunches of commercial and local packages. In fact I've got two of them. > I don't *remember* all the stuff you have to do to shut them down right. Write a script. > But, you say, you could just create a shutdown script and run that instead > of shutdown. Hrm... I'm sorry, I'd rather keep things simple. What, by adding functionality that forces you to write a script? Uhh, now I'm confused. I just argued _for_ this, but in the context of not adding it to the guts of init and every other system program that deals with shutdown. Why? Read on. > > I'm not a fan of > > the SVR4-style 10-trillion-shell-script crud (Solaris is horrible), and I'd > > just as soon prefer to keep it simple. ;-) JMHO. > > IMHO, SIGTERM plus ten seconds is far from simple. It's an obscure kludge and > the sort of thing that the Multics and TOPS and VMS fans are *right* to flame > about. I agree, it would be easier to have the system simply go away. > A single "shutdown" hook is far from the System V multiple run level model > (though that's *also* a Good Thing when you have hundreds of users and multiple > people with system administrator type duties). So, maybe I don't quite get it. Now that we're adding crud to halt (et al) to do this, suddenly I end up with a halt that really doesn't halt. Not that the old one did, in any real fashion, but it was a reasonable approximation that tried to bring the system down in a seconds-countable timeframe. Now I'll get a "halt" that maybe doesn't even halt the system at all, if the /etc/rc.shutdown wedges. Generally, if I type "halt", I want the system to be gone. Solaris actually does this quite well, providing "shutdown", "halt", and "uadmin 2 0" to provide a rather fine level of control over how one wants the box to go byebye. Much as I hate Solaris, this is actually quite nice... one thing they did right. I guess I don't see a reason to move this functionality into the system at such a fundamental level. KISS. If one's system is complex enough to require a shutdown script (and I would argue that INN can be), one should write a script that does the right thing. Make it policy to use it. Train the multiple people with SA type duties that they are to use it. Rename "shutdown" if you really damn well want to. But please don't go adding unnecessary "features" to the system. Part of the beauty of UNIX is the simplicity and generality. If it was something that couldn't be achieved in other, simpler ways, maybe it would be different... ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 From owner-freebsd-hackers Mon Dec 26 04:10:24 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id EAA24892 for hackers-outgoing; Mon, 26 Dec 1994 04:10:24 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA24886 for ; Mon, 26 Dec 1994 12:10:20 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id NAA25955 ; Mon, 26 Dec 1994 13:10:14 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA09778; Mon, 26 Dec 94 13:10:33 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412261210.AA09778@blaise.ibp.fr> Subject: Re: /etc/rc.shutdown (First shot) To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Mon, 26 Dec 1994 13:10:32 +0100 (MET) Cc: peter@bonkers.taronga.com, hackers@freebsd.org In-Reply-To: <9412260643.AA03089@brasil.moneng.mei.com> from "Joe Greco" at Dec 26, 94 00:43:23 am X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1218 Sender: hackers-owner@freebsd.org Precedence: bulk > approximation that tried to bring the system down in a seconds-countable > timeframe. Now I'll get a "halt" that maybe doesn't even halt the system at > all, if the /etc/rc.shutdown wedges. Generally, if I type "halt", I want > the system to be gone. Solaris actually does this quite well, providing > "shutdown", "halt", and "uadmin 2 0" to provide a rather fine level of What I have just now is an init which will run /etc/rc.shutdown when : 1. you type ctrl-alt-del at the console, 2. you type shutdown -h some_time, 3. you type shutdown some_time to go single-user. Any other way to bring the system down (halt/reboot/fasthalt/fastboot) DOESN'T run /etc/rc.shutdown. Speak up people ! What do you want between the following ? 1. nothing at all -- old BSD way 2. the half-way now (only shutdown run the script) -- what *I* have 3. init does all the work and halt/reboot/shutdown all make init run the script ... I need your opinion, folks. present: one for 3 (Peter) and one for 1 (Joe). -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223 From owner-freebsd-hackers Mon Dec 26 05:27:22 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA25353 for hackers-outgoing; Mon, 26 Dec 1994 05:27:22 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id NAA25347 for ; Mon, 26 Dec 1994 13:27:15 GMT Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA06318 (5.67a/IDA-1.5); Mon, 26 Dec 1994 07:10:27 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA25208; 26 Dec 94 06:48:28 CST (Mon) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id GAA25205; Mon, 26 Dec 1994 06:48:27 -0600 Message-Id: <199412261248.GAA25205@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: Joe Greco Cc: hackers@freebsd.org Subject: Re: /etc/rc.shutdown (And some free association about logging) In-Reply-To: Your message of "Mon, 26 Dec 94 00:43:23 GMT." <9412260643.AA03089@brasil.moneng.mei.com> X-Mailer: exmh version 1.4.1 7/21/94 Date: Mon, 26 Dec 1994 06:48:25 -0600 From: Peter da Silva Sender: hackers-owner@freebsd.org Precedence: bulk > > > However, I am not arguing _for_ Ollivier's changes, by any stretch of the > > > imagination. If you type "shutdown" without bothering to take down INN and > > > make sure all's well, you darn well get what you deserve. > > Hokay, I've got an Alpha based box at work that's running a hundred users > > and bunches of commercial and local packages. In fact I've got two of them. > > I don't *remember* all the stuff you have to do to shut them down right. > Write a script. I did. It's in /sbin/init.d. That way it gets run no matter WHO shuts down the system and how they shut it down. > > But, you say, you could just create a shutdown script and run that instead > > of shutdown. Hrm... I'm sorry, I'd rather keep things simple. > What, by adding functionality that forces you to write a script? Doesn't *force* you to do any bloody thing. You can go on depending on the SIGTERM+10seconds kluddge all you want. This is adding simply adding a hook for that script if you happen to have one. > Uhh, now I'm confused. I just argued _for_ this, but in the context of not > adding it to the guts of init and every other system program that deals with > shutdown. You're confused? You're confusing me... where did I say that? I just said that the standard way to shut the systems down (shutdown) should run a standard script. If you want to do an emergency shutdown that just syncs and unmounts the disks, you should have one (uadmin 2 0, in System V terms). I just don't think that the half-measure of SIGTERM+10 has any place in a modern operating system. Either kill everything, now, and clean up... or ask everything to go down and wait until they're done. If you have things that hang unreliably, then deal with that as a separate issue. Really. As a side issue, I don't think "halt" and "reboot" should be the programs that do the emergency shutdown. Why? People tend to think of them as the standard way to shut systems down. When you're setting up a system that's going to be maintained by some random power systems engineer who doesn't give a shit about computers but has a selection of O'Reilly books as a security blanket you can't depend on them following your procedures. But that's a side issue. The important thing is that there should be an official hook for local cleanup... the shutdown equivalent of /etc/rc.local. > Solaris actually does this quite well, providing > "shutdown", "halt", and "uadmin 2 0" to provide a rather fine level of > control over how one wants the box to go byebye. Much as I hate Solaris, > this is actually quite nice... one thing they did right. That's exactly what every System V box in the world does. "shutdown" is the user friendly front end with timeouts and user alerts. "halt" (or init 0, in most cases) does a normal shutdown now. "uadmin 2 0" is the emergency shutdown. > I guess I don't see a reason to move this functionality into the system at > such a fundamental level. KISS. If one's system is complex enough to > require a shutdown script (and I would argue that INN can be), one should > write a script that does the right thing. With you so far... > Make it policy to use it. One can make policies to work around every shortcoming of the operating system, but why not provide a simple hook that lets you avoid it if need be. You don't have to use it (the default "/etc/rc.shutdown" can be empty), but why not have it there for people who are worried about such things? > Rename > "shutdown" if you really damn well want to. But please don't go adding > unnecessary "features" to the system. I don't understand. What's an unnecessary feature? One you personally don't use? I personally don't use union mounts or the dosfs or support for multiple dos-level partitions (I've installed FreeBSD on the whole disk). But I'm not going to argue against them, particularly when someone else is already doing the work and are doing it in such a way that you can completely ignore it if you want. > Part of the beauty of UNIX is the > simplicity and generality. If it was something that couldn't be achieved in > other, simpler ways, maybe it would be different... I got mtools. Why do I need dosfs (or whatever it's called this week)? As for simplicity and generality, I've got a bone to pick with a lot of the BSD startup/admin/daemon model that makes things a LOT more complicated if you're not using things the vanilla way, but it's really not relevant to this list and a whole lot of work to do right. Free associating from that... I do have one question... is the 2.x syslogd significantly different from the 1.1 version? If not, I'm working on making things a little more complicated in there. (mainly, if you don't have the source it's almost impossible to figure out what you need to do with syslog.conf to monitor things like FTP traffic even after you've modified FTPD to log more stuff under -l). I've started adding code there to select on program name as well as the rather overly broad facilities... but if it's already done by some miracle I'd like to avoid reinventing the wheel. (I've also modified ftpd to log all transactions not just connects under -l if you have -DSECURITY_LOGGING. It logs it under daemon.info though which is a pain, since a while bunch of stuff gets logged under daemon.info and right now I'm using a script to grovel through a /var/log/trash file and pulling out the ftpd messages... but it'd be cleaner to have that in syslog.conf) (Any interest in a nosier ftpd?) From owner-freebsd-hackers Mon Dec 26 05:57:13 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA25501 for hackers-outgoing; Mon, 26 Dec 1994 05:57:13 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id NAA25495 for ; Mon, 26 Dec 1994 13:57:08 GMT Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA06419 (5.67a/IDA-1.5); Mon, 26 Dec 1994 07:40:13 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA25262; 26 Dec 94 06:58:01 CST (Mon) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id GAA25259; Mon, 26 Dec 1994 06:58:00 -0600 Message-Id: <199412261258.GAA25259@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: roberto@blaise.ibp.fr (Ollivier ROBERT) Cc: jgreco@brasil.moneng.mei.com (Joe Greco), hackers@freebsd.org Subject: Re: /etc/rc.shutdown (First shot) In-Reply-To: Your message of "Mon, 26 Dec 94 13:10:32 +0100." <9412261210.AA09778@blaise.ibp.fr> X-Mailer: exmh version 1.4.1 7/21/94 Date: Mon, 26 Dec 1994 06:57:59 -0600 From: Peter da Silva Sender: hackers-owner@freebsd.org Precedence: bulk > 1. nothing at all -- old BSD way > 2. the half-way now (only shutdown run the script) -- what *I* have > 3. init does all the work and halt/reboot/shutdown all make init run the script ... > > I need your opinion, folks. > > present: one for 3 (Peter) and one for 1 (Joe). I'm changing my vote to 2. Joe reminded me of "uadmin 2 0": you do need a backdoor. Though I'd rather vote for "4", which is kind of a cross between 2 and 3. That is, you have a program that does what halt does. You have init call it. The normal programs just tell init to shut down and let init worry about exactly how that works. That way you don't replicate this logic throughout the system (DEC OSF/1 is REALLY bad about that). If you want that program to be "halt" as badly as Joe does, so be it. I think a little bit more luser-proofing is in order, but so long as the logic's there and documented that's fine. From owner-freebsd-hackers Mon Dec 26 07:28:41 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA26355 for hackers-outgoing; Mon, 26 Dec 1994 07:28:41 -0800 Received: from plains.NoDak.edu (tinguely@plains.NoDak.edu [134.129.111.64]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id PAA26349 for ; Mon, 26 Dec 1994 15:28:39 GMT Received: by plains.NoDak.edu; Mon, 26 Dec 1994 09:28:05 -0600 Date: Mon, 26 Dec 1994 09:28:05 -0600 From: Mark Tinguely Message-Id: <199412261528.AA04045@plains.NoDak.edu> To: jgreco@brasil.moneng.mei.com, roberto@blaise.ibp.fr Subject: Re: /etc/rc.shutdown (First shot) Cc: hackers@freebsd.org, peter@bonkers.taronga.com Sender: hackers-owner@freebsd.org Precedence: bulk IMHO single user should have everything possible killed. also IMHO don't bring in System V run levels. it appears we are moving *BSD into a Linux variant. leaping-leotards batman, we don't need that. --mark. From owner-freebsd-hackers Mon Dec 26 07:40:40 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA26577 for hackers-outgoing; Mon, 26 Dec 1994 07:40:40 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA26571; Mon, 26 Dec 1994 15:40:37 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id QAA26465 ; Mon, 26 Dec 1994 16:40:40 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA09937; Mon, 26 Dec 94 16:40:59 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412261540.AA09937@blaise.ibp.fr> Subject: The News SGMLified FreeBSD 2.0 FAQ is out. To: hackers@freebsd.org (Hackers' list FreeBSD), current@freebsd.org (Current's list FreeBSD) Date: Mon, 26 Dec 1994 16:40:58 +0100 (MET) X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 655 Sender: hackers-owner@freebsd.org Precedence: bulk Hello everyone and the WWW maintainers, I've converted the FreeBSD 2.0 FAQ (as found in share/FAQ) in SGML. The archive is in my account directory on freefall (~roberto/freebsd-faq-2.0.tar.gz). There are the SGML source, the HTML version, the TXT version, the DVI one and the Postscript output. -rw-r--r-- 1 roberto roberto 120338 Dec 26 07:33 freebsd-faq-2.0.tar.gz The other FAQs in share/FAQ are not converted yet but will soon. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223 From owner-freebsd-hackers Mon Dec 26 07:42:29 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA26641 for hackers-outgoing; Mon, 26 Dec 1994 07:42:29 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA26634 for ; Mon, 26 Dec 1994 15:42:27 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id QAA26469 ; Mon, 26 Dec 1994 16:42:24 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA09946; Mon, 26 Dec 94 16:42:42 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412261542.AA09946@blaise.ibp.fr> Subject: Re: /etc/rc.shutdown (First shot) To: tinguely@plains.nodak.edu (Mark Tinguely) Date: Mon, 26 Dec 1994 16:42:42 +0100 (MET) Cc: hackers@freebsd.org In-Reply-To: <199412261528.AA04045@plains.NoDak.edu> from "Mark Tinguely" at Dec 26, 94 09:28:05 am X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 617 Sender: hackers-owner@freebsd.org Precedence: bulk > IMHO single user should have everything possible killed. also IMHO It already does that (or am I missing something ?). > don't bring in System V run levels. it appears we are moving *BSD I won't bring in the run levels. > into a Linux variant. leaping-leotards batman, we don't need that. FreeBSD will stay BSD but that does not mean that we can add a few features like the rc.shutdown script. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223 From owner-freebsd-hackers Mon Dec 26 07:42:50 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA26667 for hackers-outgoing; Mon, 26 Dec 1994 07:42:50 -0800 Received: from Starbase.NeoSoft.COM (dbaker@starbase.NeoSoft.COM [198.64.6.26]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA26661 for ; Mon, 26 Dec 1994 15:42:49 GMT Received: (from dbaker@localhost) by Starbase.NeoSoft.COM (8.6.9/8.6.9) id JAA01117; Mon, 26 Dec 1994 09:42:15 -0600 X-Provider: NeoSoft, Inc.: Internet Service Provider (713) 684-5969 Date: Mon, 26 Dec 1994 09:42:15 -0600 (CST) From: "Daniel A. Baker " To: "Jordan K. Hubbard" cc: hackers@freebsd.org Subject: Re: DOS! In-Reply-To: <14693.788416383@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk On Sun, 25 Dec 1994, Jordan K. Hubbard wrote: > If you already (A)ssigned it in the installation, you can simply > `mkdir /dosc' and reboot. An error in the installation has this > not being made before it's needed. I don't think I did that in the installation... ;-( -- Daniel Baker -- NeoSoft FTP/UseNet Administrator (713)531-8571 DBaker@NeoSoft.COM DBaker@UuNeo.NeoSoft.COM From owner-freebsd-hackers Mon Dec 26 07:45:59 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA26827 for hackers-outgoing; Mon, 26 Dec 1994 07:45:59 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA26821 for ; Mon, 26 Dec 1994 15:45:56 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id QAA26477 ; Mon, 26 Dec 1994 16:45:59 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA09954; Mon, 26 Dec 94 16:46:18 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412261546.AA09954@blaise.ibp.fr> Subject: Re: /etc/rc.shutdown (And some free association about logging) To: peter@bonkers.taronga.com (Peter da Silva) Date: Mon, 26 Dec 1994 16:46:18 +0100 (MET) Cc: hackers@freebsd.org (Hackers' list FreeBSD) In-Reply-To: <199412261248.GAA25205@bonkers.taronga.com> from "Peter da Silva" at Dec 26, 94 06:48:25 am X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 533 Sender: hackers-owner@freebsd.org Precedence: bulk > even after you've modified FTPD to log more stuff under -l). I've started > adding code there to select on program name as well as the rather overly broad > facilities... but if it's already done by some miracle I'd like to avoid Yes, that would be nice. > (Any interest in a nosier ftpd?) Count me on this one. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223 From owner-freebsd-hackers Mon Dec 26 07:56:46 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA27385 for hackers-outgoing; Mon, 26 Dec 1994 07:56:46 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA27379 for ; Mon, 26 Dec 1994 15:56:44 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id QAA26521 ; Mon, 26 Dec 1994 16:56:47 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA09999; Mon, 26 Dec 94 16:57:05 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412261557.AA09999@blaise.ibp.fr> Subject: Re: /etc/rc.shutdown (First shot) To: roberto@blaise.ibp.fr (Ollivier ROBERT) Date: Mon, 26 Dec 1994 16:57:05 +0100 (MET) Cc: tinguely@plains.nodak.edu, hackers@freebsd.org In-Reply-To: <9412261542.AA09946@blaise.ibp.fr> from "Ollivier ROBERT" at Dec 26, 94 04:42:42 pm X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 382 Sender: hackers-owner@freebsd.org Precedence: bulk > FreeBSD will stay BSD but that does not mean that we can add a few features ^^^ Ooops. I meant _can't_ of course. > like the rc.shutdown script. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223 From owner-freebsd-hackers Mon Dec 26 07:57:11 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA27401 for hackers-outgoing; Mon, 26 Dec 1994 07:57:11 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id PAA27393 for ; Mon, 26 Dec 1994 15:57:02 GMT Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA06904 (5.67a/IDA-1.5); Mon, 26 Dec 1994 09:46:06 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA27653; 26 Dec 94 09:25:29 CST (Mon) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id JAA27650; Mon, 26 Dec 1994 09:25:28 -0600 Message-Id: <199412261525.JAA27650@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: Mark Tinguely Cc: jgreco@brasil.moneng.mei.com, roberto@blaise.ibp.fr, hackers@freebsd.org Subject: Re: /etc/rc.shutdown (First shot) In-Reply-To: Your message of "Mon, 26 Dec 94 09:28:05 CST." <199412261528.AA04045@plains.NoDak.edu> X-Mailer: exmh version 1.4.1 7/21/94 Date: Mon, 26 Dec 1994 09:25:26 -0600 From: Peter da Silva Sender: hackers-owner@freebsd.org Precedence: bulk I'm about as pro run levels as anyone and even I'm not arguing that. Just that normal shutdown should be more orderly than SIGTERM+10. From owner-freebsd-hackers Mon Dec 26 07:57:50 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA27443 for hackers-outgoing; Mon, 26 Dec 1994 07:57:50 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id PAA27422 for ; Mon, 26 Dec 1994 15:57:39 GMT Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA06925 (5.67a/IDA-1.5); Mon, 26 Dec 1994 09:54:14 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA27805; 26 Dec 94 09:34:05 CST (Mon) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id JAA27802; Mon, 26 Dec 1994 09:34:05 -0600 Message-Id: <199412261534.JAA27802@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: roberto@blaise.ibp.fr (Ollivier ROBERT) Cc: hackers@freebsd.org (Hackers' list FreeBSD) Subject: Re: And some free association about logging In-Reply-To: Your message of "Mon, 26 Dec 94 16:46:18 +0100." <9412261546.AA09954@blaise.ibp.fr> X-Mailer: exmh version 1.4.1 7/21/94 Date: Mon, 26 Dec 1994 09:34:03 -0600 From: Peter da Silva Sender: hackers-owner@freebsd.org Precedence: bulk OK, this is relative to the FTPD in 1.1.5.1. Also, the -L flag is part of incomplete changes. With -L security-logging stuff and connections would be done under LOG_WARN for easier tracking, but I put that on the back burner to dig into syslogd. *** ftpd.c.orig Fri Dec 23 10:19:35 1994 --- ftpd.c Fri Dec 23 11:45:22 1994 *************** *** 208,213 **** --- 208,219 ---- debug = 1; break; + #ifdef SECURITY_LOGGING + case 'L': + logging = 2; + break; + #endif + case 'l': logging = 1; break; *************** *** 550,555 **** --- 556,570 ---- struct stat st; int (*closefunc)(); + #ifdef SECURITY_LOGGING + if (logging) { + if(cmd) + syslog(LOG_INFO, "request %s(%s)", name, cmd); + else + syslog(LOG_INFO, "request %s", name); + } + #endif + if (cmd == 0) { fin = fopen(name, "r"), closefunc = fclose; st.st_size = 0; *************** *** 610,615 **** --- 625,636 ---- int (*closefunc)(); char *gunique(); + #ifdef SECURITY_LOGGING + if (logging) { + syslog(LOG_INFO, "store %s", name); + } + #endif + if (unique && stat(name, &st) == 0 && (name = gunique(name)) == NULL) return; *************** *** 948,953 **** --- 969,980 ---- FILE *fin; int c; + #ifdef SECURITY_LOGGING + if (logging) { + syslog(LOG_INFO, "stat %s", filename); + } + #endif + (void) sprintf(line, "/bin/ls -lgA %s", filename); fin = ftpd_popen(line, "r"); lreply(211, "status of %s:", filename); *************** *** 1091,1096 **** --- 1118,1129 ---- { struct stat st; + #ifdef SECURITY_LOGGING + if (logging) { + syslog(LOG_INFO, "delete %s", name); + } + #endif + if (stat(name, &st) < 0) { perror_reply(550, name); return; *************** *** 1113,1118 **** --- 1146,1156 ---- cwd(path) char *path; { + #ifdef SECURITY_LOGGING + if (logging) { + syslog(LOG_INFO, "chdir %s", path); + } + #endif if (chdir(path) < 0) perror_reply(550, path); else *************** *** 1122,1127 **** --- 1160,1170 ---- makedir(name) char *name; { + #ifdef SECURITY_LOGGING + if (logging) { + syslog(LOG_INFO, "makedir %s", name); + } + #endif if (mkdir(name, 0777) < 0) perror_reply(550, name); else *************** *** 1131,1136 **** --- 1174,1184 ---- removedir(name) char *name; { + #ifdef SECURITY_LOGGING + if (logging) { + syslog(LOG_INFO, "rmdir %s", name); + } + #endif if (rmdir(name) < 0) perror_reply(550, name); else *************** *** 1165,1170 **** --- 1213,1223 ---- renamecmd(from, to) char *from, *to; { + #ifdef SECURITY_LOGGING + if (logging) { + syslog(LOG_INFO, "rename %s to %s", from, to); + } + #endif if (rename(from, to) < 0) perror_reply(550, "rename"); else *************** *** 1345,1350 **** --- 1398,1408 ---- int simple = 0; char *strpbrk(); + #ifdef SECURITY_LOGGING + if (logging) { + syslog(LOG_INFO, "list %s", whichfiles); + } + #endif if (strpbrk(whichfiles, "~{[*?") != NULL) { extern char **ftpglob(), *globerr; From owner-freebsd-hackers Mon Dec 26 10:25:03 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA28861 for hackers-outgoing; Mon, 26 Dec 1994 10:25:03 -0800 Received: from rover.village.org (rover.village.org [198.137.146.49]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id SAA28852 for ; Mon, 26 Dec 1994 18:24:58 GMT Received: from localhost (localhost [127.0.0.1]) by rover.village.org (8.6.8/8.6.6) with SMTP id LAA12357; Mon, 26 Dec 1994 11:22:16 -0700 Message-Id: <199412261822.LAA12357@rover.village.org> To: Thomas Gellekum Subject: Re: Linux commercial softwarew Cc: jkh@time.cdrom.com (Jordan K. Hubbard), pechter@stars.sed.monmouth.army.mil, FreeBSD-hackers@freefall.cdrom.com In-reply-to: Your message of Thu, 22 Dec 1994 09:45:34 +0100 Date: Mon, 26 Dec 1994 11:22:11 -0700 From: Warner Losh Sender: hackers-owner@freebsd.org Precedence: bulk : Maybe not a commercial app, but what's up with the OI port? Haven't : heard about that a long time, while it is available for Linux. We've change owners, and the new owners will likely not be making this available unless a tangible return on investment can be shown. If you are interested in purchasing OI for Linux or for FreeBSD, please drop me a line at imp@boulder.openware.com and I'll put you in touch with the powers that be. I wish I had better news than this, but I'm afraid that this is the case :-(. Warner From owner-freebsd-hackers Mon Dec 26 12:27:42 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA00384 for hackers-outgoing; Mon, 26 Dec 1994 12:27:42 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id UAA00378 for ; Mon, 26 Dec 1994 20:27:41 GMT Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id MAA16604; Mon, 26 Dec 1994 12:26:20 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: Warner Losh cc: Thomas Gellekum , pechter@stars.sed.monmouth.army.mil, FreeBSD-hackers@freefall.cdrom.com Subject: Re: Linux commercial softwarew In-reply-to: Your message of "Mon, 26 Dec 94 11:22:11 MST." <199412261822.LAA12357@rover.village.org> Date: Mon, 26 Dec 1994 12:26:17 -0800 Message-ID: <16603.788473577@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > We've change owners, and the new owners will likely not be making this > available unless a tangible return on investment can be shown. If you > are interested in purchasing OI for Linux or for FreeBSD, please drop > me a line at imp@boulder.openware.com and I'll put you in touch with > the powers that be. Tanglible returns on investments are always so nebulous though. I know I'm preaching to the choir when I tell YOU this, but I'm just hoping that you'll pass some of these questions discretely onto management when and if possible. 1. How much `investment' can there be in a FreeBSD or Linux version when all the work has already been done and will be done by one of your people working more or less for free on it? 2. Have you guys ever heard of advertising? That's investment that goes out in hopes that more sales will come in as a result. _Properly handled_ this time, a free port could be really good advertising for a fraction of what it would cost to advertise in all the various journals that programmers and other people of potential interest hang out. Free UN*X is not just a cute thing, it's becoming all the rage, like the Internet did. Do they want to catch the wave now, or do they want to do it later? Some might find it hubris to claim that Free UN*X is a big thing, but I've been going to these conferences lately and I'm seeing a BIG impact that's only getting bigger every day. Maybe your management should _attend_ one of these symposiums sometime! :-) [Yeah, Jordan, maybe you should even DO that symposium you've been threatening to do for the last 2 years.. :-)] Jordan From owner-freebsd-hackers Mon Dec 26 12:31:38 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA00460 for hackers-outgoing; Mon, 26 Dec 1994 12:31:38 -0800 Received: from gw.cronyx.msk.su (gw.cronyx.srcc.msu.su [158.250.244.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id UAA00454 for ; Mon, 26 Dec 1994 20:31:32 GMT Received: by gw.cronyx.msk.su id XAA01596; (8.6.9/vak/1.8a) Mon, 26 Dec 1994 23:29:51 +0300 To: hackers@freebsd.org Message-ID: Organization: Cronyx Ltd. From: "Serge V.Vakulenko" Date: Mon, 26 Dec 94 23:29:51 +0300 X-Mailer: BML [UNIX Beauty Mail v.1.39] Subject: New Seagate ST01/ST02 driver uploaded Sender: hackers-owner@freebsd.org Precedence: bulk I put the new version of Seagate ST01/02, Future Domain TMC-885/TMC-950 driver to ftp.cdrom.com:/pub/FreeBSD/incoming, file `seagate.tgz'. It would be great to see it in 2.1 to install it from my CD-ROM. :-) It was not tested on Future Domain cards though: I don't have these cards. Are there any volunteers? The README for the driver follows. Best wishes, Serge ---------------------------------------------------------------------- This is new version of Seagate ST01/02, Future Domain TMC-885, TMC-950 SCSI driver for FreeBSD. I started from the 2.0R version and mostly rewrote it. New features are: 1) New probe algorithm. Old driver read the BIOS region of the adapter memory and find the copyright string. The problem was in the BIOS itself: it conflicted with IDE disks. The solution was to unplug it and make the probe algorithm to work without it. 2) Proper timeout handling in numerous places where the driver polls waiting for some event. 3) Assembler flagments added in critical places, mostly for data transfer to of from the target. It was possible to make it faster, but at the price of decreasing reliability. 4) Target-dependent delays when waiting for REQ deassert event. Some devices seem to be slower (CD-ROMS, some tape drives), and some seem to be too fast (disks). The driver tests the REQ deassert timeout for each target and then uses it for polling. 5) Device flags added for SCSI parity control and sense request priority control. 6) Generic cleanup, after which the driver became much more readable (at least by me:). 7) Target data parity error logging is limited to avoid log file overflow. 8) Manual page added. The driver was tested on the following hardware: Adapter: Seagate ST02 Disk: HP D1686 Streamers: Archive Viper 150, Wangtek 5525 CD-ROMs: Toshiba XM-3401, NEC CDR-25 Installation of the driver: rm /sys/i386/isa/seagate.c cp seagate.c /sys/i386/isa cp sea.4 /usr/share/man/man4 cd /sys/compile/YOUR_CONF make make install reboot ---------------------------------------------------------------------- --- Serge Vakulenko Cronyx Ltd., Moscow Unix consulting and custom programming phone: +7 (095) 939-23-23 FreeBSD support fax: +7 (095) 939-03-00 Relcom network development From owner-freebsd-hackers Mon Dec 26 13:08:48 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA00722 for hackers-outgoing; Mon, 26 Dec 1994 13:08:48 -0800 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA00715 for ; Mon, 26 Dec 1994 21:08:39 GMT Received: (dufault@localhost) by hda.com (8.6.9/8.3) id QAA11376; Mon, 26 Dec 1994 16:09:56 -0500 From: Peter Dufault Message-Id: <199412262109.QAA11376@hda.com> Subject: Re: Real Time Extensions on -current To: dufault@hda.com (Peter Dufault) Date: Mon, 26 Dec 1994 16:09:56 -0500 (EST) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412241258.HAA18559@hda.com> from "Peter Dufault" at Dec 24, 94 07:58:25 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 576 Sender: hackers-owner@freebsd.org Precedence: bulk I've gotten a few responses to this message. I'd like to save the names and start a mailing list. I'm not sure how well a list will work out of hda.com (the IP link goes on line three times a day if no one is using it) but we can give it a try. Those of you who respond please let me know if you would like to be on the list. Peter -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 ++++ Formerly hd@world.std.com. E-mail problems? Tell hdslip@iii.net From owner-freebsd-hackers Mon Dec 26 13:24:06 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA00912 for hackers-outgoing; Mon, 26 Dec 1994 13:24:06 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA00906 for ; Mon, 26 Dec 1994 21:24:00 GMT Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id NAA11154; Mon, 26 Dec 1994 13:23:12 -0800 From: "Rodney W. Grimes" Message-Id: <199412262123.NAA11154@gndrsh.aac.dev.com> Subject: Re: /etc/rc.shutdown (And some free association about logging) To: roberto@blaise.ibp.fr (Ollivier ROBERT) Date: Mon, 26 Dec 1994 13:23:11 -0800 (PST) Cc: peter@bonkers.taronga.com, hackers@freebsd.org In-Reply-To: <9412261546.AA09954@blaise.ibp.fr> from "Ollivier ROBERT" at Dec 26, 94 04:46:18 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 801 Sender: hackers-owner@freebsd.org Precedence: bulk > > > even after you've modified FTPD to log more stuff under -l). I've started > > adding code there to select on program name as well as the rather overly broad > > facilities... but if it's already done by some miracle I'd like to avoid > > Yes, that would be nice. > > > (Any interest in a nosier ftpd?) > > Count me on this one. Try out wu-ftpd, it is in ports, and logs every connection, and file transfer, it can even refuse connectios on hosts it can not get a reverse look up on. Please, don't reinvent the wheel, if wu-ftp does not log what you want I would be very amazed. (Though, it does this without the aid of syslogd :-(). -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-freebsd-hackers Mon Dec 26 14:52:18 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA01458 for hackers-outgoing; Mon, 26 Dec 1994 14:52:18 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id WAA01452 for ; Mon, 26 Dec 1994 22:52:13 GMT Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA17939; Mon, 26 Dec 1994 17:30:52 +0100 Received: by sax.sax.de (8.6.9/8.6.9) with UUCP id RAA13778 for hackers%freebsd.org@sax.de; Mon, 26 Dec 1994 17:37:33 +0100 Received: by bonnie.tcd-dresden.de (8.6.8/8.6.6) id OAA26549; Mon, 26 Dec 1994 14:59:51 +0100 From: j@uriah.sax.de (J Wunsch) Message-Id: <199412261359.OAA26549@bonnie.tcd-dresden.de> Subject: Re: ttymalloc()? To: hackers@freebsd.org (FreeBSD hackers) Date: Mon, 26 Dec 1994 14:59:51 +0100 (MET) In-Reply-To: <199412250000.QAA01643@corbin.Root.COM> from "David Greenman" at Dec 24, 94 04:00:34 pm X-Phone: +49-351-8141 137 Reply-To: joerg_wunsch@uriah.sax.de X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 612 Sender: hackers-owner@freebsd.org Precedence: bulk As David Greenman wrote: | | >The related question is: would it be similiar to FreeBSD 1.1.5, or | >similiar to NetBSD? >:-) | | I recall Guido was the one to put this support in FreeBSD, so I suppose it | is his decision on how it should be done for 1.1.5. So i'll defer it in the pcvt port. This increases the #ifdef spagghetti there, but doesn't imply any time pressure for FreeBSD. -- cheers, J"org work: --- no longer --- private: joerg_wunsch@uriah.sax.de Never trust an operating system you don't have sources for. ;-) From owner-freebsd-hackers Mon Dec 26 15:00:25 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA01497 for hackers-outgoing; Mon, 26 Dec 1994 15:00:25 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA01491 for ; Mon, 26 Dec 1994 23:00:22 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id AAA27375 ; Tue, 27 Dec 1994 00:00:18 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA10426; Tue, 27 Dec 94 00:00:37 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412262300.AA10426@blaise.ibp.fr> Subject: Re: /etc/rc.shutdown (And some free association about logging) To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Tue, 27 Dec 1994 00:00:36 +0100 (MET) Cc: peter@bonkers.taronga.com, hackers@freebsd.org In-Reply-To: <199412262123.NAA11154@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Dec 26, 94 01:23:11 pm X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 445 Sender: hackers-owner@freebsd.org Precedence: bulk > Please, don't reinvent the wheel, if wu-ftp does not log what you want I > would be very amazed. (Though, it does this without the aid of syslogd :-(). The extentions to syslogd (logging by program name) are very interesting. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Mon Dec 26 15:02:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA01534 for hackers-outgoing; Mon, 26 Dec 1994 15:02:02 -0800 Received: from tiny.sprintlink.net (tiny.sprintlink.net [199.0.55.90]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA01528 for ; Mon, 26 Dec 1994 23:02:00 GMT Received: from mugshot.profile.net (mugshot.profile.net [204.96.216.2]) by tiny.sprintlink.net (8.6.9/8.6.9) with SMTP id SAA20673; Mon, 26 Dec 1994 18:01:28 -0500 From: "Bill Teasley, System Administrator" To: vak@gw.cronyx.msk.su, hackers@freebsd.org Subject: New Seagate ST01/ST02 driver uploaded X-Mailer: ScoMail 1.0 Date: Mon, 26 Dec 1994 16:42:28 -0600 (CST) Message-ID: <9412261642.aa02017@mugshot.profile.net> Sender: hackers-owner@freebsd.org Precedence: bulk I put the new version of Seagate ST01/02, Future Domain TMC-885/TMC-950 driver to ftp.cdrom.com:/pub/FreeBSD/incoming, file `seagate.tgz'. It would be great to see it in 2.1 to install it from my CD-ROM. :-) It was not tested on Future Domain cards though: I don't have these cards. Are there any volunteers? Good timing sir! Was worring about the forgotten Adaptec card under the Xmas tree. Will indeed nail that and try upgrading Linux to FreeBSD under FD850/950. Teasley Profile International teasley@mugshot.profile.net 1200 N. Walker, #304 Voice 405-232-0090 Fax 405-232-0097 Okc Ok 73103 BBS 405-236-FILE IP 204.96.216.2 Purveyours of only the finest in "master friendly" solutions for a profitable existence within the VIRTUAL OFFICE From owner-freebsd-hackers Mon Dec 26 15:58:19 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA02036 for hackers-outgoing; Mon, 26 Dec 1994 15:58:19 -0800 Received: from uivlsi.csl.uiuc.edu (uivlsi.csl.uiuc.edu [128.174.57.133]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id XAA02030 for ; Mon, 26 Dec 1994 23:58:17 GMT Received: by uivlsi.csl.uiuc.edu id AA29664 (5.67b/IDA-1.3.4 for freebsd-hackers@freebsd.org); Mon, 26 Dec 1994 17:57:45 -0600 Date: Mon, 26 Dec 1994 17:57:45 -0600 From: Terry Lee Message-Id: <199412262357.AA29664@uivlsi.csl.uiuc.edu> To: freebsd-hackers@freebsd.org Subject: SCSI support for multiple LUNs? Sender: hackers-owner@freebsd.org Precedence: bulk I'm using FreeBSD-1.1.5.1, and I'm trying to get two ESDI disks to work with an Emulex MD21 ESDI-to-SCSI bridge. The ESDI disks will appear as LUN 0 and LUN 1 of the same SCSI ID. I have a few questions about the SCSI driver for the Buslogic BT-445C host adapter: 1. Does the SCSI driver already support multiple LUNs or would a custom kernel be needed? 2. Does FreeBSD have a program similar to Sun's /usr/etc/format that will let me access the drives' defect lists? 3. Does FreeBSD-2.0 have enhanced SCSI support? Thanks, Terry Lee terry@uivlsi.csl.uiuc.edu From owner-freebsd-hackers Mon Dec 26 16:32:15 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA02430 for hackers-outgoing; Mon, 26 Dec 1994 16:32:15 -0800 Received: from prosun.first.gmd.de (prosun.first.gmd.de [192.35.150.136]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id AAA02424 for ; Tue, 27 Dec 1994 00:32:12 GMT Received: from g386bsd.first.gmd.de by prosun.first.gmd.de (4.1/SMI-4.1) id AA14495; Tue, 27 Dec 94 01:30:37 +0100 Received: by g386bsd.first.gmd.de (BAA06636); Tue, 27 Dec 1994 01:32:34 +0100 From: Andreas Schulz Message-Id: <199412270032.BAA06636@g386bsd.first.gmd.de> Subject: Re: SCSI support for multiple LUNs? To: terry@uivlsi.csl.uiuc.edu (Terry Lee) Date: Tue, 27 Dec 1994 01:32:34 +0059 (MET) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199412262357.AA29664@uivlsi.csl.uiuc.edu> from "Terry Lee" at Dec 26, 94 05:57:45 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 956 Sender: hackers-owner@freebsd.org Precedence: bulk > 1. Does the SCSI driver already support multiple LUNs or would a custom > kernel be needed? Should work ok, the driver has support for luns. But i don't know if anyone has tested that part already. So welcome beta tester :-). > 2. Does FreeBSD have a program similar to Sun's /usr/etc/format that will let > me access the drives' defect lists? No sorry, nothing like that is available in the normal distribution. > 3. Does FreeBSD-2.0 have enhanced SCSI support? What do you mean with enhanced SCSI support ? FreeBSD 2.0 works with the so called FAST SCSI drives without problems. So you can use 5Mb and 10Mb drives without problems. Should also work with 20Mb/16bit SCSI busses. But i also don't know if anyone has tested that already. ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Andreas Schulz GMD-FIRST 12489 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: +49-30-6392-1856/+49-177-2134745 Germany/Europe From owner-freebsd-hackers Mon Dec 26 17:27:26 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA03128 for hackers-outgoing; Mon, 26 Dec 1994 17:27:26 -0800 Received: from relay3.UU.NET (relay3.UU.NET [192.48.96.8]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id BAA03121 for ; Tue, 27 Dec 1994 01:27:16 GMT Received: from news.cs.utexas.edu by relay3.UU.NET with SMTP id QQxwaf13345; Mon, 26 Dec 1994 20:26:47 -0500 Received: from mail.cs.utexas.edu (root@mail.cs.utexas.edu [128.83.139.10]) by news.cs.utexas.edu (8.6.9/8.6.9) with ESMTP id TAA00269 for ; Mon, 26 Dec 1994 19:26:00 -0600 Received: from uudell.us.dell.com (uudell.us.dell.com [143.166.224.6]) by mail.cs.utexas.edu (8.6.9/8.6.9) with SMTP id TAA20794 for ; Mon, 26 Dec 1994 19:26:02 -0600 Received: from obiwan by uudell.us.dell.com (5.67/dns1.3) with UUCP id AA19529; Tue, 27 Dec 94 01:20:31 GMT Received: by obiwan.uucp (Smail3.1.28.1 #19) id m0rMQTl-00031kC; Mon, 26 Dec 94 19:13 WET Message-Id: From: obiwan!bob@uudell.us.dell.com (Bob Willcox) Subject: Install tape format?? To: freebsd-hackers@freefall.cdrom.com (freebsd-hackers) Date: Mon, 26 Dec 1994 19:13:33 -0600 (CST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 382 Sender: hackers-owner@freebsd.org Precedence: bulk What format should the install tape be in? I am trying to install a friends system with 2.0-SNAP and don't know what format the install program expects the tape to be in. Thanks, -- Bob Willcox ...!{rutgers|ames}!cs.utexas.edu!uudell!obiwan!bob Austin, TX or try: @uudell.us.dell.com:obiwan!bob 512-258-4224 (home), 512-838-3914 (work) From owner-freebsd-hackers Mon Dec 26 17:34:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA03228 for hackers-outgoing; Mon, 26 Dec 1994 17:34:02 -0800 Received: from n8ino.mainstream.com (n8ino.mainstream.com [192.231.143.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id BAA03222 for ; Tue, 27 Dec 1994 01:33:58 GMT Received: from localhost (uucp@localhost) by n8ino.mainstream.com (8.6.5/8.6.5) id UAA21844 for FreeBSD-hackers@freefall.cdrom.com; Mon, 26 Dec 1994 20:33:26 -0500 Received: by dg1020 (5.4.2/5.40/1.0) id AA08221; Mon, 26 Dec 1994 19:55:23 -0500 Date: Mon, 26 Dec 1994 19:55:23 -0500 From: dg1020!w_taylor@n8ino.Mainstream.com (Bill Taylor) Message-Id: <9412270055.AA08221@dg1020> To: n8ino!FreeBSD-hackers@freefall.cdrom.com Cc: n8ino!dufault@hda.com, n8ino!smcarey@mailbox.syr.edu Subject: Real-time and parallel extensions to FreeBSD Sender: hackers-owner@freebsd.org Precedence: bulk I recently heard from dufault@hda.com that there is interest in real-time extensions to FreeBSD. Since my firm is interested in both real-time and parallelism, he suggested that I ask this mailing list about both. My firm sells an extremely powerful software package designed for real-time process control. Details are availble by e-mail on request, but to oversimplify, our product is a knowledge processing system which handles more than 300,000 "rules" per second on a single 68030. In the very short term, a PowerPC is probably enough, but most of our systems require a rather powerful MMI which usually needs its own processor. In our design, the MMI task and the control task or tasks communicate via shared memory. Our customers are sufficiently interested in what we are doing to ask us for proposals for systems which are too big to run on a single power PC. We need more MIPs; the simplest approach we know is to spread our application across multiple processors in a single VME rack. We do not know of a successful parallelism setup for the IBM PC architecture, if there is one, we would consider it, too. As to real-time requirements, our real need is for consistent response. We do NOT process a high volume of interrupts, we tend to offload interrupt-intense parts of the application to auxiliary processors, but we need consistent response. Normal Unix systems seem to snatch a significant chunk of resources for housekeeping on a basis which we do not understand. One approach would be to put the housekeeping on its own processor. dufault@hda.com recently distributed a message speaking of reducing the cost of task switching and making several other kernel adjustments in the interest of making FreeBSD better for real-time. I would appreciate knowing the level of interest in both real-time and parallel processing in the FreeBSD community. We use FreeBSD to run a single-task portion of our application and are impressed with it. We would like to standardize on one operating system; as far as we know, FreeBSD is the most robust around, but we nee to know whether there are plans to take it parallel. If there is interest but implementing the interest requires nonexistent resources, we would also be interested in knowing the resource requirements, there might be something we could do. Thank you very much. bill@mainstream.com From owner-freebsd-hackers Mon Dec 26 18:05:27 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id SAA03866 for hackers-outgoing; Mon, 26 Dec 1994 18:05:27 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id CAA03860 for ; Tue, 27 Dec 1994 02:05:20 GMT Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id SAA04022; Mon, 26 Dec 1994 18:03:20 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id SAA00302; Mon, 26 Dec 1994 18:03:20 -0800 Message-Id: <199412270203.SAA00302@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: w_taylor@n8ino.mainstream.com (Bill Taylor) cc: FreeBSD-hackers@freefall.cdrom.com, dufault@hda.com, smcarey@mailbox.syr.edu Subject: Re: Real-time and parallel extensions to FreeBSD In-reply-to: Your message of "Mon, 26 Dec 94 19:55:23 EST." <9412270055.AA08221@dg1020> From: David Greenman Reply-To: davidg@Root.COM Date: Mon, 26 Dec 1994 18:03:14 -0800 Sender: hackers-owner@freebsd.org Precedence: bulk >system; as far as we know, FreeBSD is the most robust around, but we >nee to know whether there are plans to take it parallel. If there is There is work in progress on SMP support. I won't say more until this work has been completed. FreeBSD 2.0 has primitive real-time scheduling, but work is needed to add preemption points before FreeBSD will be of much use in a 'real' real-time application. -DG From owner-freebsd-hackers Mon Dec 26 21:05:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA08025 for hackers-outgoing; Mon, 26 Dec 1994 21:05:02 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id FAA08014 for ; Tue, 27 Dec 1994 05:04:59 GMT Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id VAA17722; Mon, 26 Dec 1994 21:04:14 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: obiwan!bob@uudell.us.dell.com (Bob Willcox) cc: freebsd-hackers@freefall.cdrom.com (freebsd-hackers) Subject: Re: Install tape format?? In-reply-to: Your message of "Mon, 26 Dec 94 19:13:33 CST." Date: Mon, 26 Dec 1994 21:04:11 -0800 Message-ID: <17721.788504651@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk Read the release notes! Read the release notes! :-) > What format should the install tape be in? I am trying to install a friends > system with 2.0-SNAP and don't know what format the install program expects > the tape to be in. > > Thanks, > -- > Bob Willcox ...!{rutgers|ames}!cs.utexas.edu!uudell!obiwan!bob > Austin, TX or try: @uudell.us.dell.com:obiwan!bob > 512-258-4224 (home), 512-838-3914 (work) From owner-freebsd-hackers Mon Dec 26 23:26:33 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA10093 for hackers-outgoing; Mon, 26 Dec 1994 23:26:33 -0800 Received: from csc.canberra.edu.au (csc.canberra.edu.au [137.92.1.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id HAA10084 for ; Tue, 27 Dec 1994 07:26:21 GMT Received: from student.canberra.edu.au by csc.canberra.edu.au (5.65/1.35) id AA09603; Tue, 27 Dec 94 18:25:21 +1100 Received: by student.canberra.edu.au (5.0/SMI-SVR4) id AA05486; Tue, 27 Dec 94 18:25:01 EDT Date: Tue, 27 Dec 1994 18:25:00 +1100 (EDT) From: "Gasparovski / Daniel (ISE)" X-Sender: u923168@student To: hackers@freebsd.org Subject: ptrace Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Length: 439 Sender: hackers-owner@freebsd.org Precedence: bulk A quick question. Is there anything in FreeBSD which does what the PTRACE_SYSCALL option should do in ptrace(2)? I've poked around in the sources (PTRACE_ATTACH and PTRACE_DETACH, though broken, can be acheived through procfs.. but no PTRACE_SYSCALL) but havn't found anything yet. Or do I have to use PTRACE_SINGLESTEP and pray to the BSD gods? (yuk) (still not sure how I'd detect syscalls, but shouldn't be *that* hard) Dan ... From owner-freebsd-hackers Mon Dec 26 23:57:39 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA10486 for hackers-outgoing; Mon, 26 Dec 1994 23:57:39 -0800 Received: from transarc.com (transarc.com [192.54.226.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id HAA10480 for ; Tue, 27 Dec 1994 07:57:36 GMT Received: by transarc.com (5.54/3.15) id for hackers@freebsd.org; Tue, 27 Dec 94 02:57:03 EST Received: via switchmail; Tue, 27 Dec 1994 02:57:03 -0500 (EST) Received: from unix3 via qmail ID ; Tue, 27 Dec 1994 02:56:30 -0500 (EST) Received: from unix3 via qmail ID ; Tue, 27 Dec 1994 02:56:27 -0500 (EST) Received: from cui.2.0.CUILIB.3.45.SNAP.NOT.LINKED.unix3.sun4.40 via MS.5.6.unix3.sun4_40; Tue, 27 Dec 1994 02:56:27 -0500 (EST) Message-Id: Date: Tue, 27 Dec 1994 02:56:27 -0500 (EST) From: Pat_Barron@transarc.com To: hackers@freebsd.org Subject: Why am I getting these SLIP crashes? Sender: hackers-owner@freebsd.org Precedence: bulk OK, I have some more data about these SLIP related crashes that I've been happening. Here is what I've been doing to start SLIP sessions: 1) "cu -l /dev/cua01 -s 19200" 2) Dial up to Cisco terminal server, start SLIP; the terminal server gives me an IP address (chosen based on what line I've gotten in my hunt group). 3) Use "~^Z" to suspend cu. 4) "slattach -h -s 19200 /dev/cua01" 5) "ifconfig sl0 " 6) "route add default " 7) "telnet " At this point, the machine spontaneously reboots. No panic or anything, just a reboot - as if the CPU has taken a double-fault or something else that would shut it down. This even happens if I do "telnet localhost" in step #7 (but this may be because a DNS lookup is being attempted across the SLIP interface). Now, I *can* get this to work; between step #5 and step #6, I have to do "route add 0"; I get a warning message that says "old usage of trailing 0; assuming route to if", but that was what I wanted anyway. *Then* I can use the network, and th machine does not crash. What changed to make this happen? I am using the -current version of 2.0, which I am sup'ing from freefall. I first noticed this behavior in a kernel I sup'ped some time around the first or second week of December. Thanks, --Pat. From owner-freebsd-hackers Tue Dec 27 00:10:52 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA10557 for hackers-outgoing; Tue, 27 Dec 1994 00:10:52 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA10551 for ; Tue, 27 Dec 1994 08:10:48 GMT Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id AAA04337; Tue, 27 Dec 1994 00:10:15 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id AAA00388; Tue, 27 Dec 1994 00:10:14 -0800 Message-Id: <199412270810.AAA00388@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: Pat_Barron@transarc.com cc: hackers@freebsd.org Subject: Re: Why am I getting these SLIP crashes? In-reply-to: Your message of "Tue, 27 Dec 94 02:56:27 EST." From: David Greenman Reply-To: davidg@Root.COM Date: Tue, 27 Dec 1994 00:10:13 -0800 Sender: hackers-owner@freebsd.org Precedence: bulk >OK, I have some more data about these SLIP related crashes that I've been >happening. Here is what I've been doing to start SLIP sessions: > > 1) "cu -l /dev/cua01 -s 19200" > 2) Dial up to Cisco terminal server, start SLIP; the terminal > server gives me an IP address (chosen based on what line I've > gotten in my hunt group). > 3) Use "~^Z" to suspend cu. > 4) "slattach -h -s 19200 /dev/cua01" > 5) "ifconfig sl0 " > 6) "route add default " > 7) "telnet " > >At this point, the machine spontaneously reboots. No panic or anything, >just a reboot - as if the CPU has taken a double-fault or something else >that would shut it down. > >This even happens if I do "telnet localhost" in step #7 (but this may be >because a DNS lookup is being attempted across the SLIP interface). > >Now, I *can* get this to work; between step #5 and step #6, I have to >do "route add 0"; I get a warning >message that says "old usage of trailing 0; assuming route to if", but >that was what I wanted anyway. *Then* I can use the network, and th >machine does not crash. > >What changed to make this happen? I am using the -current version of 2.0, >which I am sup'ing from freefall. I first noticed this behavior in a kernel >I sup'ped some time around the first or second week of December. The route cloning code was enabled. I've seen the same symptom here, but all I had to do was a 'route add default w.x.y.z' after a default route had been previously added - no telnet or anything, just add the route. The reboot without panic is most likely caused by a recursion loop occurring between two or more subroutines until the kernel stack overflows. -DG From owner-freebsd-hackers Tue Dec 27 00:25:09 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA10611 for hackers-outgoing; Tue, 27 Dec 1994 00:25:09 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA10602 for ; Tue, 27 Dec 1994 08:24:56 GMT Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id TAA05057; Tue, 27 Dec 1994 19:21:44 +1100 Date: Tue, 27 Dec 1994 19:21:44 +1100 From: Bruce Evans Message-Id: <199412270821.TAA05057@godzilla.zeta.org.au> To: hackers@freebsd.org, u923168@student.canberra.edu.au Subject: Re: ptrace Sender: hackers-owner@freebsd.org Precedence: bulk >A quick question. Is there anything in FreeBSD which does what the >PTRACE_SYSCALL option should do in ptrace(2)? I've poked around in the Not that I know if. >sources (PTRACE_ATTACH and PTRACE_DETACH, though broken, can be acheived >through procfs.. but no PTRACE_SYSCALL) but havn't found anything yet. procfs is broken too (regs are for curproc). >Or do I have to use PTRACE_SINGLESTEP and pray to the BSD gods? (yuk) >(still not sure how I'd detect syscalls, but shouldn't be *that* hard) How could PTRACE_SINGLESTEP be used other than to trace the whole process at glacial speed? It would be easier to implement PTRACE_SYSCALL. Which spelling of the ptrace numbers is least nonstandard, FreeBSD's PT_FOO or Linux's PTRACE_VERBOSEFOO? Bruce From owner-freebsd-hackers Tue Dec 27 00:36:01 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA10651 for hackers-outgoing; Tue, 27 Dec 1994 00:36:01 -0800 Received: from NS.netvision.net.il (root@ns.NetVision.net.il [192.114.201.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA10643 for ; Tue, 27 Dec 1994 08:35:54 GMT Received: from ugen.NetManage.co.il (ugen.netmanage.co.il [192.114.78.165]) by NS.netvision.net.il (8.6.9/8.6.9) with SMTP id KAA07726; Tue, 27 Dec 1994 10:35:29 +0200 Date: Tue, 27 Dec 94 10:35:05 PST From: "Ugen J.S.Antsilevich" Subject: RE: ptrace To: hackers@freebsd.org, "Gasparovski / Daniel (ISE)" X-Mailer: Chameleon 4.00-Arm-25, TCP/IP for Windows, NetManage Inc. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk > >A quick question. Is there anything in FreeBSD which does what the >PTRACE_SYSCALL option should do in ptrace(2)? I've poked around in the >sources (PTRACE_ATTACH and PTRACE_DETACH, though broken, can be acheived >through procfs.. but no PTRACE_SYSCALL) but havn't found anything yet. Huh!!!3 days ago that was the thing I asked..I was going to mix something around strace..Well,probably the best thing to do is to really write that PTRACE_SYSCALL myself but i have no time-i am hacking around IP. If you can do this-go ahead,esle may be once i will ... > >Or do I have to use PTRACE_SINGLESTEP and pray to the BSD gods? (yuk) >(still not sure how I'd detect syscalls, but shouldn't be *that* hard) Hmm..doesn't looks good to me... > >Dan ... > -- -=Ugen J.S.Antsilevich=- NetVision - Israeli Commercial Internet | Learning E-mail: ugen@NetVision.net.il | To Fly. [c] Phone : +972-4-550330 | From owner-freebsd-hackers Tue Dec 27 00:40:49 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA10690 for hackers-outgoing; Tue, 27 Dec 1994 00:40:49 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA10684 for ; Tue, 27 Dec 1994 08:40:48 GMT Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id AAA18180 for ; Tue, 27 Dec 1994 00:40:16 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: hackers@freebsd.org Subject: David and Jordan will be at the New Orleans USENIX Date: Tue, 27 Dec 1994 00:40:15 -0800 Message-ID: <18179.788517615@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk January 16th thru the 20th. Just in case anyone we know will be there, stop by and see us at Walnut Creek CDROM's booth [or during the conference]. Jordan From owner-freebsd-hackers Tue Dec 27 00:48:30 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA10928 for hackers-outgoing; Tue, 27 Dec 1994 00:48:30 -0800 Received: from kithrup.com (kithrup.com [140.174.23.40]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA10921 for ; Tue, 27 Dec 1994 08:48:28 GMT Received: (from sef@localhost) by kithrup.com (8.6.8/8.6.6) id AAA00564; Tue, 27 Dec 1994 00:47:53 -0800 Date: Tue, 27 Dec 1994 00:47:53 -0800 From: Sean Eric Fagan Message-Id: <199412270847.AAA00564@kithrup.com> To: hackers@freebsd.org, u923168@student.canberra.edu.au, ugen@netvision.net.il Subject: RE: ptrace Sender: hackers-owner@freebsd.org Precedence: bulk >>PTRACE_SYSCALL option should do in ptrace(2)? I've poked around in the >>sources (PTRACE_ATTACH and PTRACE_DETACH, though broken, can be acheived >>through procfs.. but no PTRACE_SYSCALL) but havn't found anything yet. >Huh!!!3 days ago that was the thing I asked..I was going to mix something >around strace..Well,probably the best thing to do is to really write that >PTRACE_SYSCALL myself but i have no time-i am hacking around IP. Back when I wrote it, I implemented most of the various stop-on-event things necessary for debugging. Stopping on syscall exit and syscall entry were two of them. The code needed is pretty small -- it consists of one routine, and then a conditional an a macro everywhere you want to have an event worth stopping on. Unfortunately, I've lost the code, but hopefully, I can find it again. The problem is that I never ported gdb to it, mainly because of lack of time and interest on my part. Sean. From owner-freebsd-hackers Tue Dec 27 00:58:30 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA10983 for hackers-outgoing; Tue, 27 Dec 1994 00:58:30 -0800 Received: from NS.netvision.net.il (root@ns.NetVision.net.il [192.114.201.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA10974 for ; Tue, 27 Dec 1994 08:58:26 GMT Received: from ugen.NetManage.co.il (ugen.netmanage.co.il [192.114.78.165]) by NS.netvision.net.il (8.6.9/8.6.9) with SMTP id KAA09756; Tue, 27 Dec 1994 10:57:59 +0200 Date: Tue, 27 Dec 94 10:58:31 PST From: "Ugen J.S.Antsilevich" Subject: RE: ptrace To: hackers@freebsd.org, u923168@student.canberra.edu.au, ugen@netvision.net.il, Sean Eric Fagan X-Mailer: Chameleon 4.00-Arm-25, TCP/IP for Windows, NetManage Inc. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk >The code needed is pretty small -- it consists of one routine, and then a >conditional an a macro everywhere you want to have an event worth stopping >on. Unfortunately, I've lost the code, but hopefully, I can find it again. Huh...do it!!!!:) > >The problem is that I never ported gdb to it, mainly because of lack of time >and interest on my part. Well..gdb can live as it is now...but PTRACE_SYSCALL is really important.. > >Sean. > -- -=Ugen J.S.Antsilevich=- NetVision - Israeli Commercial Internet | Learning E-mail: ugen@NetVision.net.il | To Fly. [c] Phone : +972-4-550330 | From owner-freebsd-hackers Tue Dec 27 01:18:45 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA11219 for hackers-outgoing; Tue, 27 Dec 1994 01:18:45 -0800 Received: from NS.netvision.net.il (root@ns.NetVision.net.il [192.114.201.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA11213 for ; Tue, 27 Dec 1994 09:18:40 GMT Received: from ugen.NetManage.co.il (ugen.netmanage.co.il [192.114.78.165]) by NS.netvision.net.il (8.6.9/8.6.9) with SMTP id LAA12301; Tue, 27 Dec 1994 11:18:11 +0200 Date: Tue, 27 Dec 94 11:18:58 PST From: "Ugen J.S.Antsilevich" Subject: Re: ptrace To: hackers@freebsd.org, u923168@student.canberra.edu.au, Bruce Evans X-Mailer: Chameleon 4.00-Arm-25, TCP/IP for Windows, NetManage Inc. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk >Which spelling of the ptrace numbers is least nonstandard, FreeBSD's >PT_FOO or Linux's PTRACE_VERBOSEFOO? Sun uses long names and so some other so probably if we'd switch to long it would be nice..but that's not the point.. > >Bruce > -- -=Ugen J.S.Antsilevich=- NetVision - Israeli Commercial Internet | Learning E-mail: ugen@NetVision.net.il | To Fly. [c] Phone : +972-4-550330 | From owner-freebsd-hackers Tue Dec 27 01:36:23 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA11284 for hackers-outgoing; Tue, 27 Dec 1994 01:36:23 -0800 Received: from NS.netvision.net.il (root@ns.NetVision.net.il [192.114.201.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA11278 for ; Tue, 27 Dec 1994 09:36:18 GMT Received: from ugen.NetManage.co.il (ugen.netmanage.co.il [192.114.78.165]) by NS.netvision.net.il (8.6.9/8.6.9) with SMTP id LAA15432; Tue, 27 Dec 1994 11:35:53 +0200 Date: Tue, 27 Dec 94 11:36:49 PST From: "Ugen J.S.Antsilevich" Subject: RE: David and Jordan will be at the New Orleans USENIX To: hackers@freebsd.org, "Jordan K. Hubbard" X-Mailer: Chameleon 4.00-Arm-25, TCP/IP for Windows, NetManage Inc. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk >January 16th thru the 20th. Just in case anyone we know will be >there, stop by and see us at Walnut Creek CDROM's booth [or during the >conference]. > > Jordan Hmm.whats that conference btw?(Not that i am going to come there but just interested..:) > -- -=Ugen J.S.Antsilevich=- NetVision - Israeli Commercial Internet | Learning E-mail: ugen@NetVision.net.il | To Fly. [c] Phone : +972-4-550330 | From owner-freebsd-hackers Tue Dec 27 01:42:37 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA11311 for hackers-outgoing; Tue, 27 Dec 1994 01:42:37 -0800 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA11305 for ; Tue, 27 Dec 1994 09:42:35 GMT Received: (dufault@localhost) by hda.com (8.6.9/8.3) id EAA00367; Tue, 27 Dec 1994 04:43:30 -0500 From: Peter Dufault Message-Id: <199412270943.EAA00367@hda.com> Subject: Re: SCSI support for multiple LUNs? To: ats@g386bsd.first.gmd.de (Andreas Schulz) Date: Tue, 27 Dec 1994 04:43:25 -0500 (EST) Cc: terry@uivlsi.csl.uiuc.edu, freebsd-hackers@freebsd.org In-Reply-To: <199412270032.BAA06636@g386bsd.first.gmd.de> from "Andreas Schulz" at Dec 27, 94 01:32:34 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 640 Sender: hackers-owner@freebsd.org Precedence: bulk Andreas Schulz writes: > > > > 1. Does the SCSI driver already support multiple LUNs or would a custom > > kernel be needed? > > Should work ok, the driver has support for luns. But i don't know > if anyone has tested that part already. So welcome beta tester :-). It worked fine in 1.1. I used it with a Canon scanner / plotter. You run into a few quirks if the LUNS aren't consecutive. -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 ++++ Formerly hd@world.std.com. E-mail problems? Tell hdslip@iii.net From owner-freebsd-hackers Tue Dec 27 02:20:06 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id CAA11761 for hackers-outgoing; Tue, 27 Dec 1994 02:20:06 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id KAA11755 for ; Tue, 27 Dec 1994 10:20:03 GMT Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id CAA18506; Tue, 27 Dec 1994 02:19:11 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: "Ugen J.S.Antsilevich" cc: hackers@freebsd.org Subject: Re: David and Jordan will be at the New Orleans USENIX In-reply-to: Your message of "Tue, 27 Dec 94 11:36:49 PST." Date: Tue, 27 Dec 1994 02:19:10 -0800 Message-ID: <18504.788523550@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > Hmm.whats that conference btw?(Not that i am going to come > there but just interested..:) UNIX Users Group.. A big wing-ding where the various UNIX old timers get together and talk about how ugly UNIX has gotten now. It's a ritual.. :-) Actually, the last one was kind of fun. I got to witness Mike O'Dell *tearing* into Linus Torvalds for reimplementing the network code when they could have (in Mike's opinion) simply taken the BSD stuff. The conversation was short, but spirited.. :-) Jordan From owner-freebsd-hackers Tue Dec 27 03:05:06 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id DAA12244 for hackers-outgoing; Tue, 27 Dec 1994 03:05:06 -0800 Received: from NS.netvision.net.il (root@ns.NetVision.net.il [192.114.201.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA12235 for ; Tue, 27 Dec 1994 11:04:57 GMT Received: from ugen.NetManage.co.il (ugen.netmanage.co.il [192.114.78.165]) by NS.netvision.net.il (8.6.9/8.6.9) with SMTP id NAA25947; Tue, 27 Dec 1994 13:04:20 +0200 Date: Tue, 27 Dec 94 13:04:38 PST From: "Ugen J.S.Antsilevich" Subject: Re: David and Jordan will be at the New Orleans USENIX To: "Ugen J.S.Antsilevich" , "Jordan K. Hubbard" Cc: hackers@freebsd.org X-Mailer: Chameleon 4.00-Arm-25, TCP/IP for Windows, NetManage Inc. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk >> Hmm.whats that conference btw?(Not that i am going to come >> there but just interested..:) > >UNIX Users Group.. A big wing-ding where the various UNIX old timers >get together and talk about how ugly UNIX has gotten now. It's a >ritual.. :-) Ughh...the place i'd like to go to..:) well..once i'll be in US..hmm (will it be such a time) > >Actually, the last one was kind of fun. I got to witness Mike O'Dell >*tearing* into Linus Torvalds for reimplementing the network code when >they could have (in Mike's opinion) simply taken the BSD stuff. The >conversation was short, but spirited.. :-) Heh...BTW they still have some nice things in network-i'v heard they did IPX even... > > Jordan > -- -=Ugen J.S.Antsilevich=- NetVision - Israeli Commercial Internet | Learning E-mail: ugen@NetVision.net.il | To Fly. [c] Phone : +972-4-550330 | From owner-freebsd-hackers Tue Dec 27 05:44:39 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA13783 for hackers-outgoing; Tue, 27 Dec 1994 05:44:39 -0800 Received: from seagull.rtd.com (root@Seagull.rtd.com [198.102.68.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA13777 for ; Tue, 27 Dec 1994 13:44:31 GMT Received: (from dgy@localhost) by seagull.rtd.com (8.6.9/8.6.9.1) id GAA03413 for freebsd-hackers@freefall.cdrom.com; Tue, 27 Dec 1994 06:43:55 -0700 From: Don Yuniskis Message-Id: <199412271343.GAA03413@seagull.rtd.com> Subject: 1.1.5.1R libm To: freebsd-hackers@freefall.cdrom.com (FreeBSD hackers) Date: Tue, 27 Dec 1994 06:43:54 -0700 (MST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 342 Sender: hackers-owner@freebsd.org Precedence: bulk Greetings! I've been encountering a few disheartening bugs in the math library while porting a few packages. Specifically, it appears that gamma() is discontinuous. I've also had a problem with 1og10 throwing an FPE. Finally, appears that gcc will put a double in a register!! Has anyone else encountered similar problems? Thx, --don From owner-freebsd-hackers Tue Dec 27 06:29:36 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id GAA15338 for hackers-outgoing; Tue, 27 Dec 1994 06:29:36 -0800 Received: from pris.EEAP.CWRU.Edu (pris.EEAP.CWRU.Edu [129.22.56.99]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id OAA15332 for ; Tue, 27 Dec 1994 14:29:28 GMT Received: from marvin.EEAP.CWRU.Edu by pris.EEAP.CWRU.Edu (4.1/CWRU-1.4-snrub client) id AA20820; Tue, 27 Dec 94 09:28:58 EST (from ljo for freebsd-hackers@freefall.cdrom.com) Message-Id: <9412271428.AA20820@pris.EEAP.CWRU.Edu> Date: Tue, 27 Dec 94 09:28:58 EST From: L Jonas Olsson Received: by marvin.EEAP.CWRU.Edu (4.1/CWRU-1.4-snrub client) id AA07338; Tue, 27 Dec 94 09:28:52 EST (from ljo ) To: dgy@seagull.rtd.com Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412271343.GAA03413@seagull.rtd.com> (message from Don Yuniskis on Tue, 27 Dec 1994 06:43:54 -0700 (MST)) Subject: Re: 1.1.5.1R libm Reply-To: ljo@po.CWRU.Edu.Note.that.there.are.two.alternative.math.libraries.the Sender: hackers-owner@freebsd.org Precedence: bulk /usr/src/lib/libm is the BSD library and /usr/src/lib/msun is the Sun math library. Which one are you using? If you only have binary lib test with: nm /usr/lib/libm.so.1.1 |grep ___kernel if you find anything you have Sun library. These are compatible (The Sun library contains all functions from the BSD library, but not the other way), except for the gamma function. In the BSD library the gamma() returns the gamma function. In the Sun library it returns the logarithm of the gamma function. You have to be very careful with functions returning double, a classic one is that many programs that use atof() without including die from messed up stack. Use gcc -Wall to check for implicit declarations of any functions returing doubles. If you want to avoid FPE's even for things generating Inf/-Inf you can use #include and in main() fpsetmask(0); /* Checl floatingpoint.h for other masks */ Jonas From owner-freebsd-hackers Tue Dec 27 08:26:00 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA16018 for hackers-outgoing; Tue, 27 Dec 1994 08:26:00 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id QAA16012 for ; Tue, 27 Dec 1994 16:25:43 GMT Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id DAA13423; Wed, 28 Dec 1994 03:20:37 +1100 Date: Wed, 28 Dec 1994 03:20:37 +1100 From: Bruce Evans Message-Id: <199412271620.DAA13423@godzilla.zeta.org.au> To: dgy@seagull.rtd.com, freebsd-hackers@freefall.cdrom.com Subject: Re: 1.1.5.1R libm Sender: hackers-owner@freebsd.org Precedence: bulk > I've been encountering a few disheartening bugs in the math library >while porting a few packages. Specifically, it appears that gamma() >is discontinuous. Well, it is discontinuous for some x <= 0 (negative integers?). Are you aware that gamma() really is gamma() in libm, but it used to be the log of the real gamma(). It is the log of the real gamma() in [lib]msun, despite msun having 16 (!) gamma functions and a man page that claims otherwise. >I've also had a problem with 1og10 throwing an >FPE. Please give details. >Finally, appears that gcc will put a double in a register!! This is normal. Bruce From owner-freebsd-hackers Tue Dec 27 08:29:40 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA16039 for hackers-outgoing; Tue, 27 Dec 1994 08:29:40 -0800 Received: from po2.transarc.com (po2.transarc.com [192.54.226.2]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id QAA16033 for ; Tue, 27 Dec 1994 16:29:38 GMT Received: by po2.transarc.com (5.54/3.15) id for hackers@freebsd.org; Tue, 27 Dec 94 11:29:04 EST Received: via switchmail; Tue, 27 Dec 1994 11:29:03 -0500 (EST) Received: from unix3 via qmail ID ; Tue, 27 Dec 1994 11:27:32 -0500 (EST) Received: from unix3 via qmail ID ; Tue, 27 Dec 1994 11:27:31 -0500 (EST) Received: from BatMail.robin.v2.12.CUILIB.3.45.SNAP.NOT.LINKED.unix3.sun4.40 via MS.5.6.unix3.sun4_40; Tue, 27 Dec 1994 11:27:30 -0500 (EST) Message-Id: <4j041meSMV1bMwXZ5T@transarc.com> Date: Tue, 27 Dec 1994 11:27:30 -0500 (EST) From: Pat_Barron@transarc.com To: davidg@Root.COM Subject: Re: Why am I getting these SLIP crashes? Cc: hackers@freebsd.org In-Reply-To: <199412270810.AAA00388@corbin.Root.COM> References: <199412270810.AAA00388@corbin.Root.COM> Sender: hackers-owner@freebsd.org Precedence: bulk David Greenman writes: > The route cloning code was enabled. I've seen the same symptom here, but > all I had to do was a 'route add default w.x.y.z' after a default route had > been previously added - no telnet or anything, just add the route. The reboot > without panic is most likely caused by a recursion loop occurring between two > or more subroutines until the kernel stack overflows. This makes sense. Would it be useful for me to go ahead and fix this (who sould I send the diffs to?), or is someone already on it? --Pat. From owner-freebsd-hackers Tue Dec 27 09:17:15 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA17983 for hackers-outgoing; Tue, 27 Dec 1994 09:17:15 -0800 Received: from expert.cc.purdue.edu (expert.cc.purdue.edu [128.210.4.251]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id RAA17977 for ; Tue, 27 Dec 1994 17:17:12 GMT Received: by expert.cc.purdue.edu (5.61/Purdue_CC) id AA22544; Tue, 27 Dec 94 12:16:38 -0500 From: vicious@expert.cc.purdue.edu (Sid) Message-Id: <9412271716.AA22544@expert.cc.purdue.edu> Subject: file systems supported... To: hackers@freebsd.org Date: Tue, 27 Dec 94 12:16:37 EST Sender: hackers-owner@freebsd.org Precedence: bulk I can't seem to find a list of file system types supported under FreeBSD. I am going to install Linux, FreeBSD, and I already have OS/2 installed. I was hoping I could share drive space between Linux and FreeBSD. Any suggestions? Also, could I get a list of what file systems are supported under FreeBSD? Thanks! -- ----------------------------------------------------------------------------- | Ryan Fife - Team OS/2 | | fife@en.ecn.purdue.edu | | WWW homepage -> http://purcell.ecn.purdue.edu/~fife/ | | | | The opinions expressed here are simply that...MY opinions. | ----------------------------------------------------------------------------- From owner-freebsd-hackers Tue Dec 27 13:06:10 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA22176 for hackers-outgoing; Tue, 27 Dec 1994 13:06:10 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA22170 for ; Tue, 27 Dec 1994 21:06:08 GMT Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id NAA07686; Tue, 27 Dec 1994 13:05:22 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: vicious@expert.cc.purdue.edu (Sid) cc: hackers@freebsd.org Subject: Re: file systems supported... In-reply-to: Your message of "Tue, 27 Dec 94 12:16:37 EST." <9412271716.AA22544@expert.cc.purdue.edu> Date: Tue, 27 Dec 1994 13:05:21 -0800 Message-ID: <7685.788562321@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk I'm afraid that Linux and FreeBSD don't really share any filesystem types in common, unless you could Linux's FFS project.. I really don't know the status of that. You can mount DOS filesystems, but not HPFS.. Jordan > I can't seem to find a list of file system types supported under FreeBSD. > I am going to install Linux, FreeBSD, and I already have OS/2 installed. I w as > hoping I could share drive space between Linux and FreeBSD. Any suggestions? > > Also, could I get a list of what file systems are supported under FreeBSD? > > Thanks! > > -- > ----------------------------------------------------------------------------- > | Ryan Fife - Team OS/2 | > | fife@en.ecn.purdue.edu | > | WWW homepage -> http://purcell.ecn.purdue.edu/~fife/ | > | | > | The opinions expressed here are simply that...MY opinions. | > ----------------------------------------------------------------------------- From owner-freebsd-hackers Tue Dec 27 13:24:20 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA22352 for hackers-outgoing; Tue, 27 Dec 1994 13:24:20 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA22346 for ; Tue, 27 Dec 1994 21:24:16 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id WAA00895 ; Tue, 27 Dec 1994 22:24:08 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA18661; Tue, 27 Dec 94 22:24:25 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412272124.AA18661@blaise.ibp.fr> Subject: Re: Why am I getting these SLIP crashes? To: davidg@Root.COM Date: Tue, 27 Dec 1994 22:24:24 +0100 (MET) Cc: Pat_Barron@transarc.com, hackers@freebsd.org In-Reply-To: <199412270810.AAA00388@corbin.Root.COM> from "David Greenman" at Dec 27, 94 00:10:13 am X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 946 Sender: hackers-owner@freebsd.org Precedence: bulk > The route cloning code was enabled. I've seen the same symptom here, but > all I had to do was a 'route add default w.x.y.z' after a default route had > been previously added - no telnet or anything, just add the route. The reboot > without panic is most likely caused by a recursion loop occurring between two > or more subroutines until the kernel stack overflows. Same here with PPP. I notice that even with the "defaultroute" option, pppd doesn't add a default route thru the interface. I added one myself and at the first packet going out, the machine instantly rebooted. Do I have to put the route myself two times in order to use ppp ? It will delay my complete shift to 2.1 if I cannot use pppd under 2.1. Garrett ? -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Tue Dec 27 13:36:52 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA22454 for hackers-outgoing; Tue, 27 Dec 1994 13:36:52 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA22447 for ; Tue, 27 Dec 1994 21:36:49 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id WAA00927 ; Tue, 27 Dec 1994 22:36:46 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA19746; Tue, 27 Dec 94 22:37:04 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412272137.AA19746@blaise.ibp.fr> Subject: Re: Why am I getting these SLIP crashes? To: davidg@Root.COM Date: Tue, 27 Dec 1994 22:37:03 +0100 (MET) Cc: Pat_Barron@transarc.com, hackers@freebsd.org In-Reply-To: <199412270810.AAA00388@corbin.Root.COM> from "David Greenman" at Dec 27, 94 00:10:13 am X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 411 Sender: hackers-owner@freebsd.org Precedence: bulk More on PPP and the default route : When pppd attempts to set the default route it cannot and the syslog message is : Dec 27 22:09:37 keltia pppd[429]: add default route: Protocol not supported -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Tue Dec 27 14:24:14 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA23114 for hackers-outgoing; Tue, 27 Dec 1994 14:24:14 -0800 Received: from tuatara.reptiles.org (tuatara.reptiles.org [142.57.253.134]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id WAA23107 for ; Tue, 27 Dec 1994 22:24:02 GMT Received: by tuatara.reptiles.org (/\==/\ Smail3.1.28.1 #28.2) id ; Mon, 26 Dec 94 15:25 EST To: freebsd-hackers@freefall.cdrom.com Newsgroups: reptiles.freebsd.hackers Path: jim From: jim@reptiles.org (Jim Mercer) Subject: installing 2.0R off CD, any gotchas? Message-ID: Organization: Reptilian Research, Toronto, Canada Distribution: reptiles Date: Mon, 26 Dec 1994 20:25:00 GMT Sender: hackers-owner@freebsd.org Precedence: bulk so far i've deduced that i should scoop down new boot floppies and not use the ones on the January 1994 8^) CD. also, i'm told that bad144 tracking _might_ work for my ESDI drives if i use the entire drive. ok, i think i'm ready to roll. if anyone has any additional things i should do please let me know, i'm looking at starting the install late tonight (if i don't come home _too_ drunk) or tomorrow (unless i decide to go out and get drunk). if all goes well, i'll be installing 2.0 on a pair of spare ESDI 330 Meg drives on a proxy machine. i'll then move the user files from my existing 1.1.5.1 machine and swap the hard drives. i'd appreciate any advice. -- [ Jim Mercer jim@reptiles.org +1 416 506-0654 ] [ Reptilian Research -- Longer Life through Colder Blood ] [ Never, ever forget to replace the toiletseat after use!!! A wet ] [ chinchilla is a very funny and pathetic sight. -- alt.chinchilla ] From owner-freebsd-hackers Tue Dec 27 15:56:52 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA25870 for hackers-outgoing; Tue, 27 Dec 1994 15:56:52 -0800 Received: from devnull.mpd.tandem.com (devnull.mpd.tandem.com [131.124.4.29]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA25863 for ; Tue, 27 Dec 1994 23:56:49 GMT Received: from olympus by devnull.mpd.tandem.com (8.6.8/Tandem-FT) id RAA26423; Tue, 27 Dec 1994 17:56:01 -0600 Received: by olympus (4.1/TSS2.1) id AA07445; Tue, 27 Dec 94 17:54:38 CST From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9412272354.AA07445@olympus> Subject: Re: Why am I getting these SLIP crashes? To: roberto@blaise.ibp.fr (Ollivier ROBERT) Date: Tue, 27 Dec 1994 17:54:37 -0600 (CST) Cc: davidg@Root.COM, Pat_Barron@transarc.com, hackers@freebsd.org In-Reply-To: <9412272137.AA19746@blaise.ibp.fr> from "Ollivier ROBERT" at Dec 27, 94 10:37:03 pm X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 898 Sender: hackers-owner@freebsd.org Precedence: bulk > > More on PPP and the default route : > > When pppd attempts to set the default route it cannot and the syslog > message is : > > Dec 27 22:09:37 keltia pppd[429]: add default route: Protocol not supported > > -- > Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG > FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 > roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 > I had this, too. I had rebuilt the world to a later level than the kernel. A 2.0 version of route add default x worked fine. I rebuilt my kernel and then the new route worked. Works OK now. No problems. Boyd -- _______________________________________________________________________________ Boyd Faulkner faulkner@mpd.tandem.com _______________________________________________________________________________ From owner-freebsd-hackers Tue Dec 27 17:41:51 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA03179 for hackers-outgoing; Tue, 27 Dec 1994 17:41:51 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id BAA03173 for ; Wed, 28 Dec 1994 01:41:49 GMT Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA03632; Tue, 27 Dec 94 18:25:25 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9412280125.AA03632@cs.weber.edu> Subject: Re: Real Time Extensions on -current To: dufault@hda.com (Peter Dufault) Date: Tue, 27 Dec 94 18:25:24 MST Cc: dufault@hda.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412262109.QAA11376@hda.com> from "Peter Dufault" at Dec 26, 94 04:09:56 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@freebsd.org Precedence: bulk > > I've gotten a few responses to this message. I'd like to save the > names and start a mailing list. I'm not sure how well a list will > work out of hda.com (the IP link goes on line three times a day if > no one is using it) but we can give it a try. > > Those of you who respond please let me know if you would like to > be on the list. Please add me to the list. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-hackers Tue Dec 27 18:07:27 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id SAA04348 for hackers-outgoing; Tue, 27 Dec 1994 18:07:27 -0800 Received: from seagull.rtd.com (root@Seagull.rtd.com [198.102.68.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id CAA04338 for ; Wed, 28 Dec 1994 02:07:24 GMT Received: (from dgy@localhost) by seagull.rtd.com (8.6.9/8.6.9.1) id TAA16982 for freebsd-hackers@freefall.cdrom.com; Tue, 27 Dec 1994 19:06:50 -0700 From: Don Yuniskis Message-Id: <199412280206.TAA16982@seagull.rtd.com> Subject: fork() in unistd.h To: freebsd-hackers@freefall.cdrom.com (FreeBSD hackers) Date: Tue, 27 Dec 1994 19:06:49 -0700 (MST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 213 Sender: hackers-owner@freebsd.org Precedence: bulk Greetings! /usr/include/unistd.h for 1.1.5.1R contains two (conflicting) prototypes for fork(). One is conditional on POSIX... should the other be inversely conditioned? Or, removed altogether?? Thx, --don From owner-freebsd-hackers Tue Dec 27 20:03:09 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA00173 for hackers-outgoing; Tue, 27 Dec 1994 20:03:09 -0800 Received: from relay2.UU.NET (relay2.UU.NET [192.48.96.7]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id UAA00167 for ; Tue, 27 Dec 1994 20:03:06 -0800 Received: from news.cs.utexas.edu by relay2.UU.NET with SMTP id QQxwei12759; Tue, 27 Dec 1994 23:02:19 -0500 Received: from mail.cs.utexas.edu (root@mail.cs.utexas.edu [128.83.139.10]) by news.cs.utexas.edu (8.6.9/8.6.9) with ESMTP id WAA13746 for ; Tue, 27 Dec 1994 22:01:32 -0600 Received: from uudell.us.dell.com (uudell.us.dell.com [143.166.224.6]) by mail.cs.utexas.edu (8.6.9/8.6.9) with SMTP id WAA09475 for ; Tue, 27 Dec 1994 22:01:36 -0600 Received: from obiwan by uudell.us.dell.com (5.67/dns1.3) with UUCP id AA00514; Wed, 28 Dec 94 03:56:13 GMT Received: by obiwan.uucp (Smail3.1.28.1 #19) id m0rMRp8-00031IC; Mon, 26 Dec 94 20:39 WET Message-Id: From: obiwan!bob@uudell.us.dell.com (Bob Willcox) Subject: Re: Install tape format?? To: freebsd-hackers@freefall.cdrom.com (freebsd-hackers) Date: Mon, 26 Dec 1994 20:39:42 -0600 (CST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 565 Sender: hackers-owner@freebsd.org Precedence: bulk Jordan K. Hubbard wrote: > > Read the release notes! Read the release notes! :-) Hmm, I still can't find any reference to the expected tape format. (I did check all the files in the 2.0-941222-SNAP directory.) Am I just blind or what? What file is this documented in? I was hoping I could put all of the distribution on a single tape and install from that. -- Bob Willcox ...!{rutgers|ames}!cs.utexas.edu!uudell!obiwan!bob Austin, TX or try: @uudell.us.dell.com:obiwan!bob 512-258-4224 (home), 512-838-3914 (work) From owner-freebsd-hackers Tue Dec 27 21:00:31 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA00916 for hackers-outgoing; Tue, 27 Dec 1994 21:00:31 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA00910 for ; Tue, 27 Dec 1994 21:00:31 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id VAA18172; Tue, 27 Dec 1994 21:00:26 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: obiwan!bob@uudell.us.dell.com (Bob Willcox) cc: freebsd-hackers@freefall.cdrom.com (freebsd-hackers) Subject: Re: Install tape format?? In-reply-to: Your message of "Mon, 26 Dec 94 20:39:42 CST." Date: Tue, 27 Dec 1994 21:00:25 -0800 Message-ID: <18170.788590825@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > Jordan K. Hubbard wrote: > > > > Read the release notes! Read the release notes! :-) > > Hmm, I still can't find any reference to the expected tape format. >From the release notes: ... 3. QIC/SCSI Tape Installation. Installing from tape is probably the easiest method, short of an on-line install using ftp or installing from a CDROM. The installation program expects the files to be simply tar'red onto the tape, so after getting all of the files for distribution you're interested in, simply tar them onto the tape with something like: cd tar cvf /dev/rwt0 (or /dev/rst0) . from a directory with just the distribution files in it. Make sure that you remember to put CKSUMS, do_cksum.sh, and extract.sh files in this directory as well! If you wish to install multiple *dist releases from one tape, do the following: 1. cd to the parent directory of the distributions and put them on tape like so: tar cvf /dev/rwt0 (or /dev/rst0) bindist srcdist ... 2. Install the first distribution on the tape using the tape installation method as normal. Afterwards, *do not* erase the contents of the temporary directory. Get a shell with ESC-ESC and cd to the temporary directory yourself. For each additional *dist you want to load, cd to its subdirectory and type `sh ./extract.sh'. I don't know how we can make it any plainer than that! Are you SURE you read the release notes? :-) Jordan From owner-freebsd-hackers Tue Dec 27 22:29:05 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id WAA03930 for hackers-outgoing; Tue, 27 Dec 1994 22:29:05 -0800 Received: from relay2.UU.NET (relay2.UU.NET [192.48.96.7]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id WAA03924 for ; Tue, 27 Dec 1994 22:29:04 -0800 Received: from news.cs.utexas.edu by relay2.UU.NET with SMTP id QQxwer20214; Wed, 28 Dec 1994 01:28:52 -0500 Received: from mail.cs.utexas.edu (root@mail.cs.utexas.edu [128.83.139.10]) by news.cs.utexas.edu (8.6.9/8.6.9) with ESMTP id AAA18727; Wed, 28 Dec 1994 00:28:05 -0600 Received: from uudell.us.dell.com (uudell.us.dell.com [143.166.224.6]) by mail.cs.utexas.edu (8.6.9/8.6.9) with SMTP id AAA11155; Wed, 28 Dec 1994 00:28:09 -0600 Received: from obiwan by uudell.us.dell.com (5.67/dns1.3) with UUCP id AA03792; Wed, 28 Dec 94 06:24:48 GMT Received: by obiwan.uucp (Smail3.1.28.1 #19) id m0rMUy4-00031lC; Tue, 27 Dec 94 00:01 WET Message-Id: From: obiwan!bob@uudell.us.dell.com (Bob Willcox) Subject: Re: Install tape format?? To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Tue, 27 Dec 1994 00:01:08 -0600 (CST) Cc: freebsd-hackers@freefall.cdrom.com (freebsd-hackers) In-Reply-To: <18170.788590825@time.cdrom.com> from "Jordan K. Hubbard" at Dec 27, 94 09:00:25 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 793 Sender: hackers-owner@freebsd.org Precedence: bulk Jordan K. Hubbard wrote: > > I don't know how we can make it any plainer than that! Are you SURE > you read the release notes? :-) No, I'm not, though I am certain that I don't have a file that contains the info you included in your response. The files that I have (and have read) are: -r--r--r-- 1 bob 22629 Dec 24 09:11 INSTALL -r--r--r-- 1 bob 3400 Dec 24 09:11 README -r--r--r-- 1 bob 2490 Dec 24 09:11 README.1ST -r--r--r-- 1 bob 20374 Dec 24 09:11 RELNOTES -r--r--r-- 1 bob 2250 Dec 24 09:11 ROADMAP > > Jordan > -- Bob Willcox ...!{rutgers|ames}!cs.utexas.edu!uudell!obiwan!bob Austin, TX or try: @uudell.us.dell.com:obiwan!bob 512-258-4224 (home), 512-838-3914 (work) From owner-freebsd-hackers Tue Dec 27 22:39:46 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id WAA04228 for hackers-outgoing; Tue, 27 Dec 1994 22:39:46 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id WAA04222 for ; Tue, 27 Dec 1994 22:39:46 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id WAA01437; Tue, 27 Dec 1994 22:39:30 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: obiwan!bob@uudell.us.dell.com (Bob Willcox) cc: freebsd-hackers@freefall.cdrom.com (freebsd-hackers) Subject: Re: Install tape format?? In-reply-to: Your message of "Tue, 27 Dec 94 00:01:08 CST." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 27 Dec 1994 22:39:30 -0800 Message-ID: <1436.788596770@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > No, I'm not, though I am certain that I don't have a file that > contains the info you included in your response. The files that > I have (and have read) are: Perhaps you're working from old floppies? I dunno. In any case, they're definitely in the new snapshot and, I was quite sure, the last 2.0 floppy set. In any case, now you know! :) Jordan From owner-freebsd-hackers Wed Dec 28 01:24:46 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA14125 for hackers-outgoing; Wed, 28 Dec 1994 01:24:46 -0800 Received: from is1.hk.super.net (jbeukema@is1.hk.super.net [202.14.67.232]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id BAA14040 for ; Wed, 28 Dec 1994 01:24:37 -0800 Received: by is1.hk.super.net id AA05718 (5.67b/IDA-1.5 for FreeBSD-hackers ); Wed, 28 Dec 1994 17:24:22 +0800 Date: Wed, 28 Dec 1994 17:24:21 +0800 (HKT) From: John Beukema To: FreeBSD-hackers Subject: how to emulate kdhit()B? Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk I cannot get the function kbhit() which works well under SCO to work under FBSD. The function which tries to read 1 char from stdin after setting flags to nonblocking, always returns true ie, keyboard hit when the term is in 'cooked' mode. Can anyone point me to a way to do this? jbeukema From owner-freebsd-hackers Wed Dec 28 02:24:25 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id CAA23591 for hackers-outgoing; Wed, 28 Dec 1994 02:24:25 -0800 Received: from perth.DIALix.oz.au (jreuucp@perth.DIALix.oz.au [192.203.228.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id CAA23565; Wed, 28 Dec 1994 02:24:11 -0800 Received: from jules.UUCP (jreuucp@localhost) by perth.DIALix.oz.au (8.6.9/8.6.9/DIALix) with UUCP id SAA27486; Wed, 28 Dec 1994 18:22:58 +0800 Received: by jules.DIALix.oz.au (8.6.9/25-eef) id SAA00122; Wed, 28 Dec 1994 18:14:44 GMT Date: Wed, 28 Dec 1994 18:14:44 GMT From: Julian Elischer Message-Id: <199412281814.SAA00122@jules.DIALix.oz.au> To: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: DEVFS on FreeBSD 2.0 Cc: freebsd-current@freebsd.org Sender: hackers-owner@freebsd.org Precedence: bulk Well, it lives, (kind of). There are many things that I need to do before it's even slightly useful but I finally got the 4 or 5 days needed to get it out of the land of the dead.. there are a couple of things that I've noticed however..... 1/ at device probe time, 'time' has not been initialised.. so any devices that are placed into the devfs at boot time end up with creation times of Jan 1 1970.. (time.tv_sec == time.tv_usec == 0). Is there a reason that the RTC can't be read earlier? 2/ on a similar note, the filesystems are only initialised after the devices are configured in, so I have to add my devices to a filesystem that doesn't have any vnops yet.. I can get around it at the moment, but it may prove a problem later.. can VFS initialisation be done before probing? does anyone care? The new vnops vectors have caused me to considerably re-think the way much of it works, but hopefully it'llbe ok.. I hope to have a version working with real devices (TM) in a day or so.. now the big question.... will I have to do lotsa changes for 2.1? does the vm/bufcache merge change the VFS a lot? julian From owner-freebsd-hackers Wed Dec 28 04:58:50 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id EAA11923 for hackers-outgoing; Wed, 28 Dec 1994 04:58:50 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id EAA11902 for ; Wed, 28 Dec 1994 04:58:41 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA17408; Wed, 28 Dec 1994 13:59:12 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id OAA25190 for freebsd-hackers@freefall.cdrom.com; Wed, 28 Dec 1994 14:06:36 +0100 Received: by bonnie.tcd-dresden.de (8.6.8/8.6.6) id NAA07747; Wed, 28 Dec 1994 13:50:08 +0100 From: j@uriah.sax.de (J Wunsch) Message-Id: <199412281250.NAA07747@bonnie.tcd-dresden.de> Subject: Re: fork() in unistd.h To: freebsd-hackers@freefall.cdrom.com Date: Wed, 28 Dec 1994 13:50:07 +0100 (MET) In-Reply-To: <199412280206.TAA16982@seagull.rtd.com> from "Don Yuniskis" at Dec 27, 94 07:06:49 pm X-Phone: +49-351-8141 137 Reply-To: joerg_wunsch@uriah.sax.de X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 824 Sender: hackers-owner@freebsd.org Precedence: bulk As Don Yuniskis wrote: | | Greetings! | /usr/include/unistd.h for 1.1.5.1R contains two (conflicting) | prototypes for fork(). One is conditional on POSIX... should | the other be inversely conditioned? Or, removed altogether?? conflicting? i've only noticed the conflict between fork() and vfork(). Anyway, the real reason is that Posix requires fork() to return a pid_t, while the kernel internally (traditionally) uses an int for the PID. So int would be the proper return type from the kernel POV, but pid_t from the Posix view. Change your unistd.h to pid_t, and live with it for 1.1.5.1. -- cheers, J"org work: --- no longer --- private: joerg_wunsch@uriah.sax.de Never trust an operating system you don't have sources for. ;-) From owner-freebsd-hackers Wed Dec 28 06:39:59 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id GAA18475 for hackers-outgoing; Wed, 28 Dec 1994 06:39:59 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id GAA18463; Wed, 28 Dec 1994 06:39:49 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id BAA30737; Thu, 29 Dec 1994 01:35:38 +1100 Date: Thu, 29 Dec 1994 01:35:38 +1100 From: Bruce Evans Message-Id: <199412281435.BAA30737@godzilla.zeta.org.au> To: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, julian@jules.DIALix.oz.au Subject: Re: DEVFS on FreeBSD 2.0 Cc: freebsd-current@freebsd.org Sender: hackers-owner@freebsd.org Precedence: bulk >1/ at device probe time, 'time' has not been initialised.. so any devices >that are placed into the devfs at boot time end up with creation times >of Jan 1 1970.. (time.tv_sec == time.tv_usec == 0). >Is there a reason that the RTC can't be read earlier? I've just been looking at the clock initializaton order. I moved initialization of the RTC later :-). It's still before the RTC date is read, but after all the non-clock devices have been initialized. There's nothing to stop reading it earlier, but if the RTC is on local time then it's hard to adjust it earlier. It could be adjusted at mountroot() time using a value read from the disk. Bruce From owner-freebsd-hackers Wed Dec 28 07:29:29 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA20854 for hackers-outgoing; Wed, 28 Dec 1994 07:29:29 -0800 Received: from relay1.UU.NET (relay1.UU.NET [192.48.96.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id HAA20848 for ; Wed, 28 Dec 1994 07:29:28 -0800 Received: from news.cs.utexas.edu by relay1.UU.NET with SMTP id QQxwgb08472; Wed, 28 Dec 1994 10:29:21 -0500 Received: from mail.cs.utexas.edu (root@mail.cs.utexas.edu [128.83.139.10]) by news.cs.utexas.edu (8.6.9/8.6.9) with ESMTP id JAA11757; Wed, 28 Dec 1994 09:28:35 -0600 Received: from uudell.us.dell.com (uudell.us.dell.com [143.166.224.6]) by mail.cs.utexas.edu (8.6.9/8.6.9) with SMTP id JAA15449; Wed, 28 Dec 1994 09:28:39 -0600 Received: from obiwan by uudell.us.dell.com (5.67/dns1.3) with UUCP id AA16621; Wed, 28 Dec 94 15:26:04 GMT Received: by obiwan.uucp (Smail3.1.28.1 #19) id m0rMdO3-00031xC; Tue, 27 Dec 94 09:00 WET Message-Id: From: obiwan!bob@uudell.us.dell.com (Bob Willcox) Subject: Re: Install tape format?? To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Tue, 27 Dec 1994 09:00:31 -0600 (CST) Cc: freebsd-hackers@freefall.cdrom.com (freebsd-hackers) In-Reply-To: <1436.788596770@time.cdrom.com> from "Jordan K. Hubbard" at Dec 27, 94 10:39:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 828 Sender: hackers-owner@freebsd.org Precedence: bulk Jordan K. Hubbard wrote: > > > No, I'm not, though I am certain that I don't have a file that > > contains the info you included in your response. The files that > > I have (and have read) are: > > Perhaps you're working from old floppies? I dunno. In any case, > they're definitely in the new snapshot and, I was quite sure, the > last 2.0 floppy set. In any case, now you know! :) That must be it. I did not actually look on the floppies for the information :-( I was only looking at the files (in the 2.0-941222-SNAP subdirectory) that I ftp'd from wcarchive that I have on my system. Yes, I do now know, thanks. -- Bob Willcox ...!{rutgers|ames}!cs.utexas.edu!uudell!obiwan!bob Austin, TX or try: @uudell.us.dell.com:obiwan!bob 512-258-4224 (home), 512-838-3914 (work) From owner-freebsd-hackers Wed Dec 28 08:56:16 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA22967 for hackers-outgoing; Wed, 28 Dec 1994 08:56:16 -0800 Received: from devnull.mpd.tandem.com (devnull.mpd.tandem.com [131.124.4.29]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA22952 for ; Wed, 28 Dec 1994 08:56:11 -0800 Received: from olympus by devnull.mpd.tandem.com (8.6.8/Tandem-FT) id KAA05825; Wed, 28 Dec 1994 10:55:35 -0600 Received: by olympus (4.1/TSS2.1) id AA07832; Wed, 28 Dec 94 10:54:18 CST From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9412281654.AA07832@olympus> Subject: Re: Install tape format?? To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Wed, 28 Dec 1994 10:54:17 -0600 (CST) Cc: obiwan!bob@uudell.us.dell.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <18170.788590825@time.cdrom.com> from "Jordan K. Hubbard" at Dec 27, 94 09:00:25 pm X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 1943 Sender: hackers-owner@freebsd.org Precedence: bulk > > > Jordan K. Hubbard wrote: > > > > > > Read the release notes! Read the release notes! :-) > > > > Hmm, I still can't find any reference to the expected tape format. > > >From the release notes: > > ... > 3. QIC/SCSI Tape Installation. > > Installing from tape is probably the easiest method, short of an > on-line install using ftp or installing from a CDROM. The installation > program expects the files to be simply tar'red onto the tape, so after > getting all of the files for distribution you're interested in, simply > tar them onto the tape with something like: > > cd > tar cvf /dev/rwt0 (or /dev/rst0) . > > from a directory with just the distribution files in it. Make sure > that you remember to put CKSUMS, do_cksum.sh, and extract.sh files > in this directory as well! > > If you wish to install multiple *dist releases from one tape, do the > following: > > 1. cd to the parent directory of the distributions and put them on tape > like so: > tar cvf /dev/rwt0 (or /dev/rst0) bindist srcdist ... > > 2. Install the first distribution on the tape using the tape installation > method as normal. Afterwards, *do not* erase the contents of the temporary > directory. Get a shell with ESC-ESC and cd to the temporary directory > yourself. For each additional *dist you want to load, cd to its > subdirectory and type `sh ./extract.sh'. > > > I don't know how we can make it any plainer than that! Are you SURE > you read the release notes? :-) > > Jordan > On QIC-150 tapes, I have to use /dev/rst0.1 or no dice. I have an Archive 2150 drive. I relinked /dev/rst0 to /dev/rst0.1 so I could install. Boyd -- _______________________________________________________________________________ Boyd Faulkner faulkner@mpd.tandem.com _______________________________________________________________________________ From owner-freebsd-hackers Wed Dec 28 08:56:13 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA22961 for hackers-outgoing; Wed, 28 Dec 1994 08:56:13 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA22955 for ; Wed, 28 Dec 1994 08:56:12 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA04646; Wed, 28 Dec 94 09:46:39 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9412281646.AA04646@cs.weber.edu> Subject: Generic vfork question (was: fork() in unistd.h) To: joerg_wunsch@uriah.sax.de Date: Wed, 28 Dec 94 9:46:39 MST Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412281250.NAA07747@bonnie.tcd-dresden.de> from "J Wunsch" at Dec 28, 94 01:50:07 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@freebsd.org Precedence: bulk > conflicting? i've only noticed the conflict between fork() and vfork(). > Speaking of vfork, what would be the impact of using vfork() instead of fork followed by a stack switch out in order to implement light weight kernel threads? Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-hackers Wed Dec 28 11:25:55 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA28552 for hackers-outgoing; Wed, 28 Dec 1994 11:25:55 -0800 Received: from gateway.cybernet.com (gateway.cybernet.com [192.245.33.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA28539 for ; Wed, 28 Dec 1994 11:25:49 -0800 Received: from [192.245.33.12] by gateway.cybernet.com (8.6.8/1.0A) id OAA15696; Wed, 28 Dec 1994 14:52:08 -0500 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 28 Dec 1994 14:34:31 -0500 To: John Beukema , freebsd-hackers@freefall.cdrom.com From: mtaylor@gateway.cybernet.com (Mark J. Taylor) Subject: Re: how to emulate kdhit()B? Sender: hackers-owner@freebsd.org Precedence: bulk At 5:24 PM 12/28/94, John Beukema wrote: >I cannot get the function kbhit() which works well under SCO to work under >FBSD. The function which tries to read 1 char from stdin after setting >flags to nonblocking, always returns true ie, keyboard hit when the term >is in 'cooked' mode. Can anyone point me to a way to do this? >jbeukema Have you tried using fileno(stdin) in a select() call with an immediate return (when times=0)? It should do the trick of emulating kbhit(). -Mark Taylor mtaylor@cybernet.com From owner-freebsd-hackers Wed Dec 28 12:17:58 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA01545 for hackers-outgoing; Wed, 28 Dec 1994 12:17:58 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA01537; Wed, 28 Dec 1994 12:17:53 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id VAA05090 ; Wed, 28 Dec 1994 21:18:22 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA00378; Wed, 28 Dec 94 21:18:39 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412282018.AA00378@blaise.ibp.fr> Subject: Updated SGML/HTML/PS/TXT/DVI FAQ for FreeBSD 2.0 on freefall To: hackers@freebsd.org (Hackers' list FreeBSD) Date: Wed, 28 Dec 1994 21:18:39 +0100 (MET) Cc: www@freebsd.org X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 399 Sender: hackers-owner@freebsd.org Precedence: bulk The updated FAQ in SGML (and the others formats of course) is on my account on freefall (again -- you did have to change it two days after the previous conversion Jordan ? :-)) Enjoy! -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Wed Dec 28 12:46:58 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA03787 for hackers-outgoing; Wed, 28 Dec 1994 12:46:58 -0800 Received: from europa.com (root@ratcliff.europa.com [199.2.194.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id MAA03773 for ; Wed, 28 Dec 1994 12:46:53 -0800 Received: by europa.com (/\==/\ Smail3.1.28.1 #28.15) id ; Wed, 28 Dec 94 12:44 GMT Message-Id: Date: Wed, 28 Dec 94 12:46 GMT From: timb@europa.com (Tim Bach) Cc: questions@freebsd.org Sender: hackers-owner@freebsd.org Precedence: bulk Where can i find dip for FreeBSD? Basicly i am looking for a program that handles connecting to a dynamicly assigned slip session.I belive linux has a program called dip which supports or is going to support that feature.Seems i remmeber seeing that it was originally for the 386bsd or bsd type system. Please email me if you know anything that might work. timb@europa.com From owner-freebsd-hackers Wed Dec 28 13:28:07 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA05489 for hackers-outgoing; Wed, 28 Dec 1994 13:28:07 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id NAA05479 for ; Wed, 28 Dec 1994 13:28:01 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA24329 (5.67a/IDA-1.5); Wed, 28 Dec 1994 15:22:38 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA04632; 28 Dec 94 14:59:24 CST (Wed) Received: (from peter@localhost) by bonkers.taronga.com (8.6.8/8.6.6) id OAA04629; Wed, 28 Dec 1994 14:59:23 -0600 From: Peter da Silva Message-Id: <199412282059.OAA04629@bonkers.taronga.com> Subject: Re: how to emulate kdhit()B? To: mtaylor@gateway.cybernet.com (Mark J. Taylor) Date: Wed, 28 Dec 1994 14:59:23 -0600 (CST) Cc: jbeukema@HK.Super.NET, freebsd-hackers@freefall.cdrom.com In-Reply-To: from "Mark J. Taylor" at Dec 28, 94 02:34:31 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 772 Sender: hackers-owner@freebsd.org Precedence: bulk > At 5:24 PM 12/28/94, John Beukema wrote: > >I cannot get the function kbhit() which works well under SCO to work under > >FBSD. The function which tries to read 1 char from stdin after setting > >flags to nonblocking, always returns true ie, keyboard hit when the term > >is in 'cooked' mode. Can anyone point me to a way to do this? Switch out of cooked mode. Seriously. A routine like kbhit() is only going to work usefully in raw or rare mode. > Have you tried using fileno(stdin) in a select() call with an immediate > return (when times=0)? It should do the trick of emulating kbhit(). I can't find an implementation of kbhit() to look at, but that's more or less what I'd expect it'd do. But a complete implementation should ioctl() into cbreak mode first. From owner-freebsd-hackers Wed Dec 28 14:03:25 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA07277 for hackers-outgoing; Wed, 28 Dec 1994 14:03:25 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id OAA07269 for ; Wed, 28 Dec 1994 14:03:23 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA05369; Wed, 28 Dec 94 14:57:12 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9412282157.AA05369@cs.weber.edu> Subject: Re: how to emulate kdhit()B? To: mtaylor@gateway.cybernet.com (Mark J. Taylor) Date: Wed, 28 Dec 94 14:57:11 MST Cc: jbeukema@HK.Super.NET, freebsd-hackers@freefall.cdrom.com In-Reply-To: from "Mark J. Taylor" at Dec 28, 94 02:34:31 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@freebsd.org Precedence: bulk > At 5:24 PM 12/28/94, John Beukema wrote: > >I cannot get the function kbhit() which works well under SCO to work under > >FBSD. The function which tries to read 1 char from stdin after setting > >flags to nonblocking, always returns true ie, keyboard hit when the term > >is in 'cooked' mode. Can anyone point me to a way to do this? > >jbeukema > > Have you tried using fileno(stdin) in a select() call with an immediate > return (when times=0)? It should do the trick of emulating kbhit(). Notes: (1) select will return when data is available on the tty. (2) stdio will buffer the data from a tty into an internal buffer. (3) You should use 'read(2)' instead of a stdio function (like getc(3)) if you use select(2)! Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-hackers Wed Dec 28 14:45:04 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA09557 for hackers-outgoing; Wed, 28 Dec 1994 14:45:04 -0800 Received: from Starbase.NeoSoft.COM (dbaker@starbase.NeoSoft.COM [198.64.6.26]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id OAA09550 for ; Wed, 28 Dec 1994 14:45:02 -0800 Received: (from dbaker@localhost) by Starbase.NeoSoft.COM (8.6.9/8.6.9) id QAA15208; Wed, 28 Dec 1994 16:44:56 -0600 X-Provider: NeoSoft, Inc.: Internet Service Provider (713) 684-5969 Date: Wed, 28 Dec 1994 16:44:55 -0600 (CST) From: "Daniel A. Baker " To: hackers@freebsd.org Subject: Colorado Tape Backup. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk Hackers -- I have a Colorado Tape Backup drive on my Dell Dimension and I am wondering how I can mount it so that I can make backups /w it. Thanks -- Daniel Baker -- NeoSoft FTP/UseNet Administrator (713)531-8571 DBaker@NeoSoft.COM DBaker@UuNeo.NeoSoft.COM From owner-freebsd-hackers Wed Dec 28 14:49:34 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA09695 for hackers-outgoing; Wed, 28 Dec 1994 14:49:34 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id OAA09689 for ; Wed, 28 Dec 1994 14:49:33 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA05401; Wed, 28 Dec 94 15:01:48 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9412282201.AA05401@cs.weber.edu> Subject: freebsd-core down? To: freebsd-hackers@freefall.cdrom.com Date: Wed, 28 Dec 94 15:01:47 MST Cc: terry@cs.weber.edu (Terry Lambert) X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@freebsd.org Precedence: bulk Hello: I mailed off to freebsd-core@freefall.cdrom.com something I thought would probably be exciting, but have yet to hear anything back on it. Is the core list down? Is no one interested? I hope it's the former and not the latter... 8-(. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-hackers Wed Dec 28 15:27:17 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA10860 for hackers-outgoing; Wed, 28 Dec 1994 15:27:17 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id PAA10854 for ; Wed, 28 Dec 1994 15:27:12 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA25034 (5.67a/IDA-1.5 for freebsd.org!hackers); Wed, 28 Dec 1994 17:10:04 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA07960; 28 Dec 94 16:50:16 CST (Wed) Received: (from peter@localhost) by bonkers.taronga.com (8.6.8/8.6.6) id QAA07957 for hackers@freebsd.org; Wed, 28 Dec 1994 16:50:15 -0600 From: Peter da Silva Message-Id: <199412282250.QAA07957@bonkers.taronga.com> Subject: syslogd changes, first cut To: hackers@freebsd.org Date: Wed, 28 Dec 1994 16:50:14 -0600 (CST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 8803 Sender: hackers-owner@freebsd.org Precedence: bulk To minimize the impact of changing syslog, I use: #!progname syslog lines that only apply to progname This keeps syslog from blowing up if you give the new syslog format to old syslogd, or confuse the new syslogd with old files. The worst that will happen is you will log more info than you expected. Relative to 1.1.5.1 syslogd. I can't imagine the new one is significantly different. *** syslog.conf.5.orig Wed Dec 28 16:42:44 1994 --- syslog.conf.5 Wed Dec 28 16:38:12 1994 *************** *** 45,51 **** file is the configuration file for the .Xr syslogd 8 program. ! It consists of lines with two fields: the .Em selector field which specifies the types of messages and priorities to which the line applies, and an --- 45,53 ---- file is the configuration file for the .Xr syslogd 8 program. ! It consists of ! blocks of lines separated by #! comments ! lines with two fields: the .Em selector field which specifies the types of messages and priorities to which the line applies, and an *************** *** 99,104 **** --- 101,112 ---- .Xr syslog library routine. .Pp + Each block of lines is separated from the previous block by a tag. The tag + is a line beginning with + .Em #!prog + and each block will be associated with calls to syslog from that specific + program. + .Pp See .Xr syslog 3 for a further descriptions of both the *************** *** 112,117 **** --- 120,127 ---- and is of the specified .Em level .Em (or a higher level) , + and the first word in the message after the date matches the + .Em program , the action specified in the .Em action field will be taken. *************** *** 133,140 **** .Pp An asterisk (``*'') can be used to specify all .Em facilities or all ! .Em levels . .Pp The special .Em facility --- 143,152 ---- .Pp An asterisk (``*'') can be used to specify all .Em facilities + all + .Em levels or all ! .Em programs . .Pp The special .Em facility *************** *** 207,212 **** --- 219,227 ---- # Save mail and news errors of level err and higher in a # special file. uucp,news.crit /var/log/spoolerr + + #!ftpd Log FTP transactions as well + daemon /var/log/spoolerr .Ed .Sh FILES .Bl -tag -width /etc/syslog.conf -compact *** syslogd.c.orig Wed Dec 28 16:08:54 1994 --- syslogd.c Wed Dec 28 16:22:48 1994 *************** *** 58,67 **** --- 58,70 ---- * MAXLINE -- the maximimum line length that can be handled. * DEFUPRI -- the default priority for user messages * DEFSPRI -- the default priority for kernel messages + * MAXPROGNAMELEN -- maximum length for a program tag * * Author: Eric Allman * extensive changes by Ralph Campbell * more extensive changes by Eric Allman (again) + * Extension to log by program name as well as facility and priority + * by Peter da Silva. */ #define MAXLINE 1024 /* maximum line length */ *************** *** 69,74 **** --- 72,78 ---- #define DEFUPRI (LOG_USER|LOG_NOTICE) #define DEFSPRI (LOG_KERN|LOG_CRIT) #define TIMERINTVL 30 /* interval for checking flush, mark */ + #define MAXPROGNAMELEN 256 #include #include *************** *** 129,134 **** --- 133,139 ---- short f_file; /* file descriptor */ time_t f_time; /* time this was last written */ u_char f_pmask[LOG_NFACILITIES+1]; /* priority mask */ + char *f_program; /* program this applies to */ union { char f_uname[MAXUNAMES][UT_NAMESIZE+1]; struct { *************** *** 467,472 **** --- 472,479 ---- int omask, msglen; char *timestamp; time_t time(); + char prog[MAXPROGNAMELEN+1]; + int i; dprintf("logmsg: pri %o, flags %x, from %s, msg %s\n", pri, flags, from, msg); *************** *** 490,495 **** --- 497,508 ---- msglen -= 16; } + /* skip leading blanks */ + while(isspace(*msg)) { + msg++; + msglen--; + } + /* extract facility and priority level */ if (flags & MARK) fac = LOG_NFACILITIES; *************** *** 497,502 **** --- 510,524 ---- fac = LOG_FAC(pri); prilev = LOG_PRI(pri); + /* extract program name */ + for(i = 0; i < MAXPROGNAMELEN; i++) { + if(isalnum(msg[i])) + prog[i] = msg[i]; + else + break; + } + prog[i] = 0; + /* log the message to the particular outputs */ if (!Initialized) { f = &consfile; *************** *** 514,519 **** --- 536,545 ---- if (f->f_pmask[fac] < prilev || f->f_pmask[fac] == INTERNAL_NOPRI) continue; + /* skip messages with the incorrect program name */ + if(f->f_program) + if(strcmp(prog, f->f_program) != 0) + continue; if (f->f_type == F_CONSOLE && (flags & IGN_CONS)) continue; *************** *** 857,862 **** --- 883,889 ---- register struct filed *f, *next, **nextp; register char *p; char cline[BUFSIZ]; + char prog[MAXPROGNAMELEN]; dprintf("init\n"); *************** *** 878,883 **** --- 905,911 ---- break; } next = f->f_next; + if(f->f_program) free(f->f_program); free((char *) f); } Files = NULL; *************** *** 887,895 **** if ((cf = fopen(ConfFile, "r")) == NULL) { dprintf("cannot open %s\n", ConfFile); *nextp = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.ERR\t/dev/console", *nextp); (*nextp)->f_next = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.PANIC\t*", (*nextp)->f_next); Initialized = 1; return; } --- 915,923 ---- if ((cf = fopen(ConfFile, "r")) == NULL) { dprintf("cannot open %s\n", ConfFile); *nextp = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.ERR\t/dev/console", *nextp, "*"); (*nextp)->f_next = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.PANIC\t*", (*nextp)->f_next, "*"); Initialized = 1; return; } *************** *** 898,917 **** * Foreach line in the conf table, open that file. */ f = NULL; while (fgets(cline, sizeof cline, cf) != NULL) { /* * check for end-of-section, comments, strip off trailing ! * spaces and newline character. */ for (p = cline; isspace(*p); ++p); ! if (*p == NULL || *p == '#') ! continue; for (p = index(cline, '\0'); isspace(*--p);); *++p = '\0'; f = (struct filed *)calloc(1, sizeof(*f)); *nextp = f; nextp = &f->f_next; ! cfline(cline, f); } /* close the configuration file */ --- 926,963 ---- * Foreach line in the conf table, open that file. */ f = NULL; + strcpy(prog, "*"); while (fgets(cline, sizeof cline, cf) != NULL) { /* * check for end-of-section, comments, strip off trailing ! * spaces and newline character. #!prog is treated specially: ! * following lines apply only to that program. */ for (p = cline; isspace(*p); ++p); ! if (*p == NULL || *p == '#') { ! p++; ! if(*p=='!') { ! p++; ! while(isspace(*p)) p++; ! if(!*p) { ! strcpy(prog, "*"); ! continue; ! } ! for(i = 0; i < MAXPROGNAMELEN; i++) { ! if(!isalnum(p[i])) ! break; ! prog[i] = p[i]; ! } ! prog[i] = 0; ! continue; ! } ! } for (p = index(cline, '\0'); isspace(*--p);); *++p = '\0'; f = (struct filed *)calloc(1, sizeof(*f)); *nextp = f; nextp = &f->f_next; ! cfline(cline, f, prog); } /* close the configuration file */ *************** *** 943,948 **** --- 989,997 ---- printf("%s, ", f->f_un.f_uname[i]); break; } + if(f->f_program) { + printf(" (%s)", f->f_program); + } printf("\n"); } } *************** *** 955,963 **** * Crack a configuration file line */ ! cfline(line, f) char *line; register struct filed *f; { register char *p; register char *q; --- 1004,1013 ---- * Crack a configuration file line */ ! cfline(line, f, prog) char *line; register struct filed *f; + char *prog; { register char *p; register char *q; *************** *** 967,973 **** struct hostent *hp; char buf[MAXLINE], ebuf[100]; ! dprintf("cfline(%s)\n", line); errno = 0; /* keep strerror() stuff out of logerror messages */ --- 1017,1023 ---- struct hostent *hp; char buf[MAXLINE], ebuf[100]; ! dprintf("cfline(\"%s\", f, \"%s\")\n", line, prog); errno = 0; /* keep strerror() stuff out of logerror messages */ *************** *** 975,980 **** --- 1025,1039 ---- bzero((char *) f, sizeof *f); for (i = 0; i <= LOG_NFACILITIES; i++) f->f_pmask[i] = INTERNAL_NOPRI; + + /* save program name if any */ + if(prog && *prog=='*') prog = NULL; + if(prog) { + f->f_program = calloc(1, strlen(prog)+1); + if(f->f_program) { + strcpy(f->f_program, prog); + } + } /* scan through the list of selectors */ for (p = line; *p && *p != '\t';) { From owner-freebsd-hackers Wed Dec 28 15:55:15 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA11235 for hackers-outgoing; Wed, 28 Dec 1994 15:55:15 -0800 Received: from fenchurch.mit.edu (FENCHURCH.MIT.EDU [18.62.0.7]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA11227 for ; Wed, 28 Dec 1994 15:55:13 -0800 Received: by fenchurch.mit.edu id SAA04803; Wed, 28 Dec 1994 18:49:38 -0500 Reply-To: shawn@fenchurch.mit.edu Date: Wed, 28 Dec 94 18:49:34 EST From: "Shawn F. Mckay" To: freebsd-hackers@freefall.cdrom.com Subject: FreeBSD2.0+Zoom250Internal Message-ID: Sender: hackers-owner@freebsd.org Precedence: bulk Wow, am I impressed! I have 2.0 up and have been playing with it for a little while, and considering the major stuff done to it, I'm VERY impressed! A word of congratulations is called for here! :-) ============================= On a separate note, if I might... I have a Zoom250 Internal modem, and have it set up as COM3/IRQ5 (0x3e8). I noticed that DOS can see the modem and work with it just fine. But FreeBSD cannot. Is this because its not seeing a 16550A? Is there something I can do to fake it? Since DOS isnt all that smart and it works with DOS OK, could it just be using the BIOS? Can I force a single port to use the BIOS for now if need be? Thanks! - Shawn /***************************************************************************** Shawn F. Mckay Phone: 617-253-2583 Dept. of Electrical Eng. & Computer Science Email: shawn@eddie.mit.edu M.I.T. / Room 38-388 / Cambridge, MA 02139 / USA http://eddie.mit.edu/~shawn/shawn.html PGP Key available on request *****************************************************************************/ From owner-freebsd-hackers Wed Dec 28 16:13:01 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA11987 for hackers-outgoing; Wed, 28 Dec 1994 16:13:01 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id QAA11949; Wed, 28 Dec 1994 16:12:11 -0800 Received: from jsdinc.root.com (uucp@localhost) by Root.COM (8.6.8/8.6.5) with UUCP id QAA03705; Wed, 28 Dec 1994 16:12:01 -0800 Received: (root@localhost) by jsdinc.root.com (8.6.9/8.6.5) id SAA03413; Wed, 28 Dec 1994 18:00:45 -0500 From: "John S. Dyson" Message-Id: <199412282300.SAA03413@jsdinc.root.com> Subject: Re: DEVFS on FreeBSD 2.0 To: freefall.cdrom.com!owner-freebsd-current@implode.root.com (Julian Elischer) Date: Wed, 28 Dec 1994 18:00:45 -0500 (EST) Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org In-Reply-To: <199412281814.SAA00122@jules.DIALix.oz.au> from "Julian Elischer" at Dec 28, 94 06:14:44 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 276 Sender: hackers-owner@freebsd.org Precedence: bulk > > now the big question.... will I have to do lotsa changes for 2.1? > does the vm/bufcache merge change the VFS a lot? > > julian > Not much at all!!! The biggest change is in vfs_bio (almost rewritten again), and redid alot of the cluster code... John dyson@root.com From owner-freebsd-hackers Wed Dec 28 18:59:36 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id SAA19292 for hackers-outgoing; Wed, 28 Dec 1994 18:59:36 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id SAA19285 for ; Wed, 28 Dec 1994 18:59:31 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA26389 (5.67a/IDA-1.5 for freebsd.org!hackers); Wed, 28 Dec 1994 20:42:55 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA13031; 28 Dec 94 20:23:13 CST (Wed) Received: (from peter@localhost) by bonkers.taronga.com (8.6.8/8.6.6) id UAA13028 for hackers@freebsd.org; Wed, 28 Dec 1994 20:23:12 -0600 From: Peter da Silva Message-Id: <199412290223.UAA13028@bonkers.taronga.com> Subject: Re: syslogd changes, second cut To: hackers@freebsd.org Date: Wed, 28 Dec 1994 20:23:11 -0600 (CST) In-Reply-To: <199412290157.RAA02273@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Dec 28, 94 05:57:40 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 9253 Sender: hackers-owner@freebsd.org Precedence: bulk Rod Grimes sent me a few nitpicks, and I eyeballed the sources and found some more problems, including a file parsing bug (running off the end of a string) so I've rewrapped the whole thing... *** syslogd.c.orig Wed Dec 28 16:08:54 1994 --- syslogd.c Wed Dec 28 20:03:09 1994 *************** *** 62,67 **** --- 62,69 ---- * Author: Eric Allman * extensive changes by Ralph Campbell * more extensive changes by Eric Allman (again) + * Extension to log by program name as well as facility and priority + * by Peter da Silva. */ #define MAXLINE 1024 /* maximum line length */ *************** *** 83,88 **** --- 85,91 ---- #include #include #include + #include #include #include *************** *** 129,134 **** --- 132,138 ---- short f_file; /* file descriptor */ time_t f_time; /* time this was last written */ u_char f_pmask[LOG_NFACILITIES+1]; /* priority mask */ + char *f_program; /* program this applies to */ union { char f_uname[MAXUNAMES][UT_NAMESIZE+1]; struct { *************** *** 467,472 **** --- 471,478 ---- int omask, msglen; char *timestamp; time_t time(); + char prog[NAME_MAX+1]; + int i; dprintf("logmsg: pri %o, flags %x, from %s, msg %s\n", pri, flags, from, msg); *************** *** 490,495 **** --- 496,507 ---- msglen -= 16; } + /* skip leading blanks */ + while(isspace(*msg)) { + msg++; + msglen--; + } + /* extract facility and priority level */ if (flags & MARK) fac = LOG_NFACILITIES; *************** *** 497,502 **** --- 509,522 ---- fac = LOG_FAC(pri); prilev = LOG_PRI(pri); + /* extract program name */ + for(i = 0; i < NAME_MAX; i++) { + if(!isalnum(msg[i])) + break; + prog[i] = msg[i]; + } + prog[i] = 0; + /* log the message to the particular outputs */ if (!Initialized) { f = &consfile; *************** *** 514,519 **** --- 534,543 ---- if (f->f_pmask[fac] < prilev || f->f_pmask[fac] == INTERNAL_NOPRI) continue; + /* skip messages with the incorrect program name */ + if(f->f_program) + if(strcmp(prog, f->f_program) != 0) + continue; if (f->f_type == F_CONSOLE && (flags & IGN_CONS)) continue; *************** *** 857,862 **** --- 881,887 ---- register struct filed *f, *next, **nextp; register char *p; char cline[BUFSIZ]; + char prog[NAME_MAX]; dprintf("init\n"); *************** *** 878,883 **** --- 903,909 ---- break; } next = f->f_next; + if(f->f_program) free(f->f_program); free((char *) f); } Files = NULL; *************** *** 887,895 **** if ((cf = fopen(ConfFile, "r")) == NULL) { dprintf("cannot open %s\n", ConfFile); *nextp = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.ERR\t/dev/console", *nextp); (*nextp)->f_next = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.PANIC\t*", (*nextp)->f_next); Initialized = 1; return; } --- 913,921 ---- if ((cf = fopen(ConfFile, "r")) == NULL) { dprintf("cannot open %s\n", ConfFile); *nextp = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.ERR\t/dev/console", *nextp, "*"); (*nextp)->f_next = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.PANIC\t*", (*nextp)->f_next, "*"); Initialized = 1; return; } *************** *** 898,917 **** * Foreach line in the conf table, open that file. */ f = NULL; while (fgets(cline, sizeof cline, cf) != NULL) { /* * check for end-of-section, comments, strip off trailing ! * spaces and newline character. */ for (p = cline; isspace(*p); ++p); ! if (*p == NULL || *p == '#') continue; for (p = index(cline, '\0'); isspace(*--p);); *++p = '\0'; f = (struct filed *)calloc(1, sizeof(*f)); *nextp = f; nextp = &f->f_next; ! cfline(cline, f); } /* close the configuration file */ --- 924,965 ---- * Foreach line in the conf table, open that file. */ f = NULL; + strcpy(prog, "*"); while (fgets(cline, sizeof cline, cf) != NULL) { /* * check for end-of-section, comments, strip off trailing ! * spaces and newline character. #!prog is treated specially: ! * following lines apply only to that program. */ for (p = cline; isspace(*p); ++p); ! if (*p == 0) continue; + if(*p == '#') { + p++; + if(*p!='!') + continue; + } + if(*p=='!') { + p++; + while(isspace(*p)) p++; + if(!*p) { + strcpy(prog, "*"); + continue; + } + for(i = 0; i < NAME_MAX; i++) { + if(!isalnum(p[i])) + break; + prog[i] = p[i]; + } + prog[i] = 0; + continue; + } for (p = index(cline, '\0'); isspace(*--p);); *++p = '\0'; f = (struct filed *)calloc(1, sizeof(*f)); *nextp = f; nextp = &f->f_next; ! cfline(cline, f, prog); } /* close the configuration file */ *************** *** 943,948 **** --- 991,999 ---- printf("%s, ", f->f_un.f_uname[i]); break; } + if(f->f_program) { + printf(" (%s)", f->f_program); + } printf("\n"); } } *************** *** 955,963 **** * Crack a configuration file line */ ! cfline(line, f) char *line; register struct filed *f; { register char *p; register char *q; --- 1006,1015 ---- * Crack a configuration file line */ ! cfline(line, f, prog) char *line; register struct filed *f; + char *prog; { register char *p; register char *q; *************** *** 967,973 **** struct hostent *hp; char buf[MAXLINE], ebuf[100]; ! dprintf("cfline(%s)\n", line); errno = 0; /* keep strerror() stuff out of logerror messages */ --- 1019,1025 ---- struct hostent *hp; char buf[MAXLINE], ebuf[100]; ! dprintf("cfline(\"%s\", f, \"%s\")\n", line, prog); errno = 0; /* keep strerror() stuff out of logerror messages */ *************** *** 975,980 **** --- 1027,1041 ---- bzero((char *) f, sizeof *f); for (i = 0; i <= LOG_NFACILITIES; i++) f->f_pmask[i] = INTERNAL_NOPRI; + + /* save program name if any */ + if(prog && *prog=='*') prog = NULL; + if(prog) { + f->f_program = calloc(1, strlen(prog)+1); + if(f->f_program) { + strcpy(f->f_program, prog); + } + } /* scan through the list of selectors */ for (p = line; *p && *p != '\t';) { *** syslog.conf.5.orig Wed Dec 28 16:42:44 1994 --- syslog.conf.5 Wed Dec 28 20:18:06 1994 *************** *** 45,51 **** file is the configuration file for the .Xr syslogd 8 program. ! It consists of lines with two fields: the .Em selector field which specifies the types of messages and priorities to which the line applies, and an --- 45,55 ---- file is the configuration file for the .Xr syslogd 8 program. ! It consists of ! blocks of lines separated by ! .Em program ! specifications, ! with each line containing two fields: the .Em selector field which specifies the types of messages and priorities to which the line applies, and an *************** *** 99,117 **** .Xr syslog library routine. .Pp See .Xr syslog 3 for a further descriptions of both the .Em facility and .Em level ! keywords and their significance. .Pp If a received message matches the specified .Em facility and is of the specified .Em level .Em (or a higher level) , the action specified in the .Em action field will be taken. --- 103,142 ---- .Xr syslog library routine. .Pp + Each block of lines is separated from the previous block by a tag. The tag + is a line beginning with + .Em #!prog + or + .Em !prog + (the former is for compatibility with the previous syslogd, if one is sharing + syslog.conf files, for example) + and each block will be associated with calls to syslog from that specific + program. + .Pp See .Xr syslog 3 for a further descriptions of both the .Em facility and .Em level ! keywords and their significance. It's preferred that selections be made on ! .Em facility ! rather than ! .Em program , ! since the latter can easily vary in a networked environment. In some cases, ! though, an appropriate ! .Em facility ! simply doesn't exist (for example, ! .Em ftpd ! logs under LOG_DAEMON along with a myriad other programs). .Pp If a received message matches the specified .Em facility and is of the specified .Em level .Em (or a higher level) , + and the first word in the message after the date matches the + .Em program , the action specified in the .Em action field will be taken. *************** *** 133,140 **** .Pp An asterisk (``*'') can be used to specify all .Em facilities or all ! .Em levels . .Pp The special .Em facility --- 158,167 ---- .Pp An asterisk (``*'') can be used to specify all .Em facilities + all + .Em levels or all ! .Em programs . .Pp The special .Em facility *************** *** 207,212 **** --- 234,243 ---- # Save mail and news errors of level err and higher in a # special file. uucp,news.crit /var/log/spoolerr + + # Save ftpd transactions along with mail and news + !ftpd + *.* /var/log/spoolerr .Ed .Sh FILES .Bl -tag -width /etc/syslog.conf -compact From owner-freebsd-hackers Wed Dec 28 19:12:37 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA19563 for hackers-outgoing; Wed, 28 Dec 1994 19:12:37 -0800 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA19549 for ; Wed, 28 Dec 1994 19:12:34 -0800 Received: (dufault@localhost) by hda.com (8.6.9/8.3) id WAA20727; Wed, 28 Dec 1994 22:13:41 -0500 From: Peter Dufault Message-Id: <199412290313.WAA20727@hda.com> Subject: Re: how to emulate kdhit()B? To: jbeukema@HK.Super.NET (John Beukema) Date: Wed, 28 Dec 1994 22:13:41 -0500 (EST) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: from "John Beukema" at Dec 28, 94 05:24:21 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1081 Sender: hackers-owner@freebsd.org Precedence: bulk John Beukema writes: > > > I cannot get the function kbhit() which works well under SCO to work under > FBSD. The function which tries to read 1 char from stdin after setting > flags to nonblocking, always returns true ie, keyboard hit when the term > is in 'cooked' mode. Can anyone point me to a way to do this? > jbeukema This is the "kbhit" we use. This "kbhit" just returns whether or not something is pending, which is all the Microsoft library promised when this was written (way back when). It works properly non blocking or blocking, and as someone noted, probably only makes sense when it is set to non-blocking. Maybe you can modify this to do what you need. #include #include int kbhit(void) { int n; if (ioctl(fileno(stdin), FIONREAD, &n) == -1) n = 0; return n != 0; } Peter -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 ++++ Formerly hd@world.std.com. E-mail problems? Tell hdslip@iii.net From owner-freebsd-hackers Wed Dec 28 21:08:58 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA21549 for hackers-outgoing; Wed, 28 Dec 1994 21:08:58 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA21543 for ; Wed, 28 Dec 1994 21:08:57 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id VAA02929; Wed, 28 Dec 1994 21:08:13 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: faulkner@mpd.tandem.com (Boyd Faulkner) cc: obiwan!bob@uudell.us.dell.com, freebsd-hackers@freefall.cdrom.com Subject: Re: Install tape format?? In-reply-to: Your message of "Wed, 28 Dec 94 10:54:17 CST." <9412281654.AA07832@olympus> Date: Wed, 28 Dec 1994 21:08:11 -0800 Message-ID: <2928.788677691@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > On QIC-150 tapes, I have to use /dev/rst0.1 or no dice. I have an Archive 21 50 > drive. I relinked /dev/rst0 to /dev/rst0.1 so I could install. The new installation scripts give you the option to change it on the fly. Jordan From owner-freebsd-hackers Wed Dec 28 22:50:25 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id WAA25340 for hackers-outgoing; Wed, 28 Dec 1994 22:50:25 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id WAA25333 for ; Wed, 28 Dec 1994 22:50:15 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id RAA10527; Thu, 29 Dec 1994 17:47:59 +1100 Date: Thu, 29 Dec 1994 17:47:59 +1100 From: Bruce Evans Message-Id: <199412290647.RAA10527@godzilla.zeta.org.au> To: dufault@hda.com, jbeukema@HK.Super.NET Subject: Re: how to emulate kdhit()B? Cc: freebsd-hackers@freefall.cdrom.com Sender: hackers-owner@freebsd.org Precedence: bulk >This "kbhit" just returns whether or not something is pending, which >is all the Microsoft library promised when this was written (way back when). Does the Microsoft one look at the keyboard or at stdin? I'm familiar with the Borland one, which is documented to look on the keyboard, but actually looks at stdin. Be sure to implement this bug correctly :-). Bruce From owner-freebsd-hackers Wed Dec 28 23:07:58 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA26100 for hackers-outgoing; Wed, 28 Dec 1994 23:07:58 -0800 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA26093 for hackers; Wed, 28 Dec 1994 23:07:57 -0800 Date: Wed, 28 Dec 1994 23:07:57 -0800 From: "Jordan K. Hubbard" Message-Id: <199412290707.XAA26093@freefall.cdrom.com> To: hackers Subject: ifconfig -a? Sender: hackers-owner@freebsd.org Precedence: bulk A friend just pointed out Sun's useful -a flag to ifconfig. Anyone game to add this to FreeBSD? Any objections? Jordan From owner-freebsd-hackers Wed Dec 28 23:12:19 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA26325 for hackers-outgoing; Wed, 28 Dec 1994 23:12:19 -0800 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA26318 for hackers; Wed, 28 Dec 1994 23:12:18 -0800 Date: Wed, 28 Dec 1994 23:12:18 -0800 From: "Jordan K. Hubbard" Message-Id: <199412290712.XAA26318@freefall.cdrom.com> To: hackers Subject: ypserv for FreeBSD? Sender: hackers-owner@freebsd.org Precedence: bulk Anyone care to work on this? I could use a ypserver in the worst way right now (ok, ok, we can call it NIS if you really want to). Jordan From owner-freebsd-hackers Thu Dec 29 00:18:19 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA00554 for hackers-outgoing; Thu, 29 Dec 1994 00:18:19 -0800 Received: from sun4nl.NL.net (sun4nl.NL.net [193.78.240.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id AAA00546 for ; Thu, 29 Dec 1994 00:18:16 -0800 Received: from spase by sun4nl.NL.net via EUnet id AA25007 (5.65b/CWI-3.3); Thu, 29 Dec 1994 09:18:03 +0100 Message-Id: <9412290818.AA25007@sun4nl.NL.net> Received: by spase3 (1.37.109.7/16.2) id AA20107; Thu, 29 Dec 94 09:16:02 +0100 From: Kees Jan Koster Subject: Re: etherboards To: hackers@freebsd.org Date: Thu, 29 Dec 94 9:16:02 MEZ Mailer: Elm [revision: 70.85] Sender: hackers-owner@freebsd.org Precedence: bulk Hoi, > ran into a couple of cheap ethernet cards (free in fact) and I'd > like to know if they're supported by FreeBSD. I'll list the ones that > were not burnt out :-). > > card name: Manufacturer: Biggest chip on board: > > PCnic (16 bits) IMC networks DP8390DN > ?? Corman Custom Elec. Corp COM9026 > LCS-8634 (rev 2a) ?? DP8390BN > isolink pc-at contr. BICC data networks AM7990PC/80 > I tried these cards (and some more) and I got a couple of them to work. The Isolink card ran at once (probably the jumpers were at the right configuration, accidently). No tellin' if its a fast card, I don't have more than one computer (yet, there is a SUN3 about to appear...). The 8390-based boards worked OK, except the PCnic family. They should be software configured for IO address and such. The LCS-8634 tells me it's a NE2000 (16 bits) card. Does anyone know if I should believe it? The COM9026 hung the network here at SPaSE (that's where I work). Great fun (not). And the FreeBSD box tells me it doesn't exist. Thanks for your help. Kees Jan Koster e-mail: dutchman@spase.nl (after 31 december 1994: ux005489@tfarn.nl) From owner-freebsd-hackers Thu Dec 29 00:54:40 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA03145 for hackers-outgoing; Thu, 29 Dec 1994 00:54:40 -0800 Received: from vortex.sdf.luth.se (vortex.sdf.luth.se [130.239.144.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id AAA03111 for ; Thu, 29 Dec 1994 00:54:17 -0800 Received: from alkinoos.sdf.luth.se by vortex.sdf.luth.se (8.6.9/8.6.9) with ESMTP id JAA26624 for ; Thu, 29 Dec 1994 09:47:25 +0100 Received: by alkinoos.sdf.luth.se (8.6.9/8.6.9) id JAA29780 for hackers@freebsd.org; Thu, 29 Dec 1994 09:55:27 +0100 From: Mattias Karlsson Message-Id: <199412290855.JAA29780@alkinoos.sdf.luth.se> Subject: Protection of /tmp... To: hackers@freebsd.org Date: Thu, 29 Dec 1994 09:55:26 +0100 (MET) X-Mailer: ELM [version 2.4 PL22] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Content-Length: 198 Sender: hackers-owner@freebsd.org Precedence: bulk Hello! I have noticed that the /tmp directory is not world writable as default. Is this some feature in the install script or is it just something else?? /Mattias Karlsson (matte@sdf.luth.se) From owner-freebsd-hackers Thu Dec 29 00:58:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA03458 for hackers-outgoing; Thu, 29 Dec 1994 00:58:02 -0800 Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.RWTH-Aachen.DE [134.130.90.6]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id AAA03446; Thu, 29 Dec 1994 00:58:00 -0800 Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.6.8/8.6.6) id JAA17713; Thu, 29 Dec 1994 09:57:47 +0100 From: Thomas Gellekum Message-Id: <199412290857.JAA17713@ghpc6.ihf.rwth-aachen.de> Subject: Re: ypserv for FreeBSD? To: jkh@freefall.cdrom.com (Jordan K. Hubbard) Date: Thu, 29 Dec 1994 09:57:46 +0100 (MET) Cc: hackers@freefall.cdrom.com In-Reply-To: <199412290712.XAA26318@freefall.cdrom.com> from "Jordan K. Hubbard" at Dec 28, 94 11:12:18 pm Organization: Institut f. Hochfrequenztechnik, RWTH Aachen X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 281 Sender: hackers-owner@freebsd.org Precedence: bulk Jordan K. Hubbard wrote: > > Anyone care to work on this? I could use a ypserver in the worst > way right now (ok, ok, we can call it NIS if you really want to). If you need it right now, you could use the one from Linux. Install libgdbm and you should be ready to compile. tg From owner-freebsd-hackers Thu Dec 29 01:27:23 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA05600 for hackers-outgoing; Thu, 29 Dec 1994 01:27:23 -0800 Received: from prosun.first.gmd.de (prosun.first.gmd.de [192.35.150.136]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id BAA05584 for ; Thu, 29 Dec 1994 01:27:14 -0800 Received: from g386bsd.first.gmd.de by prosun.first.gmd.de (4.1/SMI-4.1) id AA16378; Thu, 29 Dec 94 10:25:54 +0100 Received: by g386bsd.first.gmd.de (KAA01627); Thu, 29 Dec 1994 10:28:05 +0100 From: Andreas Schulz Message-Id: <199412290928.KAA01627@g386bsd.first.gmd.de> Subject: Re: Protection of /tmp... To: Mattias.Karlsson@sdf.luth.se (Mattias Karlsson) Date: Thu, 29 Dec 1994 10:28:05 +0059 (MET) Cc: hackers@freebsd.org In-Reply-To: <199412290855.JAA29780@alkinoos.sdf.luth.se> from "Mattias Karlsson" at Dec 29, 94 09:55:26 am X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 452 Sender: hackers-owner@freebsd.org Precedence: bulk > I have noticed that the /tmp directory is not world writable > as default. Is this some feature in the install script or is > it just something else?? Then you fetched some older install floppies :-).It was simply an error in the first floppies. ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Andreas Schulz GMD-FIRST 12489 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: +49-30-6392-1856/+49-177-2134745 Germany/Europe From owner-freebsd-hackers Thu Dec 29 01:35:45 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA06252 for hackers-outgoing; Thu, 29 Dec 1994 01:35:45 -0800 Received: from prosun.first.gmd.de (prosun.first.gmd.de [192.35.150.136]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id BAA06237; Thu, 29 Dec 1994 01:35:32 -0800 Received: from g386bsd.first.gmd.de by prosun.first.gmd.de (4.1/SMI-4.1) id AA16490; Thu, 29 Dec 94 10:34:07 +0100 Received: by g386bsd.first.gmd.de (KAA01659); Thu, 29 Dec 1994 10:36:19 +0100 From: Andreas Schulz Message-Id: <199412290936.KAA01659@g386bsd.first.gmd.de> Subject: Re: ifconfig -a? To: jkh@freefall.cdrom.com (Jordan K. Hubbard) Date: Thu, 29 Dec 1994 10:36:19 +0059 (MET) Cc: hackers@freefall.cdrom.com In-Reply-To: <199412290707.XAA26093@freefall.cdrom.com> from "Jordan K. Hubbard" at Dec 28, 94 11:07:57 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 705 Sender: hackers-owner@freebsd.org Precedence: bulk > A friend just pointed out Sun's useful -a flag to ifconfig. Anyone > game to add this to FreeBSD? Any objections? No objections, i am missing it also a long time now :-). Only interesting question, how close to which ifconfig version from SUN should it be ? :-). Some give you back the ethernet adress on the interface and some don't. I have not looked how easy it is on FreeBSD to find out the own ethernet-adress. Some systems have ioctl's for this and some systems you can't find it out easily. ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Andreas Schulz GMD-FIRST 12489 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: +49-30-6392-1856/+49-177-2134745 Germany/Europe From owner-freebsd-hackers Thu Dec 29 03:10:13 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id DAA12365 for hackers-outgoing; Thu, 29 Dec 1994 03:10:13 -0800 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id DAA12355 for ; Thu, 29 Dec 1994 03:10:10 -0800 Received: (dufault@localhost) by hda.com (8.6.9/8.3) id GAA21554; Thu, 29 Dec 1994 06:10:25 -0500 From: Peter Dufault Message-Id: <199412291110.GAA21554@hda.com> Subject: Re: how to emulate kdhit()B? To: bde@zeta.org.au (Bruce Evans) Date: Thu, 29 Dec 1994 06:10:25 -0500 (EST) Cc: jbeukema@HK.Super.NET, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412290647.RAA10527@godzilla.zeta.org.au> from "Bruce Evans" at Dec 29, 94 05:47:59 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1161 Sender: hackers-owner@freebsd.org Precedence: bulk Bruce Evans writes: > > >This "kbhit" just returns whether or not something is pending, which > >is all the Microsoft library promised when this was written (way back when). > > Does the Microsoft one look at the keyboard or at stdin? I'm familiar > with the Borland one, which is documented to look on the keyboard, but > actually looks at stdin. > > Be sure to implement this bug correctly :-). The MS documentation says "the kbhit function checks the console for a recent keystroke". What it actually does is left as an exercise for a user with a DOS system nearby. We used this (and other than testing it to see that it works on FreeBSD it probably hasn't been used in about 4 years; the MS C documentation is copyright 1987) for developing programs that ran in either a DOS or BSD environment. At the time I think we had one Vaxstation and some SONY News systems and this is what worked best for us. Peter -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 ++++ Formerly hd@world.std.com. E-mail problems? Tell hdslip@iii.net From owner-freebsd-hackers Thu Dec 29 03:46:16 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id DAA14424 for hackers-outgoing; Thu, 29 Dec 1994 03:46:16 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id DAA14418 for ; Thu, 29 Dec 1994 03:46:15 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id DAA04108; Thu, 29 Dec 1994 03:45:24 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: Mattias Karlsson cc: hackers@freebsd.org Subject: Re: Protection of /tmp... In-reply-to: Your message of "Thu, 29 Dec 94 09:55:26 +0100." <199412290855.JAA29780@alkinoos.sdf.luth.se> Date: Thu, 29 Dec 1994 03:45:24 -0800 Message-ID: <4106.788701524@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk It's a bug! :) > Hello! > > I have noticed that the /tmp directory is not world writable > as default. Is this some feature in the install script or is > it just something else?? > > /Mattias Karlsson (matte@sdf.luth.se) > From owner-freebsd-hackers Thu Dec 29 04:42:59 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id EAA17165 for hackers-outgoing; Thu, 29 Dec 1994 04:42:59 -0800 Received: from Starbase.NeoSoft.COM (dbaker@starbase.NeoSoft.COM [198.64.6.26]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id EAA17159 for ; Thu, 29 Dec 1994 04:42:58 -0800 Received: (from dbaker@localhost) by Starbase.NeoSoft.COM (8.6.9/8.6.9) id GAA06541; Thu, 29 Dec 1994 06:42:50 -0600 X-Provider: NeoSoft, Inc.: Internet Service Provider (713) 684-5969 Date: Thu, 29 Dec 1994 06:42:50 -0600 (CST) From: Daniel Baker To: hackers@freebsd.org Subject: Pine/Elm Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk Hackers -- Where can I get a copy of elm and pine for my version of FreeBSD? (2.0) -- Daniel Baker -- NeoSoft FTP/UseNet Administrator (713)531-8571 DBaker@NeoSoft.COM DBaker@UuNeo.NeoSoft.COM From owner-freebsd-hackers Thu Dec 29 04:57:27 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id EAA17874 for hackers-outgoing; Thu, 29 Dec 1994 04:57:27 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id EAA17868 for ; Thu, 29 Dec 1994 04:57:25 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA29027 (5.67a/IDA-1.5 for freebsd.org!hackers); Thu, 29 Dec 1994 06:35:45 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA25326; 29 Dec 94 06:16:04 CST (Thu) Received: (from peter@localhost) by bonkers.taronga.com (8.6.8/8.6.6) id GAA25320; Thu, 29 Dec 1994 06:16:03 -0600 From: Peter da Silva Message-Id: <199412291216.GAA25320@bonkers.taronga.com> Subject: Re: syslogd changes, second cut To: peter@bonkers.taronga.com (Peter da Silva) Date: Thu, 29 Dec 1994 06:16:03 -0600 (CST) Cc: hackers@freebsd.org In-Reply-To: <199412290223.UAA13028@bonkers.taronga.com> from "Peter da Silva" at Dec 28, 94 08:23:11 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 224 Sender: hackers-owner@freebsd.org Precedence: bulk > *** 857,862 **** > --- 881,887 ---- > register struct filed *f, *next, **nextp; > register char *p; > char cline[BUFSIZ]; > + char prog[NAME_MAX]; > > dprintf("init\n"); > (sigh) Should be NAME_MAX+1. From owner-freebsd-hackers Thu Dec 29 06:09:17 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id GAA21565 for hackers-outgoing; Thu, 29 Dec 1994 06:09:17 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id GAA21539; Thu, 29 Dec 1994 06:09:06 -0800 Received: (from jkh@localhost) by time.cdrom.com (8.6.9/8.6.9) id GAA04544; Thu, 29 Dec 1994 06:08:45 -0800 Date: Thu, 29 Dec 1994 06:08:45 -0800 From: "Jordan K. Hubbard" Message-Id: <199412291408.GAA04544@time.cdrom.com> To: hackers@freefall.cdrom.com Subject: It's time to release.. The worms! Hahahahaha! Cc: install@freefall.cdrom.com Sender: hackers-owner@freebsd.org Precedence: bulk Got a can opener right here! [grabs can, opener, sticks tongue out of one side of mouth in concentration and starts in on it]. "roik..roik..roik..roik..roik..roik..*pop*... (we're free!).. *slither*.." There we go! One open can of worms! Yuck! Yup, it's time to open that old worm can with the words "FreeBSD Installation" written on it, I'm afraid! I want to know what all of you think about where the FreeBSD install should go. I'd like to hear where you think it shines and where it sucks. I'd like to hear what you think any sensible person with half a brain ought to be able to do with it and to it. >From these multiple streams of consciousness, twilite-zone suggestions, heated arguments and occasional spats of petty nitpicking, I hope to derive some sort of "want / don't want" list of features and ideas for the 2.1 installation. Just between you and me, I don't expect the installation to be anywhere near finished until 2.2, but I'd like to get most of the bug and simple enhancement requests done for 2.1. To give you a feel for timelines, if you want a voice in what happens for the FreeBSD 2.1 install, the time to talk about it is NOW. I plan multiple dry runs here, so the snapshot program I've already talked about will contain many of the ideas we discuss over the next few weeks actually implemented as ALPHA quality code. The rush now is to save us the rush later, when we can much less afford it. Let's try and do most of our testing in advance this time instead of *after* the release, as we usually do! :-) We should also try to focus our discussions into two very rough catagories: 1. sysinstall and how the whole disk prep / network boot / install-from-DOS situation should be handled. People would also be WELL advised to try a Linux installation at least once, just to see what they're capable of. 2. FreeBSD administration and initial user setup. I forsee that the installation will, for reasons of space on the boot floppy if nothing else, still consist of a low-level "get a little bootstrap on the disk with a minimum setup" stage and a user mode "binist" high level installation phase. For most purposes, we can discuss them seperately. All interested parties form up on the install@freebsd.org mailing list please! You know the drill.. Talk to majordomo.. :-) Thanks! Jordan From owner-freebsd-hackers Thu Dec 29 07:04:41 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA24418 for hackers-outgoing; Thu, 29 Dec 1994 07:04:41 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id HAA24406 for ; Thu, 29 Dec 1994 07:04:36 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id KAA02336 for freebsd-hackers@freebsd.org; Thu, 29 Dec 1994 10:02:32 -0500 Date: Thu, 29 Dec 1994 10:02:32 -0500 From: Wankle Rotary Engine Message-Id: <199412291502.KAA02336@skynet.ctr.columbia.edu> To: freebsd-hackers@freebsd.org Subject: Re: syslogd changes, second cut Sender: hackers-owner@freebsd.org Precedence: bulk >Rod Grimes sent me a few nitpicks, and I eyeballed the sources and found some >more problems, including a file parsing bug (running off the end of a string) >so I've rewrapped the whole thing... I don't suppose I could convince you to make one more small change, namely using getbootfile() to deternine the kernel name instead of hardcoding the name 'kernel?' This is also a nitpick, but... well, you know: thingie. :) -Bill ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul System Manager wpaul@ctr.columbia.edu Center for Telecommunications Research (212) 854-6020 Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-hackers Thu Dec 29 07:26:38 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA25100 for hackers-outgoing; Thu, 29 Dec 1994 07:26:38 -0800 Received: from nosferatu.cas.usf.edu (nosferatu.cas.usf.edu [131.247.31.155]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id HAA25092; Thu, 29 Dec 1994 07:26:36 -0800 Received: (mephisto@localhost) by nosferatu.cas.usf.edu (8.6.8/8.3) id KAA28036; Thu, 29 Dec 1994 10:28:06 -0500 Date: Thu, 29 Dec 1994 10:28:05 -0500 (EST) From: Joe O To: "Jordan K. Hubbard" cc: hackers@freefall.cdrom.com, install@freefall.cdrom.com Subject: Re: It's time to release.. The worms! Hahahahaha! In-Reply-To: <199412291408.GAA04544@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk I beleave the whole business with creating a disklabel needs some more work. One of the nicest things about the 1.x install program was it "suggestions" for default sizes for the /, /usr, and swap partitions. For the majority of users this is the only time they come in contact with this aspect of system administration, a little hand holding may be in order. Joe Orthoefer From owner-freebsd-hackers Thu Dec 29 07:54:31 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA26215 for hackers-outgoing; Thu, 29 Dec 1994 07:54:31 -0800 Received: from kryten.atinc.com (kryten.atinc.com [198.138.38.7]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id HAA26209; Thu, 29 Dec 1994 07:54:27 -0800 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id KAA19103; Thu, 29 Dec 1994 10:07:47 -0500 Date: Thu, 29 Dec 1994 10:07:46 -0500 (EST) From: "Jonathan M. Bresler" Subject: Re: It's time to release.. The worms! Hahahahaha! To: "Jordan K. Hubbard" cc: hackers@freefall.cdrom.com, install@freefall.cdrom.com In-Reply-To: <199412291408.GAA04544@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk --when using the '-c' option at boot. the new values for port, irq, drq, iomem are recorded in the boot messages. use this information to these values listed when setting up the network. so instead of seeing 'ep0 at 0x300' when i '-c'ed the 3c5x9 to 0x340, i would see 'ep0 at 0x340'. a little nit, but i sparked some discussion here when installing 2.0 --when prompted for additional flags for the ifconfig command, provide info: what's available and what's it do to each card. (lets see was it altphys? link2? -link2?, damn it i dont remember!) --continue the install sytle boot till a "done" option is selected from one of the menus. the ncftp fetch of X locked up on me and i had to do the rest by hand--and the way i type that's a very real disadvantage ;) --ncftp has worked fine here during installs, so lets keep it, can the error message that it produces on the alt-f2 screen. dont really remember it--some file or file descriptor message that does not indicate a show stopper, but does cause unfounded concern. jmb Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 From owner-freebsd-hackers Thu Dec 29 08:12:09 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA26629 for hackers-outgoing; Thu, 29 Dec 1994 08:12:09 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA26623; Thu, 29 Dec 1994 08:12:05 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id RAA08300 ; Thu, 29 Dec 1994 17:12:31 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA01958; Thu, 29 Dec 94 17:12:48 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412291612.AA01958@blaise.ibp.fr> Subject: Re: ifconfig -a? To: jkh@freefall.cdrom.com (Jordan K. Hubbard) Date: Thu, 29 Dec 1994 17:12:47 +0100 (MET) Cc: hackers@freefall.cdrom.com In-Reply-To: <199412290707.XAA26093@freefall.cdrom.com> from "Jordan K. Hubbard" at Dec 28, 94 11:07:57 pm X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 405 Sender: hackers-owner@freebsd.org Precedence: bulk > A friend just pointed out Sun's useful -a flag to ifconfig. Anyone > game to add this to FreeBSD? Any objections? I've always wondered why we did't have that :-) A nice thing to put in. -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Thu Dec 29 08:13:26 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA26699 for hackers-outgoing; Thu, 29 Dec 1994 08:13:26 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA26693; Thu, 29 Dec 1994 08:13:23 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id RAA08314 ; Thu, 29 Dec 1994 17:13:49 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA01966; Thu, 29 Dec 94 17:14:05 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412291614.AA01966@blaise.ibp.fr> Subject: Re: ypserv for FreeBSD? To: thomas@ghpc8.ihf.rwth-aachen.de (Thomas Gellekum) Date: Thu, 29 Dec 1994 17:14:05 +0100 (MET) Cc: jkh@freefall.cdrom.com, hackers@freefall.cdrom.com In-Reply-To: <199412290857.JAA17713@ghpc6.ihf.rwth-aachen.de> from "Thomas Gellekum" at Dec 29, 94 09:57:46 am X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 625 Sender: hackers-owner@freebsd.org Precedence: bulk > > Anyone care to work on this? I could use a ypserver in the worst > > way right now (ok, ok, we can call it NIS if you really want to). > > If you need it right now, you could use the one from Linux. Install > libgdbm and you should be ready to compile. There are two free ones I know of : Feb 1 15:44:28 1994 31.4 Ko admin/yps-0.21.tar.gz Aug 8 15:11:16 1994 23.6 Ko admin/ypserv-0.11.tar.gz -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Thu Dec 29 08:22:50 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA27104 for hackers-outgoing; Thu, 29 Dec 1994 08:22:50 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA27089; Thu, 29 Dec 1994 08:22:47 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id RAA08386 ; Thu, 29 Dec 1994 17:23:07 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA01998; Thu, 29 Dec 94 17:23:24 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412291623.AA01998@blaise.ibp.fr> Subject: Re: It's time to release.. The worms! Hahahahaha! To: jmb@kryten.atinc.com (Jonathan M. Bresler) Date: Thu, 29 Dec 1994 17:23:23 +0100 (MET) Cc: install@freebsd.org, hackers@freebsd.org (Hackers' list FreeBSD) In-Reply-To: from "Jonathan M. Bresler" at Dec 29, 94 10:07:46 am X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 497 Sender: hackers-owner@freebsd.org Precedence: bulk -- add an option to change the default file system parameters : 1. the block size (between 8192 and 4096), 2. the fragment size (between 1024 and 512), 3. and the # of bytes per inodes. These three are very useful for a /news partition and a /sources (or ~ftp) partition... -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Thu Dec 29 08:28:14 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA27226 for hackers-outgoing; Thu, 29 Dec 1994 08:28:14 -0800 Received: from glueserv1.umd.edu (glueserv1.umd.edu [129.2.70.69]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA27220 for ; Thu, 29 Dec 1994 08:28:12 -0800 Received: from delta.eng.umd.edu (delta.eng.umd.edu [129.2.98.122]) by glueserv1.umd.edu (8.6.9/8.6.4) with ESMTP id LAA09607; Thu, 29 Dec 1994 11:27:59 -0500 Received: (chuckr@localhost) by delta.eng.umd.edu (8.6.9/8.6.4) id LAA14594; Thu, 29 Dec 1994 11:27:59 -0500 Date: Thu, 29 Dec 1994 11:27:58 -0500 (EST) From: Chuck Robey To: Andreas Schulz cc: Mattias Karlsson , hackers@freebsd.org Subject: Re: Protection of /tmp... In-Reply-To: <199412290928.KAA01627@g386bsd.first.gmd.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk On Thu, 29 Dec 1994, Andreas Schulz wrote: > > > I have noticed that the /tmp directory is not world writable > > as default. Is this some feature in the install script or is > > it just something else?? > > Then you fetched some older install floppies :-).It was simply an > error in the first floppies. > I don't think that's true. I installed 5 days ago, using the latest floppies I could find on freebsd.cdrom.com, the rest from the cdrom. My /tmp wasn't world writable either.... > > ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) > > Andreas Schulz GMD-FIRST 12489 Berlin-Adlershof Rudower Chaussee 5 > Gebaeude 13.7 Tel: +49-30-6392-1856/+49-177-2134745 Germany/Europe > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 7608 Topton St. | New Carrollton, MD 20784 | I run Journey2 (Freebsd 2.0) and n3lxx (301) 459-2316 | (FreeBSD 1.1.5.1) and am I happy! ----------------------------+----------------------------------------------- From owner-freebsd-hackers Thu Dec 29 08:42:01 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA27439 for hackers-outgoing; Thu, 29 Dec 1994 08:42:01 -0800 Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA27433; Thu, 29 Dec 1994 08:41:59 -0800 Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA15305; Thu, 29 Dec 94 16:41:50 GMT Received: from woody.fsl.noaa.gov by yarmouth.fsl.noaa.gov (1.37.109.14/SMI-4.1 (1.37.109.14)) id AA087389308; Thu, 29 Dec 1994 11:41:48 -0500 Date: Thu, 29 Dec 1994 11:41:48 -0500 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <199412291641.AA087389308@yarmouth.fsl.noaa.gov> Received: by woody.fsl.noaa.gov (1.37.109.14/SMI-4.1 (1.37.109.14)) id AA033309307; Thu, 29 Dec 1994 09:41:47 -0700 To: jkh@freefall.cdrom.com Cc: hackers@freefall.cdrom.com In-Reply-To: <199412290707.XAA26093@freefall.cdrom.com> (jkh@freefall.cdrom.com) Subject: Re: ifconfig -a? Sender: hackers-owner@freebsd.org Precedence: bulk >>>>> "Jordan" == Jordan K Hubbard writes: Jordan> A friend just pointed out Sun's useful -a flag to Jordan> ifconfig. Anyone game to add this to FreeBSD? Any Jordan> objections? Objections?!? If I had a dollar for every time I've typed `ifconfig -a' to FreeBSD so far, I'd have ... I'd have ... well, about $12.95 (due to backspacing). --k From owner-freebsd-hackers Thu Dec 29 08:45:00 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA27523 for hackers-outgoing; Thu, 29 Dec 1994 08:45:00 -0800 Received: from glueserv1.umd.edu (glueserv1.umd.edu [129.2.70.69]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA27508; Thu, 29 Dec 1994 08:44:57 -0800 Received: from delta.eng.umd.edu (delta.eng.umd.edu [129.2.98.122]) by glueserv1.umd.edu (8.6.9/8.6.4) with ESMTP id LAA09853; Thu, 29 Dec 1994 11:44:47 -0500 Received: (chuckr@localhost) by delta.eng.umd.edu (8.6.9/8.6.4) id LAA14637; Thu, 29 Dec 1994 11:44:46 -0500 Date: Thu, 29 Dec 1994 11:44:46 -0500 (EST) From: Chuck Robey To: "Jordan K. Hubbard" cc: hackers@freefall.cdrom.com, install@freefall.cdrom.com Subject: Re: It's time to release.. The worms! Hahahahaha! In-Reply-To: <199412291408.GAA04544@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk I have two comments. Understand that I think the install is so improved that there's no comparison with the older one, so this isn't criticism. First, regarding install via ftp. It would be nice if you could enter all the distributions you wanted at one time. I know there are those who have disk space limitations, who couldn't do that, but it would be a convenience to those of us who could. Second, I had to abort the end of the installation because of a funny bug, where I lost contact with my other machine. I probably caused that myself, because I didn't (at that time) have the nameserver on the other machine working right. Maybe that wasn't the reason, but it refused to recognize the other machine after the first successful ftp. The point is, I had to abort to end a forever loop, and didn't get the installation to do all the nice things at the end, like set passwords and machine name, and whatever else I've missed. There isn't a way to get back to that point, that I could see from the interface. If there's a way, I guess it should go in the tutorial, else a way should be opened so that the last steps *only* can be done. Thanks, I hope this is a help. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 7608 Topton St. | New Carrollton, MD 20784 | I run Journey2 (Freebsd 2.0) and n3lxx (301) 459-2316 | (FreeBSD 1.1.5.1) and am I happy! ----------------------------+----------------------------------------------- From owner-freebsd-hackers Thu Dec 29 08:57:53 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA27755 for hackers-outgoing; Thu, 29 Dec 1994 08:57:53 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA27749 for ; Thu, 29 Dec 1994 08:57:49 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA00327 (5.67a/IDA-1.5); Thu, 29 Dec 1994 10:29:06 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA00250; 29 Dec 94 10:09:31 CST (Thu) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id KAA00246; Thu, 29 Dec 1994 10:09:30 -0600 Message-Id: <199412291609.KAA00246@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: Wankle Rotary Engine Cc: freebsd-hackers@freebsd.org Subject: Re: syslogd changes, second cut In-Reply-To: Your message of "Thu, 29 Dec 94 10:02:32 EST." <199412291502.KAA02336@skynet.ctr.columbia.edu> X-Mailer: exmh version 1.4.1 7/21/94 Date: Thu, 29 Dec 1994 10:09:21 -0600 From: Peter da Silva Sender: hackers-owner@freebsd.org Precedence: bulk > I don't suppose I could convince you to make one more small change, namely > using getbootfile() to deternine the kernel name instead of hardcoding the > name 'kernel?' This is in printsys() where it refers to _PATH_UNIX? > This is also a nitpick, but... well, you know: thingie. :) Love to... is getbootfile() a 2.0 thing? "man getbootfile" says nothing, and I'm still working in 1.1.5.1 land 'cos my wife would kill me if I took this machine down for a week to upgrade it (and she didn't want me to get it in the first place!)... (wasn't the fellow's name "Wankel"?) From owner-freebsd-hackers Thu Dec 29 09:11:41 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA27953 for hackers-outgoing; Thu, 29 Dec 1994 09:11:41 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA27946 for ; Thu, 29 Dec 1994 09:11:37 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id MAA02549 for freebsd-hackers@freebsd.org; Thu, 29 Dec 1994 12:09:36 -0500 From: Wankle Rotary Engine Message-Id: <199412291709.MAA02549@skynet.ctr.columbia.edu> Subject: Re: syslogd changes, second cut To: freebsd-hackers@freebsd.org Date: Thu, 29 Dec 1994 12:09:32 -0500 (EST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1600 Sender: hackers-owner@freebsd.org Precedence: bulk They say this Peter da Silva person was kidding when he wrote: > > > I don't suppose I could convince you to make one more small change, namely > > using getbootfile() to deternine the kernel name instead of hardcoding the > > name 'kernel?' > > This is in printsys() where it refers to _PATH_UNIX? Er, actually it's in printsys() where it says: (void)strcpy(line, "kernel: "); > > > This is also a nitpick, but... well, you know: thingie. :) > > Love to... is getbootfile() a 2.0 thing? "man getbootfile" says nothing, > and I'm still working in 1.1.5.1 land 'cos my wife would kill me if I took > this machine down for a week to upgrade it (and she didn't want me to get > it in the first place!)... Yeah, it is a 2.0 thing. I must be a little confused as to what's going on here: I thought you were working on the 2.0 syslogd. Just about everything in 2.0 uses getbootfile() to figure out the bootimage name *except* syslogd, which is why I brought it up. > > (wasn't the fellow's name "Wankel"?) > It's a Monty Python thing. So is 'thingie.' :) -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul System Manager wpaul@ctr.columbia.edu Center for Telecommunications Research (212) 854-6020 Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-hackers Thu Dec 29 09:36:06 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA28398 for hackers-outgoing; Thu, 29 Dec 1994 09:36:06 -0800 Received: from eureka.gdl.iteso.mx (eureka.gdl.iteso.mx [148.201.1.15]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA28392; Thu, 29 Dec 1994 09:36:03 -0800 Received: (from cacho@localhost) by eureka.gdl.iteso.mx (8.6.8/8.6.6) id LAA21845; Thu, 29 Dec 1994 11:51:58 -0600 Date: Thu, 29 Dec 1994 11:51:57 -0600 (CST) From: Hector Gonzalez Jaime Subject: Re: It's time to release.. The worms! Hahahahaha! To: "Jordan K. Hubbard" cc: hackers@freefall.cdrom.com, install@freefall.cdrom.com In-Reply-To: <199412291408.GAA04544@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk Would it be possible to add a 2nd drive during the first time installation, and put there something like /usr, /var or swapspace? Installing them (/var in particular) after the 1st installation gives errors because of the spool special files, and being able to get it done at first install time will be great! From owner-freebsd-hackers Thu Dec 29 09:47:42 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA28529 for hackers-outgoing; Thu, 29 Dec 1994 09:47:42 -0800 Received: from seagull.rtd.com (root@Seagull.rtd.com [198.102.68.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA28523 for ; Thu, 29 Dec 1994 09:47:41 -0800 Received: (from dgy@localhost) by seagull.rtd.com (8.6.9/8.6.9.1) id KAA22290; Thu, 29 Dec 1994 10:47:14 -0700 From: Don Yuniskis Message-Id: <199412291747.KAA22290@seagull.rtd.com> Subject: Re: 1.1.5.1R libm To: bde@zeta.org.au (Bruce Evans) Date: Thu, 29 Dec 1994 10:47:12 -0700 (MST) Cc: freebsd-hackers@freefall.cdrom.com (FreeBSD hackers) In-Reply-To: <199412271620.DAA13423@godzilla.zeta.org.au> from "Bruce Evans" at Dec 28, 94 03:20:37 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 740 Sender: hackers-owner@freebsd.org Precedence: bulk > >while porting a few packages. Specifically, it appears that gamma() > >is discontinuous. > > Well, it is discontinuous for some x <= 0 (negative integers?). Are > you aware that gamma() really is gamma() in libm, but it used to be > the log of the real gamma(). It is the log of the real gamma() in This appears to have been the problem. The (old) port of gnuplot had been configured to use gamma() instead of lgamma() for the GAMMA function. I guess it could be a bit confusing... ;-) Anyway, if built as originally ported, the "prob" demo would make these problems very visible (discontinuities in PDF's which depend on GAMMA(), CDF's that don't approach 1.0, missing graphs, etc.) Someone might wish to check these on 2.0R... From owner-freebsd-hackers Thu Dec 29 09:49:40 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA28544 for hackers-outgoing; Thu, 29 Dec 1994 09:49:40 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id JAA28538; Thu, 29 Dec 1994 09:49:39 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA08336; Thu, 29 Dec 94 10:43:48 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9412291743.AA08336@cs.weber.edu> Subject: Re: ifconfig -a? To: roberto@blaise.ibp.fr (Ollivier ROBERT) Date: Thu, 29 Dec 94 10:43:47 MST Cc: jkh@freefall.cdrom.com, hackers@freefall.cdrom.com In-Reply-To: <9412291612.AA01958@blaise.ibp.fr> from "Ollivier ROBERT" at Dec 29, 94 05:12:47 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@freebsd.org Precedence: bulk > > > A friend just pointed out Sun's useful -a flag to ifconfig. Anyone > > game to add this to FreeBSD? Any objections? > > I've always wondered why we did't have that :-) A nice thing to put in. Gee, if someone is hacking Sun options in... I've been missing the -d option to w. 8-). Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-hackers Thu Dec 29 09:52:47 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA28606 for hackers-outgoing; Thu, 29 Dec 1994 09:52:47 -0800 Received: from kryten.atinc.com (kryten.atinc.com [198.138.38.7]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA28600 for ; Thu, 29 Dec 1994 09:52:44 -0800 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id MAA23233; Thu, 29 Dec 1994 12:50:09 -0500 Date: Thu, 29 Dec 1994 12:50:08 -0500 (EST) From: "Jonathan M. Bresler" Subject: break out to shell To: hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk installed 2.0-RELEASE hammered my kernel how do i break out to a shell when booting from the boot floppy? i wanna get a kernel back. wah....wahh.....wah.... ;) Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 From owner-freebsd-hackers Thu Dec 29 10:03:01 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA28795 for hackers-outgoing; Thu, 29 Dec 1994 10:03:01 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id KAA28779; Thu, 29 Dec 1994 10:02:57 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id KAA10315; Thu, 29 Dec 1994 10:01:58 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: Hector Gonzalez Jaime cc: hackers@freefall.cdrom.com, install@freefall.cdrom.com Subject: Re: It's time to release.. The worms! Hahahahaha! In-reply-to: Your message of "Thu, 29 Dec 94 11:51:57 CST." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 29 Dec 1994 10:01:58 -0800 Message-ID: <10314.788724118@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > > Would it be possible to add a 2nd drive during the first time > installation, and put there something like /usr, /var or swapspace? Yeah, you can do this now! Jordan From owner-freebsd-hackers Thu Dec 29 10:03:25 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA28805 for hackers-outgoing; Thu, 29 Dec 1994 10:03:25 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id KAA28799 for ; Thu, 29 Dec 1994 10:03:23 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id KAA10330; Thu, 29 Dec 1994 10:02:52 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: "Jonathan M. Bresler" cc: hackers@freebsd.org Subject: Re: break out to shell In-reply-to: Your message of "Thu, 29 Dec 94 12:50:08 EST." Date: Thu, 29 Dec 1994 10:02:52 -0800 Message-ID: <10329.788724172@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk You can't, sorry.. No shell! > > installed 2.0-RELEASE > hammered my kernel > how do i break out to a shell when booting from the boot floppy? > i wanna get a kernel back. > > wah....wahh.....wah.... ;) > > Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. > | 2341 Jeff Davis Hwy > play go. | Arlington, VA 22202 > ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 > From owner-freebsd-hackers Thu Dec 29 10:34:20 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA29832 for hackers-outgoing; Thu, 29 Dec 1994 10:34:20 -0800 Received: from gw.itfs.nsk.su (gw.itfs.nsk.su [193.124.36.33]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id KAA29823 for ; Thu, 29 Dec 1994 10:34:13 -0800 Received: from localhost (nnd@localhost) by gw.itfs.nsk.su (8.6.4/8.6.4) id AAA06187 for hackers@freebsd.org; Fri, 30 Dec 1994 00:35:33 +0600 Date: Fri, 30 Dec 1994 00:35:33 +0600 From: "Nickolay N. Dudorov" Message-Id: <199412291835.AAA06187@gw.itfs.nsk.su> To: hackers@freebsd.org Subject: kerndist in SNAPshots Sender: hackers-owner@freebsd.org Precedence: bulk It seems to me that "SNAPshots program(project?)" will be more usefull if there'll be kerndist directory in each snapshot. Otherway I must use only GENERIC kernel or wait till the times when FreeBSD kernel could be configured without kernel sources ;-) and there'll be separate "develop" distribution with gcc, gdb, libs etc. It seems to me that none of you folks can use such a *ix-like OS (without compiler, I meen ;-) N.Dudorov From owner-freebsd-hackers Thu Dec 29 10:57:49 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA00362 for hackers-outgoing; Thu, 29 Dec 1994 10:57:49 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id KAA00356 for ; Thu, 29 Dec 1994 10:57:47 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA01575 (5.67a/IDA-1.5 for freebsd.org!freebsd-hackers); Thu, 29 Dec 1994 12:52:07 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA03094; 29 Dec 94 12:04:48 CST (Thu) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id MAA03091 for ; Thu, 29 Dec 1994 12:04:47 -0600 Message-Id: <199412291804.MAA03091@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: freebsd-hackers@freebsd.org Subject: Re: syslogd changes, second cut In-Reply-To: Your message of "Thu, 29 Dec 94 12:09:32 EST." <199412291709.MAA02549@skynet.ctr.columbia.edu> X-Mailer: exmh version 1.4.1 7/21/94 Date: Thu, 29 Dec 1994 12:04:41 -0600 From: Peter da Silva Sender: hackers-owner@freebsd.org Precedence: bulk 99% of the changes between the 1.1 syslogd and the 4.4 one are cosmetic. There is a little improvement in the declaration of signal handlers. The 1.1 one has prototypes and the 4.4 one doesn't. The 4.4 one has slightly different code for wall and for network setup. And the 1.1 one uses _PATH_UNIX instead of hardcoding "vmunix". Getting the 2.x sources now (after making room for a second sourcedist on this box). It's going to take a while to ftp them. From owner-freebsd-hackers Thu Dec 29 10:59:50 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA00388 for hackers-outgoing; Thu, 29 Dec 1994 10:59:50 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id KAA00382; Thu, 29 Dec 1994 10:59:46 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA01577 (5.67a/IDA-1.5); Thu, 29 Dec 1994 12:52:15 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA03585; 29 Dec 94 12:25:54 CST (Thu) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id MAA03581; Thu, 29 Dec 1994 12:25:53 -0600 Message-Id: <199412291825.MAA03581@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: Wankle Rotary Engine Cc: hackers@freebsd.org, current@freebsd.org Subject: Re: syslogd changes, second cut In-Reply-To: Your message of "Thu, 29 Dec 94 12:03:51 EST." <199412291703.MAA02510@skynet.ctr.columbia.edu> X-Mailer: exmh version 1.4.1 7/21/94 Date: Thu, 29 Dec 1994 12:25:51 -0600 From: Peter da Silva Sender: hackers-owner@freebsd.org Precedence: bulk OK, here's the same set of changes with respect to the 2.0-current syslogd. UNTESTED. Changing the code from (void)strcpy(line, "kernel: "); To using getbootfile() should be a piece of cake, if you have specs on getbootfile(). As I said, getbootfile isn't in 1.1 or 4.4 and it's kinda hard to find the docco over FTP. The 2.0-current syslogd doesn't compile vanilla on 1.1.5.1 but this one produces the same warnings as the 2.0-current one so I assume it's OK. *** syslogd.c.orig Sat Aug 6 00:09:00 1994 --- syslogd.c Thu Dec 29 12:17:33 1994 *************** *** 61,66 **** --- 61,68 ---- * Author: Eric Allman * extensive changes by Ralph Campbell * more extensive changes by Eric Allman (again) + * Extension to log by program name as well as facility and priority + * by Peter da Silva. */ #define MAXLINE 1024 /* maximum line length */ *************** *** 79,84 **** --- 81,87 ---- #include #include #include + #include #include #include *************** *** 130,135 **** --- 133,139 ---- short f_file; /* file descriptor */ time_t f_time; /* time this was last written */ u_char f_pmask[LOG_NFACILITIES+1]; /* priority mask */ + char *f_program; /* program this applies to */ union { char f_uname[MAXUNAMES][UT_NAMESIZE+1]; struct { *************** *** 186,192 **** int MarkInterval = 20 * 60; /* interval between marks in seconds */ int MarkSeq = 0; /* mark sequence number */ ! void cfline __P((char *, struct filed *)); char *cvthname __P((struct sockaddr_in *)); int decode __P((const char *, CODE *)); void die __P((int)); --- 190,196 ---- int MarkInterval = 20 * 60; /* interval between marks in seconds */ int MarkSeq = 0; /* mark sequence number */ ! void cfline __P((char *, struct filed *, char *)); char *cvthname __P((struct sockaddr_in *)); int decode __P((const char *, CODE *)); void die __P((int)); *************** *** 469,474 **** --- 473,480 ---- struct filed *f; int fac, msglen, omask, prilev; char *timestamp; + char prog[NAME_MAX+1]; + int i; dprintf("logmsg: pri %o, flags %x, from %s, msg %s\n", pri, flags, from, msg); *************** *** 492,497 **** --- 498,509 ---- msglen -= 16; } + /* skip leading blanks */ + while(isspace(*msg)) { + msg++; + msglen--; + } + /* extract facility and priority level */ if (flags & MARK) fac = LOG_NFACILITIES; *************** *** 499,504 **** --- 511,524 ---- fac = LOG_FAC(pri); prilev = LOG_PRI(pri); + /* extract program name */ + for(i = 0; i < NAME_MAX; i++) { + if(!isalnum(msg[i])) + break; + prog[i] = msg[i]; + } + prog[i] = 0; + /* log the message to the particular outputs */ if (!Initialized) { f = &consfile; *************** *** 516,521 **** --- 536,545 ---- if (f->f_pmask[fac] < prilev || f->f_pmask[fac] == INTERNAL_NOPRI) continue; + /* skip messages with the incorrect program name */ + if(f->f_program) + if(strcmp(prog, f->f_program) != 0) + continue; if (f->f_type == F_CONSOLE && (flags & IGN_CONS)) continue; *************** *** 866,871 **** --- 890,896 ---- struct filed *f, *next, **nextp; char *p; char cline[LINE_MAX]; + char prog[NAME_MAX+1]; dprintf("init\n"); *************** *** 887,892 **** --- 912,918 ---- break; } next = f->f_next; + if(f->f_program) free(f->f_program); free((char *)f); } Files = NULL; *************** *** 896,904 **** if ((cf = fopen(ConfFile, "r")) == NULL) { dprintf("cannot open %s\n", ConfFile); *nextp = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.ERR\t/dev/console", *nextp); (*nextp)->f_next = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.PANIC\t*", (*nextp)->f_next); Initialized = 1; return; } --- 922,930 ---- if ((cf = fopen(ConfFile, "r")) == NULL) { dprintf("cannot open %s\n", ConfFile); *nextp = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.ERR\t/dev/console", *nextp, "*"); (*nextp)->f_next = (struct filed *)calloc(1, sizeof(*f)); ! cfline("*.PANIC\t*", (*nextp)->f_next, "*"); Initialized = 1; return; } *************** *** 907,928 **** * Foreach line in the conf table, open that file. */ f = NULL; while (fgets(cline, sizeof(cline), cf) != NULL) { /* * check for end-of-section, comments, strip off trailing ! * spaces and newline character. */ for (p = cline; isspace(*p); ++p) continue; ! if (*p == NULL || *p == '#') continue; for (p = strchr(cline, '\0'); isspace(*--p);) continue; *++p = '\0'; f = (struct filed *)calloc(1, sizeof(*f)); *nextp = f; nextp = &f->f_next; ! cfline(cline, f); } /* close the configuration file */ --- 933,976 ---- * Foreach line in the conf table, open that file. */ f = NULL; + strcpy(prog, "*"); while (fgets(cline, sizeof(cline), cf) != NULL) { /* * check for end-of-section, comments, strip off trailing ! * spaces and newline character. #!prog is treated specially: ! * following lines apply only to that program. */ for (p = cline; isspace(*p); ++p) continue; ! if (*p == 0) continue; + if(*p == '#') { + p++; + if(*p!='!') + continue; + } + if(*p=='!') { + p++; + while(isspace(*p)) p++; + if(!*p) { + strcpy(prog, "*"); + continue; + } + for(i = 0; i < NAME_MAX; i++) { + if(!isalnum(p[i])) + break; + prog[i] = p[i]; + } + prog[i] = 0; + continue; + } for (p = strchr(cline, '\0'); isspace(*--p);) continue; *++p = '\0'; f = (struct filed *)calloc(1, sizeof(*f)); *nextp = f; nextp = &f->f_next; ! cfline(cline, f, prog); } /* close the configuration file */ *************** *** 954,959 **** --- 1002,1010 ---- printf("%s, ", f->f_un.f_uname[i]); break; } + if(f->f_program) { + printf(" (%s)", f->f_program); + } printf("\n"); } } *************** *** 966,981 **** * Crack a configuration file line */ void ! cfline(line, f) char *line; struct filed *f; { struct hostent *hp; int i, pri; char *bp, *p, *q; char buf[MAXLINE], ebuf[100]; ! dprintf("cfline(%s)\n", line); errno = 0; /* keep strerror() stuff out of logerror messages */ --- 1017,1033 ---- * Crack a configuration file line */ void ! cfline(line, f, prog) char *line; struct filed *f; + char *prog; { struct hostent *hp; int i, pri; char *bp, *p, *q; char buf[MAXLINE], ebuf[100]; ! dprintf("cfline(\"%s\", f, \"%s\")\n", line, prog); errno = 0; /* keep strerror() stuff out of logerror messages */ *************** *** 983,988 **** --- 1035,1049 ---- memset(f, 0, sizeof(*f)); for (i = 0; i <= LOG_NFACILITIES; i++) f->f_pmask[i] = INTERNAL_NOPRI; + + /* save program name if any */ + if(prog && *prog=='*') prog = NULL; + if(prog) { + f->f_program = calloc(1, strlen(prog)+1); + if(f->f_program) { + strcpy(f->f_program, prog); + } + } /* scan through the list of selectors */ for (p = line; *p && *p != '\t';) { From owner-freebsd-hackers Thu Dec 29 11:26:53 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA00773 for hackers-outgoing; Thu, 29 Dec 1994 11:26:53 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA00767 for ; Thu, 29 Dec 1994 11:26:52 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id LAA10626; Thu, 29 Dec 1994 11:25:59 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: "Nickolay N. Dudorov" cc: hackers@freebsd.org Subject: Re: kerndist in SNAPshots In-reply-to: Your message of "Fri, 30 Dec 94 00:35:33 +0600." <199412291835.AAA06187@gw.itfs.nsk.su> Date: Thu, 29 Dec 1994 11:25:58 -0800 Message-ID: <10625.788729158@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > It seems to me that "SNAPshots program(project?)" > will be more usefull if there'll be kerndist directory in > each snapshot. Otherway I must use only GENERIC kernel or > wait till the times when FreeBSD kernel could be configured > without kernel sources ;-) and there'll be separate > "develop" distribution with gcc, gdb, libs etc. This is the plan. The first snapshot was just a little braindead in the sourcedist department, and I'm hoping that Poul-Henning can help me get that right for the next snapshot! :-) Jordan From owner-freebsd-hackers Thu Dec 29 11:42:08 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA01044 for hackers-outgoing; Thu, 29 Dec 1994 11:42:08 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA01032; Thu, 29 Dec 1994 11:42:02 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id LAA04300; Thu, 29 Dec 1994 11:41:20 -0800 From: "Rodney W. Grimes" Message-Id: <199412291941.LAA04300@gndrsh.aac.dev.com> Subject: Re: ifconfig -a? To: ats@g386bsd.first.gmd.de (Andreas Schulz) Date: Thu, 29 Dec 1994 11:41:19 -0800 (PST) Cc: jkh@freefall.cdrom.com, hackers@freefall.cdrom.com In-Reply-To: <199412290936.KAA01659@g386bsd.first.gmd.de> from "Andreas Schulz" at Dec 29, 94 10:36:19 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 920 Sender: hackers-owner@freebsd.org Precedence: bulk > > > > A friend just pointed out Sun's useful -a flag to ifconfig. Anyone > > game to add this to FreeBSD? Any objections? > > No objections, i am missing it also a long time now :-). Only > interesting question, how close to which ifconfig version from > SUN should it be ? :-). Some give you back the ethernet adress > on the interface and some don't. I have not looked how easy it > is on FreeBSD to find out the own ethernet-adress. Some systems > have ioctl's for this and some systems you can't find it out easily. Doesn't this give the same information pretty much as netstat -i or -in? It's not nice to have 2 chunks of code do the same thing (note, I may be way off, it has been a long long time since I have done an ifconfig -a on anything :-(). -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-freebsd-hackers Thu Dec 29 12:19:56 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA01943 for hackers-outgoing; Thu, 29 Dec 1994 12:19:56 -0800 Received: from seagull.rtd.com (root@Seagull.rtd.com [198.102.68.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA01937 for ; Thu, 29 Dec 1994 12:19:52 -0800 Received: (from dgy@localhost) by seagull.rtd.com (8.6.9/8.6.9.1) id NAA26740 for freebsd-hackers@freefall.cdrom.com; Thu, 29 Dec 1994 13:19:40 -0700 From: Don Yuniskis Message-Id: <199412292019.NAA26740@seagull.rtd.com> Subject: screen & ispell To: freebsd-hackers@freefall.cdrom.com (FreeBSD hackers) Date: Thu, 29 Dec 1994 13:19:39 -0700 (MST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 60 Sender: hackers-owner@freebsd.org Precedence: bulk Greetings! Is anyone out there using screen or ispell? From owner-freebsd-hackers Thu Dec 29 12:39:10 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA04729 for hackers-outgoing; Thu, 29 Dec 1994 12:39:10 -0800 Received: from uivlsisd.csl.uiuc.edu (uivlsisd.csl.uiuc.edu [128.174.57.147]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id MAA04722 for ; Thu, 29 Dec 1994 12:39:08 -0800 Received: by uivlsisd.csl.uiuc.edu id AA24776 (5.67b/IDA-1.3.4 for hackers@freebsd.org); Thu, 29 Dec 1994 14:38:59 -0600 Date: Thu, 29 Dec 1994 14:38:59 -0600 From: Terry Lee Message-Id: <199412292038.AA24776@uivlsisd.csl.uiuc.edu> To: hackers@freebsd.org Subject: Re: ifconfig -a? Sender: hackers-owner@freebsd.org Precedence: bulk >> A friend just pointed out Sun's useful -a flag to ifconfig. Anyone >> game to add this to FreeBSD? Any objections? > >No objections, i am missing it also a long time now :-). Only >interesting question, how close to which ifconfig version from >SUN should it be ? :-). Some give you back the ethernet adress >on the interface and some don't. I have not looked how easy it > > ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Doesn't the SunOS version only show the ethernet address if run by root? Terry Lee terry@uivlsi.csl.uiuc.edu From owner-freebsd-hackers Thu Dec 29 12:44:24 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA04827 for hackers-outgoing; Thu, 29 Dec 1994 12:44:24 -0800 Received: from odin.INS.CWRU.Edu (chet@odin.INS.CWRU.Edu [129.22.8.102]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA04813 for ; Thu, 29 Dec 1994 12:43:37 -0800 Received: (chet@localhost) by odin.INS.CWRU.Edu (8.6.8.1+cwru/CWRU-2.1-ins) id PAA20858; Thu, 29 Dec 1994 15:26:48 -0500 (from chet) Date: Thu, 29 Dec 1994 15:21:51 -0500 From: Chet Ramey To: arnold@cc.gatech.edu, composer@beyond.dreams.org, friedman@gnu.ai.mit.edu, joshua5@cs.bu.edu, dob@inel.gov, mjo@msen.com, jason@servio.slc.com, timbo@ig.co.uk, trost@cse.ogi.edu, zoo@armadillo.com, lubkin@cs.rochester.edu, james@bigtex.cactus.org, chip%fin@myrddin.sybus.com, dbrooks@ics.com, Greg.Onufer@Eng.Sun.COM, kre@munnari.oz.au, tmwalden@saturn.sys.acc.com, torvalds@cc.helsinki.fi, watson@kodak.com, glenn@mathcs.emory.edu, penningt@reason.psc.edu, devet@adv.iaehv.nl, grog@lemis.de, djm@eng.umd.edu, wieting@tweety.llnl.gov, geoffc@research.att.com, de5@ornl.gov, kayvan@satyr.sylvan.com, smd@uunet.ca, Andy.Linton@aarnet.edu.au, mark@comp.vuw.ac.nz, david@cs.dal.ca, jwe@che.utexas.edu, Karl.Kleinpaste@GODIVA.NECTAR.CS.CMU.EDU, bammi@cadence.com, sanders@bsdi.com, tramey@boi.hp.com, sandro@elf.com, drich@sgi.com, carson@cs.columbia.edu, dbecker@legato.com, deven@asylum.sf.ca.us, remy@ccs.neu.edu, freebsd-hackers@freefall.cdrom.com, dtm@nsd.3com.com, lim@solomon.technet.sg, kjetilho@ifi.uio.no, mwette@csi.jpl.nasa.gov, jsh@canary.com, gjb@gba.oz.au, andreas@MPA-Garching.MPG.DE, pgf@foxharp.boston.ma.us, peterc@suite.sw.oz.au, brown@eff.org, bothner@cygnus.com, tudor@cs.pub.ro, fox@cac.washington.edu, hag@gnu.ai.mit.edu Subject: Final beta release of bash-1.14.3 available Cc: chet@odin.INS.CWRU.Edu Reply-To: chet@po.cwru.edu Message-ID: <9412292021.AA20615.SM@odin.INS.CWRU.Edu> Read-Receipt-To: chet@po.CWRU.Edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: hackers-owner@freebsd.org Precedence: bulk The (hopefully) final beta test release of bash-1.14.3 is available for anonymous FTP with URL ftp://slc2.ins.cwru.edu/pub/hidden/bash-1.14.3.tar.gz Diffs from 1.14.2 are available in the same directory with name bash-1.14.2-1.14.3.diff. As usual, the directory cannot be read, so just cd and get. Please send bug reports directly to me; the distributed `bashbug' still sends them to bug-bash. I will probably release this to the masses in a couple of days, barring a `show-stopper' bug. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu From owner-freebsd-hackers Thu Dec 29 12:51:37 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA04977 for hackers-outgoing; Thu, 29 Dec 1994 12:51:37 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA04952 for ; Thu, 29 Dec 1994 12:51:28 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id MAA04479; Thu, 29 Dec 1994 12:50:17 -0800 From: "Rodney W. Grimes" Message-Id: <199412292050.MAA04479@gndrsh.aac.dev.com> Subject: Re: break out to shell To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Thu, 29 Dec 1994 12:50:16 -0800 (PST) Cc: jmb@kryten.atinc.com, hackers@freebsd.org In-Reply-To: <10329.788724172@time.cdrom.com> from "Jordan K. Hubbard" at Dec 29, 94 10:02:52 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 930 Sender: hackers-owner@freebsd.org Precedence: bulk > > You can't, sorry.. No shell! Some how, some way, when this was done, I though in the back of my mind WAFM (what A f****** mistake). This haunted me so bad I went and built myself a 2.0R kcopy/filesys floppy set by hand just so I had the ability to get to things like spammed disks, etc.... We really do need to get some form of standalone floppy built. > > installed 2.0-RELEASE > > hammered my kernel > > how do i break out to a shell when booting from the boot floppy? > > i wanna get a kernel back. > > > > wah....wahh.....wah.... ;) > > > > Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. > > | 2341 Jeff Davis Hwy > > play go. | Arlington, VA 22202 > > ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-freebsd-hackers Thu Dec 29 12:51:29 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA04959 for hackers-outgoing; Thu, 29 Dec 1994 12:51:29 -0800 Received: from marvin.boulder.openware.com (marvin.boulder.openware.com [192.245.99.138]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA04946 for ; Thu, 29 Dec 1994 12:51:13 -0800 Received: from boulder.openware.com (localhost.boulder.parcplace.com [127.0.0.1]) by marvin.boulder.openware.com (8.6.9/8.6.9) with ESMTP id NAA24149 for ; Thu, 29 Dec 1994 13:50:52 -0700 Message-Id: <199412292050.NAA24149@marvin.boulder.openware.com> To: freebsd-hackers@freebsd.org Subject: FYI Date: Thu, 29 Dec 1994 13:50:51 MST From: Warner Losh Sender: hackers-owner@freebsd.org Precedence: bulk >From the summary file from the last Linux kernel update. Just thought people here would be interested in this as a FYI. linux/arch/sparc/boot/boot.S ** new file ---------------------------- start of support for sparc architecture machines currently only supports sun4c PROM version 0 NO v2 PROM, sun4, sun4m, sun4d ... yet. linux/arch/sparc/boot/boot.h ** new file ---------------------------- definitions of various things, needed for the file above. linux/arch/sparc/boot/version.h ** new file ------------------------------- where Sparc-Linux was compiled definition Warner From owner-freebsd-hackers Thu Dec 29 13:09:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA05308 for hackers-outgoing; Thu, 29 Dec 1994 13:09:02 -0800 Received: from vortex.sdf.luth.se (vortex.sdf.luth.se [130.239.144.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA05302 for ; Thu, 29 Dec 1994 13:08:56 -0800 Received: from alkinoos.sdf.luth.se by vortex.sdf.luth.se (8.6.9/8.6.9) with ESMTP id WAA14422 for ; Thu, 29 Dec 1994 22:02:06 +0100 Received: by alkinoos.sdf.luth.se (8.6.9/8.6.9) id WAA15987 for hackers@freebsd.org; Thu, 29 Dec 1994 22:10:09 +0100 From: Mattias Karlsson Message-Id: <199412292110.WAA15987@alkinoos.sdf.luth.se> To: hackers@freebsd.org Date: Thu, 29 Dec 1994 22:10:08 +0100 (MET) X-Mailer: ELM [version 2.4 PL22] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Content-Length: 260 Sender: hackers-owner@freebsd.org Precedence: bulk Hello!! A friend installed FreeBSD 2.0 on his computer yester day, and most of the directories under /usr was world writable!! is this something has done wrong or is this just another bug in the istallation :) ?? /Mattias Karlsson (matte@sdf.luth.se) From owner-freebsd-hackers Thu Dec 29 13:21:17 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA05593 for hackers-outgoing; Thu, 29 Dec 1994 13:21:17 -0800 Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA05580 for ; Thu, 29 Dec 1994 13:20:57 -0800 Received: from localhost (localhost [127.0.0.1]) by grunt.grondar.za (8.6.9/8.6.9) with SMTP id XAA15161; Thu, 29 Dec 1994 23:20:07 +0200 Message-Id: <199412292120.XAA15161@grunt.grondar.za> X-Authentication-Warning: grunt.grondar.za: Host localhost didn't use HELO protocol To: Terry Lee cc: hackers@freebsd.org, mark@grunt.grondar.za Subject: Re: ifconfig -a? Date: Thu, 29 Dec 1994 23:20:06 +0200 From: Mark Murray Sender: hackers-owner@freebsd.org Precedence: bulk > Doesn't the SunOS version only show the ethernet address if run by > root? For reference, here is a SUNOS 4.1.3 run of "ifconfig -a" as a pleb user and as root: Script started on Thu Dec 29 23:12:32 1994 $ ifconfig -a le0: flags=63 inet 196.7.0.138 netmask fffffff0 broadcast 196.7.0.143 lo0: flags=49 inet 127.0.0.1 netmask ff000000 $ su Password: # ifconfig -a le0: flags=63 inet 196.7.0.138 netmask fffffff0 broadcast 196.7.0.143 ether 8:0:20:18:d6:76 lo0: flags=49 inet 127.0.0.1 netmask ff000000 # exit $ exit script done on Thu Dec 29 23:13:32 1994 -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 From owner-freebsd-hackers Thu Dec 29 13:28:40 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA05761 for hackers-outgoing; Thu, 29 Dec 1994 13:28:40 -0800 Received: from devnull.mpd.tandem.com (devnull.mpd.tandem.com [131.124.4.29]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA05755; Thu, 29 Dec 1994 13:28:35 -0800 Received: from olympus by devnull.mpd.tandem.com (8.6.8/Tandem-FT) id PAA22842; Thu, 29 Dec 1994 15:28:08 -0600 Received: by olympus (4.1/TSS2.1) id AA09243; Thu, 29 Dec 94 15:26:52 CST From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9412292126.AA09243@olympus> Subject: Re: It's time to release.. The worms! Hahahahaha! To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Thu, 29 Dec 1994 15:26:51 -0600 (CST) Cc: hackers@freefall.cdrom.com, install@freefall.cdrom.com In-Reply-To: <199412291408.GAA04544@time.cdrom.com> from "Jordan K. Hubbard" at Dec 29, 94 06:08:45 am X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 1011 Sender: hackers-owner@freebsd.org Precedence: bulk I tried putting 2.0 on a machine with 40meg. 25 meg /, 15 meg swap, and /usr over nfs. Confused me to death why it would boot right until I really looked hard at /etc/rc. nfs mounts are not done until after several programs in /usr are run. I had to mount /usr specifically before then. It only works because I have a default router. I don't expect the this configuration to be supported by default but it might be a nice addition to the gotcha file. excerpt.... # set hostname, turn on network echo 'starting network' . /etc/netstart # grab user <------------------------ echo 'mounting /usr' #<------------------------ mount -a -t nfs >/dev/null 2>&1 #<------------------------ # clean up left-over files .... Boyd -- _______________________________________________________________________________ Boyd Faulkner faulkner@mpd.tandem.com _______________________________________________________________________________ From owner-freebsd-hackers Thu Dec 29 13:42:06 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA06005 for hackers-outgoing; Thu, 29 Dec 1994 13:42:06 -0800 Received: from prosun.first.gmd.de (prosun.first.gmd.de [192.35.150.136]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id NAA05991 for ; Thu, 29 Dec 1994 13:41:45 -0800 Received: from g386bsd.first.gmd.de by prosun.first.gmd.de (4.1/SMI-4.1) id AA27554; Thu, 29 Dec 94 22:40:13 +0100 Received: by g386bsd.first.gmd.de (WAA10774); Thu, 29 Dec 1994 22:42:24 +0100 From: Andreas Schulz Message-Id: <199412292142.WAA10774@g386bsd.first.gmd.de> Subject: Re: ifconfig -a? To: terry@uivlsisd.csl.uiuc.edu (Terry Lee) Date: Thu, 29 Dec 1994 22:42:24 +0059 (MET) Cc: hackers@freebsd.org In-Reply-To: <199412292038.AA24776@uivlsisd.csl.uiuc.edu> from "Terry Lee" at Dec 29, 94 02:38:59 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 543 Sender: hackers-owner@freebsd.org Precedence: bulk > Doesn't the SunOS version only show the ethernet address if run by > root? No, i have just tried it and on a sun4m (20/612) it doesn't show up. Also not on a SPARC 5/70. Bot with SunOS 4.1.3U1. On a sun4c with an ifconfig from 1992 it does show up the ethernet adress. So it seems really depend on the age of the ifconfig and the kernel. ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Andreas Schulz GMD-FIRST 12489 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: +49-30-6392-1856/+49-177-2134745 Germany/Europe From owner-freebsd-hackers Thu Dec 29 13:42:01 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA05999 for hackers-outgoing; Thu, 29 Dec 1994 13:42:01 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA05993 for ; Thu, 29 Dec 1994 13:41:59 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id WAA09963 for ; Thu, 29 Dec 1994 22:42:23 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA02489; Thu, 29 Dec 94 22:42:40 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412292142.AA02489@blaise.ibp.fr> Subject: usr.sbin Makefile [and a patch] To: hackers@freebsd.org (Hackers' list FreeBSD) Date: Thu, 29 Dec 1994 22:42:39 +0100 (MET) X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1088 Sender: hackers-owner@freebsd.org Precedence: bulk kbdcontrol is two times in the usr.sbin Makefile. First in the list of common directories (wrong!) and second in a .ifdef (good). Here is a patch : Index: Makefile =================================================================== RCS file: /spare/FreeBSD-current/src/usr.sbin/Makefile,v retrieving revision 1.44 diff -u -r1.44 Makefile --- 1.44 1994/12/28 14:00:11 +++ Makefile 1994/12/29 21:54:09 @@ -4,7 +4,7 @@ # XXX MISSING SOURCES: quot # XXX TEMP. BROKEN: iostat SUBDIR= ac accton adduser amd arp chown chroot cron crunch dbsym dev_mkdb \ - diskpart edquota inetd kbdcontrol kgmon kvm_mkdb lpr lsdev manctl \ + diskpart edquota inetd kgmon kvm_mkdb lpr lsdev manctl \ mtree mrouted named nslookup pkg_install portmap pppd pppstats \ pstat pwd_mkdb quotaon repquota routed rmt rwhod sa \ sendmail sliplogin slstat sysctl syslogd tcpdump timed traceroute \ -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Thu Dec 29 13:45:57 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA06089 for hackers-outgoing; Thu, 29 Dec 1994 13:45:57 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA06083 for ; Thu, 29 Dec 1994 13:45:54 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id WAA09978 for ; Thu, 29 Dec 1994 22:46:20 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA02499; Thu, 29 Dec 94 22:46:36 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412292146.AA02499@blaise.ibp.fr> Subject: Warnings (bening ones) during groff compilation and a weird pb To: hackers@freebsd.org (Hackers' list FreeBSD) Date: Thu, 29 Dec 1994 22:46:36 +0100 (MET) X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 5455 Sender: hackers-owner@freebsd.org Precedence: bulk I got the following warnings when compiling groff. I have also a weird problem with man : when I try to get a man something as myself (roberto) I got that : 219 [22:42] roberto@keltia:~> man rm Formatting page, please wait...Cannot fork Error executing formatting or display command. system command exited with status 512 Failed. The same as root succeed and subsequent man the_same_thing as roberto succeed (of course as the groffing has been made). ===> tbl c++ -O -m486 -pipe -I/usr/src/gnu/usr.bin/groff/tbl/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -DARRAY_DELETE_NEEDS_SIZE=1 -I/usr/src/gnu/usr.bin/groff/tbl/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -DARRAY_DELETE_NEEDS_SIZE=1 -c /usr/src/gnu/usr.bin/groff/tbl/main.cc /usr/src/gnu/usr.bin/groff/tbl/main.cc: In method `format::~format()': /usr/src/gnu/usr.bin/groff/tbl/main.cc:645: warning: anachronistic use of array size in vector delete /usr/src/gnu/usr.bin/groff/tbl/main.cc:649: warning: anachronistic use of array size in vector delete c++ -O -m486 -pipe -I/usr/src/gnu/usr.bin/groff/tbl/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -DARRAY_DELETE_NEEDS_SIZE=1 -I/usr/src/gnu/usr.bin/groff/tbl/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -DARRAY_DELETE_NEEDS_SIZE=1 -c /usr/src/gnu/usr.bin/groff/tbl/table.cc /usr/src/gnu/usr.bin/groff/tbl/table.cc: In method `table::~table()': /usr/src/gnu/usr.bin/groff/tbl/table.cc:1230: warning: anachronistic use of array size in vector delete ===> pic [...] c++ -O -m486 -pipe -I. -I/usr/src/gnu/usr.bin/groff/pic/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -DARRAY_DELETE_NEEDS_SIZE=1 -I. -I/usr/src/gnu/usr.bin/groff/pic/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -DARRAY_DELETE_NEEDS_SIZE=1 -c /usr/src/gnu/usr.bin/groff/pic/object.cc /usr/src/gnu/usr.bin/groff/pic/object.cc: In method `graphic_object::~graphic_object()': /usr/src/gnu/usr.bin/groff/pic/object.cc:630: warning: anachronistic use of array size in vector delete ===> ref [...] c++ -O -m486 -pipe -I. -I/usr/src/gnu/usr.bin/groff/refer/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -DARRAY_DELETE_NEEDS_SIZE=1 -I. -I/usr/src/gnu/usr.bin/groff/refer/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -DARRAY_DELETE_NEEDS_SIZE=1 -c /usr/src/gnu/usr.bin/groff/refer/ref.cc /usr/src/gnu/usr.bin/groff/refer/ref.cc: In method `reference::~reference()': /usr/src/gnu/usr.bin/groff/refer/ref.cc:155: warning: anachronistic use of array size in vector delete /usr/src/gnu/usr.bin/groff/refer/ref.cc: In method `void reference::merge(class reference &)': /usr/src/gnu/usr.bin/groff/refer/ref.cc:178: warning: anachronistic use of array size in vector delete /usr/src/gnu/usr.bin/groff/refer/ref.cc: In method `void reference::insert_field(unsigned char, class string &)': /usr/src/gnu/usr.bin/groff/refer/ref.cc:211: warning: anachronistic use of array size in vector delete /usr/src/gnu/usr.bin/groff/refer/ref.cc: In method `void reference::delete_field(unsigned char)': /usr/src/gnu/usr.bin/groff/refer/ref.cc:230: warning: anachronistic use of array size in vector delete -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Thu Dec 29 13:47:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA06108 for hackers-outgoing; Thu, 29 Dec 1994 13:47:02 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA06102 for ; Thu, 29 Dec 1994 13:47:00 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id WAA09990 for ; Thu, 29 Dec 1994 22:47:26 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA02512; Thu, 29 Dec 94 22:47:42 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412292147.AA02512@blaise.ibp.fr> Subject: Pb with adduser's Makefile To: hackers@freebsd.org (Hackers' list FreeBSD) Date: Thu, 29 Dec 1994 22:47:42 +0100 (MET) X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 493 Sender: hackers-owner@freebsd.org Precedence: bulk 333 [21:56] root@keltia:src/usr.sbin# cd adduser 334 [21:56] root@keltia:usr.sbin/adduser# make make: don't know how to make adduser.c. Stop 335 [21:56] root@keltia:usr.sbin/adduser# cat adduser/Makefile STRIP= PROG= adduser cleandir: clean: obj: .include -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #1: Sat Dec 24 17:41:36 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#229 From owner-freebsd-hackers Thu Dec 29 14:46:28 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA07171 for hackers-outgoing; Thu, 29 Dec 1994 14:46:28 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id OAA07154; Thu, 29 Dec 1994 14:46:15 -0800 Received: by brasil.moneng.mei.com (4.1/SMI-4.1) id AA02132; Thu, 29 Dec 94 16:43:13 CST From: Joe Greco Message-Id: <9412292243.AA02132@brasil.moneng.mei.com> Subject: Re: It's time to release.. The worms! Hahahahaha! To: faulkner@mpd.tandem.com (Boyd Faulkner) Date: Thu, 29 Dec 1994 16:43:12 -0600 (CST) Cc: jkh@time.cdrom.com, hackers@freefall.cdrom.com, install@freefall.cdrom.com In-Reply-To: <9412292126.AA09243@olympus> from "Boyd Faulkner" at Dec 29, 94 03:26:51 pm X-Mailer: ELM [version 2.4beta PL9] Content-Type: text Content-Length: 1374 Sender: hackers-owner@freebsd.org Precedence: bulk > I tried putting 2.0 on a machine with 40meg. 25 meg /, 15 meg swap, and /usr > over nfs. Confused me to death why it would boot right until I really looked > hard at /etc/rc. > > nfs mounts are not done until after several programs in /usr are run. I had > to mount /usr specifically before then. It only works because I have a default > router. I don't expect the this configuration to be supported by default but > it might be a nice addition to the gotcha file. > > excerpt.... > # set hostname, turn on network > echo 'starting network' > . /etc/netstart > > # grab user <------------------------ > echo 'mounting /usr' #<------------------------ > > mount -a -t nfs >/dev/null 2>&1 #<------------------------ Hi Boyd, I've been doing this since 1.0 by putting the few files needed in the local /usr, and then just mounting over them. I believe in 2.0 I discovered it was easier to modify /etc/rc and just stick mount -u -o rw / umount -a >/dev/null 2>&1 mount -a -t nonfs mount /usr <------------- in. Saves time and effort. :-) Anyone want to suggest a way to make the "mount -a -t nonfs" do this? ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 From owner-freebsd-hackers Thu Dec 29 15:06:53 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA07560 for hackers-outgoing; Thu, 29 Dec 1994 15:06:53 -0800 Received: from devnull.mpd.tandem.com (devnull.mpd.tandem.com [131.124.4.29]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA07545; Thu, 29 Dec 1994 15:06:31 -0800 Received: from olympus by devnull.mpd.tandem.com (8.6.8/Tandem-FT) id RAA25843; Thu, 29 Dec 1994 17:06:07 -0600 Received: by olympus (4.1/TSS2.1) id AA09583; Thu, 29 Dec 94 17:04:49 CST From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9412292304.AA09583@olympus> Subject: Re: It's time to release.. The worms! Hahahahaha! To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Thu, 29 Dec 1994 17:04:48 -0600 (CST) Cc: faulkner@devnull.mpd.tandem.com, jkh@time.cdrom.com, hackers@freefall.cdrom.com, install@freefall.cdrom.com In-Reply-To: <9412292243.AA02132@brasil.moneng.mei.com> from "Joe Greco" at Dec 29, 94 04:43:12 pm X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 1195 Sender: hackers-owner@freebsd.org Precedence: bulk > > it might be a nice addition to the gotcha file. > > > > excerpt.... > > # set hostname, turn on network > > echo 'starting network' > > . /etc/netstart > > > > # grab user <------------------------ > > echo 'mounting /usr' #<------------------------ > > > > mount -a -t nfs >/dev/null 2>&1 #<------------------------ > > Hi Boyd, > > I've been doing this since 1.0 by putting the few files needed in the local > /usr, and then just mounting over them. I believe in 2.0 I discovered it > was easier to modify /etc/rc and just stick > > mount -u -o rw / > > umount -a >/dev/null 2>&1 > mount -a -t nonfs > mount /usr <------------- in. > > Saves time and effort. :-) Anyone want to suggest a way to make the "mount > -a -t nonfs" do this? > Could check for the existence of /usr/bin, if not there, mount /usr. Still I would have thought you would have needed to start the network, first! Boyd -- _______________________________________________________________________________ Boyd Faulkner faulkner@mpd.tandem.com _______________________________________________________________________________ From owner-freebsd-hackers Thu Dec 29 15:34:03 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA07954 for hackers-outgoing; Thu, 29 Dec 1994 15:34:03 -0800 Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id PAA07948 for ; Thu, 29 Dec 1994 15:34:01 -0800 Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA18679; Thu, 29 Dec 94 23:33:51 GMT Received: from woody.fsl.noaa.gov by yarmouth.fsl.noaa.gov (1.37.109.14/SMI-4.1 (1.37.109.14)) id AA286894023; Thu, 29 Dec 1994 18:33:43 -0500 Date: Thu, 29 Dec 1994 18:33:43 -0500 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <199412292333.AA286894023@yarmouth.fsl.noaa.gov> Received: by woody.fsl.noaa.gov (1.37.109.14/SMI-4.1 (1.37.109.14)) id AA040574022; Thu, 29 Dec 1994 16:33:42 -0700 To: dgy@seagull.rtd.com Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412292019.NAA26740@seagull.rtd.com> (message from Don Yuniskis on Thu, 29 Dec 1994 13:19:39 -0700 (MST)) Subject: Re: screen & ispell Sender: hackers-owner@freebsd.org Precedence: bulk >>>>> "Don" == Don Yuniskis writes: Don> Greetings! Is anyone out there using screen or ispell? screen no. ispell yes. --k From owner-freebsd-hackers Thu Dec 29 16:26:27 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA08833 for hackers-outgoing; Thu, 29 Dec 1994 16:26:27 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id QAA08827 for ; Thu, 29 Dec 1994 16:26:22 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id TAA03220 for freebsd-hackers@freebsd.org; Thu, 29 Dec 1994 19:24:20 -0500 From: Wankle Rotary Engine Message-Id: <199412300024.TAA03220@skynet.ctr.columbia.edu> Subject: Re: ifconfig -a To: freebsd-hackers@freebsd.org Date: Thu, 29 Dec 1994 19:24:16 -0500 (EST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 3301 Sender: hackers-owner@freebsd.org Precedence: bulk >>> A friend just pointed out Sun's useful -a flag to ifconfig. Anyone >>> game to add this to FreeBSD? Any objections? >> >>No objections, i am missing it also a long time now :-). Only >>interesting question, how close to which ifconfig version from >>SUN should it be ? :-). Some give you back the ethernet adress >>on the interface and some don't. I have not looked how easy it >> >> ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) > Doesn't the SunOS version only show the ethernet address if run by >root? > Terry Lee > terry@uivlsi.csl.uiuc.edu You got it. Not sure why that's so, but it is. The same will be true of FreeBSD's ifconfig once I get done smacking it around too, since the only way I've found to read the hardware address for an interface involves kvm_read() and friends (at this very moment I'm furiously cribbing away from netstat ;). I already have the -a option working though: [/usr/include/net]:marple{14}% ifconfig -a ed1: flags=8863 mtu 1500 inet 128.59.64.56 netmask 0xffffff00 broadcast 128.59.64.255 lp0: flags=810 mtu 1500 lo0: flags=8009 mtu 65532 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=10 mtu 1500 ppp1: flags=10 mtu 1500 sl0: flags=c010 mtu 552 sl1: flags=c010 mtu 552 [/usr/include/net]:marple{15}% As soon as I get the ethernet address stuff done I'll be sending along a complete set of patches to this list. Well, make that an almost complete set: I don't do man pages. :) There's one strange thing I discovered while implimenting the -a option: I used SIOCGIFCONF to figure out what interfaces are present in the system, but for some reason the active interfaces turn up twice. That is, without a little bit of extra fiddling, ed0 and lo0 (from the output above) would occur twice. With SIOCGIFCONF you get back an array with a member for each configured interface, but there seem to be two members for ed0 and lo0. If, for example, I assign a dummy address to sl0, then sl0 pops up twice as well. I found a quick though inelegant test to jump over the extra entries, but I'm confused as to why SIOCGIFCONF behaves this way. Oh, I have a question for those who might know: the data returned by ioctl(sock,SIOCGIFCONF,&ifconf) needs to be placed in a buffer, and you have to allocate enough space to hold the data for all interfaces. I arbitrarily assumed that there wouldn't be more than 20 interfaces, thus the buffer space allocated is (20 * struct ifreq). That's a silly thing to assume though... anybody know what the official maximum number of interfaces is? Is there a MAXINTERFACES defined somewhere? -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul System Manager wpaul@ctr.columbia.edu Center for Telecommunications Research (212) 854-6020 Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-hackers Thu Dec 29 16:32:07 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA08903 for hackers-outgoing; Thu, 29 Dec 1994 16:32:07 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id QAA08887; Thu, 29 Dec 1994 16:31:58 -0800 Received: by brasil.moneng.mei.com (4.1/SMI-4.1) id AA06095; Thu, 29 Dec 94 18:29:03 CST From: Joe Greco Message-Id: <9412300029.AA06095@brasil.moneng.mei.com> Subject: Re: It's time to release.. The worms! Hahahahaha! To: faulkner@mpd.tandem.com (Boyd Faulkner) Date: Thu, 29 Dec 1994 18:29:03 -0600 (CST) Cc: faulkner@devnull.mpd.tandem.com, jkh@time.cdrom.com, hackers@freefall.cdrom.com, install@freefall.cdrom.com In-Reply-To: <9412292304.AA09583@olympus> from "Boyd Faulkner" at Dec 29, 94 05:04:48 pm X-Mailer: ELM [version 2.4beta PL9] Content-Type: text Content-Length: 878 Sender: hackers-owner@freebsd.org Precedence: bulk > Could check for the existence of /usr/bin, if not there, mount /usr. Still > I would have thought you would have needed to start the network, first! > > Boyd You're right, I was thinking of totally-diskless (which I happen to be working on, as we speak). By the way, someone pass the funny looking hat, I used Sun tar to extract the bindist on my SunOS box, and it dropped all the character special devices - I ended up with all sorts of 0-byte reg files all over /dev. Thing is, I didn't notice for quite a while... :-) Was quite interesting, as I could _see_ that it was getting into init, but it was just hanging.. ... Joe ------------------------------------------------------------------------------- Joe Greco - The Data Capture Fellow (and UNIX/Network Hacker) 414/362-3617 Marquette Electronics, Inc. - Milwaukee, WI jgreco@brasil.moneng.mei.com From owner-freebsd-hackers Thu Dec 29 18:33:07 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id SAA10478 for hackers-outgoing; Thu, 29 Dec 1994 18:33:07 -0800 Received: from reggae.ncren.net (reggae.ncren.net [128.109.131.3]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id SAA10471 for ; Thu, 29 Dec 1994 18:33:05 -0800 Received: from ponds.UUCP by reggae.ncren.net (5.65/tas-reggae/may94) id AA11346; Thu, 29 Dec 94 21:32:47 -0500 Received: (rivers@localhost) by ponds.UUCP (8.6.9/8.6.5) id UAA18401; Thu, 29 Dec 1994 20:58:26 -0500 Date: Thu, 29 Dec 1994 20:58:26 -0500 From: Thomas David Rivers Message-Id: <199412300158.UAA18401@ponds.UUCP> To: freebsd-hackers@freefall.cdrom.com, joerg_wunsch@uriah.sax.de Subject: Re: DX4/100 BUG Sender: hackers-owner@freebsd.org Precedence: bulk > > As Bruce Evans wrote: > | > | hlt_works_ok defaults to 1. It is cleared if to boot loader passes the > | string "no-hlt" on the command line. FreeBSD could use a new boot flag. > > I'm afraid we will soon have to extend the alphabet by new characters > just to gain some more bootflags. :-O Well, we could go for numbers... In my stuff, I have flags like: -qNNN[=value] thus, I use up one letter, and get 999 possible options. It's really ugly for the user (just what was that number again?) but extends things nicely. Of course, a better mechanism is to have something more than single letter options :-) > > -- > cheers, J"org work: --- no longer --- > private: joerg_wunsch@uriah.sax.de - Dave Rivers - From owner-freebsd-hackers Thu Dec 29 20:28:30 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA11439 for hackers-outgoing; Thu, 29 Dec 1994 20:28:30 -0800 Received: from physics.su.OZ.AU (dawes@physics.su.OZ.AU [129.78.129.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id UAA11433 for ; Thu, 29 Dec 1994 20:28:27 -0800 Received: by physics.su.OZ.AU id AA26566 (5.67b/IDA-1.4.4 for freebsd-hackers@freebsd.org); Fri, 30 Dec 1994 15:27:54 +1100 From: David Dawes Message-Id: <199412300427.AA26566@physics.su.OZ.AU> Subject: Re: ifconfig -a To: wpaul@skynet.ctr.columbia.edu (Wankle Rotary Engine) Date: Fri, 30 Dec 1994 15:27:53 +1100 (EST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199412300024.TAA03220@skynet.ctr.columbia.edu> from "Wankle Rotary Engine" at Dec 29, 94 07:24:16 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1535 Sender: hackers-owner@freebsd.org Precedence: bulk >There's one strange thing I discovered while implimenting the -a option: >I used SIOCGIFCONF to figure out what interfaces are present in the system, >but for some reason the active interfaces turn up twice. That is, without >a little bit of extra fiddling, ed0 and lo0 (from the output above) would >occur twice. With SIOCGIFCONF you get back an array with a member for each >configured interface, but there seem to be two members for ed0 and lo0. >If, for example, I assign a dummy address to sl0, then sl0 pops up twice >as well. I found a quick though inelegant test to jump over the extra >entries, but I'm confused as to why SIOCGIFCONF behaves this way. You get an entry for each configured address type an interface has. All have an AF_LINK entry. Those with an IP address also have an AF_INET entry (the sa.family field). >Oh, I have a question for those who might know: the data returned by >ioctl(sock,SIOCGIFCONF,&ifconf) needs to be placed in a buffer, and you >have to allocate enough space to hold the data for all interfaces. I >arbitrarily assumed that there wouldn't be more than 20 interfaces, thus >the buffer space allocated is (20 * struct ifreq). That's a silly thing >to assume though... anybody know what the official maximum number of >interfaces is? Is there a MAXINTERFACES defined somewhere? Also keep in mind that the length of the returned data can be longer than sizeof(struct ifreq) because of the variable size of the sockaddr entry. The size of the sockaddr is given in its sa_len field. David From owner-freebsd-hackers Thu Dec 29 21:04:40 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA12172 for hackers-outgoing; Thu, 29 Dec 1994 21:04:40 -0800 Received: from titan.np.ac.sg (titan.np.ac.sg [153.20.24.72]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id VAA12164 for ; Thu, 29 Dec 1994 21:04:35 -0800 Message-Id: <199412300504.VAA12164@freefall.cdrom.com> Subject: Re: break out to shell To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Fri, 30 Dec 1994 13:02:21 +0800 (SST) From: SysAdmin - Ng Pheng Siong Cc: hackers@freebsd.org In-Reply-To: <199412292050.MAA04479@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Dec 29, 94 12:50:16 pm X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Content-Length: 419 Sender: hackers-owner@freebsd.org Precedence: bulk > Some how, some way, when this was done, I though in the back of my > mind WAFM (what A f****** mistake). This haunted me so bad I went and > built myself a 2.0R kcopy/filesys floppy set by hand just so I had the > ability to get to things like spammed disks, etc.... Can you make this, or at least a list of what's necessary on the floppy and instructions on generating it, available, please? TIA. Cheers. - PS From owner-freebsd-hackers Thu Dec 29 21:15:11 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA12335 for hackers-outgoing; Thu, 29 Dec 1994 21:15:11 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA12325 for ; Thu, 29 Dec 1994 21:15:04 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id QAA31064; Fri, 30 Dec 1994 16:14:03 +1100 Date: Fri, 30 Dec 1994 16:14:03 +1100 From: Bruce Evans Message-Id: <199412300514.QAA31064@godzilla.zeta.org.au> To: hackers@freebsd.org, roberto@blaise.ibp.fr Subject: Re: Pb with adduser's Makefile Sender: hackers-owner@freebsd.org Precedence: bulk >334 [21:56] root@keltia:usr.sbin/adduser# make >make: don't know how to make adduser.c. Stop >335 [21:56] root@keltia:usr.sbin/adduser# >cat adduser/Makefile >STRIP= >PROG= adduser >cleandir: >clean: >obj: >.include Writing small Makefiles for standard FreeBSD utilities is not as simple as it should be. You have to know a little bit about bmake and a lot about the defaults provided by bsd.prog.mk. bsd.prog.mk doesn't provide much support for installing shell scripts. I usually look at the Makefiles for shell scripts, copy the best one and change some names. The best one for shell scripts that don't require any substitutions and have a man page is lorder.sh. This has one bug: ${DESTDIR}/{${BINDIR} should be ${DESTDIR}${BINDIR} because it expands to something starting with // for the default ${DESTDIR}. Pathnames starting with // are special and other system Makefiles are careful to avoid them. I use the above approach to obtain the following Makefile for adduser: --- MAN1= adduser.1 beforeinstall: install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/adduser ${DESTDIR}${BINDIR}/adduser .include --- There are still (at least :-) 2 bugs: adduser.1 should be adduser.8 (a few other programs in /usr/src/usr.sbin have the same bug); adduser should be named adduser.sh for consistency and to allow automating the beforeinstall rule. The original Makefile had the following things wrong: >STRIP= This only applies to binaries. >PROG= adduser This only applies to binaries too. There must be a C file named ${PROG}.c or there must be a list of C files given in ${SRCS}. >cleandir: >clean: bsd.prog.mk provides suitable defaults for these, even for non-binaries. In general, scattered Makefiles shouldn't even know what the defaults are. >obj: bsd.prog.mk provides a currently unsuitable default for this, but I didn't override the default because of the previous rule. Man pages might be built in the object directory. They currently aren't, but scattered Makefiles shouldn't know about this detail. All the other Makefiles for shell scripts in /usr/src/usr.sbin have instructive minor bugs: manctl/Makefile: Bogus `all' target; `install' target should be `beforeinstall' target for consistency (`install' works because there is no man page and this is not handled in the standard way by defining NOMAN); hardcoded binary directory and mode. spkrtest/Makefile: Knows about too many targets; `install' should be `beforeinstall'; // bug. tzsetup/Makefile: Bogus macro `NOPROG'; knows about too many targets. Bruce From owner-freebsd-hackers Thu Dec 29 21:23:27 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA12420 for hackers-outgoing; Thu, 29 Dec 1994 21:23:27 -0800 Received: from is1.hk.super.net (jbeukema@is1.hk.super.net [202.14.67.232]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id VAA12402; Thu, 29 Dec 1994 21:21:50 -0800 Received: by is1.hk.super.net id AA05416 (5.67b/IDA-1.5); Fri, 30 Dec 1994 13:21:22 +0800 Date: Fri, 30 Dec 1994 13:21:22 +0800 (HKT) From: John Beukema To: FreeBSD-hackers Cc: FreeBSD-questions Subject: SYSV MSG IPC SEM bug fixed Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk I finally tracked down the bug causing ipc_perm, messages and semaphores not to work properly. In /usr/include/sys/ipc.h After #define IPC_R 0400 #define IPC_M 10000 (decimal) should be ^^ #define IPC_M 010000 (octal) ^^ This caused (mode & IPC_M) to always return true and msg_perm.mode was never evaluated. As changed, it works fine. jbeukema From owner-freebsd-hackers Thu Dec 29 21:37:37 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA12684 for hackers-outgoing; Thu, 29 Dec 1994 21:37:37 -0800 Received: from bunyip.cc.uq.oz.au (bunyip.cc.uq.oz.au [130.102.2.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id VAA12672 for ; Thu, 29 Dec 1994 21:37:33 -0800 Received: from cc.uq.oz.au by bunyip.cc.uq.oz.au id <19619-0@bunyip.cc.uq.oz.au>; Fri, 30 Dec 1994 15:37:14 +1000 Received: from netfl15a.devetir.qld.gov.au by pandora.devetir.qld.gov.au (8.6.7/DEVETIR-E0.3a) with ESMTP id PAA05768 for ; Fri, 30 Dec 1994 15:39:42 +1000 Received: from localhost by netfl15a.devetir.qld.gov.au (8.6.8.1/DEVETIR-0.1) id FAA08371 for ; Fri, 30 Dec 1994 05:36:58 GMT Message-Id: <199412300536.FAA08371@netfl15a.devetir.qld.gov.au> To: hackers@freebsd.org Subject: Lpr not reading printcap properly? X-Mailer: exmh version 1.5omega 10/6/94 Date: Fri, 30 Dec 1994 15:36:57 +1000 From: Stephen Hocking Sender: hackers-owner@freebsd.org Precedence: bulk I've noticed that the lpr program does not seem to be picking up the value of the mx definition. I'm still being bitten by the 1Mb limit when submitting files. Probably why specifying an explicit output filter did not work a while back either. Are there known problems with the printcap code? I really hate babies. Can't stand e'm. The arrogance, the lies. They are not to be trusted. I hate babies. - D. Schwab From owner-freebsd-hackers Thu Dec 29 21:39:08 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA12735 for hackers-outgoing; Thu, 29 Dec 1994 21:39:08 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA12729; Thu, 29 Dec 1994 21:39:01 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id VAA06259; Thu, 29 Dec 1994 21:38:41 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id VAA04547; Thu, 29 Dec 1994 21:40:04 -0800 Message-Id: <199412300540.VAA04547@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: John Beukema cc: FreeBSD-hackers , FreeBSD-questions Subject: Re: SYSV MSG IPC SEM bug fixed In-reply-to: Your message of "Fri, 30 Dec 94 13:21:22 +0800." From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 29 Dec 1994 21:40:03 -0800 Sender: hackers-owner@freebsd.org Precedence: bulk >I finally tracked down the bug causing ipc_perm, messages and semaphores >not to work properly. > >In /usr/include/sys/ipc.h >After >#define IPC_R 0400 > >#define IPC_M 10000 (decimal) should be > ^^ >#define IPC_M 010000 (octal) > ^^ >This caused (mode & IPC_M) to always return true and >msg_perm.mode was never evaluated. > >As changed, it works fine. Thanks, I just committed the change to CVS. -DG From owner-freebsd-hackers Thu Dec 29 22:05:05 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id WAA13166 for hackers-outgoing; Thu, 29 Dec 1994 22:05:05 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id WAA13159 for ; Thu, 29 Dec 1994 22:05:01 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id WAA05606; Thu, 29 Dec 1994 22:04:09 -0800 From: "Rodney W. Grimes" Message-Id: <199412300604.WAA05606@gndrsh.aac.dev.com> Subject: Re: break out to shell To: lsys@np.ac.sg (SysAdmin - Ng Pheng Siong) Date: Thu, 29 Dec 1994 22:04:07 -0800 (PST) Cc: hackers@freebsd.org In-Reply-To: <199412300504.VAA05456@gndrsh.aac.dev.com> from "SysAdmin - Ng Pheng Siong" at Dec 30, 94 01:02:21 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 673 Sender: hackers-owner@freebsd.org Precedence: bulk > > > > Some how, some way, when this was done, I though in the back of my > > mind WAFM (what A f****** mistake). This haunted me so bad I went and > > built myself a 2.0R kcopy/filesys floppy set by hand just so I had the > > ability to get to things like spammed disks, etc.... > > Can you make this, or at least a list of what's necessary on the floppy > and instructions on generating it, available, please? Look very closely at src/etc/Makefile, the stuff should still be in there. > TIA. Cheers. > - PS -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-freebsd-hackers Thu Dec 29 23:34:58 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA14509 for hackers-outgoing; Thu, 29 Dec 1994 23:34:58 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA14503 for ; Thu, 29 Dec 1994 23:34:51 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id CAA03841 for freebsd-hackers@freebsd.org; Fri, 30 Dec 1994 02:32:47 -0500 Date: Fri, 30 Dec 1994 02:32:47 -0500 From: Wankle Rotary Engine Message-Id: <199412300732.CAA03841@skynet.ctr.columbia.edu> To: freebsd-hackers@freebsd.org Subject: You want ifconfig -a? You got ifconfig -a. Sender: hackers-owner@freebsd.org Precedence: bulk Okay Jordan: you asked for it, you got it. Enclosed is a patch for /usr/src/sbin/ifconfig.c in FreeBSD 2.0 to add the following features: - The -a flag now works just as it does in SunOS: '-a' is actually handled like a wildcard for all interfaces. 'ifconfig -a' displays the status of all interfaces, 'ifconfig -a netmask 0xffffff00' sets the netmask of all interfaces, and so forth. I don't know if many people really need to be able to set the netmasks of all interfaces at once, but the SunOS ifconfig seems to allow this, so there you have it. - An 'ether_status' function has been added to display the ethernet address of all ethernet interfaces. Again, as in SunOS, you must be root in order for this to work. The ethernet address is read from /dev/kmem using kvm_open() and kvm_read(), much in the same was as it's done with netstat. If you choose to install ifconfig set-gid kmem then normal users will be able to see the ethernet address as well, though this may not be desireable. This feature requires a small change to the ifconfig Makefile: you need to link with -lkvm in order to use the kvm_*() functions. Here's some sample output on a machine with two ethernet cards, two SLIP interfaces, two PPP interfaces, and the parallel port IP interface: # ifconfig -a ed0: flags=8822 mtu 1500 ether 02:60:8c:a8:27:da ed1: flags=8863 mtu 1500 inet 128.59.64.56 netmask 0xffffff00 broadcast 128.59.64.255 ether 02:60:8c:3f:34:65 lp0: flags=810 mtu 1500 lo0: flags=8009 mtu 65532 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=10 mtu 1500 ppp1: flags=10 mtu 1500 sl0: flags=8010 mtu 552 sl1: flags=8010 mtu 552 # The interfaces are displayed in the order in which SIOCGIFCONF returns them. Share and enjoy! -Bill PS: Jordan, I'll be sending some other stuff your way inder seperate cover. :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul System Manager wpaul@ctr.columbia.edu Center for Telecommunications Research (212) 854-6020 Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Makefile.orig Thu Dec 29 21:45:13 1994 --- Makefile Thu Dec 29 20:17:11 1994 *************** *** 2,6 **** --- 2,8 ---- PROG= ifconfig MAN8= ifconfig.8 + LDADD= -lkvm + DPADD= ${LIBKVM} .include *** ifconfig.c.orig Fri Dec 30 01:53:29 1994 --- ifconfig.c Fri Dec 30 02:01:23 1994 *************** *** 46,52 **** --- 46,54 ---- #include #include + #include #include + #include #include #define NSIP *************** *** 66,71 **** --- 68,76 ---- #include #include #include + #include + #include + #include struct ifreq ifr, ridreq; struct ifaliasreq addreq; *************** *** 84,89 **** --- 89,95 ---- int clearaddr; int newaddr = 1; int s; + kvm_t *kvmd; extern int errno; int setifflags(), setifaddr(), setifdstaddr(), setifnetmask(); *************** *** 140,145 **** --- 146,152 ---- int in_status(), in_getaddr(); int xns_status(), xns_getaddr(); int iso_status(), iso_getaddr(); + int ether_status(); /* Known address families */ struct afswtch { *************** *** 159,164 **** --- 166,172 ---- SIOCDIFADDR, SIOCAIFADDR, C(ridreq), C(addreq) }, { "iso", AF_ISO, iso_status, iso_getaddr, SIOCDIFADDR_ISO, SIOCAIFADDR_ISO, C(iso_ridreq), C(iso_addreq) }, + { "ether", AF_INET, ether_status, NULL }, { 0, 0, 0, 0 } }; *************** *** 199,204 **** --- 207,259 ---- perror("ifconfig: socket"); exit(1); } + if (!strcmp(name, "-a")) { + struct ifconf ifc; + #define MAX_INTERFACES 50 /* Yeah right. */ + char buffer[MAX_INTERFACES * sizeof(struct ifreq)]; + struct ifreq *ifptr, *end; + int ifflags; + + ifc.ifc_len = sizeof(buffer); + ifc.ifc_buf = buffer; + if (ioctl(s, SIOCGIFCONF, (char *) &ifc) < 0) { + perror("ifconfig (SIOCGIFCONF)"); + exit (1); + } + ifflags = ifc.ifc_req->ifr_flags; + end = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); + ifptr = ifc.ifc_req; + while (ifptr < end) { + sprintf(ifr.ifr_name,"%s",ifptr->ifr_name); + sprintf(name,"%s",ifptr->ifr_name); + close(s); + s = socket(af, SOCK_DGRAM, 0); + if (s < 0) { + perror("ifconfig: socket"); + exit(1); + } + if (ifptr->ifr_flags == ifflags) + ifconfig(argc,argv,af,rafp); + if(ifptr->ifr_addr.sa_len) /* Dohw! */ + ifptr = (struct ifreq *) ((caddr_t) ifptr + + ifptr->ifr_addr.sa_len - + sizeof(struct sockaddr)); + ifptr++; + } + } else + ifconfig(argc,argv,af,rafp); + + exit (0); + } + + + + ifconfig(argc,argv,af,rafp) + int argc; + char *argv[]; + int af; + struct afswtch *rafp; + { if (ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifr) < 0) { Perror("ioctl (SIOCGIFFLAGS)"); exit(1); *************** *** 213,221 **** perror("ioctl (SIOCGIFMTU)"); else mtu = ifr.ifr_mtu; ! if (argc == 0) { status(); ! exit(0); } while (argc > 0) { register struct cmd *p; --- 268,276 ---- perror("ioctl (SIOCGIFMTU)"); else mtu = ifr.ifr_mtu; ! if (argc == 0) { status(); ! return(0); } while (argc > 0) { register struct cmd *p; *************** *** 264,270 **** if (ioctl(s, rafp->af_aifaddr, rafp->af_addreq) < 0) Perror("ioctl (SIOCAIFADDR)"); } ! exit(0); } #define RIDADDR 0 #define ADDR 1 --- 319,325 ---- if (ioctl(s, rafp->af_aifaddr, rafp->af_addreq) < 0) Perror("ioctl (SIOCAIFADDR)"); } ! return(0); } #define RIDADDR 0 #define ADDR 1 *************** *** 553,558 **** --- 608,697 ---- putchar('\n'); } + kread(addr, buf, size) + u_long addr; + char *buf; + int size; + { + + if (kvm_read(kvmd, addr, buf, size) != size) + return (-1); + return (0); + } + + /* Unashamedly stolen from netstat -- maybe someday we can us sysctl() */ + ether_status() + { + struct nlist nl[] = { { "_ifnet" } , "" }; + u_long addr, addr2; + struct ifnet ifnet; + union { + struct ifaddr ifa; + struct in_ifaddr in; + struct ns_ifaddr ns; + struct iso_ifaddr iso; + } ifaddr; + char *cp; + struct sockaddr *sa; + struct sockaddr_dl *sdl; + int n,m; + char ifacename[IFNAMSIZ]; + + /* + * If we fail here it probably means we don't have permission to + * read /dev/kmem. Best to just silently bail out. If we have + * an error *after* we succeed in opening /dev/kmem, then we + * should report it. + */ + if ((kvmd = kvm_open(NULL,NULL,NULL,O_RDONLY,NULL)) == NULL) + return; + if (kvm_nlist(kvmd, nl) < 0 || nl[0].n_type == 0) { + perror("ifconfig: kvm_nlist()"); + return; + } + if (kread(nl[0].n_value, (char *)&addr, sizeof(addr))) { + perror("_ifnet"); + return; + } + addr2 = 0; + while (addr || addr2) { + if (addr2 == 0) { + if (kread(addr, (char *)&ifnet, sizeof ifnet) || + kread((u_long)ifnet.if_name, ifacename, IFNAMSIZ)){ + perror("ifconfig: kvm_read()"); + return; + } + addr = (u_long)ifnet.if_next; + addr2 = (u_long)ifnet.if_addrlist; + } + if (kread(addr2, (char *)&ifaddr, sizeof ifaddr)) { + addr2 = 0; + continue; + } + sprintf(ifacename,"%s%d",ifacename, ifnet.if_unit); + if (!strncmp(name, ifacename, strlen(name))) { + #define CP(x) ((char *)(x)) + cp = (CP(ifaddr.ifa.ifa_addr) - CP(addr2)) + + CP(&ifaddr); sa = (struct sockaddr *)cp; + if (sa->sa_family == AF_LINK) { + sdl = (struct sockaddr_dl *)sa; + cp = (char *)LLADDR(sdl); + if ((n = sdl->sdl_alen) > 0) { + printf ("\tether "); + while (--n >= 0) + m += printf("%02x%c", + *cp++ & 0xff, + n > 0 ? ':' : ' '); + putchar('\n'); + } + break; + } + } + addr2 = (u_long)ifaddr.ifa.ifa_next; + } + kvm_close(kvmd); + } + Perror(cmd) char *cmd; { From owner-freebsd-hackers Fri Dec 30 04:23:07 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id EAA17920 for hackers-outgoing; Fri, 30 Dec 1994 04:23:07 -0800 Received: from mail.rwth-aachen.de (mail.RWTH-Aachen.DE [137.226.144.9]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id EAA17914 for ; Fri, 30 Dec 1994 04:23:04 -0800 Received: from acds.physik.rwth-aachen.de by mail.rwth-aachen.de (PMDF V4.3-10 #7297) id <01HL988RZWYO000QXV@mail.rwth-aachen.de>; Fri, 30 Dec 1994 13:23:24 +0100 Received: by acds.physik.rwth-aachen.de (5.57/Ultrix3.0-C) id AA16723; Fri, 30 Dec 94 13:23:51 +0100 Date: Fri, 30 Dec 1994 13:23:50 +0100 (MET) From: Christoph Kukulies Subject: Re: ypserv for FreeBSD? In-reply-to: <199412290857.JAA17713@ghpc6.ihf.rwth-aachen.de> from "Thomas Gellekum" at Dec 29, 94 09:57:46 am To: thomas@ghpc8.ihf.rwth-aachen.de (Thomas Gellekum) Cc: freebsd-hackers@freefall.cdrom.com (user alias) Reply-to: Christoph Kukulies Message-id: <9412301223.AA16723@acds.physik.rwth-aachen.de> X-Mailer: ELM [version 2.4 PL23] Content-type: text Content-transfer-encoding: 7BIT Content-length: 505 Sender: hackers-owner@freebsd.org Precedence: bulk > > Jordan K. Hubbard wrote: > > > > Anyone care to work on this? I could use a ypserver in the worst > > way right now (ok, ok, we can call it NIS if you really want to). > > If you need it right now, you could use the one from Linux. Install > libgdbm and you should be ready to compile. Compile - yes Work - no :-( > > tg > --Chris Christoph P. U. Kukulies kuku@acds.physik.rwth-aachen.de FreeBSD 2.0.1-Development #0: Wed Nov 2 23:00:17 1994 root@mvx1b1:/usr/src/sys/compile/JAZZ From owner-freebsd-hackers Fri Dec 30 05:19:59 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA18299 for hackers-outgoing; Fri, 30 Dec 1994 05:19:59 -0800 Received: from kryten.atinc.com (kryten.atinc.com [198.138.38.7]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id FAA18283; Fri, 30 Dec 1994 05:18:06 -0800 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id IAA24174; Fri, 30 Dec 1994 08:16:26 -0500 Date: Fri, 30 Dec 1994 08:16:20 -0500 (EST) From: "Jonathan M. Bresler" Subject: Re: ifconfig -a To: David Dawes cc: freebsd-security@freebsd.org, freebsd-hackers@freebsd.org In-Reply-To: <199412300427.AA26566@physics.su.OZ.AU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk run as root on some sun's, ifconfig returns the ethernet address in addition to the usual information. run by everyone else the ethernet address is omitted. arp is NOT restricted; it has permissions of 2755. arp -a provides the ethernet address of all machines in the cache. what is the point of sun's ifconfig behaviour? why should we emulate this quirk? Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 From owner-freebsd-hackers Fri Dec 30 06:49:10 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id GAA19029 for hackers-outgoing; Fri, 30 Dec 1994 06:49:10 -0800 Received: from terra.npi.msu.su (root@terra.npi.msu.su [158.250.20.3]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id GAA19023; Fri, 30 Dec 1994 06:49:04 -0800 Received: from sunny.bog.msu.su (sunny [158.250.20.1]) by terra.npi.msu.su (8.6.9/8.6.6) with ESMTP id RAA01304; Fri, 30 Dec 1994 17:48:01 +0300 Received: (dima@localhost) by sunny.bog.msu.su (8.6.9/8.6.5) id RAA09550; Fri, 30 Dec 1994 17:48:03 +0300 Date: Fri, 30 Dec 1994 17:47:59 +0300 (????) From: Dmitry Khrustalev X-Sender: dima@sunny To: "Jonathan M. Bresler" cc: David Dawes , freebsd-security@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: ifconfig -a In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk On suns, ifconfig finds ethernet address via /dev/nit. Then running by regular user, it fails to open nit, so it does not report link address. Same if nit is not configured into kernel. Also, you can do things like ifconfig -a up or ifconfig -a auto-revarp with sun's ifconfig. -Dima On Fri, 30 Dec 1994, Jonathan M. Bresler wrote: > > run as root on some sun's, ifconfig returns the ethernet address > in addition to the usual information. run by everyone else the ethernet > address is omitted. > > arp is NOT restricted; it has permissions of 2755. arp -a > provides the ethernet address of all machines in the cache. > > what is the point of sun's ifconfig behaviour? why should we > emulate this quirk? > > Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. > | 2341 Jeff Davis Hwy > play go. | Arlington, VA 22202 > ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 > > From owner-freebsd-hackers Fri Dec 30 06:52:22 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id GAA19061 for hackers-outgoing; Fri, 30 Dec 1994 06:52:22 -0800 Received: from styx.ibmoto.com (styx.ibmoto.com [129.38.252.14]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id GAA19040; Fri, 30 Dec 1994 06:50:31 -0800 Received: from bartling.ibmoto.com (bartling.ibmoto.com [129.38.33.7]) by styx.ibmoto.com (8.6.9/8.6.9) with ESMTP id IAA11413; Fri, 30 Dec 1994 08:49:21 -0600 From: Steve Bartling Received: (bartling@localhost) by bartling.ibmoto.com (8.6.9/8.6.9) id IAA21177; Fri, 30 Dec 1994 08:49:21 -0600 Message-Id: <199412301449.IAA21177@bartling.ibmoto.com> Subject: SLIP, help me, oh please HELP ME :-) To: freebsd-questions@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com Date: Fri, 30 Dec 1994 08:49:21 -0600 (CST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1561 Sender: hackers-owner@freebsd.org Precedence: bulk SLIP used to work in FreeBSD 1.1R with the following startup script. In FreeBSD 2.0R, it fails. #!/bin/csh # # script for starting SLIP connection using DELL UNIX and BOOTP protocol # slattach -c -h -s 38400 /dev/cua00 ifconfig sl0 inet 129.38.14.8 129.38.252.50 echo "domain ibmoto.com" > /etc/resolv.conf echo "nameserver 129.38.252.14" >> /etc/resolv.conf echo "nameserver 127.0.0.1" >> /etc/resolv.conf route -n add default htp1 ./bootptest > /tmp/bootp.out set my_addr = `grep "reply" /tmp/bootp.out | cut -f9 -d' ' | cut -c3-20` set server_addr = `grep "reply" /tmp/bootp.out | cut -f10 -d' ' | cut -c3-20` set gateway_addr = `grep "reply" /tmp/bootp.out | cut -f11 -d' ' | cut -c3-20` set hops = `grep "reply" /tmp/bootp.out | cut -f6 -d' ' | cut -c6-20` echo "my address = $my_addr" echo "server address = $server_addr" echo "gateway address = $gateway_addr" echo "# of hops = $hops" ifconfig sl0 inet $my_addr $server_addr exit bootptest is a simple binary that queries the "other end" of the slip connection in order to determine your dynamically assigned I.P. address. If I run the above script unmodified, it takes about 5 minutes to add the default route above. After which, i can ping myself and the terminal server at the other end of the point to point link. The nameserver, the gateway, and all other machines are not accessable. netstat -r does not work ( it hangs ). This worked two days ago using 1.1R, it does not work using 2.0R today. Is /usr/sbin/route buggy ? I appreciate any insight y'all might have. Thanks, Steve Bartling From owner-freebsd-hackers Fri Dec 30 07:14:48 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA19333 for hackers-outgoing; Fri, 30 Dec 1994 07:14:48 -0800 Received: from srs.gov (bubba.srs.gov [192.33.240.5]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id HAA19327 for ; Fri, 30 Dec 1994 07:14:39 -0800 From: w.henderson@srs.gov Received: by srs.gov id AA06056 (InterLock SMTP Gateway 1.1 for FreeBSD-hackers@FreeBSD.org); Fri, 30 Dec 1994 10:06:09 -0500 Received: by srs.gov (Internal Mail Agent-1); Fri, 30 Dec 1994 10:06:09 -0500 Message-Id: <9412301515.AA0500@s100n92.srs.gov> Date: Fri, 30 Dec 94 10:14:00 EST To: FreeBSD-hackers@freebsd.org Subject: MCA Sender: hackers-owner@freebsd.org Precedence: bulk Im interested in BSD on the micro-channel machine, Is anyone persueing this effort that I may talk to or work with ? From owner-freebsd-hackers Fri Dec 30 07:54:11 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA20662 for hackers-outgoing; Fri, 30 Dec 1994 07:54:11 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id HAA20654 for ; Fri, 30 Dec 1994 07:54:09 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA05515; Fri, 30 Dec 1994 10:53:43 -0500 Date: Fri, 30 Dec 1994 10:53:43 -0500 From: Garrett Wollman Message-Id: <9412301553.AA05515@halloran-eldar.lcs.mit.edu> To: Wankle Rotary Engine Cc: freebsd-hackers@freebsd.org Subject: Re: ifconfig -a In-Reply-To: <199412300024.TAA03220@skynet.ctr.columbia.edu> References: <199412300024.TAA03220@skynet.ctr.columbia.edu> Sender: hackers-owner@freebsd.org Precedence: bulk < said: > of FreeBSD's ifconfig once I get done smacking it around too, since the > only way I've found to read the hardware address for an interface involves > kvm_read() and friends (at this very moment I'm furiously cribbing away > from netstat ;). I already have the -a option working though: Do it the same way netstat does; no KVM stuff involved. > There's one strange thing I discovered while implimenting the -a option: > I used SIOCGIFCONF to figure out what interfaces are present in the system, > but for some reason the active interfaces turn up twice. That is, without > a little bit of extra fiddling, ed0 and lo0 (from the output above) would > occur twice. With SIOCGIFCONF you get back an array with a member for each > configured interface, but there seem to be two members for ed0 and > lo0. That's right. There's one for each address, INCLUDING THE LINK-LAYER ADDRESS. > arbitrarily assumed that there wouldn't be more than 20 interfaces, thus > the buffer space allocated is (20 * struct ifreq). That's a silly thing > to assume though... The ifc_len field should be filled in with the total amount of space required. I believe that you can do an initial SIOCGIFCONF with ifc_len set to zero, and then allocate ifc_len space for the buffer and do it again. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-hackers Fri Dec 30 08:00:57 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA20784 for hackers-outgoing; Fri, 30 Dec 1994 08:00:57 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA20778; Fri, 30 Dec 1994 08:00:56 -0800 Received: by brasil.moneng.mei.com (4.1/SMI-4.1) id AA08282; Fri, 30 Dec 94 09:56:38 CST From: Joe Greco Message-Id: <9412301556.AA08282@brasil.moneng.mei.com> Subject: Re: SLIP, help me, oh please HELP ME :-) To: bartling@ibmoto.com (Steve Bartling) Date: Fri, 30 Dec 1994 09:56:37 -0600 (CST) Cc: freebsd-questions@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412301449.IAA21177@bartling.ibmoto.com> from "Steve Bartling" at Dec 30, 94 08:49:21 am X-Mailer: ELM [version 2.4beta PL9] Content-Type: text Content-Length: 1470 Sender: hackers-owner@freebsd.org Precedence: bulk > SLIP used to work in FreeBSD 1.1R with the following > startup script. In FreeBSD 2.0R, it fails. > > #!/bin/csh > # > # script for starting SLIP connection using DELL UNIX and BOOTP protocol > # > slattach -c -h -s 38400 /dev/cua00 > ifconfig sl0 inet 129.38.14.8 129.38.252.50 > echo "domain ibmoto.com" > /etc/resolv.conf > echo "nameserver 129.38.252.14" >> /etc/resolv.conf > echo "nameserver 127.0.0.1" >> /etc/resolv.conf > route -n add default htp1 ...... > If I run the above script unmodified, it takes about 5 minutes to add > the default route above. After which, i can ping myself and the terminal > server at the other end of the point to point link. The nameserver, the > gateway, and all other machines are not accessable. > > netstat -r does not work ( it hangs ). Fix likely problems first: you are setting up nameservice and then trying to use it over a (possibly) incompletely configured link. Change the "route add" to something like route add default 129.38.252.50 (or correct IP of needed gateway...) and you can use netstat -r -n to peek at things before the nameserver is available over the network link.... If this still breaks, you're in a better position to determine what's what. ... Joe ------------------------------------------------------------------------------- Joe Greco - The Data Capture Fellow (and UNIX/Network Hacker) 414/362-3617 Marquette Electronics, Inc. - Milwaukee, WI jgreco@brasil.moneng.mei.com From owner-freebsd-hackers Fri Dec 30 09:43:09 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA22364 for hackers-outgoing; Fri, 30 Dec 1994 09:43:09 -0800 Received: from mail.rwth-aachen.de (mail.RWTH-Aachen.DE [137.226.144.9]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA22358 for ; Fri, 30 Dec 1994 09:43:06 -0800 Received: from acds.physik.rwth-aachen.de by mail.rwth-aachen.de (PMDF V4.3-10 #7297) id <01HL9JEVAJ4G000RI9@mail.rwth-aachen.de>; Fri, 30 Dec 1994 18:43:40 +0100 Received: by acds.physik.rwth-aachen.de (5.57/Ultrix3.0-C) id AA00426; Fri, 30 Dec 94 18:44:11 +0100 Received: by gilberto.physik.rwth-aachen.de (TAA02850); Fri, 30 Dec 1994 19:44:30 +0100 Date: Fri, 30 Dec 1994 19:44:30 +0100 From: "Christoph P. Kukulies" Subject: digital hard drive problem (non FreeBSD specific) To: freebsd-hackers@freefall.cdrom.com Message-id: <199412301844.TAA02850@gilberto.physik.rwth-aachen.de> Content-transfer-encoding: 7BIT Sender: hackers-owner@freebsd.org Precedence: bulk During some machine reconfiguration that was due for long and I have now found some time for I need some help from maybe someone familiar with DEC SCSI hard drives. I took a drive (RZ25-E, I believe a 500 MB drive, 3.5" full height) out of an ALPHA machine and want to connect it to a combi SCSI aic6360/IDE controller but - no-go. The drive is not recognized by the controllers firmware. I remember the same problem occured once I tried to connect this thingy to a AH 1542B. This may be a jumpering problem but I don't have any documentation for that drive. P/N is digital 940002-035. It does not have any jumpers on the bottom PCB, instead accessible from the side a 8 positions jumper row and a three pos jumper row at the other side (the latter probably for a remote ID switch - dunno) Anyone with a data sheet out there? Thanks. And a happy - with respect to FreeBSD, fruitful - New Year. --Chris Christoph P. U. Kukulies kuku@acds.physik.rwth-aachen.de FreeBSD 2.0.1-Development #0: Wed Nov 2 23:00:17 1994 root@mvx1b1:/usr/src/sys/compile/JAZZ From owner-freebsd-hackers Fri Dec 30 09:52:31 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA22460 for hackers-outgoing; Fri, 30 Dec 1994 09:52:31 -0800 Received: from perth.DIALix.oz.au (jreuucp@perth.DIALix.oz.au [192.203.228.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA22453 for ; Fri, 30 Dec 1994 09:52:27 -0800 Received: from jules.UUCP (jreuucp@localhost) by perth.DIALix.oz.au (8.6.9/8.6.9/DIALix) with UUCP id BAA10930; Sat, 31 Dec 1994 01:51:30 +0800 Received: by jules.DIALix.oz.au (8.6.9/25-eef) id LAA00301; Fri, 30 Dec 1994 11:52:42 GMT From: Julian Elischer Message-Id: <199412301152.LAA00301@jules.DIALix.oz.au> Subject: Re: break out to shell To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Fri, 30 Dec 1994 11:52:42 +0000 () Cc: jmb@kryten.atinc.com, hackers@freebsd.org In-Reply-To: <10329.788724172@time.cdrom.com> from "Jordan K. Hubbard" at Dec 29, 94 10:02:52 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 934 Sender: hackers-owner@freebsd.org Precedence: bulk > > You can't, sorry.. No shell! > > > > > installed 2.0-RELEASE > > hammered my kernel > > how do i break out to a shell when booting from the boot floppy? > > i wanna get a kernel back. > > > > wah....wahh.....wah.... ;) > > > > Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. > > | 2341 Jeff Davis Hwy > > play go. | Arlington, VA 22202 > > ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 > > we REALLY need a fixit floppy! whether it uses the new install program or just gives you a shell doesn't matter, but I end up needing this on EVERY install (about 5) because they are NEVER straight-forward (they are usually upgrades of systems with non standard setups) and there is always something I don't want to clobber, that the standard install DOES clobber, etc... Menu based installs are ok, but you can't guess everything that will ever be needed.. julian > > From owner-freebsd-hackers Fri Dec 30 09:59:42 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA22500 for hackers-outgoing; Fri, 30 Dec 1994 09:59:42 -0800 Received: from kryten.atinc.com (kryten.atinc.com [198.138.38.7]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA22494 for ; Fri, 30 Dec 1994 09:59:37 -0800 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id MAA01040; Fri, 30 Dec 1994 12:57:48 -0500 Date: Fri, 30 Dec 1994 12:57:47 -0500 (EST) From: "Jonathan M. Bresler" Subject: Re: break out to shell To: Julian Elischer cc: "Jordan K. Hubbard" , hackers@freebsd.org In-Reply-To: <199412301152.LAA00301@jules.DIALix.oz.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk On Fri, 30 Dec 1994, Julian Elischer wrote: > we REALLY need a fixit floppy! > whether it uses the new install program or just gives you a shell > doesn't matter, > but I end up needing this on EVERY install (about 5) because they are > NEVER straight-forward (they are usually upgrades of systems with non > standard setups) and there is always something I don't want to > clobber, that the standard install DOES clobber, etc... the install program will delete EVERYTHING if you download to the distribution to / (?? some directory, NOT /usr/tmp, i didnt research this) surely we can prevent the user from downloading to any directory but a 'tmp' one or just create a "bindist" (or whatever, if in bindist then bindist.0 etc ) below the directory they are in. then the delete can do the same check and rm -rf that directory. dont ask how i know this can happen ;) needless to say the machine has been a real testbed for using sysinstall. now getting X configured. (still holding my breath, hope to breathe soon ;| ) jmb Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 From owner-freebsd-hackers Fri Dec 30 10:21:37 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA22662 for hackers-outgoing; Fri, 30 Dec 1994 10:21:37 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id KAA22656 for ; Fri, 30 Dec 1994 10:21:33 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id NAA00645; Fri, 30 Dec 1994 13:19:27 -0500 From: Wankle Rotary Engine Message-Id: <199412301819.NAA00645@skynet.ctr.columbia.edu> Subject: Re: ifconfig -a To: wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman) Date: Fri, 30 Dec 1994 13:19:24 -0500 (EST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <9412301553.AA05515@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Dec 30, 94 10:53:43 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2143 Sender: hackers-owner@freebsd.org Precedence: bulk They say this Garrett Wollman person was kidding when he wrote: > > < said: > > > of FreeBSD's ifconfig once I get done smacking it around too, since the > > only way I've found to read the hardware address for an interface involves > > kvm_read() and friends (at this very moment I'm furiously cribbing away > > from netstat ;). I already have the -a option working though: > > Do it the same way netstat does; no KVM stuff involved. Er, I don't understand what you're telling me here. Looking at the sources to netstat, the if.c module, which is what is used when you invoke netstat -i, quite clearly calls kvm_read(). (It's wrapped inside a function called kread(), but it's the same thing.) And main.c calles kvm_open() and kvm_nlist(). The kvm_nlist() is used to look up several symbols, including "_ifnet", which is used by if.c to track down the per-interface data. That's how I did it for ifconfig. Are you saying somebody rewrote netstat to not use KVM when I wasn't looking? I only supped my kernel source tree two days ago. I think I'm confused. > > That's right. There's one for each address, INCLUDING THE LINK-LAYER > ADDRESS. So I've discovered. :) > > The ifc_len field should be filled in with the total amount of space > required. I believe that you can do an initial SIOCGIFCONF with > ifc_len set to zero, and then allocate ifc_len space for the buffer > and do it again. Ah... that sounds sensible. Then if no one objects I'll make a new patch that works this way. > > -GAWollman -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul System Manager wpaul@ctr.columbia.edu Center for Telecommunications Research (212) 854-6020 Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-hackers Fri Dec 30 11:32:47 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA23020 for hackers-outgoing; Fri, 30 Dec 1994 11:32:47 -0800 Received: from styx.ibmoto.com (styx.ibmoto.com [129.38.252.14]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA23004; Fri, 30 Dec 1994 11:32:17 -0800 Received: from bartling.ibmoto.com (bartling.ibmoto.com [129.38.33.7]) by styx.ibmoto.com (8.6.9/8.6.9) with ESMTP id NAA14880; Fri, 30 Dec 1994 13:31:22 -0600 From: Steve Bartling Received: (bartling@localhost) by bartling.ibmoto.com (8.6.9/8.6.9) id NAA31027; Fri, 30 Dec 1994 13:31:23 -0600 Message-Id: <199412301931.NAA31027@bartling.ibmoto.com> Subject: Re: SLIP, help me, oh please HELP ME :-) To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Fri, 30 Dec 1994 13:31:22 -0600 (CST) Cc: bartling@ibmoto.com, freebsd-questions@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <9412301556.AA08282@brasil.moneng.mei.com> from "Joe Greco" at Dec 30, 94 09:56:37 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1763 Sender: hackers-owner@freebsd.org Precedence: bulk > > > SLIP used to work in FreeBSD 1.1R with the following > > startup script. In FreeBSD 2.0R, it fails. > > > > #!/bin/csh > > # > > # script for starting SLIP connection using DELL UNIX and BOOTP protocol > > # > > slattach -c -h -s 38400 /dev/cua00 > > ifconfig sl0 inet 129.38.14.8 129.38.252.50 > > echo "domain ibmoto.com" > /etc/resolv.conf > > echo "nameserver 129.38.252.14" >> /etc/resolv.conf > > echo "nameserver 127.0.0.1" >> /etc/resolv.conf > > route -n add default htp1 > ...... > > If I run the above script unmodified, it takes about 5 minutes to add > > the default route above. After which, i can ping myself and the terminal > > server at the other end of the point to point link. The nameserver, the > > gateway, and all other machines are not accessable. > > > > netstat -r does not work ( it hangs ). > > Fix likely problems first: you are setting up nameservice and then trying to > use it over a (possibly) incompletely configured link. Change the "route > add" to something like I forgot to mention that htp1 was defined in my /etc/hosts file. I'll try this, thanks for the suggestion. Anyone care to hazard a guess as to why this worked before but does not work now ? - Steve Bartling > > route add default 129.38.252.50 (or correct IP of needed gateway...) > > and you can use netstat -r -n to peek at things before the nameserver is > available over the network link.... If this still breaks, you're in a > better position to determine what's what. > > ... Joe > > ------------------------------------------------------------------------------- > Joe Greco - The Data Capture Fellow (and UNIX/Network Hacker) 414/362-3617 > Marquette Electronics, Inc. - Milwaukee, WI jgreco@brasil.moneng.mei.com > From owner-freebsd-hackers Fri Dec 30 13:05:12 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA00632 for hackers-outgoing; Fri, 30 Dec 1994 13:05:12 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA00605; Fri, 30 Dec 1994 13:04:46 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id NAA07514; Fri, 30 Dec 1994 13:04:34 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id NAA07596; Fri, 30 Dec 1994 13:05:57 -0800 Message-Id: <199412302105.NAA07596@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: Steve Bartling cc: jgreco@brasil.moneng.mei.com (Joe Greco), freebsd-questions@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com Subject: Re: SLIP, help me, oh please HELP ME :-) In-reply-to: Your message of "Fri, 30 Dec 94 13:31:22 CST." <199412301931.NAA31027@bartling.ibmoto.com> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 30 Dec 1994 13:05:55 -0800 Sender: hackers-owner@freebsd.org Precedence: bulk >> Fix likely problems first: you are setting up nameservice and then trying to >> use it over a (possibly) incompletely configured link. Change the "route >> add" to something like > > >I forgot to mention that htp1 was defined in my /etc/hosts file. > >I'll try this, thanks for the suggestion. > >Anyone care to hazard a guess as to why this worked before but does not >work now ? Configuration of /etc/host.conf has bind first rather than hosts first? -DG From owner-freebsd-hackers Fri Dec 30 13:14:27 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA00851 for hackers-outgoing; Fri, 30 Dec 1994 13:14:27 -0800 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id NAA00845; Fri, 30 Dec 1994 13:14:25 -0800 Received: by brasil.moneng.mei.com (4.1/SMI-4.1) id AA08570; Fri, 30 Dec 94 15:10:40 CST From: Joe Greco Message-Id: <9412302110.AA08570@brasil.moneng.mei.com> Subject: Re: SLIP, help me, oh please HELP ME :-) To: bartling@ibmoto.com (Steve Bartling) Date: Fri, 30 Dec 1994 15:10:40 -0600 (CST) Cc: bartling@ibmoto.com, freebsd-questions@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412301931.NAA31027@bartling.ibmoto.com> from "Steve Bartling" at Dec 30, 94 01:31:22 pm X-Mailer: ELM [version 2.4beta PL9] Content-Type: text Content-Length: 922 Sender: hackers-owner@freebsd.org Precedence: bulk > > > netstat -r does not work ( it hangs ). > > > > Fix likely problems first: you are setting up nameservice and then trying to > > use it over a (possibly) incompletely configured link. Change the "route > > add" to something like > > I forgot to mention that htp1 was defined in my /etc/hosts file. > > I'll try this, thanks for the suggestion. > > Anyone care to hazard a guess as to why this worked before but does not > work now ? netstat -r "hanging" is a typical sign that your system is trying to do DNS lookups on names - and if you configure a resolv.conf, host.conf tells it to do this. Whether or not it's in /etc/hosts may or may not matter, depending on what's been set up in host.conf. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 From owner-freebsd-hackers Fri Dec 30 13:36:33 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA01205 for hackers-outgoing; Fri, 30 Dec 1994 13:36:33 -0800 Received: from seine.zytek.fr (seine.zytek.fr [193.104.118.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA01197 for ; Fri, 30 Dec 1994 13:35:56 -0800 Received: (from melvin@localhost) by seine.zytek.fr (8.6.8/8.6.6) id WAA02083; Fri, 30 Dec 1994 22:36:55 +0100 Date: Fri, 30 Dec 1994 22:36:55 +0100 From: Stephen Melvin Message-Id: <199412302136.WAA02083@seine.zytek.fr> To: freebsd-hackers@freebsd.org Subject: source IP address mangled on certain packets!!?? Sender: hackers-owner@freebsd.org Precedence: bulk I recently upgraded to 1.1.5.1R and I'm having a rather strange problem with packets from "ping" and "traceroute". The setup is as follows. I have a dialup-PPP connection which is periodically established with pppd and then disconnected with kill -INT. Most of this happens automatically and it has been working great for the last 3 months. Now, after I upgraded I noticed that somtimes (but not every time) pppd is invoked, certain (but not all) outgoing packets get sent with garbage in the source IP address field (consequently, they never return). However, packets from most applications work all the time. I don't know if the problem is with the new pppd or the new kernel, but it doesn't seem to be with ping itself as the same thing happens with the 1.1R version of ping. Interestingly, I can ping the address on the other end of the ppp link OK. Here is a sample output from "tcpdump" for three different commands. "ping 193.107.193.22" (this one is correct) ------- 09:30:36.947118 193.104.118.2 > 193.107.193.22: icmp: echo request 09:30:37.260806 193.107.193.22 > 193.104.118.2: icmp: echo reply 09:30:37.950530 193.104.118.2 > 193.107.193.22: icmp: echo request 09:30:38.264977 193.107.193.22 > 193.104.118.2: icmp: echo reply 09:30:38.960544 193.104.118.2 > 193.107.193.22: icmp: echo request 09:30:39.273976 193.107.193.22 > 193.104.118.2: icmp: echo reply ------- "ping 193.107.193.17" (where the heck did 86.0.26.0 come from?) ------- 09:26:38.520605 86.0.26.0 > 193.107.193.17: icmp: echo request 09:26:39.533073 86.0.26.0 > 193.107.193.17: icmp: echo request 09:26:40.543428 86.0.26.0 > 193.107.193.17: icmp: echo request ------- "traceroute 193.107.193.17" (whoa, these are not IP numbers!!) ------- 09:21:50.003290 65.0.128.0.33881 > 193.107.193.17.33435: udp 12 [ttl 1] 09:21:55.013135 149.0.21.0.33881 > 193.107.193.17.33436: udp 12 [ttl 1] 09:22:00.022998 44.0.173.1.33881 > 193.107.193.17.33437: udp 12 [ttl 1] 09:22:05.033429 0.0.0.0.33881 > 193.107.193.17.33438: udp 12 09:22:10.043181 76.0.128.0.33881 > 193.107.193.17.33439: udp 12 09:22:15.052946 67.0.7.0.33881 > 193.107.193.17.33440: udp 12 ------- So, to summarize: 1. problem doesn't occur with 1.1R kernel, pppd and ping. 2. problem does occur with 1.1R ping on 1.1.5.1R kernel and pppd. 3. problem doesn't occur all the time, but it seems to either always occur or never occur for a given invocation of pppd and once it starts, I have to reboot to fix it. 4. problem seems to be only with outgoing packets from ping and traceroute. (Note: incoming echo request packets from a remote destination get bounced back properly). 5. outgoing packets to the machine on the other end of the ppp link work OK all the time. -------------- Stephen Melvin melvin@zytek.fr --------------- From owner-freebsd-hackers Fri Dec 30 14:01:37 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA01364 for hackers-outgoing; Fri, 30 Dec 1994 14:01:37 -0800 Received: from inet-gw-1.pa.dec.com (inet-gw-1.pa.dec.com [16.1.0.22]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id OAA01358 for ; Fri, 30 Dec 1994 14:01:35 -0800 Received: from muggsy.lkg.dec.com by inet-gw-1.pa.dec.com (5.65/10Aug94) id AA19434; Fri, 30 Dec 94 13:51:35 -0800 Received: from whydos.lkg.dec.com by muggsy.lkg.dec.com (5.65/DEC-Ultrix/4.3) with SMTP id AA21125; Fri, 30 Dec 1994 16:47:23 -0500 Received: from localhost (localhost [127.0.0.1]) by whydos.lkg.dec.com (8.6.8/8.6.6) with SMTP id RAA18606; Fri, 30 Dec 1994 17:55:21 -0500 Message-Id: <199412302255.RAA18606@whydos.lkg.dec.com> X-Authentication-Warning: whydos.lkg.dec.com: Host localhost didn't use HELO protocol To: "Christoph P. Kukulies" Cc: freebsd-hackers@freefall.cdrom.com Subject: Re: digital hard drive problem (non FreeBSD specific) In-Reply-To: Your message of "Fri, 30 Dec 1994 19:44:30 +0100." <199412301844.TAA02850@gilberto.physik.rwth-aachen.de> X-Mailer: exmh version 1.5omega 10/6/94 Date: Fri, 30 Dec 1994 17:55:20 -0500 From: Matt Thomas Sender: hackers-owner@freebsd.org Precedence: bulk If you took the RZ25-E out of an Alpha, you will need to modify the jumpers so that it spins up on power-up. Drive front _________________________________ | [J---7| | PPPPP| | 54321| | | | | |J]P1 | |-]P2 | |-]P3 | |-]P4 | |-]P5 | |-]P6 | |-]P7 | |6]P8 | | | | | | | | P3[J| Jumper block J5 or J7 used | P2[-| to set the SCSI ID number | P1[5| +-------------------------------+ ID# P1 P2 P3 [_____________________][________] SCSI connector DCvoltages 0 OUT OUT OUT 1 OUT OUT IN 2 OUT IN OUT 3 OUT IN IN 4 IN OUT OUT 5 IN OUT IN 6 IN IN OUT 7 IN IN IN Jumper block J6 ---------------- P1 Selftest factory use only OUT P2 Spin up on power applictation OUT Wait for spin up command IN P3 Not used OUT P4 Write protect OUT P5 Parity check enabled IN P6 Reserved OUT P7 Drive supplies power to SCSIbus IN P8 Power to internal terminators IN Jumper block J7 ---------------- P4 Spindle sync option IN (Sync not used) P5 For remote LED indicator (P1,P2,P3 used for remote SCSI-ID switches.) From owner-freebsd-hackers Fri Dec 30 14:40:04 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA01993 for hackers-outgoing; Fri, 30 Dec 1994 14:40:04 -0800 Received: from styx.ibmoto.com (styx.ibmoto.com [129.38.252.14]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id OAA01959; Fri, 30 Dec 1994 14:39:54 -0800 Received: from bartling.ibmoto.com (bartling.ibmoto.com [129.38.33.7]) by styx.ibmoto.com (8.6.9/8.6.9) with ESMTP id QAA17313; Fri, 30 Dec 1994 16:39:14 -0600 From: Steve Bartling Received: (bartling@localhost) by bartling.ibmoto.com (8.6.9/8.6.9) id QAA22769; Fri, 30 Dec 1994 16:39:14 -0600 Message-Id: <199412302239.QAA22769@bartling.ibmoto.com> Subject: Re: SLIP, help me, oh please HELP ME :-) To: davidg@Root.COM Date: Fri, 30 Dec 1994 16:39:14 -0600 (CST) Cc: bartling@ibmoto.com, jgreco@brasil.moneng.mei.com, freebsd-questions@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412302105.NAA07596@corbin.Root.COM> from "David Greenman" at Dec 30, 94 01:05:55 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2394 Sender: hackers-owner@freebsd.org Precedence: bulk Latest copy of my start_slip script : #!/bin/csh # # script for starting SLIP connection using DELL UNIX and BOOTP protocol # #slattach -c -l -s 38400 /dev/cua00 slattach -c -h -s 38400 /dev/cua00 # configure initial SLIP link to the terminal server # HTP1 = 129.38.252.50 # HTP2 = 129.38.252.51 # I do not remember what 129.38.14.8 is supposed to represent # ifconfig sl0 inet 129.38.14.8 129.38.252.50 # # add domain name, and nameserver addresses to /etc/resolve.conf # in order to configure the nameservice # echo "domain ibmoto.com" > /etc/resolv.conf echo "nameserver 129.38.252.14" >> /etc/resolv.conf echo "nameserver 127.0.0.1" >> /etc/resolv.conf # # add default route for all packets to HTP2 if dialing in 795-7555 # HTP1 = 129.38.252.50 # HTP2 = 129.38.252.51 # route add default 129.38.252.51 # # determine my dynamically allocated I.P. address using bootptest # ./bootptest > /tmp/bootp.out set my_addr = `grep "reply" /tmp/bootp.out | cut -f9 -d' ' | cut -c3-20` set server_addr = `grep "reply" /tmp/bootp.out | cut -f10 -d' ' | cut -c3-20` set gateway_addr = `grep "reply" /tmp/bootp.out | cut -f11 -d' ' | cut -c3-20` set hops = `grep "reply" /tmp/bootp.out | cut -f6 -d' ' | cut -c6-20` echo "my address = $my_addr" echo "server address = $server_addr" echo "gateway address = $gateway_addr" echo "# of hops = $hops" # # reconfigure sl0 using my dynamically allocated I.P. address # and the address of the terminal server ( HTP2 ) ifconfig sl0 inet $my_addr $server_addr exit This now works if I do the following after the above script is run : route delete default 129.38.252.51 followed by : route add default 129.38.252.51 After deleting then adding back the default route, I am able to achieve full functionality. After all of the above, netstat -r yields : reef# netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Interface default htp2.ibmoto.com UGS 5 353 sl0 localhost localhost UH 0 104 lo0 htp2.ibmoto.com htp2-4.ibmoto.com UH 1 0 sl0 htp2-4.ibmoto.co localhost UH 0 0 lo0 224 localhost US 0 0 lo0 Does this seem correct ? I am too green around the edges to find a problem all by myself :-) Feel free to request more info ... Thanks for your help. - Steve Bartling From owner-freebsd-hackers Fri Dec 30 14:52:34 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA02215 for hackers-outgoing; Fri, 30 Dec 1994 14:52:34 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id OAA02209 for ; Fri, 30 Dec 1994 14:52:33 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id OAA03316; Fri, 30 Dec 1994 14:52:20 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: Wankle Rotary Engine cc: freebsd-hackers@freebsd.org, chein@cisco.com Subject: Re: You want ifconfig -a? You got ifconfig -a. In-reply-to: Your message of "Fri, 30 Dec 94 02:32:47 EST." <199412300732.CAA03841@skynet.ctr.columbia.edu> Date: Fri, 30 Dec 1994 14:52:19 -0800 Message-ID: <3315.788827939@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > Okay Jordan: you asked for it, you got it. Enclosed is a patch for > /usr/src/sbin/ifconfig.c in FreeBSD 2.0 to add the following features: Yow, if only all the things I asked for got done so quickly! :-) This is great, thanks Bill! It's committed and will be part of 2.1. I've also done the requisite man page changes so people will even know about it.. :-) Cheers, and happy happy Neues Jahr.. Jordan From owner-freebsd-hackers Fri Dec 30 15:24:16 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA03195 for hackers-outgoing; Fri, 30 Dec 1994 15:24:16 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA03186 for ; Fri, 30 Dec 1994 15:24:11 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id SAA01029; Fri, 30 Dec 1994 18:22:23 -0500 From: Wankle Rotary Engine Message-Id: <199412302322.SAA01029@skynet.ctr.columbia.edu> Subject: Re: ypserv for FreeBSD? To: kuku@acds Date: Fri, 30 Dec 1994 18:22:20 -0500 (EST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <9412301223.AA16723@acds.physik.rwth-aachen.de> from "Christoph Kukulies" at Dec 30, 94 01:23:50 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2182 Sender: hackers-owner@freebsd.org Precedence: bulk They say this Christoph Kukulies person was kidding when he wrote: > > > > > Jordan K. Hubbard wrote: > > > > > > Anyone care to work on this? I could use a ypserver in the worst > > > way right now (ok, ok, we can call it NIS if you really want to). > > > > If you need it right now, you could use the one from Linux. Install > > libgdbm and you should be ready to compile. > > Compile - yes > Work - no :-( Compile yes, work yes! :) Actually, it seems to work fairly well. I have the ypserv-0.11 package up on a 2.1.0-Development system right now. It does seem to work with FreeBSD's client-side YP stuff, though I think FreeBSD's client-side stuff still needs a little work (ps sometimes reports that processes owned by me are owned by 'daemon' and ls, in some cases, says that files owned by me are owned by 'root' -- I think I smell a library problem). What I don't have working yet is yppasswd and yppasswdd, though I have the Linux versions of those too. I also don't know if this ypserv package supports yp-xfr. I haven't tried building the server in the yps-0.21 package yet, though that's next on my agenda. The question is, do we really want to port these over and use them? It shouldn't be too much trouble (I want to convert them from gdbm to db so it won't be necessary to ship libgdbm with FreeBSD), but I think this stuff is GPL'ed. So what's the verdict? Do we swipe the Linux code, or is someone out there already working on a non-GPL version? > > --Chris Christoph P. U. Kukulies kuku@acds.physik.rwth-aachen.de > FreeBSD 2.0.1-Development #0: Wed Nov 2 23:00:17 1994 > root@mvx1b1:/usr/src/sys/compile/JAZZ -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul System Manager wpaul@ctr.columbia.edu Center for Telecommunications Research (212) 854-6020 Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-hackers Fri Dec 30 15:39:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA04195 for hackers-outgoing; Fri, 30 Dec 1994 15:39:02 -0800 Received: from reggae.ncren.net (reggae.ncren.net [128.109.131.3]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA04188 for ; Fri, 30 Dec 1994 15:39:00 -0800 Received: from ponds.UUCP by reggae.ncren.net (5.65/tas-reggae/may94) id AA18785; Fri, 30 Dec 94 18:37:42 -0500 Received: (rivers@localhost) by ponds.UUCP (8.6.9/8.6.5) id RAA04475 for mcnc!freefall.cdrom.com!freebsd-hackers; Fri, 30 Dec 1994 17:25:51 -0500 Date: Fri, 30 Dec 1994 17:25:51 -0500 From: Thomas David Rivers Message-Id: <199412302225.RAA04475@ponds.UUCP> To: freebsd-hackers@freefall.cdrom.com Subject: uname -a/uname -v broken (or not?) Sender: hackers-owner@freebsd.org Precedence: bulk I'm not up in the particulars of POSIX here, but I was just playing aroung with uname and noticed the following output of 'uname -a'. FreeBSD lakes.water.net 2.0-RELEASE FreeBSD 2.0-RELEASE #1: Mon Dec 5 21:06:49 EST 1994 rivers@lakes.water.net:/usr/src/sys/compile/LAKES i386 Now, I know I've written shell scripts that don't use the uname options, but depend on the fact that fields are blank separated, and use uname -a. The '-v' (the version level) output contains *many* spaces (around the build date, who built it, etc...) which, of course, would break any such assumption. >From the man page, we have the text: If the -a flag is specified, or multiple flags are specified, all output is written on a single line, separated by spaces. which would indicate that the spaces in the version information are incorrect. The man page claims that uname is POSIX conforming - can someone check IEE Std1003.2 to see if we've broken this.... If it is broken, what should we use for the "version" information? - Dave Rivers - From owner-freebsd-hackers Fri Dec 30 15:41:48 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA04253 for hackers-outgoing; Fri, 30 Dec 1994 15:41:48 -0800 Received: from coli-gate.coli.uni-sb.de (coli-gate.coli.uni-sb.de [134.96.68.11]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA04246 for ; Fri, 30 Dec 1994 15:41:46 -0800 Received: from localhost (ulim@localhost) by coli-gate.coli.uni-sb.de (8.6.4/8.6.4) id AAA05875; Sat, 31 Dec 1994 00:41:41 +0100 Date: Sat, 31 Dec 1994 00:41:41 +0100 From: Ulrich Mayring Message-Id: <199412302341.AAA05875@coli-gate.coli.uni-sb.de> To: hackers@freebsd.org Subject: Re: screen & ispell References: <199412292019.NAA26740@seagull.rtd.com> <199412292333.AA286894023@yarmouth.fsl.noaa.gov> X-Newsreader: NN version 6.5.0 #1 (NOV) Sender: hackers-owner@freebsd.org Precedence: bulk >>>>>> "Don" == Don Yuniskis writes: > Don> Greetings! Is anyone out there using screen or ispell? >screen no. >ispell yes. screen yes. what is ispell? ;-) Ulrich -- RL: Ulrich Mayring IRC: ulim http://coli-gate.coli.uni-sb.de/~ulim/ulim.html ulim@coli-gate.coli.uni-sb.de ulim@g386bsd.first.gmd.de my toys: corel4, freebsd2, heidelberger, internet, intel-pc, irc, linotype-hell macintosh, ms-dos6, ms-windows3, pagemaker5, photoshop3, xpress3, usenet, www From owner-freebsd-hackers Fri Dec 30 16:03:36 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA04636 for hackers-outgoing; Fri, 30 Dec 1994 16:03:36 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id QAA04630 for ; Fri, 30 Dec 1994 16:03:35 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id QAA03845; Fri, 30 Dec 1994 16:03:14 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: Wankle Rotary Engine cc: kuku@acds, freebsd-hackers@freebsd.org Subject: Re: ypserv for FreeBSD? In-reply-to: Your message of "Fri, 30 Dec 94 18:22:20 EST." <199412302322.SAA01029@skynet.ctr.columbia.edu> Date: Fri, 30 Dec 1994 16:03:14 -0800 Message-ID: <3844.788832194@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > Compile yes, work yes! :) Actually, it seems to work fairly well. > I have the ypserv-0.11 package up on a 2.1.0-Development system right > now. It does seem to work with FreeBSD's client-side YP stuff, though > I think FreeBSD's client-side stuff still needs a little work (ps > sometimes reports that processes owned by me are owned by 'daemon' and > ls, in some cases, says that files owned by me are owned by 'root' -- I > think I smell a library problem). > > What I don't have working yet is yppasswd and yppasswdd, though I > have the Linux versions of those too. I also don't know if this > ypserv package supports yp-xfr. I haven't tried building the server > in the yps-0.21 package yet, though that's next on my agenda. > > The question is, do we really want to port these over and use them? > It shouldn't be too much trouble (I want to convert them from gdbm to db > so it won't be necessary to ship libgdbm with FreeBSD), but I think this > stuff is GPL'ed. I could live with that. I could really use a complete yp* set so that I could just create users on freefall and have thud mirror this. Right now, it's just an admin pain! Jordan From owner-freebsd-hackers Fri Dec 30 18:57:55 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id SAA07398 for hackers-outgoing; Fri, 30 Dec 1994 18:57:55 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id SAA07392 for ; Fri, 30 Dec 1994 18:57:51 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA13236 (5.67a/IDA-1.5); Fri, 30 Dec 1994 20:34:25 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA21052; 30 Dec 94 20:16:57 CST (Fri) Received: (from peter@localhost) by bonkers.taronga.com (8.6.8/8.6.6) id UAA21049; Fri, 30 Dec 1994 20:16:57 -0600 From: Peter da Silva Message-Id: <199412310216.UAA21049@bonkers.taronga.com> Subject: Re: uname -a/uname -v broken (or not?) To: rivers%ponds@ncren.net (Thomas David Rivers) Date: Fri, 30 Dec 1994 20:16:57 -0600 (CST) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412302225.RAA04475@ponds.UUCP> from "Thomas David Rivers" at Dec 30, 94 05:25:51 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 591 Sender: hackers-owner@freebsd.org Precedence: bulk > The man page claims that uname is POSIX conforming - can someone check > IEE Std1003.2 to see if we've broken this.... Wasn't there a big flame war about this, whether scripts should be parsing this information and whether POSIX required it to be parsable and whether anyone was doing anyone a favor by encouraging them to depend on the format of uname -a when it wasn't guaranteed on other platforms and so on? Was that on the NetBSD list, maybe? I forget. MHO: uname should be useful as well as POSIX-conforming, and should output space-separated tokens that do not contain spaces. From owner-freebsd-hackers Fri Dec 30 19:15:42 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA08880 for hackers-outgoing; Fri, 30 Dec 1994 19:15:42 -0800 Received: from zed.ludd.luth.se (root@zed.ludd.luth.se [130.240.16.33]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA08866 for ; Fri, 30 Dec 1994 19:15:35 -0800 Received: from taurus.ludd.luth.se (taurus.ludd.luth.se [130.240.16.37]) by zed.ludd.luth.se (8.6.9/8.6.9) with ESMTP id EAA21848 for ; Sat, 31 Dec 1994 04:15:27 +0100 From: Olof Johansson Received: (offe@localhost) by taurus.ludd.luth.se (8.6.9/8.6.9) id EAA05672 for hackers@freebsd.org; Sat, 31 Dec 1994 04:15:23 +0100 Message-Id: <199412310315.EAA05672@taurus.ludd.luth.se> Subject: WD-7000 SCSI-driver for FreeBSD To: hackers@freebsd.org Date: Sat, 31 Dec 1994 04:15:23 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1256 Sender: hackers-owner@freebsd.org Precedence: bulk Hello, I don't know if this is the right address to write to. However, today (and tonight, it's 4am here :) I've been working on porting/patching/finishing the WD-7000 driver from NetBSD. This has now gone so far that I can read and write tapes on my Tandberg 3600. It is unfortunately the only SCSI-device I have. Needed to say is that it's no speed-deamon, but then I haven't done more than get it to work yet. I haven't added scatter/gather support (yet?) (the comment at top of the NetBSD-source talks about that), but in my opinion it's better to have a slow driver than no driver at all. I'll keep on working on it during next week, and I'll get back when I have something worth adding to the source tree. -Olof -------------------+-----------------------+------------------------------------ Olof Johansson | Address: | Phone: +46-10-695-8364 -------------------+ VPL 914 Johansson +------------------------------------ offe@ludd.luth.se | 2 komp, 3 plut | Who is General Failure, and why d92-ojn@sm.luth.se | Box 9106 | is he reading my disk? offe@sdf.luth.se | 961 19 Boden / SWEDEN | (MSDOS - just say NO!) -------------------+-----------------------+------------------------------------ From owner-freebsd-hackers Fri Dec 30 19:29:14 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA10185 for hackers-outgoing; Fri, 30 Dec 1994 19:29:14 -0800 Received: from wcarchive.cdrom.com (wcarchive.cdrom.com [192.216.191.11]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA10177 for ; Fri, 30 Dec 1994 19:29:10 -0800 Received: from reggae.ncren.net (reggae.ncren.net [128.109.131.3]) by wcarchive.cdrom.com (8.6.8/8.6.6) with ESMTP id TAA29477 for ; Fri, 30 Dec 1994 19:29:01 -0800 Received: from ponds.UUCP by reggae.ncren.net (5.65/tas-reggae/may94) id AA01496; Fri, 30 Dec 94 22:28:37 -0500 Received: (rivers@localhost) by ponds.UUCP (8.6.9/8.6.5) id WAA03568; Fri, 30 Dec 1994 22:02:51 -0500 Date: Fri, 30 Dec 1994 22:02:51 -0500 From: Thomas David Rivers Message-Id: <199412310302.WAA03568@ponds.UUCP> To: freebsd-hackers@wcarchive.cdrom.com, freebsd-bugs@freebsd.org, rivers@ncren.net, biljir%squink@ncren.net Subject: Pretty serious bug in compress(1). Sender: hackers-owner@freebsd.org Precedence: bulk A down-feed news site of mine complained after my upgrade to 2.0R that some of his news batches were being botched instead of batched. I took a quick look at things to discover that the compress(1) program had been broken in the move from 1.1.5 to 2.0, but probably not in a way that anyone else would notice. In particular, this site can't handle 16-bit compression, so I use '-b 12' on the news feed. But, compress(1) was using a magic number in the file (will zwrite was in it's cookie) that indicated it was a 16-bit compressed file. You can demonstrate this problem by using the following: cd /tmp cp /etc/passwd /tmp compress -b 12 passwd file passwd.Z the output of the file command will indicate this is a 16-bit compressed file, when, in fact, it is a 12-bit compressed file. When uncompress/compress -d gets this file, it begins to apply 16-bit tables to the input, and sometimes fails in the middle, producing junk. Although, it won't do it with every input (because of the LZW hash lengths, etc...) it's not too hard to stumble on some where the uncompression fails. The following diff to zopen.c in /usr/src/usr.bin/compress will correct the problem. Also, someone may want to check on the zopen/zwrite() routines now in libc.a. *** zopen.c.ori Fri May 27 08:30:59 1994 --- zopen.c Sat Dec 31 11:05:29 1994 *************** *** 258,264 **** if (fwrite(magic_header, sizeof(char), sizeof(magic_header), fp) != sizeof(magic_header)) return (-1); ! tmp = (u_char)(BITS | block_compress); if (fwrite(&tmp, sizeof(char), sizeof(tmp), fp) != sizeof(tmp)) return (-1); --- 258,264 ---- if (fwrite(magic_header, sizeof(char), sizeof(magic_header), fp) != sizeof(magic_header)) return (-1); ! tmp = (u_char)((maxbits) | block_compress); if (fwrite(&tmp, sizeof(char), sizeof(tmp), fp) != sizeof(tmp)) return (-1); Hopefully, this can make it into 2.1... - Dave Rivers - From owner-freebsd-hackers Fri Dec 30 20:32:34 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA13647 for hackers-outgoing; Fri, 30 Dec 1994 20:32:34 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id UAA13641 for ; Fri, 30 Dec 1994 20:32:33 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id UAA04565; Fri, 30 Dec 1994 20:32:18 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: Olof Johansson cc: hackers@freebsd.org Subject: Re: WD-7000 SCSI-driver for FreeBSD In-reply-to: Your message of "Sat, 31 Dec 94 04:15:23 +0100." <199412310315.EAA05672@taurus.ludd.luth.se> Date: Fri, 30 Dec 1994 20:32:18 -0800 Message-ID: <4564.788848338@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > I don't know if this is the right address to write to. However, today (and > tonight, it's 4am here :) I've been working on porting/patching/finishing > the WD-7000 driver from NetBSD. This has now gone so far that I can read > and write tapes on my Tandberg 3600. It is unfortunately the only > SCSI-device I have. This is great! We'd definitely be interested in seeing your code once you're ready to release something.. Jordan From owner-freebsd-hackers Fri Dec 30 21:34:50 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA14319 for hackers-outgoing; Fri, 30 Dec 1994 21:34:50 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA14313 for ; Fri, 30 Dec 1994 21:34:49 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id VAA05304; Fri, 30 Dec 1994 21:34:20 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: "Serge V.Vakulenko" cc: hackers@freebsd.org Subject: Re: New Seagate ST01/ST02 driver uploaded In-reply-to: Your message of "Mon, 26 Dec 94 23:29:51 +0300." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 30 Dec 1994 21:34:19 -0800 Message-ID: <5303.788852059@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > I put the new version of Seagate ST01/02, Future Domain TMC-885/TMC-950 > driver to ftp.cdrom.com:/pub/FreeBSD/incoming, file `seagate.tgz'. > It would be great to see it in 2.1 to install it from my CD-ROM. :-) Commited! Thanks! Jordan From owner-freebsd-hackers Fri Dec 30 22:01:08 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id WAA14570 for hackers-outgoing; Fri, 30 Dec 1994 22:01:08 -0800 Received: from neon.gbdata.com (Phoenix-GW.GBData.COM [199.3.234.240]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id WAA14563 for ; Fri, 30 Dec 1994 22:00:52 -0800 Received: (from freebsd@localhost) by neon.gbdata.com (8.6.9/8.6.9) id AAA08151 for freebsd-hackers@freefall.cdrom.com; Sat, 31 Dec 1994 00:29:52 -0600 From: FreeBSD Mailing lists Message-Id: <199412310629.AAA08151@neon.gbdata.com> Subject: bsd.prog.mk To: freebsd-hackers@freefall.cdrom.com Date: Sat, 31 Dec 1994 00:29:51 -0600 (CST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 399 Sender: hackers-owner@freebsd.org Precedence: bulk Hi, Would any object to putting a check for a "NOTBIN" variable to allow for none c/as/whatever source? My perl scripts for things like adding users and configing a kernel do NOT need to be compiled!! And from looking at bsd.prog.mk, I can't tell how to allow make to just pass over it. Gary Thanks to the people who reported it to me. (Thats why I wanted people to look at the make file...) From owner-freebsd-hackers Fri Dec 30 23:25:45 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA15484 for hackers-outgoing; Fri, 30 Dec 1994 23:25:45 -0800 Received: from tuatara.reptiles.org (tuatara.reptiles.org [142.57.253.134]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id XAA15478 for ; Fri, 30 Dec 1994 23:25:42 -0800 Received: by tuatara.reptiles.org (/\==/\ Smail3.1.28.1 #28.2) id ; Sat, 31 Dec 94 02:25 EST To: freebsd-hackers@freefall.cdrom.com Newsgroups: reptiles.freebsd.hackers Path: jim From: jim@reptiles.org (Jim Mercer) Subject: fixit or shell boot disk for 2.0, please! Message-ID: Organization: Reptilian Research, Toronto, Canada Distribution: reptiles Date: Sat, 31 Dec 1994 07:25:19 GMT Sender: hackers-owner@freebsd.org Precedence: bulk errrrrr so, i allocated a chunk of this weekend for installing 2.0 on a second pair of ESDI drives, then to migrate the stuff off of my existing 1.1.5.1 box, and then maybe bring the old box up under 2.0. i lowlevel the drives (new controller), and make up a set of new boot disks from freebsd.cdrom.com:/pub/FreeBSD/2.0-RELEASE/floppies. grrrrr, there are some bad sectors on the drives, and the newfs's crap out. when i installed the 1.1.5.1 boxes, i was able to use bad144 to map them out. i understand that bad144 is not totally fixed for 2.0, but i was lead to beleive that if i was using the whole drive it might work. but i can't get a damn shell t sheck it out. grrrr. anyone have any ideas? please? while there is still some of the weekend left? BTW: the new install stuff looks really snazzy. i don't suppose someone can come up with an install floppy for those of us that are not afraid of scrolling, question/answer install scripts? -- [ Jim Mercer jim@reptiles.org +1 416 506-0654 ] [ Reptilian Research -- Longer Life through Colder Blood ] [ Never, ever forget to replace the toiletseat after use!!! A wet ] [ chinchilla is a very funny and pathetic sight. -- alt.chinchilla ] From owner-freebsd-hackers Sat Dec 31 00:45:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA17221 for hackers-outgoing; Sat, 31 Dec 1994 00:45:02 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id AAA17204 for ; Sat, 31 Dec 1994 00:44:58 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id AAA14774; Sat, 31 Dec 1994 00:44:26 -0800 From: "Rodney W. Grimes" Message-Id: <199412310844.AAA14774@gndrsh.aac.dev.com> Subject: Re: bsd.prog.mk To: freebsd@neon.gbdata.com (FreeBSD Mailing lists) Date: Sat, 31 Dec 1994 00:44:25 -0800 (PST) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412310629.AAA08151@neon.gbdata.com> from "FreeBSD Mailing lists" at Dec 31, 94 00:29:51 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1497 Sender: hackers-owner@freebsd.org Precedence: bulk > > Hi, > > Would any object to putting a check for a "NOTBIN" variable to allow for > none c/as/whatever source? My perl scripts for things like adding users > and configing a kernel do NOT need to be compiled!! And from looking at > bsd.prog.mk, I can't tell how to allow make to just pass over it. This is not a good idea, why do I say that, well, bsd.prog.mk is for BUILDING programs, and for that job only. If your source area does not have c/as/* source in it your Makefile should *NOT* include bsd.prog.mk. Now, this is a real problem right now as we do not yet have bsd.file.mk in the source tree (something I wrote to handle just the situation you have with adduser right now). In the interim please look at /usr/src/include/Makefile or /usr/src/usr.bin/lorder for samples as to how to do this under the current .mk files. I will convert this stuff when I ever get back to finishing a new set of .mk files (I put this on the back burner, and now after 3 months of using the OSF/1 versions of this things I have decided that my work was okay, but could be a lot smarter and a lot neater). > Thanks to the people who reported it to me. > (Thats why I wanted people to look at the make file...) So for now.. see the sighted sample files and please do what they do, I though Bruce already went in and fixed this all up.... -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD From owner-freebsd-hackers Sat Dec 31 01:14:23 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA18037 for hackers-outgoing; Sat, 31 Dec 1994 01:14:23 -0800 Received: from seagull.rtd.com (root@Seagull.rtd.com [198.102.68.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id BAA18030 for ; Sat, 31 Dec 1994 01:14:20 -0800 Received: (from dgy@localhost) by seagull.rtd.com (8.6.9/8.6.9.1) id CAA18120 for freebsd-hackers@freefall.cdrom.com; Sat, 31 Dec 1994 02:14:15 -0700 From: Don Yuniskis Message-Id: <199412310914.CAA18120@seagull.rtd.com> Subject: sed bugs To: freebsd-hackers@freefall.cdrom.com (FreeBSD hackers) Date: Sat, 31 Dec 1994 02:14:14 -0700 (MST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 385 Sender: hackers-owner@freebsd.org Precedence: bulk Greetings! Sed fails to deal with `P' and `D' commands correctly. The patch for `P' bug was trivial. However, I didn't know enough about sed's behaviour wrt `D' to complete that patch. So, I opted for the FSF sed, instead. Which begs the (silly?) question: Is there a reason to avoid FSF tools? The GPL?? RSVP via private e-mail, if that is appropriate ;-) Happy New Year's! From owner-freebsd-hackers Sat Dec 31 01:33:19 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA18923 for hackers-outgoing; Sat, 31 Dec 1994 01:33:19 -0800 Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id BAA18916 for ; Sat, 31 Dec 1994 01:33:17 -0800 Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id KAA02284 for hackers@freebsd.org; Sat, 31 Dec 1994 10:34:41 +0100 From: Luigi Rizzo Message-Id: <199412310934.KAA02284@labinfo.iet.unipi.it> Subject: ARP problems To: hackers@freebsd.org Date: Sat, 31 Dec 1994 10:34:41 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1110 Sender: hackers-owner@freebsd.org Precedence: bulk This has been reported some time ago, but haven't seen any fixes. The arp code must have problems somewhere, with half-deleted entries. This was with 2.0R. At the moment, with a kernel build with sources about one week old, and 2.0R binaries, I am experiencing the following: rizzo# arp -a ? (0.0.0.0) at (incomplete) published (proxy only) ? (0.0.0.0) at (incomplete) published (proxy only) ? (0.0.0.0) at (incomplete) permanent published (proxy only) ? (0.0.0.0) at (incomplete) published (proxy only) which looks even worse (unless I alsohave to recompile "arp"). The system is reachable through the net, despite the apparently-empty table. Misfunctioning ARP code is going to give a lot of headaches in networked installations. 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 ==================================================================== From owner-freebsd-hackers Sat Dec 31 04:30:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id EAA13315 for hackers-outgoing; Sat, 31 Dec 1994 04:30:02 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id EAA13309 for ; Sat, 31 Dec 1994 04:30:01 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id EAA26198; Sat, 31 Dec 1994 04:29:49 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: Don Yuniskis cc: freebsd-hackers@freefall.cdrom.com (FreeBSD hackers) Subject: Re: sed bugs In-reply-to: Your message of "Sat, 31 Dec 94 02:14:14 MST." <199412310914.CAA18120@seagull.rtd.com> Date: Sat, 31 Dec 1994 04:29:49 -0800 Message-ID: <26197.788876989@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk No overriding reason.. Our rule of thumb is to take a BSD tool (or non GPL'd, at least) if it's equivalent to the GNU tool. If a GNU tool is the only or clearly superior solution, we have no problem with adopting it.. Jordan > Greetings! > Sed fails to deal with `P' and `D' commands correctly. > The patch for `P' bug was trivial. However, I didn't know > enough about sed's behaviour wrt `D' to complete that patch. > So, I opted for the FSF sed, instead. > > Which begs the (silly?) question: Is there a reason to avoid > FSF tools? The GPL?? RSVP via private e-mail, if that is > appropriate ;-) > > Happy New Year's! From owner-freebsd-hackers Sat Dec 31 05:46:04 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA14249 for hackers-outgoing; Sat, 31 Dec 1994 05:46:04 -0800 Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id FAA14243 for ; Sat, 31 Dec 1994 05:46:01 -0800 Received: from beryll.cs.tu-berlin.de (wosch@beryll.cs.tu-berlin.de [130.149.28.11]) by mail.cs.tu-berlin.de (8.6.9/8.6.9) with ESMTP id OAA03815 for ; Sat, 31 Dec 1994 14:45:52 +0100 From: Wolfram Schneider Received: (wosch@localhost) by beryll.cs.tu-berlin.de (8.6.9/8.6.6) id OAA07627; Sat, 31 Dec 1994 14:45:50 +0100 Date: Sat, 31 Dec 1994 14:45:50 +0100 Message-Id: <199412311345.OAA07627@beryll.cs.tu-berlin.de> To: hackers@freebsd.org Subject: optimized mkdep MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: hackers-owner@freebsd.org Precedence: bulk ``make depend'' use to much processes. The following patches save 12 processes for every ``make depend''. ``Make world'' call ``make depend'' ~500x => 6000 processes!!! Tested in /usr/src/usr.sbin/sa Current, without optimization: 20 processes $ make depend rm -f .depend files=""; if [ "$files" != "" ]; then mkdep -a $files; fi files="main.c pdb.c usrdb.c"; if [ "$files" != "" ]; then mkdep -a $files; fi files=" "; if [ "$files" != " " ]; then mkdep -a $files; fi make - w ttyp5 0.53 secs Sat Dec 23 19:57 sh - w ttyp5 0.03 secs Sat Dec 23 19:57 [ - w ttyp5 0.03 secs Sat Dec 23 19:57 sh - w ttyp5 0.05 secs Sat Dec 23 19:57 sh - w ttyp5 0.12 secs Sat Dec 23 19:57 rm - w ttyp5 0.02 secs Sat Dec 23 19:57 cat - w ttyp5 0.03 secs Sat Dec 23 19:57 [ - w ttyp5 0.02 secs Sat Dec 23 19:57 [ - w ttyp5 0.02 secs Sat Dec 23 19:57 sed - w ttyp5 0.17 secs Sat Dec 23 19:57 cc - w ttyp5 0.17 secs Sat Dec 23 19:57 cpp - w ttyp5 0.66 secs Sat Dec 23 19:57 cpp - w ttyp5 0.75 secs Sat Dec 23 19:57 cpp - w ttyp5 0.92 secs Sat Dec 23 19:57 [ - w ttyp5 0.02 secs Sat Dec 23 19:57 [ - w ttyp5 0.05 secs Sat Dec 23 19:57 [ - w ttyp5 0.03 secs Sat Dec 23 19:57 sh - w ttyp5 0.05 secs Sat Dec 23 19:57 [ - w ttyp5 0.02 secs Sat Dec 23 19:57 rm - w ttyp5 0.06 secs Sat Dec 23 19:57 bsd.dep.mk.opt + mkdep: 15 processes $ make depend rm -f .depend; files=""; case "$files" in "");; *) mkdep -a $files;; esac; files="main.c pdb.c usrdb.c"; case "$files" in "");; *) mkdep -a $files; esac; files=" "; case "$files" in " ");; *) mkdep -a $files; esac make - w ttyp5 0.52 secs Sat Dec 23 20:00 sh - w ttyp5 0.08 secs Sat Dec 23 20:00 sh - w ttyp5 0.12 secs Sat Dec 23 20:00 rm - w ttyp5 0.03 secs Sat Dec 23 20:00 cat - w ttyp5 0.02 secs Sat Dec 23 20:00 [ - w ttyp5 0.02 secs Sat Dec 23 20:00 [ - w ttyp5 0.03 secs Sat Dec 23 20:00 sed - w ttyp5 0.16 secs Sat Dec 23 20:00 cc - w ttyp5 0.17 secs Sat Dec 23 20:00 cpp - w ttyp5 0.69 secs Sat Dec 23 20:00 cpp - w ttyp5 0.75 secs Sat Dec 23 20:00 cpp - w ttyp5 0.89 secs Sat Dec 23 20:00 [ - w ttyp5 0.02 secs Sat Dec 23 20:00 [ - w ttyp5 0.06 secs Sat Dec 23 20:00 rm - w ttyp5 0.02 secs Sat Dec 23 20:00 bsd.dep.mk.opt + mkdep.perl: 8 processes $ make depend rm -f .depend; files=""; case "$files" in "");; *) mkdep.perl -a $files;; esac; files="main.c pdb.c usrdb.c"; case "$files" in "");; *) mkdep.perl -a $files; esac; files=" "; case "$files" in " ");; *) mkdep.perl -a $files; esac make - w ttyp5 0.53 secs Sat Dec 23 20:02 sh - w ttyp5 0.03 secs Sat Dec 23 20:02 perl - w ttyp5 0.19 secs Sat Dec 23 20:02 cc - w ttyp5 0.17 secs Sat Dec 23 20:02 cpp - w ttyp5 0.66 secs Sat Dec 23 20:02 cpp - w ttyp5 0.75 secs Sat Dec 23 20:02 cpp - w ttyp5 0.92 secs Sat Dec 23 20:02 rm - w ttyp5 0.03 secs Sat Dec 23 20:02 Gruß Wolfram #!/bin/sh # This is a shell archive (produced by shar 3.49) # To extract the files from this archive, save it to a file, remove # everything above the "!/bin/sh" line above, and type "sh file_name". # # made 12/31/1994 13:41 UTC by wosch@beryll # Source directory /tmp_amd/fiesta/export/all3/w/wosch/tmp/send # # existing files will NOT be overwritten unless -c is specified # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 3217 -rwxr-xr-x mkdep.perl # 1061 -rwxr-xr-x bsd.dep.mk.opt # # ============= mkdep.perl ============== if test -f 'mkdep.perl' -a X"$1" != X"-c"; then echo 'x - skipping mkdep.perl (File already exists)' else echo 'x - extracting mkdep.perl (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mkdep.perl' && #!/usr/bin/perl # # Copyright (c) 1994 Wolfram Schneider. 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 Wolfram Schneider # 4. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR 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. # # # mkdep - construct Makefile dependency list # Email: Wolfram Schneider X $depend=".depend"; # default dependency file is .depend $append=0; # $pflag=0; # X sub usage { X warn <) { X s|\.o:|:|; X s| \./| |g; X push(@array, $_); X } } else { X while() { X s| \./| |g; X push(@array, $_); X } } close CPP; X if(($? >> 8) != 0) { X warn "mkdep: compile failed.\n"; X exit 1; } X if ($append) { X open(D, ">> $depend"); } else { X open(D, "> $depend"); } X print D @array; close D; X Xexit 0; SHAR_EOF chmod 0755 mkdep.perl || echo 'restore of mkdep.perl failed' Wc_c="`wc -c < 'mkdep.perl'`" test 3217 -eq "$Wc_c" || echo 'mkdep.perl: original size 3217, current size' "$Wc_c" fi # ============= bsd.dep.mk.opt ============== if test -f 'bsd.dep.mk.opt' -a X"$1" != X"-c"; then echo 'x - skipping bsd.dep.mk.opt (File already exists)' else echo 'x - extracting bsd.dep.mk.opt (Text)' sed 's/^X//' << 'SHAR_EOF' > 'bsd.dep.mk.opt' && # $Id: bsd.dep.mk,v 1.1 1994/08/04 21:10:07 wollman Exp $ X # some of the rules involve .h sources, so remove them from mkdep line MD=mkdep.perl .if !target(depend) depend: beforedepend .depend afterdepend .if defined(SRCS) .depend: ${SRCS} X rm -f .depend; \ X files="${.ALLSRC:M*.[sS]}"; \ X case "$$files" in "");; *) \ X ${MD} -a ${MKDEP} ${CFLAGS:M-[ID]*} ${AINC} $$files;; esac; \ X files="${.ALLSRC:M*.c}"; \ X case "$$files" in "");; *) \ X ${MD} -a ${MKDEP} ${CFLAGS:M-[ID]*} $$files; esac; \ X files="${.ALLSRC:M*.cc} ${.ALLSRC:M*.C} ${.ALLSRC:M*.cxx}"; \ X case "$$files" in " ");; *) \ X ${MD} -a ${MKDEP} ${CXXFLAGS:M-nostd*} ${CXXFLAGS:M-[ID]*} $$files;\ X esac .else .depend: .endif .if !target(beforedepend) beforedepend: .endif .if !target(afterdepend) afterdepend: .endif .endif X .if !target(tags) .if defined(SRCS) tags: ${SRCS} X -cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC:N*.h} | \ X sed "s;\${.CURDIR}/;;" > tags .else tags: .endif .endif X .if defined(SRCS) clean: cleandir: cleandepend cleandepend: X rm -f .depend ${.CURDIR}/tags .endif SHAR_EOF chmod 0755 bsd.dep.mk.opt || echo 'restore of bsd.dep.mk.opt failed' Wc_c="`wc -c < 'bsd.dep.mk.opt'`" test 1061 -eq "$Wc_c" || echo 'bsd.dep.mk.opt: original size 1061, current size' "$Wc_c" fi exit 0 From owner-freebsd-hackers Sat Dec 31 07:55:22 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA17103 for hackers-outgoing; Sat, 31 Dec 1994 07:55:22 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id HAA17097 for ; Sat, 31 Dec 1994 07:55:17 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id CAA00522; Sun, 1 Jan 1995 02:53:30 +1100 Date: Sun, 1 Jan 1995 02:53:30 +1100 From: Bruce Evans Message-Id: <199412311553.CAA00522@godzilla.zeta.org.au> To: dgy@seagull.rtd.com, jkh@time.cdrom.com Subject: Re: sed bugs Cc: freebsd-hackers@freefall.cdrom.com Sender: hackers-owner@freebsd.org Precedence: bulk >No overriding reason.. Our rule of thumb is to take a BSD tool (or >non GPL'd, at least) if it's equivalent to the GNU tool. If a GNU ^^^^^^^^^^^^^^^^^^ if it sort of works >tool is the only or clearly superior solution, we have no problem with ^^^^^^^^^^^^^^^^^^^delete >adopting it.. Most basic gnu utilities are clearly superior. I miss having a cp that preserves symlinks, a mv that works across file systems in all cases, a `locate' that supports multiple databases, ... The basic gnu utilities have some problems under 2.0. They don't support new features such as file system flags and POSIXish symlinks. Bruce From owner-freebsd-hackers Sat Dec 31 09:00:03 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA17927 for hackers-outgoing; Sat, 31 Dec 1994 09:00:03 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA17921 for ; Sat, 31 Dec 1994 09:00:02 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.9/8.6.9) with SMTP id IAA26652; Sat, 31 Dec 1994 08:59:41 -0800 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: Bruce Evans cc: dgy@seagull.rtd.com, freebsd-hackers@freefall.cdrom.com Subject: Re: sed bugs In-reply-to: Your message of "Sun, 01 Jan 95 02:53:30 +1100." <199412311553.CAA00522@godzilla.zeta.org.au> Date: Sat, 31 Dec 1994 08:59:40 -0800 Message-ID: <26651.788893180@time.cdrom.com> From: "Jordan K. Hubbard" Sender: hackers-owner@freebsd.org Precedence: bulk > Most basic gnu utilities are clearly superior. I miss having a cp that > preserves symlinks, a mv that works across file systems in all cases, > a `locate' that supports multiple databases, ... Well, then by all means campaign for them and try to get them adopted! > The basic gnu utilities have some problems under 2.0. They don't > support new features such as file system flags and POSIXish symlinks. Assuming that this is dealt with somehow.. :-) Jordan From owner-freebsd-hackers Sat Dec 31 09:20:34 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA18423 for hackers-outgoing; Sat, 31 Dec 1994 09:20:34 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA18416 for ; Sat, 31 Dec 1994 09:20:25 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA01559; Sun, 1 Jan 1995 04:17:38 +1100 Date: Sun, 1 Jan 1995 04:17:38 +1100 From: Bruce Evans Message-Id: <199412311717.EAA01559@godzilla.zeta.org.au> To: bde@zeta.org.au, jkh@time.cdrom.com Subject: Re: sed bugs Cc: dgy@seagull.rtd.com, freebsd-hackers@freefall.cdrom.com Sender: hackers-owner@freebsd.org Precedence: bulk >> Most basic gnu utilities are clearly superior. I miss having a cp that >> preserves symlinks, a mv that works across file systems in all cases, >> a `locate' that supports multiple databases, ... >Well, then by all means campaign for them and try to get them adopted! I really want ours to be superior (and for everything to have a consistent) interface. This should be possible for simple utilities (cp, mv, ...) but I'm not sure what to do with things like sed and sh. Gnu sed has always been quite slow despite using fancy regex algorithms. Bruce From owner-freebsd-hackers Sat Dec 31 11:00:57 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA19985 for hackers-outgoing; Sat, 31 Dec 1994 11:00:57 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id LAA19977 for ; Sat, 31 Dec 1994 11:00:55 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA07216; Sat, 31 Dec 1994 14:00:45 -0500 Date: Sat, 31 Dec 1994 14:00:45 -0500 From: Garrett Wollman Message-Id: <9412311900.AA07216@halloran-eldar.lcs.mit.edu> To: Luigi Rizzo Cc: hackers@freebsd.org Subject: ARP problems In-Reply-To: <199412310934.KAA02284@labinfo.iet.unipi.it> References: <199412310934.KAA02284@labinfo.iet.unipi.it> Sender: hackers-owner@freebsd.org Precedence: bulk < said: > rizzo# arp -a > ? (0.0.0.0) at (incomplete) published (proxy only) > ? (0.0.0.0) at (incomplete) published (proxy only) > ? (0.0.0.0) at (incomplete) permanent published (proxy only) > ? (0.0.0.0) at (incomplete) published (proxy only) > which looks even worse (unless I alsohave to recompile "arp"). > The system is reachable through the net, despite the apparently-empty > table. This looks very much like a mismatch between arp(8) and the running kernel. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-hackers Sat Dec 31 11:23:36 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA21661 for hackers-outgoing; Sat, 31 Dec 1994 11:23:36 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id LAA21655 for ; Sat, 31 Dec 1994 11:23:34 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA07252; Sat, 31 Dec 1994 14:23:27 -0500 Date: Sat, 31 Dec 1994 14:23:27 -0500 From: Garrett Wollman Message-Id: <9412311923.AA07252@halloran-eldar.lcs.mit.edu> To: "Jordan K. Hubbard" Cc: freebsd-hackers@freebsd.org Subject: Re: ypserv for FreeBSD? In-Reply-To: <3844.788832194@time.cdrom.com> References: <199412302322.SAA01029@skynet.ctr.columbia.edu> <3844.788832194@time.cdrom.com> Sender: hackers-owner@freebsd.org Precedence: bulk < said: > I could live with that. I could really use a complete yp* set so that > I could just create users on freefall and have thud mirror this. Right > now, it's just an admin pain! One of the NetBSD people (I guess de Raadt) was working on a YP server last I heard anything about it. I think they have correctly-implemented (i.e., integrated with `passwd') YP password changing support as well. (However, I think our implementation of +overrides is superior, or at least was when I did it.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-hackers Sat Dec 31 15:44:53 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA24421 for hackers-outgoing; Sat, 31 Dec 1994 15:44:53 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA24415 for ; Sat, 31 Dec 1994 15:44:49 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id KAA06063; Sun, 1 Jan 1995 10:40:23 +1100 Date: Sun, 1 Jan 1995 10:40:23 +1100 From: Bruce Evans Message-Id: <199412312340.KAA06063@godzilla.zeta.org.au> To: luigi@labinfo.iet.unipi.it, wollman@halloran-eldar.lcs.mit.edu Subject: Re: ARP problems Cc: hackers@freebsd.org Sender: hackers-owner@freebsd.org Precedence: bulk >> rizzo# arp -a >> ? (0.0.0.0) at (incomplete) published (proxy only) >This looks very much like a mismatch between arp(8) and the running >kernel. I get it with several matched kernels and utilities: ? (0.0.0.0) at (incomplete) ? (0.0.0.0) at (incomplete) permanent This might be due a bug in my network configuration. I use a very simple configuration with invented addresses, perhaps too simple and invented. The other end running 1.1.5 gives besplex (85.27.2.2) at 0:40:33:21:8d:db Bruce From owner-freebsd-hackers Sat Dec 31 19:16:36 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA01174 for hackers-outgoing; Sat, 31 Dec 1994 19:16:36 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA01168 for ; Sat, 31 Dec 1994 19:16:32 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id WAA02955 for freebsd-hackers@freebsd.org; Sat, 31 Dec 1994 22:14:33 -0500 From: Wankle Rotary Engine Message-Id: <199501010314.WAA02955@skynet.ctr.columbia.edu> Subject: NIS stuff update To: freebsd-hackers@freebsd.org Date: Sat, 31 Dec 1994 22:14:29 -0500 (EST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2477 Sender: hackers-owner@freebsd.org Precedence: bulk Just to let you all know, I've made a fair amount of progress in trying to put together a YP server-side implementation for FreeBSD 2.x. Here's what I've got so far: - Compiled and successfully tested the Linux (NYS) ypserv-0.11 YP server. - Converted the YP server to use FreeBSD's native db library (instead of GNU dbm). - Converted the makedbm program from the yps-0.21 package to use FreeBSD's db library. This program can be used to create and dump the YP maps for use with ypserv. (ypserv-0.11 comes with two seperate programs for creating and listing database files which I decided not to use.) Named the new program yp_mkdb to match the other FreeBSD database creation programs. - Fixed the ypMakefile supplied with the ypserv-0.11 package to a) actually work and b) use the yp_mkdb program. - Compiled yppasswd and yppasswdd from the yppasswd-0.5 package (found in the same place as the NYS YP server). Note that this package doesn't appear to be GPL'ed. - Successfully tested yppasswd with a SunOS 4.1.x YP server. Things I still need to do: - 'deamon-ify' ypserv -- it doesn't currently background itself. Need to add call to daemon() and force error messages to be logged instead of printed to stderr. - Liberate ypxfr and yppush from the yps-0.21 package and make them work with ypserv-0.11. (If I can.) - Flesh out the ypxfr stub function in the YP server. - Teach yppasswdd how to handle FreeBSD's password database system. - Go on a major bug hunt. - Have my head examined. I don't suppose anybody knows how to export /etc/master.passwd without the whole world being able to see it. While I'm here, I've got a couple of questions: 1) I noticed some references to two new CD-ROM drivers (pcd and scd) after supping the latest sources, but the actual drivers aren't there yet. Anybody know when they're scheduled to materialize? 2) Exactly when is 2.1 due to be released anyway? :) -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul System Manager wpaul@ctr.columbia.edu Center for Telecommunications Research (212) 854-6020 Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-hackers Sat Dec 31 20:11:05 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA01847 for hackers-outgoing; Sat, 31 Dec 1994 20:11:05 -0800 Received: from vmbb.cts.com (vmbb.cts.com [192.188.72.18]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id UAA01840 for ; Sat, 31 Dec 1994 20:11:02 -0800 Received: from io.cts.com by vmbb.cts.com with smtp (Smail3.1.28.1 #9) id m0rOHd4-0000OYC; Sat, 31 Dec 94 20:10 PST Received: (from root@localhost) by io.cts.com (8.6.9/8.6.9) id UAA11484 for hackers@freebsd.org; Sat, 31 Dec 1994 20:05:33 -0800 From: Morgan Davis Message-Id: <199501010405.UAA11484@io.cts.com> Subject: perl 5? To: hackers@freebsd.org Date: Sat, 31 Dec 1994 20:05:32 -0800 (PST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 361 Sender: hackers-owner@freebsd.org Precedence: bulk Is there a reason why perl 5.0 is not included in FBSD? 5.0 was release some months ago. If not, is there a schedule for having it included into subsequent releases? If it's a question of time and a someone to ensure the port, I may be interested in doing it. I installed it for SCO a few months ago without much pain. FBSD will likely be a piece of cake. From owner-freebsd-hackers Sat Dec 31 23:23:06 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA03216 for hackers-outgoing; Sat, 31 Dec 1994 23:23:06 -0800 Received: from kithrup.com (kithrup.com [140.174.23.40]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA03210 for ; Sat, 31 Dec 1994 23:23:04 -0800 Received: (from sef@localhost) by kithrup.com (8.6.8/8.6.6) id XAA24011 for hackers@freebsd.org; Sat, 31 Dec 1994 23:22:56 -0800 Date: Sat, 31 Dec 1994 23:22:56 -0800 From: Sean Eric Fagan Message-Id: <199501010722.XAA24011@kithrup.com> To: hackers@freebsd.org Subject: rdump is slow Sender: hackers-owner@freebsd.org Precedence: bulk Has anybody sat down and tried to figure out why? (rdump is taking about six hours to dump <700MBytes across an ethernet; doing about the same amount, spread over different filesystems, takes about 30-45 minutes locally, to the same tape drive.) It could be due to the ethernet, I suppose, but... I think it unlikely. Any comments? Sean. From owner-freebsd-hackers Sat Dec 31 23:55:25 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA03300 for hackers-outgoing; Sat, 31 Dec 1994 23:55:25 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA03294 for ; Sat, 31 Dec 1994 23:55:22 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id XAA16921; Sat, 31 Dec 1994 23:54:59 -0800 From: "Rodney W. Grimes" Message-Id: <199501010754.XAA16921@gndrsh.aac.dev.com> Subject: Re: rdump is slow To: sef@kithrup.com (Sean Eric Fagan) Date: Sat, 31 Dec 1994 23:54:59 -0800 (PST) Cc: hackers@freebsd.org In-Reply-To: <199501010722.XAA24011@kithrup.com> from "Sean Eric Fagan" at Dec 31, 94 11:22:56 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 897 Sender: hackers-owner@freebsd.org Precedence: bulk > > Has anybody sat down and tried to figure out why? > > (rdump is taking about six hours to dump <700MBytes across an ethernet; > doing about the same amount, spread over different filesystems, takes about > 30-45 minutes locally, to the same tape drive.) > > It could be due to the ethernet, I suppose, but... I think it unlikely. > > Any comments? First thing I would look at would be I/O blocking sizes, are large blocks being transfered over the ethernet, and are large blocks being written to the tape. The numbers you are seeing are not what I am use to seeing with rdump when I was using it under 1.1 to dump freefall to 4mm DAT tape at cdrom.com, use to get about 250KB/sec or 15MB/minute or 700MB in 46 minutes.... > Sean. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD